Owning Palette: GPIB Functions
Requires: Base Development System
Performs a serial poll of the device indicated by address string.
Add to the block diagram | Find on the palette |
address string is the address of the device the function polls. address string contains the address of the GPIB device with which the function communicates. You can input both the primary and secondary addresses in address string by using the form primary+secondary. Both primary and secondary are decimal values, so if primary is 2 and secondary is 3, address string is 2+3. If you do not specify an address, the functions do not perform addressing before they attempt to read and write the string. They assume you have either sent these commands another way or that another controller is in charge and therefore responsible for the addressing. If the controller is supposed to address the device but does not do so before the time limit expires, the functions terminate with GPIB error 6 (timeout) and set bit 14 in status. If the GPIB is not the Controller-In-Charge, do not specify address string. When there are multiple GPIB controllers that LabVIEW can use, a prefix to address string in the form ID:address (or ID: if no address is necessary) determines the controller that a specific function uses. If a controller ID is not present, the function defaults to controller (or bus) number 0. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
serial poll byte is the response from the device. If the addressed device does not respond within the timeout limit, serial poll byte is -1. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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. |