Chapter 3 Software Overview
© National Instruments Corporation 3-21 NI-VXI User Manual
WSSabort (abortop)
WSSabort aborts the Servant Word Serial operation(s) in progress. It
returns an error code of ForcedAbort to the WSSrd or WSSwrt
interrupt handlers in response to the corresponding pending functions.
This may be necessary if the application needs to abort for some
application-specific reason, or if the Commander of this device sends a
Word Serial Clear, End Normal Operation, or Abort command.
WSSdisable ()
WSSdisable disables all Servant Word Serial functions from being
used. More precisely, this function desensitizes the local CPU to
interrupts generated when writing a Word Serial command to the Data
Low register or reading a response from the Data Low register.
WSSenable ()
WSSenable enables all Servant Word Serial functions. More precisely,
this function sensitizes the local CPU to interrupts generated when
writing a Word Serial command to the Data Low register or reading a
response from the Data Low register. By default, the Servant Word
Serial functions are disabled. At any time after InitVXIlibrary
initializes the NI-VXI software, you can call WSSenable to set up
processing of Servant Word Serial commands and queries.
WSSLnoResp ()
WSSLnoResp sets the WR bit so that it is ready to accept any further
Longword Serial commands. The WSSLcmd interrupt handler should
call WSSLnoResp after processing a Longword Serial command (it
calls WSSLsendResp for Longword Serial queries).
WSSLsendResp (response)
WSSLsendResp responds to a Longword Serial Protocol query from a
VXI message-based Commander device. The WSSLcmd interrupt
handler calls this function to respond to a Longword Serial query. If a
previous response has not been read yet, a WSSLsendResp call
generates a Multiple Query Error (MQE). Otherwise, it writes a
response value to the Data High and Data Low registers and sets the
RR bit. It also sets the WR bit so that it is ready to accept any further
Word Serial commands.