background image

Configuring the DataBridge SDR2-USB

 

SDR2-USB Configuration Guide rev 1.0 

 

12 

Hardware handshaking prevents a data source from sending data when the 
SDR2-USB is not ready to receive it – the SDR2-USB can “shut off” the 
transmitting data source if, for example, the USB storage media is slow or 
not present. 

Be sure that your serial data source and the SDR2-USB use the same 
handshaking settings. If your data source monitors the handshaking signals 
but the SDR2-USB doesn't send the appropriate signal, the software may 
never transmit data. 

To change the baud rate for the data port, add the line DataPortBaud= to 
the setup file as in Figure 1.4.  Common baud rates are 300, 1200, 2400, 
4800, 9600, 19200, 38400, 57600, 115200, 230400 bps, although the 
SDR2-USB can handle “nonstandard” baud rates as well. 

To enable hardware handshaking, include the line DataPortHandshake= in 
in the file, with a value of 1 for enabled or 0 for disabled. 

Finally, while 8N1 communication is used by the vast majority of data 
sources, some devices communicate using nonstandard data word formats 
such as 7E1.  To specify this, add the line DataPortWordFormat= to the 
setup file, with a value of 8N1, 7E1, etc. 

2.4  Specifying a filename and folder 

By default, the SDR2-USB records data to a file called 

SDR-0000.DAT

 

located in the 

DATA

 subfolder in the storage device's root directory. You can 

keep this filename or specify a new filename that reflects the data it contains. 
For example, you may wish to use 

PRESSURE.TXT

 for pressure data or a 

name like 

TEMP1109.TXT

 for temperature data from November 2009.  

Likewise, your choice of folder names may reflect something about the data 
it contains. 

Notes about filenames 

When you specify a filename, it must conform to the FAT 8+3 filename 
format. This means that files contain up to 8 characters, a period ("dot"), and 
up to three more characters. For example, 

BRIDGE.DAT

ABCDEFGH.123

and 

1

 are all valid filenames, while 

DATA.FILE

, and 

JOHNSMITH.TXT

 are 

not. The SDR2-USB ignores characters you type that are not allowed in 
FAT16 filenames, such as: 

