HP (Hewlett-Packard) Drive Network Card User Manual


 
Using IVI with PAWS
75
C$
001110 DECLARE, VARIABLE, 'MEASURED' IS DECIMAL $
C$
E02000 OUTPUT, C'\LF\ATLAS PROGRAM STARTS HERE\LF\' $
C$
002200 VERIFY, (VOLTAGE INTO 'MEASURED'),
DC SIGNAL USING 'DMM-DC-VOLTS',
NOM 0 V UL 0.5 V LL -0.5 V,
VOLTAGE RANGE -0.5 V TO 0.5 V,
MAX-TIME 5 SEC,
CNX HI X20-2 LO X20-3 $
002300 OUTPUT, C'DC VOLT MEASUREMENT 1 = ', 'MEASURED', C'
VDC' $
C$
999000 OUTPUT, C'\LF\ATLAS PROGRAM ENDS HERE\LF\' $
C$
999999 TERMINATE, ATLAS PROGRAM 'IVI-COM DMM' $
6 To add a Device Database Module, from the Main Menu select File and click
New Module.
7 Select DEVICEDB and click OK.
8 To add a new file to the DEVICEDB Project Module, from the Main Menu select
File and click New File. The New dialog appears.
9 Select DEVICE file. Check the option to add the file to the project.
10 Enter dmm in the File Name field. Click OK.
11 In the PAWS Project window, select the file dmm.ddb.
12 Insert the following code in the dmm.dbb file and save it:
begin dev DMM;
cnx hi DMM-Hi, lo DMM-Lo;
begin FNC = 101; ** DC Voltage Measurement
sensor(voltage)dc signal;
control