
216
13
Application Sample Programs
Measuring Magnetic Materials
Figure 13-5
Example of the Result of Executing the Program of Example 13-4
The program is described in detail below:
Lines 100 to 110 Sets the GPIB address and select code.
Lines 120 to 130 Assigns the upper half of the LCD screen to measurement result
display and the lower half to the HP Instrument BASIC, and stops the
sweep.
Line 150
Stores the permeability of vacuum into the U0 variable.
Lines 170 to 230 Displays the message at the start of the program.
Line 260
Passes control to a subroutine named Adapter_setup to set up the
adapter.
Line 270
Passes control to a subroutine named Fixt_compen to execute fixture
compensation.
Line 290
Passes control to a subroutine named Input_size to set the outside
diameter, inside diameter, and height of the MUT.
Line 300
Passes control to a subroutine named Sweep to perform measurement.
Line 310
Passes control to a subroutine named Calc to calculate each parameter.
Line 320
Jumps to the Display line and displays each parameter.
Lines 350 to 860 The Adapter_setup subroutine.
Lines 360 to 420: Sets 42942A as the adapter and asks you if you
want to perform adapter setup.
Lines 440 to 460: After reset, makes the setting to use SRQ.
Lines 480 to 500: After clearing the register, sets the branch
destination for an SRQ interrupt, and enables the SRQ interrupt.
Содержание 4294A
Страница 4: ...4 ...
Страница 18: ...18 Contents ...
Страница 24: ...24 Chapter1 To make effective use of this manual Other manuals attached to this unit ...
Страница 94: ...94 Chapter6 Reading Writing Measurement Data Reading Writing Data ...
Страница 110: ...110 Chapter7 Processing Measurement Results Analyzing Measurement Results ...
Страница 130: ...130 Chapter9 Communication with External Equipment Using the I O Ports Sample Program to Use the I O Port ...
Страница 136: ...136 Chapter10 Handling Errors Sample program for error handling ...
Страница 246: ...246 13 Application Sample Programs File Transfer Function ...
Страница 254: ...254 Chapter15 Setting the Display LCD Sample program for setting the LCD screen ...
Страница 507: ...Index Index 507 Index ...
Страница 508: ...508 Index Index ...
Страница 509: ...Index Index 509 Index ...
Страница 510: ...510 Index Index ...
Страница 511: ...Index Index 511 Index ...
Страница 512: ...512 Index Index ...
Страница 513: ...Index Index 513 Index ...
Страница 514: ...514 Index Index ...
Страница 515: ...Index Index 515 Index ...
Страница 516: ...516 Index Index ...
Страница 517: ...Index Index 517 Index ...
Страница 518: ...518 Index Index ...