GX5642 Functions

The following list is a summary of functions available for the GX5642:

Driver Functions
Description
General

Gx5642Initialize

Initializes the GX5642 driver for the specified PXI slot.

Gx5642InitializeVisa

Initializes the driver for the specified slot using VISA. The function returns a handle that can be used with other GX5642 functions to program the board.

Gx5642Reset

Opens all the board relays.

Gx5642GetBoardSummary

Returns the board summary.

GxPioGetDriverSummary

Returns the driver name and version.

GxPioGetErrorString

Returns the error string associated with the specified error number.
Channel settings

Gx5642GetChannelConversionMode

Returns the specified channel Conversion Mode.

Gx5642GetChannelDifferentialPort

Returns the specified channel Differential Port value.

Gx5642GetChannelDifferentialPortDirection

Returns the specified channel Differential Port Direction.

Gx5642GetChannelMode

Returns the specified channel operating mode.

Gx5642GetChannelOutputState

Returns the specified channel Output State.

Gx5642GetChannelTTLPort

Returns the specified channel TTL Port value.

Gx5642GetChannelTTLPortDirection

Returns the specified channel Port Direction.

Gx5642SetGroupConversionMode

Sets the specified channel Conversion Mode.

Gx5642SetChannelDifferentialPort

Sets the specified channel Differential Port value.

Gx5642SetChannelDifferentialPortDirection

Sets the specified channel Differential Port Direction.

Gx5642SetChannelMode

Sets the specified channel operating mode.

Gx5642SetChannelOutputState

Sets the specified channel Output State.

Gx5642SetChannelTTLPort

Sets the specified channel TTL Port value.

Gx5642SetChannelTTLPortDirection

Sets the specified channel TTL Port Direction.
Group settings

Gx5642GetChannelConversionMode

Returns the specified group conversion mode.

Gx5642GetChannelDifferentialPort

Returns the specified group differential port value.

Gx5642GetChannelDifferentialPortDirection

Returns the specified group differential Port Direction.

Gx5642GetGroupMode

Returns the specified group mode.

Gx5642GetGroupOutputState

Returns the specified group output state.

Gx5642GetGroupTTLPort

Returns the specified group TTL Port value.

Gx5642GetGroupTTLPortDirection

Returns the specified group TTL Port Direction.

Gx5642LoadGroupDirectionFromDIPSwitch

Load and set the specified group Direction according to the on-board DIP Switch settings.

Gx5642ResetGroup

Resets the specified group its default settings.

Gx5642SetGroupConversionMode

Sets the specified group conversion mode.

Gx5642SetGroupDifferentialPort

Sets the specified group differential Port value.

Gx5642SetGroupDifferentialPortDirection

Sets the specified group differential Port Direction.

Gx5642SetGroupMode

Sets the specified group mode.

Gx5642SetGroupOutputState

Sets the specified group output state.

Gx5642SetGroupTTLPort

Sets the specified group TTL Port value.

Gx5642SetGroupTTLPortDirection

Sets the specified group TTL Port Direction.