Function
Retrieves the status of status bit (Ist) to be output to parallel response.
Format
Ret = GpibGetIst ( DevId, Ist )
Parameter
DevId [ VB.NET: Short ][ C, C++: short ][ C#: short ]
Specifies DevID.
Ist [ VB.NET: Short ][ C, C++: short * ][ C#: out short ]
Retrieves the status of Status Bit(Ist).
0, 1 |
Status bit (Ist) |
Return Value
Ret [ VB.NET: Integer ][ C, C++: long ][ C#: int ]
0 |
Normality completion |
10001 |
Invalid ID was specified |
10002 |
Driver can not be called |
12562 |
Pointer to Ist is NULL |
22572 |
When device is used as master (controller), functions for slave (non-controller) are execute |
Initial Value
Ist |
0 |
Status bit (Ist) |
Remarks
Example
Retrieves current status and displays it.
C |
short Ist; Ret = GpibGetIst ( DevId, &Ist); if ( Ret == 0) Printf ("%d \n", Ist); |
See Also