Keysight E1458A 96-Channel Digital I/O Module User Guide 57Program Examples Using the Keysight E1458A Digital I/O Module160 OUTPUT @Dio USING "K,10(W)";"SOUR:DIG:TRACE alpha,#220";A(*)170 OUTPUT @Dio;"SOUR:DIG:DATA0:WORD:TRAC alpha;*OPC?" ! Fill memory alphawith 20 bytes.! Output the 20 bytes.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 ENDTrace Memory Example 3This example reads 40 WORDS from ports 0 and 1.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 namealpha.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.! Remove memory block.140 ENTER @Dio;Ready! Wait for completion.150 END