Acumen SDR2-USB manual Scheduled File Closing Commands, Time Stamping Commands

Page 23

SDR2-USB Configuration Guide rev 1.0

Setup File Reference

possible when space available on the storage media is exhausted. Together with scheduled file closing, this option can be used to configure the SDR2-USB as a circular buffer— as the disk fills, the oldest file is overwritten.

//file name and path to record to Filename=DATA\GPS0000.txt

//create new files when recording starts Append=0

//buffer data when stopped FlushBuffer=0

//always record if media is present ForceRecording=1

//overwrite oldest file if necessary OverWriteOldest=1

4.1.4Scheduled File Closing Commands

Scheduled file closing, together with Append=0, allows the user to divide recorded data into files of a more manageable size.

FileClose (default=0): The FileClose setup file line enables and disables scheduled file closing.

FileCloseSeconds: The FileCloseSeconds setting configures the SDR2-USB to close the current file and restart recording after the specified number of seconds. For example, to configure the recorder to restart recording every hour, use FileCloseSeconds=3600 (3600 seconds=60 minutes=1 hour).

FileCloseBytes: The FileCloseBytes setup file line configures the recorder to close the current file and restart recording once the current file reaches the specified number of bytes. For example, use FileCloseBytes=1048576 to configure the SDR2-USB to create a new file if the size reaches 1 megabyte.

StartTime, StopTime: The StartTime and StopTime lines configure the recorder to start and stop at specific times of day (specified in 24-hour HH:MM:SS format). If start and stop times are equal, each file will contain 24 hours of data. FlushBuffer=1 (see above) is usually used if start and stop times are different in order to reject data received while recording was stopped.

//enable scheduled file closing FileClose=1

//record only during business hours StartTime=08:00:00 StopTime=17:00:00

FlushBuffer=1

4.1.5Time Stamping Commands

The SDR2-USB can insert time and date information into files during recording. Among other things, this is useful for scientific data analysis and historical trending studies.

Timestamp (default=0): The Timestamp setup file line enables date/time stamping.

21

Image 23
Contents Acumen Instruments Corporation Page Copyright Page Table of Contents Service and Support Overview Getting StartedQuick guide to the DataBridge SDR2-USB Before you startDeploying the DataBridge SDR2-USB Connecting power to your SDR2-USBConfiguring your SDR2-USB via the setup file Congratulations Creating setup.txtSDR2-USB Configuring DataBridgeComments Setting date and timeSetting date and time Configuring the data portSpecifying a filename and folder Adding time stamps to recorded files Configuring file creation behaviorTesting your configuration Receiving data Setup file readingRecord mode operation OperationsFilename generation Power failure and improper shutdownsStopping recording Device removal while recordingPartitions Formatting the storage mediaResetting to factory defaults Lithium battery maintenanceInitial Setup Commands Setup File ReferenceRecording Behavior Commands Data Port Setup CommandsTime Stamping Commands Scheduled File Closing CommandsOther Commands Location J4 Remote Control PortPinout and Mating Cable FunctionsForce-Record Shunt Installation Page Exception Codes Service SupportService and Support SDR2-USB Configuration Guide rev Returning Equipment Contacting Acumen Instruments CorporationLimitations WarrantyOne year warranty ExclusionsData rates Serial specificationsSerial Port Basics Data rates and the Uart More asynchronous serial parametersDTE and DCE Voltage levels HandshakingSDR2-USB Configuration Guide rev Page 5 J7 rear power receptacle pin configuration SpecificationsElectrical specifications USB socket Mechanical Specifications6 J1 power receptacle pin configuration Serial communicationsSpecifications SDR2-USB Configuration Guide rev