Chapter 7
Programming in G Mode
© National Instruments Corp.
7-7
GPIB-232CT User Manual
information. After the serial error code has been reported, it will be reset
automatically so that no further action to the GPIB-232CT is necessary.
You can also determine if a serial port error has occurred by performing a
serial poll of the GPIB-232CT and checking the serial poll response byte to
see if its ESDR bit is set. Refer to the section on serial poll responses at the
end of this chapter.
G Mode - Default Settings
Tables 7-1 and 7-2 list power-on characteristics of the GPIB-232CT and the
functions you can use to change those characteristics.
Table 7-1. GPIB Characteristics
!
Power-on
Characteristic
Value
Function
!
!
End-of-string
modes
none
eos
!
!
Allow GPIB-232CT to
assert
SRQ
no
srqen
!
Table 7-2. Serial Port Characteristics
!
Power-on
Characteristic
Value
Function
!
!
Echo bytes to serial port
no
echo
!
!
Enable serial port communication
yes
onl
!
!
Baud
rate
9600
spset
!
!
Parity
none
spset
!
!
Data
bits
8
spset
!
!
Stop
bits
1
spset
!
(continues)