1256E User Manual
Racal Instruments
©
2002
Digital Module Operation 7-15
Reading Data from a
Synchronous Input
Port
Once the data transfer is complete, each of the synchronous input
ports may be read. The DIGITAL:SYNCHRONOUS:DATA? query
is used to read data from the synchronous input ports.
The following examples illustrate the use of this query.
Reads all of the data from port 4 of module 7:
DIG:SYNC:DATA?
(@7(4))
The reply to this query consists of a series of numeric values, each
separated by a comma. For example, the following reply could be
returned. This indicates that seven data bytes were stored by the
module from port 4:
255,0,128,93,66,17,23
Reads all of the data from port 11 of the module whose name is
“digio”. The name must have been defined using the
MODULE:DEFINE command:
DIG:SYNC:DATA? (@digio(11))
The number of points stored in the port memory for a synchronous
input port may be read using the
DIGITAL:SYNCHRONOUS:INDEX? query. This query will return
the number of data points stored for the specified port(s). One
numeric reply is returned for each port specified in the query.
If multiple ports are specified, then multiple numeric values are
returned. In this case, each number is separated from the next by
a comma. Examples are shown below.
Reads the index for port 4 of module 7:
DIG:SYNC:INDEX?
(@7(4))
Reads the index for each of the ports 3, 4, and 5 on module 7.
DIGITAL:SYNC:INDEX? (@7(3:5))
The reply will be similar to:
123,14,79
This reply indicates that there are 123 bytes stored in port 3, 14
bytes stored in port 4, and 79 bytes stored in port 5.
Содержание 1256E
Страница 5: ......
Страница 6: ...This page was left intentionally blank...
Страница 20: ...1256E User Manual Introduction 1 6 Racal Instruments 2002 This page was left intentionally blank...
Страница 30: ...1256E User Manual Getting Started 2 10 Racal Instruments 2002 This page was left intentionally blank...
Страница 96: ...1256E User Manual Computer Interfaces 4 32 Racal Instruments 2002 This page was left intentionally blank...
Страница 104: ...1256E User Manual SCPI Command Basics 5 8 Racal Instruments 2002 Figure 5 1 IEEE 488 2 Status Reporting Model...
Страница 146: ...1256E User Manual SCPI Command Reference 6 6 Racal Instruments 2002...
Страница 179: ...1256E User Manual Racal Instruments 2002 Advanced SCPI Operations 8 15 select input and output trigger sources and so on...
Страница 190: ...1256E User Manual Product Support 9 4 Racal Instruments 2002 This page was left intentionally blank...