User`s manual

CYDAS UDR Library User’s Guide Digital Input/Output Boards - CYDIO 48
98
CPDISO 8/P and CPDISO 16/P Series
Digital I/O
Digital I/O functions and methods supported
UDR:
cbDOut(), cbDIn(), cbDBitIn(), cbDBitOut()
UDR for .NET: DOut(), DIn(), DBitIn(), DBitOut()
Digital I/O argument values
PortNum AUXPORT
DataValue CPDISO 8/P
0 to 255
CPDISO 16/P
0 to 65535 (Refer to "16-bit values using a signed integer data type
" on page 7 for
information on 16-bit values using unsigned integers.)
BitNum CPDISO 8/P
0 to 7
CPDISO 16/P
0 to 15
Miscellaneous functions and methods supported (UCPDISO 08, UCPDISO 08-40, and CYPDISO 16E
only)
UDR:
cbFlashLED()
UDR for .NET:
FlashLED()
Causes the USB LED on a CyberResearch USB module to blink. Causes the LINK LED on a CyberResearch
Ethernet module to blink.
When you have several USB modules connected to the computer or Ethernet modules on the network, use
these functions to identify a particular module by making its LED blink.
Establishing and requesting control of an CYPDISO 16E
The first computer to establish a TCP socket establishes control over an CYPDISO 16E. Additional computers
that contact the device can only query the state of the device and its ports.
Sending a request for control of an CYPDISO 16E
If another computer already has control over CYPDISO 16E when you connect to it, you can send a message
to the controlling computer. Do the following.
1. From InstaCal's main window, double-click on the CYPDISO 16E.
2. From the
Ethernet Settings tab, click on the Request Ownership button.
3. On the
Request Ownership dialog, enter your message (up to 256 characters). Press Ctrl and Enter to go
to a new line.
4. You can set how long the message is displayed on the computer that controls the CYPDISO 16E from the
Maximum Wait drop-down list box.
5. When you are ready to send the message, click on the
Send button.