The following example demonstrates how to program the board using the C programming language under Windows. The example shows how to close or open a relay.
To run, Enter the following command line:
GXPRESEX <PciSlot> <specific_command>
Where:
<slot> |
PCI/PXI Explorer slot number where the board resides. |
<channel> |
Channel number, 1 to 8. |
<operation> |
Operation code: SS=read port direction SD=write port direction RS=read port value RD=write port value |
<type> |
Channel type 1 for single channel, 2 double channel. |
<value> |
Channel resistance value. |