HP 8530A Operating And Programming Manual
Also see for 8530A: User guideUser guideUser guide
Programming ExamplesExample 22: Frequency ListThis example shows how to de ne, manipulate, and read frequency list data. First, athree-segment frequency list is de ned and activated. Next, the list and the trace data forParameter 1 is output to the computer. Then, single segments (selected by the user) are swept,the receiver leaves, then re-enters, the Frequency List mode.Example 23: Using the Receiver's Learn StringThis example program performs a User Preset, then prompts the user to change the currentinstrument state as desired. The learn string is then read out which includes the changes madeby the user. Another User Preset is done and then the Learn String is loaded into the receiver.The receiver restores the modi ed instrument state.The receiver Learn String is a binary coded string which describes the current instrument state.This string may be read from the receiver to computer memory via the HP-IB, then it may beloaded back into receiver memory in order to reset the system to the state represented by thestring. This learn string is transferred using internal receiver binary format (FORM 1), and itis not intended that the user attempt to decode or modify the string. Please note that eachrmware revision may create learn strings of greater or smaller size (compared to learn stringscreated by other rmware revisions). Thus, learn strings created by one rmware version maynot be compatible with earlier or later rmware revisions.The following commands control transfer of the string.OUTPLEAS; Output Learn String to HP-IB.INPULEAS; Input Learn String from HP-IB; Set the receiver controls to that state.The contents of the learn string is identical to the information processed by the SAVE andRECALL features for receiver internal storage, and the DISC Store and Load Instrument Statefunctions for the receiver disc drive.The following example shows a sequence to transfer the learn string. The learn string is 4390bytes in length and can be read into an integer type array of length 2195.DIM Integer Learn_string (4000)OUTPUT Rec;"OUTPLEAS;"ENTER Rec_data;Preamble, SizeREDIM Learn_string (1:Size/2)ENTER Rec;Learn_string (*)..OUTPUT Rec;"INPULEAS;"OUTPUT Rec;Preamble, Size, Learn_string (*)OUTPLEAS; and INPULEAS; select FORM1 data format transfers. The data is transferred in asequence beginning with the Preamble, #A; an integer size, that tells the number of bytes tofollow, followed by the receiver internal binary format data which represents the control stateof the receiver, with EOI asserted on the last byte.HP-IB Programming 18-31 |
Related manuals for HP 8530A
This manual is suitable for:
Product
Menu
Learn More
Menu
Legal
Menu
Copyright © 2024 OneStart. All Rights Reserved