
152
Chapter 4 Features and Functions
Digital Input Operations
• A Factory Reset (
*RST
command), Instrument Preset
(
SYSTem:PRESet
command), and Card Reset (
SYSTem:CPON
command) from the remote interface will reconfigure both ports as
input ports.
Note that a
from the front panel resets only the port currently
selected (both ports are not reset).
•
Front-Panel Operation
: After selecting the port, press
to read the
bit pattern (the least significant bit is on the right). The bit pattern
read from the port will be displayed until you press another key, turn
the knob, or until the display times out.
To add a digital read to a scan list, choose the following item.
DIO READ
From the front-panel only, you can specify whether you want to use
binary or decimal format.
USE DECIMAL , USE BINARY
•
Remote Interface Operation
: From the remote interface, you can read
an 8-bit byte from one port or a 16-bit word from both ports using the
following commands. If you are going to read both ports
simultaneously, you must send the command to port 01 and neither
port can be included in the scan list
SENS:DIG:DATA:BYTE? (@302)
Read port 02
SENS:DIG:DATA:WORD? (@301)
Read both ports together
To redefine the scan list to include a digital read (8-bit read only),
send the following command.
CONF:DIG:BYTE (@302)
Add port 02 read to scan list
34970A Refresh UG.book Page 152 Wednesday, February 17, 2010 12:34 PM
Summary of Contents for 34970A
Page 16: ...16 34970A Refresh UG book Page 16 Wednesday February 17 2010 12 34 PM ...
Page 20: ...34970A Refresh UG book Page 20 Wednesday February 17 2010 12 34 PM ...
Page 21: ...1 1 Quick Start 34970A Refresh UG book Page 21 Wednesday February 17 2010 12 34 PM ...
Page 39: ...2 2 Front Panel Overview 34970A Refresh UG book Page 39 Wednesday February 17 2010 12 34 PM ...
Page 59: ...3 3 System Overview 34970A Refresh UG book Page 59 Wednesday February 17 2010 12 34 PM ...
Page 87: ...4 4 Features and Functions 34970A Refresh UG book Page 87 Wednesday February 17 2010 12 34 PM ...
Page 217: ...5 5 Error Messages 34970A Refresh UG book Page 217 Wednesday February 17 2010 12 34 PM ...
Page 241: ...6 6 Application Programs 34970A Refresh UG book Page 241 Wednesday February 17 2010 12 34 PM ...
Page 254: ...254 34970A Refresh UG book Page 254 Wednesday February 17 2010 12 34 PM ...
Page 255: ...7 7 Tutorial 34970A Refresh UG book Page 255 Wednesday February 17 2010 12 34 PM ...
Page 324: ...324 34970A Refresh UG book Page 324 Wednesday February 17 2010 12 34 PM ...