EasyManua.ls Logo

Aeroflex 3901 - US B T O S Eri al in T Erf Ac E (D Eb U G Co M M an D S)

Aeroflex 3901
301 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AutoTest Sytem Operation
Subject to Export Control, see Cover Page for details.
5-41
USB to Serial Interface (Debug Commands)
This test provides the functionality for RS232 communication using a usb-to-serial converter. This test
provides visual results in response to tests performed.
Do not include brackets ( [ ] ) in command script.
Must run close_usb_to_serial command at the end of the test.
Test Commands
write_usb_to_serial_debug [ string ]
Writes the given string parameter to the serial port opened using open_usb_to_serial command.
Use a delay between consecutive write and read commands.
read_usb_to_serial_debug [ int 1 ]
Reads data from the serial interface. This is a non-blocking read and returns immediately if
there is no data to be read. Use a delay between consecutive write and read commands.
query_usb_to_serial_debug [ string ]
Writes the string to the RS232 interface and waits the amount of time defined by the
timeout_usb_to_serial command for a read response from the other end. The read is a blocking
read which expects a return for the written command.
Set Commands
open_usb_to_serial_debug [ int port 0 -15 ]
Opens specified serial port /dev/usb/ttyUSB0 through 15 for RS232 communication.
close_usb_to_serial_debug [ int port 0 -15 ]
Closes specified serial port /dev/usb/ttyUSB0 through 15 for RS232 communication.
reset_usb_to_serial_debug [ int 0/1 ]
Resets RS232 communication cable to CLEAR state. This command is helpful when running a
query or write command.

Table of Contents

Other manuals for Aeroflex 3901

Related product manuals