Iniciar sesión:
Votos - 2, Puntuación media: 4.5 ( )

Manual de usuario Agilent Technologies, modelo Agilent E5250A

Fabricar: Agilent Technologies
Tamaño del archivo: 1.8 mb
Nombre del archivo: E5250-90000.pdf
Idioma del manual:en
Enlace gratuito para este manual disponible en la parte inferior de la página



Resumen del manual


The library contains the following four subprograms. The library runs on HP BASIC. Load_vfp_data subprogram Loads data file (that was created and saved by Virtual Front Panel utility) to your program. The file contains all data from the 24 Setup Memories, and setup mode data for initializing the E5250A. Load_yfp_data(Address_5250,"LOAD FILE", Setup_data$) Address_5250: GPIB address of the E5250A. LOAD_FILE: File name of data you want to load. Setup_data$: Data string for internal use in the library. Must declare 14000 byte data size. CALL Load vfp data(722,"MAT48 1",Mat48 data$) Init_vfp_setup subprogram Initializes the E5250A based on the setup mode data loaded by the Load_vfp_data subprogram. This subprogram sets the following parameters: • Configuration Mode: Auto or Normal • Connection Rule: Free • Connection Sequence: Break Before Make • Bias State: Bias Mode (ON/OFF) for each card. • Input Bias Port for each card. This subprogram must be entered before the Connect_vfp subprogram. Init_vfp_setup(Setup_data$) Setup_data$: Data string for internal use in the library. Must declare 14000 byte data size. CALL Init vfp setup(Mat48 data$) Agilent E5250A User’s Guide, Edition 11 6-23 Programming the E5250A Using the VFP Data Upload Library Syntax: Parameters: Example: Syntax: Parameters: Example: Connect_vfp subprogram Makes relay connections based on data from the specified Setup Memory. Data from all 24 Setup Memories was loaded by the Load_vfp_data subprogram. Connect_vfp( Setup_data$, Setupnum) Setup_data$: Data string for internal use in the library. Must declare 14000 byte data size. Setup_num: Setup Memory number: 1 to 24. CALL Connect vfp(Mat4 8 data$,1) FNGet_vfp_comment$ subprogram Returns comment from the specified Setup Memory. Comments for all 24 Setup Memories were loaded by the Load_vfp_data subprogram. FNGet_vfp_comment$( Setup_data$, Setup_num) Setup_data$: Data string for internal use in the library. Must declare 14000 byte data size. Setup_num: Setup Memory number from which to get comment: 1 to 24. Comment$=FNGet vfp comment$(Mat4 8 data$,1) DISP "Comment=";Comment$ 6-24 Agilent E5250A User’s Guide, Edition 11 Programming the E5250A Using the VFP Data Upload Library Programming Example The following program is an example for using the VFP Data Upload Library. 10 ! Example for using VFP Data Upload Library 20 ! 30 COM /Vfp com data/ Mat48 data$[14000] 40 DIM Comment$[20] 50 Address 5250=722 ! E5250A GPIB Address: 722 60 Setup num=1 ! VFP Setup Memory Number: 1 70 ! 80 OUTPUT Address_5250; "*RST" 90 ! 100 CALL Load vfp data(Address 5 250,"MAT48",Mat48 data$) 110 CALL Init_vfp_setup(Mat48_data$) 120 ! 130 DISP "SETUP IN PROGRESS. SETUP NO.=";Setup_num 140 CALL Connect vfp(Mat48 data$,Setup num) 150 ! 160 Comment$=FNGet_vfp_comment$(Mat48_data$,Setup_num) 170 ! 180 DISP "SETUP WAS COMPLETED. SETUP COMMENT:",Comment$ 190 ! 200 END Line Number Description 30 Declares data size of Mat48_data$, which is for internal use by the library. Size must be 14000. 40 Declares data size of Comment$, which is for storing comment from Setup Memory. 100 Loads the data file MAT4 8, which was made by VFP utility. 110 Initializes the E5250A based on the loaded data. 140 Connects relays based on data from specified Setup Memory. 160 to 180 Gets the comment from specified Setup Memory, and displays the comment. Agilent E5250A User’s Guide, Edition 11 6-25 Programming the E5250A Using the VFP Data Upload Library Before Executing Your Program Before executing a program that uses subprograms from the VFP Data Upload Library, do the following: 1. Link the library to your program: Link the library as shown in the following example. The VFP Data Upload Library is an ASCII file on the E5250A Program Disk. a. GET the file UPLOAD from the E5250A Program Disk. GET "UPLOAD" b. RE-STORE the file. RE-STORE "U_LIB" c. LOAD your program. d. Link the library to your program by using the LOADSUB statement: LOADSUB ALL FROM "U_LIB" 2. Change the mass storage device Before executing your program, you must set the mass storage device to the device that has the file that will be loaded by Load_vfp_data subprogram. For example, if the file is on the device ":CS80,701,1", you should change the mass storage device by using the MSI statement: MSI ":CS80,701,1" Or you can specify the mass storage device as follows: Load vfp data(Address 5250,"LOAD FILE:CS80,701,1",Setup data$) 6-26 Agilent E5250A User’s Guide, Edition 11 Programming the E5250A Using the VFP Data Upload Library Error Messages If any error related to the VFP Data Upload Library occurs in your program, one of following error messages is displayed, and the program is paused. • Cannot configure for AUTO. Normal mode used. Cannot use the data for Auto Config mode. Normal Configuration mode is used. • File name is wrong. File name is not correct. Enter the correct file name. • ...

Otros modelos de este manual:
Equipo de red - Agilent E5250A (1.8 mb)

Comentarios



Tu reseña
Tu nombre:
Introduzca dos números de la imagen:
capcha





Categoría