Specifications
ZVx Interfaces
1043.0009.50 A.19 E-8
RSDLLTestSRQ
This function checks the status of the SRQ bit.
VB format: Function RSDLLTestSrq (ByVal ud%, Result%, ibsta%, iberr%,
ibcntl&) As Integer
C format: short WINAPI RSDLLTestSrq( short ud, short far *result, short
far *ibsta, short far *iberr, unsigned long far *ibcntl)
C format (Unix): short RSDLLTestSrq( short ud, short *result, short *ibsta,
short *iberr, unsigned long *ibcntl)
Parameter: ud Device handle
result Reference to an integer value in which the library returns
the status of the SRQ bit.
0 - no SRQ
1 - SRQ active, device requests service
Example: RSDLLTestSrq (ud, result%, ibsta, iberr, ibcntl)
This function corresponds to the function RSDLLWaitSrq. The only difference is that RSDLLTestSRQ
immediately returns the current status of the SRQ bit, whereas RSDLLWaitSrq waits for an SRQ to
occur.
RSDLLWaitSrq
This function waits until the device triggers an SRQ with the handle ud.
VB format: Function RSDLLWaitSrq (ByVal ud%, Result%, ibsta%, iberr%,
ibcntl&) As Integer
C format: short WINAPI RSDLLWaitSrq( short ud, short far *result, short
far *ibsta, short far *iberr, unsigned long far *ibcntl)
C format (Unix): short RSDLLWaitSrq( short ud, short *result, short *ibsta,
short *iberr, unsigned long *ibcntl)
Parameter: ud Device handle
result Reference to an integer value in which the library returns the
status of the SRQ bit.
0 - No SRQ has occurred during the timeout
1 - SRQ has occurred during the timeout
Beispiel: RSDLLWaitSrq( ud, result, ibsta, iberr, ibcntl );
The function waits until one of the following two events occurs.
• The measuring instrument triggers an SRQ
• No SRQ occurs during the timeout defined with RSDLLibtmo()