Function
Sets the status of status bit (Ist) to be output to parallel response.
Format
Ret = GpibSetIst ( DevId, Ist )
Parameter
DevId [ VB.NET: Short ][ C, C++: short ][ C#: short ]
Specifies DevID.
Ist [ VB.NET: Short ][ C, C++: short ][ C#: short ]
Sets Status Bit(Ist)
0, 1 |
Status bit |
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 |
22522 |
When device is used as master (controller), functions for slave (non-controller) are execute |
22547 |
Being used by other process |
Initial Value
Ist |
0 |
Status bit (Ist) |
Remarks
Status bit (Ist) can not be reflected if "response on the GpibSetIst function" is not set by the GpibSetPPollResponse function.
Example
Sets status bit to 1.
C |
short Ist; Ist = 1; Ret = GpibSetIst ( DevId, Ist); |
See Also
GpibGetIst, GpibSetPPollResponse, GpibGetPPollResponse