USB-AIO10 User’s Manual (Rev 1.1)
-
20-
http://www.daqsystem.com
5.2
RS-232 Interface Sample Program
Must be stopped the USB interface in the program, the USB-AIO10 should be connected
to the system through RS-232 cable. The power can use the USB power or external
power. The
execution file is “usb_aio10_app2.exe”.
2
3
4
5
6
7
8
9
1
[Figure 5-2. RS-232 Interface Sample Program]
[Table 7. RS-232 Sample Program Function Description]
No.
Name
Description
1
COM1
Select the number of RS-232 port.
2
OPEN
Open the RS-232 port for USB-AIO10 interface.
3
CLOSE
Close the RS-232 port.
4
Channel
Select the Analog Output Channel.
5
-
Enter the value of the Analog Output Data value.
6
Set
Set the Analog Output Data value to the board.
7
Get
When press this button, display the current Analog Data from the
board.
8
Set
Set the left Digital Output value to the board.
9
Get
Display at the left to read the current Digital Input.