
R&S ZVL
Interfaces and Connectors
Rear Panel Connectors
Operating Manual 1303.6580.32-05
601
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)
Parameters
ud
// Device handle
result
// Reference to an integer value in which the library returns the status of the SRQ
bit (0 - no SRQ, or 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)
Parameters
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, or 1 - SRQ has occurred during the
timeout)
Example
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()
RSDLLSwapBytes
This function changes the display of binary numbers on non-Intel platforms.
VB format
Not provided at present since it is required only on non-Intel platforms.
C-format
void WINAPI RSDLLSwapBytes( void far *pArray, const long size,
const long count)