Function
Retrieves message number of the event set by the GpibSetNotifySignal function.
Format
Ret = GpibGetNotifyMessage ( Id, Message )
Parameter
Id [ VB.NET: Short ][ C, C++: short ][ C#: short ]
Whichever it specifies, operation does not change.
Message [ VB.NET: Integer ][ C, C++: long * ][ C#: out uint ]
Retrieves message number.
Return Value
Ret [ VB.NET: Integer ][ C, C++: long ][ C#: int ]
0 |
Normality completion |
10001 |
Invalid ID was specified |
15812 |
Pointer to Message is NULL |
Initial Value
Message |
15FFh |
Message number |
Remarks
Example
Retrieves message number and displays it.
C |
long Message; Ret = GpibGetNotifyMessage( Id, &Message ); if ( Ret == 0) Printf ("%d \n", Message); |
See Also
GpibSetNotifyMessage, GpibSetNotifySignal