Trace Memory Example 3 - Keysight VXI Bus 75000 C Series User And Programming Manual

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

Advertisement

Program Examples

Trace Memory Example 3

This example reads 40 WORDS from ports 0 and 1.
alpha.
Keysight E1458A 96-Channel Digital I/O Module User Guide
160 OUTPUT @Dio USING "K,10(W)";"SOUR:DIG:TRACE alpha,#220";A(*)
170 OUTPUT @Dio;"SOUR:DIG:DATA0:WORD:TRAC alpha;*OPC?" ! Fill memory alpha
180 ENTER @Dio;Ready! Wait for completion.
190 OUTPUT @Dio;"SOUR:DIG:TRAC:DEL alpha;*&OPC?" ! Remove memory block.
200 ENTER @Dio;Ready! Wait for completion.
210 END
10 RE-SAVE "Trace_3"!
20 ASSIGN @ Dio TO 70918!
30 DIM Head$[4]!
40 INTEGER A(1:20) ,Ready!
50 OUTPUT @Dio;"*RST;*OPC?"!
60 ENTER @Dio;Ready! Wait for completion.
70 OUTPUT @Dio;"SOUR:DIG:TRAC:DEF alpha,80;*OPC?"! Define memory name
80 ENTER @Dio;Ready! Wait for completion.
90 OUTPUT @Dio;"MEAS:DIG:DATA0:WORD:TRACE alpha;*OPC?" ! Output 80 bytes.
100 ENTER @Dio;Ready! Wait for completion.
110 OUTPUT @Dio;"SOUR:DIG:TRAC:DATA? alpha"
120 ENTER @Dio USING "4A,40(W)"; Head$;A(*)
130 OUTPUT @Dio;"SOUR:DIG:TRACE:DEL alpha;*OPC?" ! Request the data.
140 ENTER @Dio;Ready! Wait for completion.
150
END
Using the Keysight E1458A Digital I/O Module
with 20 bytes.
! Output the 20 bytes.
! Remove memory block.
57

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1458a

Table of Contents