Keysight VXI Bus 75000 C Series User And Programming Manual page 18

Digital i/o module
Hide thumbs Also See for VXI Bus 75000 C Series:
Table of Contents

Advertisement

Getting Started
Specifying a Bit
Each of the twelve ports on the digital I/O module has eight bi-directional data
bits. Some SCPI commands allow you to manipulate or read these bits
individually. For example:
This command reads the state of a bit, specified by m, on port n. The result of the
command will be either 0 or 1, indicating the current state of the bit. Replace m
with the desired bit number, and n with the desired port number, making each
number the last characters of the DATA and BIT keywords without spaces. For
example, to read the state of bit 7 on port 0, use the following command:
For single ports, the value of m can range from 0 to 7. Some multiple port
operations and commands may allow bit numbers to range from 0 to 95.
Specifying Multiple- Port Operations
The digital I/O module allows you to set or read multiple ports or bits with a
single command. For example:
This command uses an optional keyword [:type] to specify how many ports are
combined in a single returned value. The lowercase keyword [:type] is replaced
with one of a fixed set of keywords. For example, to read all 12 ports (all 96 bits)
as three returned values, use the command:
Keywords are provided to allow port combinations of 16, 32, 64, or 96 bits. Using
multiple ports is described in more detail in Chapter 3 of this manual.
16
MEASure:DIGital:DATAn:BITm?
MEASure:DIGital:DATA0:BIT7?
MEASure:DIGital:DATAn[:type]?
MEASure:DIGital:DATA0:LW96?
SCPI Command Format Used in this Manual
Keysight E1458A 96-Channel Digital I/O Module User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1458a

Table of Contents