Specifications
ZVx Interfaces
1043.0009.50 A.17 E-8
RSDLLibsre
This function sets the device to the ’LOCAL’ or ’REMOTE’ state.
VB format: Function RSDLLibsre (ByVal ud%, ByVal v%, ibsta%, iberr%,
ibcntl&) As Integer
C format: short WINAPI RSDLLibsre( short ud, short v, short far *ibsta,
short far *iberr, unsigned long far *ibcntl)
C format (Unix): short RSDLLibsre( short ud, short v, short *ibsta, short
*iberr, unsigned long *ibcntl)
Parameter: ud Device handle
v State of device
0 - local
1 - remote
Example: RSDLLibsre (ud, 0, ibsta, iberr, ibcntl)
RSDLLibloc
This function temporarily switches the device to the ’LOCAL’ state.
VB format: Function RSDLLibloc (ByVal ud%, ibsta%, iberr%, ibcntl&) As
Integer
C format: short WINAPI RSDLLibloc( short ud, short far *ibsta, short far
*iberr, unsigned long far *ibcntl)
C format (Unix): short RSDLLibloc( short ud, short *ibsta, short *iberr,
unsigned long *ibcntl)
Parameter: ud Device handle
Example: RSDLLibloc (ud, ibsta, iberr, ibcntl)
After switchover to LOCAL state, the instrument can be manually operated via the front panel. On the
next access to the instrument by means of one of the functions of the library the instrument is switched
again to the REMOTE state.
RSDLLibeot
This function enables or disables the END message after write operations.
VB format: Function RSDLLibeot (ByVal ud%, ByVal v%, ibsta%, iberr%,
ibcntl&) As Integer
C format: short WINAPI RSDLLibsre( short ud, short v, short far *ibsta,
short far *iberr, unsigned long far *ibcntl)
C format (Unix): short RSDLLibsre( short ud, short v, short *ibsta, short
*iberr, unsigned long *ibcntl)
Parameter: ud Device handle.
v 0 - no END message
1 – send END message
Example: RSDLLibeot (ud, 1, ibsta, iberr, ibcntl)
If the END message is disabled, the data of a command can be sent with several successive calls of
write functions. The END message must be enabled again before sending the last data block.