The following list is a summary of functions available for the GX5732:
Driver Functions |
Description |
General |
|
Gx5732GetBoardSummary |
Returns the board summary. |
Gx5732Initialize |
Initializes the driver for the board at the specified slot number using HW. The function returns a handle that can be used with other GX5732 functions to program the board. |
Gx5732InitializeVisa |
Initializes the driver for the specified slot using VISA. The function returns a handle that can be used with other GX5732 functions to program the board. |
Gx5732Panel |
Opens a virtual panel used to interactively control the GX5732. |
Gx5732Reset |
Resets the GX5732 board to its default settings. |
GxPIOGetDriverSummary |
Returns the driver name and version. |
GxPioGetErrorString |
Returns the error string associated with the specified error number. |
Digital I/O Functions |
|
Gx5732ResetPort |
Rest the specified digital I/O port. |
Gx5732GetPort |
Reads the port value. |
Gx5732SetPort |
Writes a value to a port. |
Gx5732GetPortWord |
Reads a port word value. |
Gx5732SetPortWord |
Writes a value to the port word. |
Gx5732GetPortByte |
Reads a port byte value. |
Gx5732SetPortByte |
Writes a value to the port byte. |
Gx5732GetPortBit |
Reads a port bit value. |
Gx5732SetPortBit |
Writes a value to a port byte. |
Gx5732GetPortDirection |
Returns the direction of port bytes. |
Gx5732SetPortDirection |
Sets the direction for port bytes. |
Gx5732GetPortByteDirection |
Returns the direction of a port byte. |
Gx5732SetPortByteDirection |
Sets the direction of a port byte. |
Counters Functions |
|
Gx5732ResetCounter |
Resets the specified counter. |
Gx5732GetCounterEnable |
Returns whether the counter is enabled. |
Gx5732SetCounterEnable |
Enables or disables the counter to count. |
Gx5732GetCounterValue |
Return the counter value and the terminal count state. |
Gx5732SetCounterValue |
Loads the counter with a value. |
Gx5732GetCounterMode |
Returns whether the counter settings. |
Gx5732SetCounterMode |
Changes the counter settings. Including whether the counter runs in One-shot mode or continuously, if the counter counts up or down, and the terminal count output mode. |
Gx5732GetCounterClock |
Returns the counter clock source and polarity. |
Gx5732SetCounterClock |
Sets the counter clock source and polarity. |
Gx5732GetCounterGate |
Returns the counter gate source and polarity. |
Gx5732SetCounterGate |
Sets the counter gate source and gate polarity. |
Gx5732GetTerminalCountPortConnection |
Returns which counter or all counters terminal count is connected to the Terminal Count Port. |
Gx5732SetTerminalCountPortConnection |
Connects the specified counter or all counters terminal count to the Terminal Count Port. |
Gx5732GetCounterPort |
Returns the Counter Port settings. Including the Counter Port direction (input or Output), The counter connected to it and the port load control. |
Gx5732SetCounterPort |
Changes the Counter Port settings. Including the Counter Port direction (input or output), the counter connected to it and the port load control. |
Gx5732LoadCounterCounterPort |
Loads the Counter with the Counter Port value |
Gx5732GetInternalClock |
Returns the internal clock source and divider. |
Gx5732SetInternalClock |
Sets internal clock source and divider. |