©
National Instruments Corporation
4-1
4
Programming in S Mode
This chapter describes how to program the GPIB-232/485CT-A in S mode.
It explains status information and error handling, programming
considerations, programming messages, function arguments, GPIB
termination methods, function names, S mode default settings, and the
S mode functions.
Choosing Your S Mode Programming Method
When using the GPIB-232/485CT-A in S mode, you can either use the
S mode functions listed in the manual, or you can use the high-level
NI-488.2 software for the GPIB-232/485CT-A. If you want to use the
functions listed in this manual, refer to this chapter and Chapter 5,
, for programming information. If you want to use the NI-488.2
software, refer to the NI-488.2 user manual and NI-488.2 function
reference manual. Contact National Instruments for ordering information
if you do not have the NI-488.2 software package.
Status Information and Error Handling Characteristics
The function descriptions in Chapter 5,
, explain that the
GPIB-232/485CT-A records specific status and error information. This
means that it stores that information in its memory so that it is available
when you request it.
The function descriptions also explain that the GPIB-232/485CT-A returns
certain information to you. This means that the GPIB-232/485CT-A sends
information to you over the serial port.
The GPIB-232/485CT-A continuously monitors the serial port for
transmission errors. If it encounters an error in the serial data,
the GPIB-232/485CT-A records the error. You can program the
GPIB-232/485CT-A to ignore serial port errors using the
spign
function.