\/*|[]

.  Specifying illegal characters can 

sometimes result in unpredictable filenames. 

To specify the name of the file the SDR2-USB will use for recording data, 
include the line Filename= in your setup file and specify a folder and 
filename after the equals sign.  For example, to record to a folder named 
“GPSDATA” and use a filename of “GPS-0000.TXT”, include the line 
Filename=GPSDATA\GPS-0000.TXT (see Figure 2.3). 

Summary of Contents for DATABRIDGE SDR2-USB

Page 1: ...ACUMEN INSTRUMENTS CORPORATION DataBridge SDR2 USB Configuration Guide revision 1 0 04 2009...

Page 2: ......

Page 3: ...and complete However different versions of this product have different features and capabilities and this manual only reflects one of those versions Therefore Acumen Instruments Corporation assumes no...

Page 4: ......

Page 5: ...es about filenames 12 2 5 Configuring file creation behavior 13 2 6 Adding time stamps to recorded files 13 2 7 Testing your configuration 14 3 Operations 15 3 1 Setup file reading 15 3 2 Record mode...

Page 6: ...acting Acumen Instruments Corporation 29 6 2 1 Technical support 29 6 2 2 U S Mail 29 6 2 3 E mail 29 6 2 4 World Wide Web 29 6 3 Returning Equipment 29 6 4 Warranty 30 6 4 1 One year warranty 30 6 4...

Page 7: ...esigned for use with USB storage media such as USB flash memory keys During Record mode the SDR2 USB s data port accepts RS 232 serial data from your data source The SDR2 USB data port supports baud r...

Page 8: ...idge SDR2 USB On the front of the SDR2 USB are the USB A socket record button and LED indicators The SDR2 USB can be toggled in and out of record mode using the record button located on the front pane...

Page 9: ...ar panel If you use an alternate power source it should be capable of sourcing at least 1W power When you apply power the power indicator should light and the other indicators should flash in sequence...

Page 10: ...om 9600 bps Figure 1 4 Editing a simple setup txt file Close Windows Notepad then right click the USB device s drive letter and click Eject to safely remove the device from your system Insert the USB...

Page 11: ...n data is written to files Add time stamps to recorded files Before you begin be sure you have the documentation available for the device you ll connect to your SDR2 USB If possible be sure you can co...

Page 12: ...ar line temporarily insert at the beginning of the line 2 2 Setting date and time The SDR2 USB features a real time clock that reports a file s last modified date and time The real time clock accurate...

Page 13: ...e front panel The SDR2 USB will the operate normally Step 4 Re edit setup txt Remove the USB storage device from the SDR2 USB and edit the setup file using Windows Notepad on the PC Disable the Curren...

Page 14: ...the setup file with a value of 8N1 7E1 etc 2 4 Specifying a filename and folder By default the SDR2 USB records data to a file called SDR 0000 DAT located in the DATA subfolder in the storage device...

Page 15: ...ldest file found in the recording directory if necessary When this mode is enabled the SDR2 USB will delete the oldest file on the disk whenever recording starts and the storage media has less than 1...

Page 16: ...tamping See section 4 1 5 for more details on custom date time stamps 2 7 Testing your configuration To test your configuration use a null modem adapter or cable to connect a computer running terminal...

Page 17: ...pens it Once the SDR2 USB has successfully opened the file the record indicator turns on and the SDR2 USB enters record mode Once in record mode the SDR2 USB records any data received on the data port...

Page 18: ...om the Windows Command Prompt 3 2 5 Filename generation When operating with Append 0 see section 4 1 3 unique new filenames are generated based on the specified filename This is done to avoid overwrit...

Page 19: ...e systems be sure your card is formatted using FAT or FAT32 Figure 3 2 Formatting a small USB memory key using the FAT file system 3 2 8 Partitions In some cases disks are partitioned to contain multi...

Page 20: ...battery with a Panasonic CR2032 or equivalent making sure the positive face is in contact with the battery clip After replacing the battery be sure to reset the SDR2 USB s time and date 3 4 Resetting...

Page 21: ...p to set the real time clock s time and date values After including these lines in the setup file power up the SDR2 USB and press the record button to synchronize the clock then re edit the setup file...

Page 22: ...ndshaking 0 off DataPortHandshake 0 4 1 3 Recording Behavior Commands Filename default DATA SDR 0000 DAT The Filename command sets both the location and name of the file to be recorded To specify a fo...

Page 23: ...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 an...

Page 24: ...command to provide a template for the timestamps as they are inserted into the file Timestamp field format values are case sensitive month day and year fields must be specified in capital letters whil...

Page 25: ...connector allows for starting and stopping recording via external switches buttons or TTL CMOS digital logic The J4 connector also provides alternate outputs for the front panel fault data and record...

Page 26: ...LED s cathode to this contact and its anode to VDD via a current limiting resistor Limit current to 10 mA max Data indicator output Function is similar to the front panel Data indicator Pulses momenta...

Page 27: ...2023 ND For use with DF11 crimp contacts e g DF11 2428SCA Digi Key part number H2300 ND or pre crimped wires Digi Key part number H3BXG 101LL CW where LL length in inches C color code W wire gauge cod...

Page 28: ......

Page 29: ...count the number of rapid blinks Each sequence is separated by a 1 second pause in the blink pattern Exception 2 Root Directory Full A FAT FAT16 root directory can have only 512 directory entries few...

Page 30: ...cement Exception 8 Buffer Error firmware error Rare error that may occur in customized or beta firmware versions Contact Acumen to report Exception 9 Tasking Error firmware error Rare error that may o...

Page 31: ...Corporation 2625 N Loop Drive Suite 2200 Ames IA 50010 USA 6 2 3 E mail Acumen Instruments Corporation can be reached via e mail at info acumeninstruments com 6 2 4 World Wide Web Acumen Instruments C...

Page 32: ...by Acumen Instruments Corporation 6 4 3 Limitations ACUMEN INSTRUMENTS CORPORATION SHALL IN NO EVENT HAVE OBLIGATIONS OR LIABILITIES TO BUYER OR ANY OTHER PERSON FOR LOSS OF PROFITS LOSS OF USE OR IN...

Page 33: ...f asynchronous serial data Common PC s transfer data using the EIA RS 232C also known as V 28 or V 24 Updated versions of this standard include RS 232D and EIA TIA 232E but most literature still refer...

Page 34: ...98 NT 2000 A 2 1 Data rates and the UART Computer hardware designers solve this problem by allowing the computer to respond to characters less frequently A Universal Asynchronous Receiver Transmitter...

Page 35: ...of devices data terminal equipment DTE and data communication equipment DCE Your computer s serial port is configured for DTE operation since the computer acts as a terminal Modems and many other ser...

Page 36: ...hen it is ready to receive data The RTS and CTS signals form a handshaking pair and their use constitutes RTS CTS handshaking The data terminal ready DTR signal asserted by the DTE and the data set re...

Page 37: ...50V it is signaling the DCE to stop sending data A few devices particularly devices that communicate at low data rates or over short cables bypass the voltage conversion altogether These devices often...

Page 38: ......

Page 39: ...USB requires a 5 to 30 VDC power source power source via connectors J7 and J1 on SDR2 USB J1 is inaccessible on the SDR2 USB without removing the enclosure Recording Mode 12 VDC see data sheet Idle 12...

Page 40: ...ta bits 7 or 8 stop bits 1 or 2 Parity None even odd Handshaking RTS CTS none Table B 4 Serial communications specifications for the SDR2 USB B 3 USB socket Socket Type USB A receptacle storage capaci...

Page 41: ...Specifications SDR2 USB Configuration Guide rev 1 0 39 Notes...

Reviews: