In some situations it is helpful to convert raw ShapeArray data saved in SAARecorder's .RSA format into a plaintext file format similar to what is collected from a Campbell Scientific data logger. Doing this allows you to convert the data with Raw2data and use diagnostic tools such as DataChecker to review the raw data. The Rsa2Dat command line utility is installed with SAARecorder and can be used to convert SAARecorder .RSA files into logger .DAT files. Executing the Rsa2Dat.exe utility from the command line without any parameters provides the following usage output.


Usage: RSA2Dat <-append> [RSAFilename.rsa]


The following steps can be taken to convert an SAARecorder .RSA file into a logger .DAT file.



Step 1 - Open a Command Prompt


Hold down the Windows key and hit 'R' on the keyboard to open the Run dialog. Type in CMD and hit enter (or click the OK button) to open a command prompt window. Change the working directory to the SAARecorder folder by executing the following series of commands at the prompt.


c:
cd c:\Measurand Inc\SAARecorder



Step 2 - Run Rsa2Dat


Run the Rsa2Dat program from the command line by providing the full path to .RSA file in double-quotes. The following example code would convert the test.rsa file in the c:\tmp folder into an CR1000_SAA1_DATA.dat file in the same folder.


rsa2dat.exe "c:\tmp\test.rsa"


NOTE - If millisecond precision is required for the timestamps being output, the -h option should be specified on the command line.
e.g.  rsa2dat.exe -h "c:\tmp\test.rsa"