![Agilent Technologies E1330B Скачать руководство пользователя страница 67](http://html.mh-extra.com/html/agilent-technologies/e1330b/e1330b_users-manual-and-scpi-programming-manual_2867439067.webp)
Agilent E1330B Digital I/O Module Command Reference
65
Chapter 5
•
If n is omitted, bit 0 is used.
•
:BIT
m is the keyword that specifies the bit read by this command. Like the
:DATA
n keyword, no space can be between the keyword
:BIT
and the bit
number m parameter.
•
Related Commands:
[SOURce:]DIGital:DATA
n
:POLarity
•
*RST Condition:
Set to input on all ports.
Example
MEAS:DIG:DATA2:BIT4?
reads port 2, bit 4 (data line D2–4).
:DIGital:DATA
n
[:type]:TRACe
MEASure:DIGital:DATA
n
[:BYTE]:TRACe <
name
>
reads 8-bit port n after the
completion of the handshake and stores the data block in
<
name
>
.
MEASure:DIGital:DATA
n
:WORD:TRACe <
name
>
reads 16-bit port n after the
completion of the handshake and stores the data block in
<
name
>
.
MEASure:DIGital:DATA
n
:LWORd:TRACe <
name
>
reads the 32-bit port n after
the completion of the handshake and stores the data block in
<
name
>
.
Parameters
Comments
•
:TRACe <
name
>
is the keyword (maximum 12 characters) that specifies the
block where the data should be stored. This block must have been previously
defined by the
[SOURce:]DIGital:TRACe:DEFine
command.
•
This command will completely fill the named block. The defined block size
sets the amount of data read. The block size must by an integer multiple of the
[:type]
keyword used in this command. For example,valid block sizes for
:LWORd
are 4, 8, 12, 16, etc.
•
Input data is returned in decimal format. Other formats are not supported for
input, however, data output may be in binary, octal, decimal or hexadecimal.
•
The keyword
:LW32
may be used instead of
:LWORd
when using the
download version of the SCPI driver.
•
:DATA
n is the keyword used for commands relating to the data at port n. The
port number n must be the last character of the keyword without spaces.
•
Related Commands:
MEASure:DIGital:DATA
n
[:VALue]?
,
[SOURce:]DIGital:TRACe:DEFine
•
*RST Condition:
Set to input on all ports.
Example
MEAS:DIG:DATA0:WORD:TRACe
first_block reads 16-bit data from port 0 and
stores it in the predefined user memory location first_block.
Parameter Name
Parameter Type
Range of Values
Default
DATA
n
Numeric
BYTE
WORD
LWORd
none, 0, 1, 2, or 3
none, 0 or 2
none or 0
0
<
name
>
String
previously defined block
name (max 12 characters)
None
Содержание E1330B
Страница 2: ......
Страница 10: ...8 Notes ...
Страница 11: ...9 Notes ...
Страница 12: ...10 Notes ...
Страница 25: ...Configuring the Agilent E1330B Digital I O Module 23 Chapter 2 Figure 2 6 J1 and J2 Connector Pinouts ...
Страница 32: ...30 Configuring the Agilent E1330B Digital I O Chapter 2 Notes ...
Страница 42: ...40 Using the Agilent E1330B Digital I O Module Chapter 3 Notes ...
Страница 58: ...56 Understanding the Agilent E1330B Digital I O Module Chapter 4 Notes ...
Страница 104: ...102 Agilent E1330B Digital I O Module Command Reference Chapter 5 Notes ...
Страница 146: ...144 Error Messages Appendix C Notes ...