GPIB Functions

Owning Palette: Instrument I/O VIs and Functions

Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the GPIB functions to communicate with GPIB (IEEE-488) devices.

The functions on this palette can return specific GPIB error codes.

Compatible GPIB Hardware

All NI-488.2 hardware drivers are compatible with LabVIEW. Refer to the GPIB Driver Versions on the National Instruments Web site for information about current driver versions for each GPIB controller.

Palette ObjectDescription
GPIB ClearSends either SDC (Selected Device Clear) or DCL (Device Clear).
GPIB InitializationConfigures the GPIB interface at address string.
GPIB MiscPerforms the GPIB operation indicated by command string. Use this low-level function when the other high-level, traditional GPIB functions are not suitable.
GPIB ReadReads byte count number of bytes from the GPIB device at address string.
GPIB Serial PollPerforms a serial poll of the device indicated by address string.
GPIB StatusShows the present status of the GPIB Controller indicated by address string. Error I/O operates uniquely in this function. The function gets the status of the GPIB Controller regardless of whether an error occurred in a preceding operation.
GPIB TriggerSends GET (Group Execute Trigger) to the device indicated by address string.
GPIB WaitWaits for the state(s) indicated by wait state vector at the device indicated by address string.
GPIB WriteWrites data to the GPIB device identified by address string.
Wait for GPIB RQSWaits for the device indicated by address string to assert RQS.


SubpaletteDescription
GPIB 488.2 FunctionsUse the GPIB 488.2 functions to exchange data and instructions between VIs and GPIB 488.2 devices.