Specifications
Interfaces ZVx
1043.0009.50 A.18 E-8
RSDLLibrsp
This function performs a serial poll and provides the status byte of the device.
VB format: Function RSDLLibrsp(ByVal ud%, spr%, ibsta%, iberr%, ibcntl&)
As Integer
C format: short WINAPI RSDLLibrsp( short ud, char far* spr, short far
*ibsta, short far *iberr, unsigned long far *ibcntl)
C format (Unix): short RSDLLibrsp( short ud, char *spr, short *ibsta, short
*iberr, unsigned long *ibcntl)
Parameter: ud Device handle
spr Pointer to status byte
Example: RSDLLibrsp(ud, spr, ibsta, iberr, ibcntl)
RSDLLibclr
Sends the command SDC (Device Clear) to the instrument.
VB format: Function RSDLLibclr(ByVal ud%, spr%, ibsta%, iberr%, ibcntl&)
As Integer
C format: short WINAPI RSDLLibclr( short ud, short far *ibsta, short far
*iberr, unsigned long far *ibcntl)
C format (Unix): short RSDLLibclr( short ud, short *ibsta, short *iberr,
unsigned long *ibcntl)
Parameter: ud Device handle
Example: RSDLLibclr(ud, ibsta, iberr, ibcntl)
RSDLLibonl
This function switches the device to 'online' or 'offline' mode. When it is switched to ‘offline’ mode, the
interface is released and the device handle becomes invalid. By calling RSDLLibfind again, the
communication is set up again.
VB format: Function RSDLLibonl (ByVal ud%, ByVal v%, ibsta%, iberr%,
ibcntl&) As Integer
C format: short WINAPI RSDLLibonl( short ud, short v, short far *ibsta,
short far *iberr, unsigned long far *ibcntl)
C format: short RSDLLibonl( short ud, short v, short *ibsta, short
*iberr, unsigned long *ibcntl)
Parameter: ud Device handle
v Device state
0 - local
1 - remote
Example: RSDLLibonl(ud, 0, ibsta, iberr, ibcntl)