Owning Palette: GPIB 488.2 Functions
Requires: Base Development System
Waits until a device asserts Service Request.
Refer to GPIB Function Defaults for more information about the timeout and address defaults.
Add to the block diagram | Find on the palette |
bus refers to the GPIB bus number. If you have only one GPIB interface in your computer, the default bus number is 0. Refer to the software installation instructions included with the GPIB controller for additional GPIB interfaces. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
If the SRQ occurs within the timeout period specified in the GPIB configuration, the function returns TRUE in SRQ. Otherwise, the function returns FALSE. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status is a Boolean array in which each bit describes a state of the GPIB Controller. If an error occurs, the function sets bit 15. GPIB error is valid only if bit 15 of status is set. The following table shows the numeric value and symbolic status of each bit in status. This table also includes a description of each bit.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
error out contains error information. This output provides standard error out functionality. |
The function suspends execution until a GPIB device connected on the GPIB asserts the Service Request (SRQ) line.
WaitSRQ is similar in format to the TestSRQ function, except that TestSRQ returns the SRQ status immediately, whereas WaitSRQ suspends the program for the duration of the timeout period, but no longer, waiting for an SRQ to occur.