![Agilent Technologies E1330B Скачать руководство пользователя страница 40](http://html.mh-extra.com/html/agilent-technologies/e1330b/e1330b_users-manual-and-scpi-programming-manual_2867439040.webp)
38
Using the Agilent E1330B Digital I/O Module
Chapter 3
Using Trace Memory
Trace memory can speed input and output operations and free your system
controller during multiple byte input or output operations. A portion of
system memory is set aside and data is read or written as blocks. Trace
memory allows the fastest operation of the Digital I/O module. The rate of
transfer of each block of data is determined by the handshake speed of the
Digital I/O module and the peripheral.
Note
Byte swapping may occur when using the
:TRACe
commands. If you are
using a Motorola processor, the bytes are written or read to memory with
the lowest port receiving the least significant byte (the case when directly
addressing the port through SCPI commands). An Intel processor, however,
when used with the
:TRACe
commands will swap the order the of the
bytes. The bytes are written or read from memory with the lowest port
receiving the most significant byte and the highest port the least significant
byte.
Trace Memory Example 1
This example writes 20 bytes as 10 WORDS at ports 0 and 1.
10
RE-SAVE "Trace_1"
20
ASSIGN @ Dio TO 70918
30
INTEGER A(1:10) ,Ready
40
DATA 65,66,67,68,69,70,71,72,73,74
!A, B, C, D, E, F, G, H, I, J.
50
READ A(*)
60
OUTPUT @Dio;"*RST;*OPC?"
70
ENTER @Dio;Ready
!Wait for completion.
80
OUTPUT@Dio;"SOUR:DIG:TRAC:DEF alpha,100;*OPC?"
!Define memory name alpha.
90
ENTER @Dio;Ready
!Wait for completion.
100
OUTPUT @Dio USING"K,10(W)";"SOUR:DIG:TRAC alpha,#220";A(*)
!Fill memory alpha with 20
bytes.
110
OUTPUT@Dio;"SOUR:DIG:DATA0:WORD:TRAC alpha;*OPC?"
!Output the 20 bytes.
120
ENTER @Dio;Ready
!Wait for completion.
130
OUTPUT @Dio;"SOUR:DIG:TRAC:DEL alpha;*OPC?"
!Delete memory alpha.
140
ENTER @Dio;Ready
!Wait for completion.
150
END
Содержание 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 ...