GXFPGA Functions

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

Driver Functions
Description
General Functions
GxFpgaInitialize
Initializes the driver for the board at the specified slot number using HW. The function returns a handle that can be used with other GXFPGA functions to program the board,
GxFpgaInitializeVisa
Initializes the driver for the specified slot using VISA. The function returns a handle that can be used with other GXFPGA functions to program the board.
GxFpgaReset
Resets the GX3500 board to its default settings.
GxFpgaGetBoardSummary
Returns the board summary.
GxFpgaGetBoardType
Returns the board type.
GxFpgaGetDriverSummary
Returns the driver's name and version.
GxFpgaGetErrorString
Returns the error string associated with the specified error number.
GxFpgaPanel
Opens the instrument panel dialog, used to interactively control the board.
FPGA Settings Functions
GxFpgaGetEepromSummary
Returns the timestamp and filename of the last FPGA configuration written to EEPROM.
GxFpgaGetExpansionBoardBypass
Returns the current state of the Expansion Board Bypass.
GxFpgaGetExpansionBoardID
Returns the current Expansion Board ID.
GxFpgaLoad
Loads the volatile FPGA or the nonvolatile EEPROM with FPGA configuration data in the form of SVF or RPD files respectively.
GxFpgaLoadFromEeprom
Loads the FPGA with the contents of the EEPROM.
GxFpgaLoadStatus
Returns the progress of the last asynchronous load in percentage.
GxFpgaLoadStatusMessage
Returns a string describes the current load progress of the last asynchronous load.
GxFpgaReadMemory
Reads a 32-bit memory location that is a part of the FPGA’s memory space.
GxFpgaReadRegister
Reads a 32-bit FPGA register.
GxFpgaSetExpansionBoardBypass
Sets the current state of the Expansion Board Bypass.
GxFpgaWriteMemory
Writes a buffer of 32-bit double words to the FPGA’s memory space.
GxFpgaWriteRegister
Writes a buffer of 32-bit double words to the FPGA’s register space.
Event (Interrupt) Functions
GxFpgaSetEvent
Enables or disables an event handler,
GxFpgaDiscardEvents
Clears the events queue,
GxFpgaWaitOnEvent
Waits until event received or timeout occurred,
PIO (GX3501, GX3509, GX3510, GX3511, GX3540) Expansion Board Functions
GxFpgaPioReset
Resets the specified PIO expansion board to its default settings.
GxFpgaPioGetChannel
Returns the specified PIO expansion board channel value.
GxFpgaPioGetChannelDirection
Returns the specified PIO expansion board channel direction.
GxFpgaPioGetGroup
Returns the specified PIO expansion board group’s channel values.
GxFpgaPioGetGroupDirection
Returns the specified PIO expansion board group’s channel direction.
GxFpgaPioSetChannel
Sets the specified PIO expansion board channel value.
GxFpgaPioSetChannelDirection
Sets the specified PIO expansion board channel direction.
GxFpgaPioSetGroup
Sets the specified PIO expansion board group’s channel values.
GxFpgaPioSetGroupDirection
Sets the specified PIO expansion board group’s channel direction.
GX3571 Expansion Board Functions
GxFpga3571Reset
Resets the GX3571 to its default settings.
GxFpga3571GetAdvancedMode
Returns whether the board is in advanced mode.
GxFpga3571GetVideoMode
Returns the board’s current video output mode.
GxFpga3571LoadColor
Loads the video memory with the specified color.
GxFpga3571LoadArray
Loads the video memory from the specified array.
GxFpga3571LoadFile
Loads the video memory from the specified file.
GxFpga3571ResetModeline
Restores the modeline parameters to their defaults.
GxFpga3571SetAdvancedMode
Sets the board’s advanced mode.
GxFpga3571SetModeline
Sets the specified modeline parameter.
GxFpga3571SetVideoMode
Sets the board’s video output mode.
Upgrade firmware functions
GxFpgaUpgradeFirmware
Upgrades the board’s firmware.
GxFpgaUpgradeFirmwareStatus
Monitor the firmware upgrade process.