Programming Examples

Sending Queries to the Logic Analyzer

1010 ! ************* TRANSFER DATA TO THE HP 16554A/HP 16555 ****************

1020 ! Transfer the data from the buffer to the HP 16554A/HP 16555A.

1030 !

1040 TRANSFER @Buff TO @Comm;COUNT Numbytes,WAIT

1050 !

1060 ! ********************** RESTORE BUFFER POINTERS ***********************

1070 ! Restore the transfer buffer pointer

1080 !

1090 CONTROL @Buff,5;Streg

1100 !

1110 ! ******************** SEND TERMINATING LINE FEED **********************

1120 ! Send the terminating linefeed to properly terminate the data string. 1130 !

1140 OUTPUT @Comm;""

1150 !

1160 PRINT "**** SENT THE DATA **** Program complete."

1170 END

18–22

Page 324
Image 324
HP 16555D, 16555A, 16554A manual 18-22