ACUMEN INSTRUMENTS CORPORATION DataBridge™ SDR2-CF and SDR2-OEM-CF Configuration Guide revision 1.
Copyright This document is copyrighted by Acumen Instruments Corporation with all rights reserved. No part of this document may be reproduced in any form without prior written consent of Acumen Instruments Corporation. Copyright © 1998-2008 by Acumen Instruments Corporation. All rights reserved. Disclaimer This manual has been thoroughly reviewed for accuracy, and every effort has been made to ensure that the information is accurate and complete.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuring the DataBridge SDR2-CF Table of Contents 1. Getting Started ..................................................................... 5 1.1 1.2 1.3 1.4 1.4.1 1.4.2 1.4.3 Overview................................................................................................. 5 Before you start ...................................................................................... 6 A quick guide to the DataBridge SDR2-CF .............................
Configuring the DataBridge SDR2-CF 4.4.4 4.4.5 4.4.6 4.4.7 SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Delete current file ................................................................................. 38 Rename current file .............................................................................. 39 Download directory via Ymodem batch ................................................ 39 Download file as ASCII text .................................................................. 41 5.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuring the DataBridge SDR2-CF 1 1. Getting Started 1.1 Overview DataBridge SDR2-CF serial data recorders record RS-232 serial data to industry-standard mass storage using an MS-DOS™/Windows™-compatible FAT file format. The SDR2-CF (and SDR2-OEM-CF) is an SDR2-CF equipped with a Type I or II CompactFlash (CF) socket and is designed for use with CompactFlash storage media. The SDR2-CF is equipped with two serial ports.
Configuring the DataBridge SDR2-CF SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Both SDR2-CF ports support baud rates up to 230,400 bps and RTS/CTS hardware handshaking for reliable high-speed communication. Your SDR2CF is also equipped with a real-time clock, power-saving features, nonvolatile memory, and a resume-on-power failure feature. The SDR2-CF features a one-button front panel user interface that starts and stops recording. 1.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuring the DataBridge SDR2-CF On the rear are two serial ports – one female nine-pin D-subminiature connector (DB9F) for the configuration port and one male nine-pin Dsubminiature connector (DB9M) for the data port. The 7 to 30 VDC power input is also located on the rear panel. NOTE: The configuration and data ports can each operate at different baud rates. NOTE: Do not remove front panel. To enter the enclosure, remove back panel only. Figure 1.2.
Configuring the DataBridge SDR2-CF SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 1.4 Deploying the DataBridge SDR2-CF 1.4.1 Connecting power to your SDR2-CF The SDR2-CF starter kit includes a 120VAC power supply that connects via the rear panel. If you use an alternate power source, it should be capable of sourcing at least 1W. When you apply power the power indicator should light and the other indicators should flash in sequence. 1.4.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuring the DataBridge SDR2-CF with it. Typical communications software used is HyperTerminal™ which is included with Microsoft Windows 95/98/NT 4.0/2000/XP. Many other terminal programs are widely available for Windows, DOS, linux, and other platforms. To access HyperTerminal, click the Windows start button and choose Programs, then Accessories, then Communications, and then HyperTerminal.
Configuring the DataBridge SDR2-CF SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Figure 1.5. The default settings under the New Connection Properties tab in HyperTerminal. Figure 1.6. The SDR2-CF Configuration menu in HyperTerminal with ANSI mode ON. Congratulations! You are now talking to the SDR2-CF and can begin configuring it for your application.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuring the DataBridge SDR2-CF 2 2. Configuring the DataBridge SDR2-CF Now that you have access to the SDR2-CF’s menu system, you are ready to configure it for use with your serial data source. Using the Configuration menu, you can: • • • • • • • Set the date and time. Specify a directory to record files to. Specify a filename for recording. Ensure that the media you are using is properly formatted and has enough free space to accommodate your data.
Configuring the DataBridge SDR2-CF SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 2.1 Setting date and time TIP: For detailed information about the SDR2-CF configuration menus, see Chapter 4. The SDR2-CF features a real-time clock that reports a file’s last modified date and time. The real-time clock is preset and battery-backed, so setting the date and time is seldom necessary. To set the time, type 1 at the menu prompt.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuring the DataBridge SDR2-CF Figure 2.2. Setting the SDR2-CF’s date. 2.2 Configuring the data port Before the SDR2-CF and your data source can communicate, they must interact at the same data rate and using the same data format. The SDR2-CF's data port is, by default, configured to communicate at 115,200 bps. If your data source can communicate at 115,200 bps (also referred to as 115,200 baud), it may be easiest to configure it for 115,200 bps.
Configuring the DataBridge SDR2-CF SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 the H or D commands. Press to save the changes and close the window. To change the baud rate and hardware handshaking for the data port, type 9, and select the appropriate settings to for your data source. When your desired settings are indicated, type or to save the settings and close the window. Figure 2.3. The Data Port Configuration prompt. 2.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuring the DataBridge SDR2-CF submenu (see Figure 2.4). You can use Option 3 to change directory without having to retype the filename. From the File System Functions menu, press 2. Then, when prompted, backspace over the current filename/path and type a filename, pressing the key when finished or to cancel changes. If your filename is not 8+3 compliant, the SDR2-CF does its best to make it compliant.
Configuring the DataBridge SDR2-CF SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Figure 2.5. The Recording Parameters submenu. Overwrite-oldest mode: When overwrite is enabled, the SDR2-CF will delete the oldest file on the disk whenever recording starts and the CF card has less than 1 megabyte of free disk space. Use this option with scheduled file closing (see below) to configure the SDR2-CF as a circular buffer that contains only the most recently received data. Figure 2.6.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuring the DataBridge SDR2-CF Append mode: If append mode is enabled, data will be recorded to the current file whenever recording starts, resulting in one large file. New files will only be created when the filename is modified via the configuration menus. Scheduled file closing: The SDR2-CF can be configured to automatically stop and restart recording based on either a time interval (in seconds) or a file size (in bytes). Figure 2.7.
Configuring the DataBridge SDR2-CF SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Figure 2.8. Configuring the SDR2-CF to create a new file every hour (3600 seconds). Time stamping: This option is most commonly used when logging ASCII data to add date and time to the beginning of each line of data, which is useful for correlating data with other recorders. Incoming data lines will be terminated with either a carriage return (ASCII code 13) or a carriage return+line feed (ASCII code 10).
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuring the DataBridge SDR2-CF Figure 2.9. Configuring the time stamping for ASCII data with CR+LF line ends. Powering up in passthrough mode: This option forces the SDR2-CF into passthrough mode (as if the user had pressed 8 from the main configuration menu) whenever the SDR2-CF powers up, regardless of whether the SDR2CF is recording or not. When the option is enabled, the user must enter +++ to return to the configuration menu.
Configuring the DataBridge SDR2-CF SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Messages are stored as ASCII text strings in non-volatile memory. To use messages, first enter a text string for one of the ten messages. Then, configure whether the message should be sent on when recording starts, when recording stops, or at an interval specified in seconds. The SDR2-CF can also be configured to append a carriage return and/or line feed to any message.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuring the DataBridge SDR2-CF Initialization: Some devices “wake up” or begin continuously sending data only after receiving a specific command, the initialization string. When prompted, press Y to indicate that the SDR2-CF should send the message once when it enters record mode. This feature can be used together with output interval to both initialize a device with a specific message and send the message periodically.
Configuring the DataBridge SDR2-CF SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 2.6 Testing your configuration TIP: Messages with only a carriage return (no line feed) after them will appear to overwrite previous messages in your terminal software. You can enable your communications software’s "append linefeeds to incoming carriage returns" feature to see these messages properly.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Operations 3 3. Operations 3.1 Record mode When you press the record button or type R from the Configuration menu, the SDR2-CF searches for the current file specified in the File System Functions menu, creates it if necessary, and opens it. Once the SDR2-CF has successfully opened the file, the record indicator turns on and the SDR2CF enters record mode. Once in record mode, the SDR2-CF records any data received on the data port to the open file.
Operations 3.1.2 SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Stopping recording Incoming data is appended to the open file as it is received until you stop recording by either pressing the record button or typing S from the Configuration menu. The SDR2-CF then closes the file, updates its directory entry (recording file size, date, and time), and returns to stop mode. 3.1.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Operations Figure 3.1. Formatting a CompactFlash card using the FAT file system. 3.1.6 Partitions In some cases, disks are partitioned to contain multiple "virtual" drives on a single disk. Partitioning is sometimes done to overcome the 2 gigabyte size limit in MS-DOS™ (and create multiple 2 gigabyte drives), support multiple operating systems and file systems, or make more efficient use of disk space. FDISK.
Operations SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 To change the configuration port baud rate, open the enclosure and use switches S1-1, S1-2 and S1-3 to select a baud rate for the configuration port and switch S1-4 to enable or disable RTS/CTS hardware handshaking. See Table 3.1 for switch settings.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuration Menu Reference 4 4. Configuration Menu Reference You can use menu functions to manage files, configure and communicate with the device attached to the data port, set date and time, set up output messages, download data, configure the storage media, and control the SDR2-CF without using the record button. 4.1 Main Configuration Menu The SDR2-CF's core functions are accessed from the Configuration menu (see Figure 4.1) using terminal software.
Configuration Menu Reference SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Figure 4.1. The DataBridge SDR2--CF configuration menu. 4.1.1 Set Time To update the real-time clock’s time, type 1 at the menu prompt. When prompted further, enter the time in 24-hour format using two digits for each of hours, minutes, and seconds (omit the colons (:) between each field). Press any key to return to the SDR2-CF main menu. For an example, see Figure 2.1. 4.1.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuration Menu Reference messages off does not change their settings, but overrides the current message parameters. The current state of the messages is indicated. 4.1.5 Enter Serial Passthrough Mode Serial passthrough mode provides a means for communicating with the device connected to the data port. To enter passthrough mode, press 8 from the main menu.
Configuration Menu Reference SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 4.2 Edit Messages menu To enter the Edit Messages submenu, type 5 from the Configuration menu. The Edit Messages menu appears (see Figure 4.3). To edit a message’s contents, type 1. Select the number of the message you would like to edit and type in the new message contents. Pressing saves the message and returns you to the Edit Messages menu. Figure 4.3. Entering text for message 0.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuration Menu Reference Figure 4.4. Changing the parameters for message 0. From the main configuration menu (see Figure 4.1), typing 4 enables or disables all messages. If you are using the message feature, be sure the main menu displays “messages are ON” after menu item 4. To return to the Configuration menu from the Edit Messages menu, press Q. 4.
Configuration Menu Reference SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Figure 4.5. The Recording Parameters submenu. From the Recording Parameters submenu, you can specify a filename, control how new files are created and named, how the SDR2-CF deals with a full CF card, whether timestamps are added to incoming data, and whether the configuration port displays the menu or communicates with the data source during recording. 4.3.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuration Menu Reference new file. Menu option 3 turns append mode on and off. The menu displays the state of append mode. When append mode is off, the SDR2-CF will generate a name for the new file based on the current filename. It does this by incrementing the filename using the characters 0 through 9 and A through Z. If the target filename without extension is less than eight characters and append mode is off, the SDR2-CF pads the name with zeros.
Configuration Menu Reference SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Figure 4.7. Configuring scheduled file close for every 3600 seconds (1 hour) of recording time. Table 4.1 provides useful conversion factors for specifying file-closing intervals. Interval Seconds 1 second 1 1 minute 60 1 hour 3600 1 day 86400 1 week 604800 1 month* 2629800 6 months* 15778800 *based on a 365¼-day year Table 4.1. Common file-closing time intervals. In Figure 4.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuration Menu Reference Figure 4.8. Configuring scheduled file close every 1 megabyte (1048576 bytes) of data received. 4.3.5 Time stamp incoming lines The SDR2-CF allows you to add the time and date to each line of incoming data. Time stamping is triggered by reception of a character of your choice.
Configuration Menu Reference SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Figure 4.9. Enabling time stamping of incoming data after the line feed (LF) character. Figure 4.10 shows an ASCII download of a file with time stamping enabled. Figure 4.10. An example of a file recorded with time stamping enabled.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 4.3.6 Configuration Menu Reference Power up in passthrough mode In some unique applications, the user may wish to always communicate with the data source via the configuration port using passthrough mode. For example, if the SDR2-CF is placed "in-line" between a computer or microprocessor to log communications to or from each. The SDR2-CF can be configured to always enter passthrough mode, whether recording or not.
Configuration Menu Reference 4.4.1 SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Display root directory To display the current directory, type 1. If the directory is not empty, each file’s name, attributes, last modified time/date, and file size in bytes is shown (see Figure 4.12). Once the directory has been displayed, press any key to return to the File System Functions menu. Figure 4.12. Displaying the root directory. 4.4.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 4.4.5 Configuration Menu Reference Rename current file To rename a file on the storage media, specify its filename using menu option 2, and then press 5. When prompted, enter a new name for the file. 4.4.6 Download directory via Ymodem batch Menu option 6 allow you to download all files in the current directory using terminal software. To initiate a Ymodem download, type 6 and wait for the "begin your download" message (see Figure 4.13). Figure 4.13.
Configuration Menu Reference SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Figure 4.14. Preparing to download a directory using HyperTerminal. Once you have chosen to receive a file, you must specify a location where HyperTerminal will put the files that are downloaded and the receiving protocol, Ymodem (see Figure 4.15). Figure 4.15. Selecting Ymodem as your file transfer protocol in HyperTerminal. Once the download begins, everything is automatic. Figure 4.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuration Menu Reference Figure 4.16. Ymodem download in progress in HyperTerminal. 4.4.7 You may wish to disable ANSI mode (option 3 from the Configuration menu) when using ASCII download. Download file as ASCII text You can use menu option 7 to download or view a file. ASCII downloading doesn’t provide error checking, but is useful for displaying short files or for downloading using terminal software that doesn’t support Ymodem.
Configuration Menu Reference SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Figure 4.17. Downloading a file as ASCII text. In HyperTerminal, you can capture the ASCII text to a file by selecting “Capture Text…” from the “Transfer” menu item (see Figure 4.18), and then specifying a filename for the captured text (see Figure 4.19). Figure 4.18. Preparing to download file as ASCII text using HyperTerminal.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuration Menu Reference Figure 4.19. Specifying a filename for an ASCII file transfer in HyperTerminal.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Configuration Menu Reference 5 5. J4 Remote Control Port 5.1 Overview The SDR2-CF’s J4 remote connector allows for starting and stopping recording via external switJoel Cches/buttons or TTL/CMOS digital logic. The J4 connector also provides alternate outputs for the front-panel fault, data, and record indicators. 5.2 Location The J4 connector is located next to the J1 power input connector on the SDR2-CF’s internal circuit board (SDR2-OEM-CF). 5.
Configuration Menu Reference SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 VDD (3.3VDC) Regulated low-current voltage output. Use for deasserting active-low inputs and driving LED indicator outputs. GND (0 VDC) Signal ground. Use for asserting active-low inputs. REC_BUTTON REC_TOGGLE FAULT DATA RECORD Momentary record input. Function is similar to front-panel record button. To use, connect a momentary pushbutton switch between this contact and GND. Force-record input.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Direction Configuration Menu Reference Contact Function 1 2 VDD (3.3 VDC) GND (0 VDC) Wire Color 3 REC_BUTTON input Blue 4 REC_TOGGLE input Grey 5 FAULT output Yellow 6 no connect 7 DATA output Orange 8 RECORD output Green 9 VDD (3.3 VDC) - 10 GND (0 VDC) - Black - Table 5.2. J4 remote control port pinout. J4 mating plug (shell): Hirose DF11-10DS-2C (Digi-Key part number H2023-ND) For use with DF11 crimp contacts e.g.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Service and Support 6 6. Service and Support 6.1 Exception Codes The following are common error codes encountered when using DataBridge SDR2-CF and SDR2-OEM-CF products. To determine which error has occurred, watch the "exception" indicator on the SDR2-CF's front panel and count the number of rapid blinks. Each sequence is separated by a 1 second pause in the blink pattern.
Service and Support SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Exception 5: Hardware Error Usually occurs when the SDR2-CF cannot reset the CompactFlash card. Try ejecting and reinserting the card or using a new card and contact Acumen if problem persists. Exception 6: EEPROM Error Rare hardware error. Contact Acumen to discuss repair or replacement. Exception 7: Cache Error Rare hardware error. Contact Acumen to discuss repair or replacement.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Service and Support 6.2 Contacting Acumen Instruments Corporation 6.2.1 Technical support Service and technical support can be reached between the hours of 9AM and 5PM (Central Standard Time) Monday through Friday. Acumen Instruments Corporation can be reached at the following phone numbers: (515) 296-5366 (voice) (515) 296-3554 (fax) 6.2.2 U.S. Mail Acumen Instruments Corporation can be reached by mail at: Acumen Instruments Corporation 2625 N.
Service and Support SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 6.4 Warranty 6.4.1 One year warranty Acumen Instruments Corporation warrants this product to be free from defects in materials and workmanship for a period of one (1) year from the date of shipment. During the warranty period, Acumen Instruments Corporation will, at its option, either repair or replace products that prove to be defective. 6.4.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Serial Port Basics A A.Serial Port Basics A.1 Serial specifications Serial data is any data that is sent one bit at a time using a single electrical signal. In contrast, parallel data is sent 8, 16, 32, or even 64 bits at a time using a signal line for each bit. Data that is sent without the use of a master clock is said to be asynchronous serial data. Several communications standards exist for the transfer of asynchronous serial data.
Serial Port Basics SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 The EIA RS-232C standard permits data rates up to 19200 bps and cable lengths up to 400 meters (but not both). data rate (bps) 19200 9600 4800 2400 1200 600 maximum distance (meters) (feet) 15 45 25 76 50 152 100 304 200 608 400 1216 Table A.1. Data rates and distances for RS-232 communications.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Serial Port Basics To transfer data asynchronously, the UART frames the 8 data bits between a stop bit and a start bit. The start bit is always a zero, while the stop bit is always a one. So, a byte of data sent serially is made up of 10 bits instead of the usual 8. Asynchronous serial devices can communicate using 7 or 8 data bits, and 1, 1½, or 2 stop bits.
Serial Port Basics SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 modem cable because it can connect two terminals (DTE’s) without the use of modems (DCE’s). Note that GND pins are always connected. Most devices have female connectors (DB9 or DB25) if they are configured for DCE operation and male connectors if they are configured for DTE operation, but this is not always the case. There is a simple trick for determining whether a device is DTE or DCE.
SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 Serial Port Basics CTS, etc.), RS-232 devices use +3V to +25V to assert the signal and –3V to –25V to deassert the signal. These voltage levels are defined in the EIA/TIA232E specification. So, when a DTE devices drives RTS at –9.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.
Specifications SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 B B.Specifications B.1 Electrical specifications SDR2-CF requires a 5 to 30 VDC power source or a regulated +5VDC power source (SDR2-OEM-CF). Connectors J7 and J1 are present on both the SDR2-CF and SDR2-OEM-CF. J1 is inaccessible on the SDR2-CF without removing the enclosure. Recording Mode Idle Recording in Low Power Mode Idle in Low Power Mode +10 VDC +10 VDC +10 VDC +10 VDC see data sheet Table B.1.
Specifications SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.0 B.1.6 J1 power receptacle pin configuration pin 1 2 Function +5.0 to +30 VDC Ground Table B.3. The SDR2-OEM-CF power receptacle pin configuration. B.2 Serial communications Serial Port electrical interface compliance data rates data bits stop bits Parity Handshaking EIA/TIA-232E and V.28 50 to 921600 baud 7 or 8 1 or 2 None, even, odd RTS/CTS, none Table B.4. Serial communications specifications for the SDR2-CF. B.
Specifications SDR2-CF/SDR2-OEM-CF Configuration Guide rev 1.