HP (Hewlett-Packard) Drive Network Card User Manual


 
76
Chapter 8
{
voltage range -300 v to 300 v continuous;
}
end; ** DC Voltage Measurement
end; *end dmm
Note:
To understand the file contents, refer to the Paws Studio online help.
13 To build the project, from the Main Menu select Build and click Rebuild All.
Add the WCEM Interface Functions
The WCEM interface C++ functions are invoked by the ATLAS code. These C++
functions include the IVI-COM calls to control the instrument.
1 From the Main Menu, select File and click New Module. The New dialog
appears.
2 Select CEM and enter WCEM in the Module Name field. Click OK.
3 From the Main Menu, select View and click CEM Wizard. The CEM Wizard
dialog appears.
4 Click on the Advanced tab. The CEM Wizard Advanced Settings dialog
appears.
5 Check Open, Unload and Disable CEM Logging. Click OK. The CEM Wizard
dialog appears.
6 Right-click on DMM and click on Add Interface Function. The Add Function(s)
to Action(s) dialog appears.
7 For Setup, select Setup in the Action(s) dialog and enter DMM_Setup in the
User Function Name(s) field. Click OK.
8 For Fetch and Init, select the appropriate action in the Action(s) dialog and
enter DMM_Fetch and DMM_Init in the User Function Name(s) field. Click
OK.
Note:
This will add several files to your WCEM module: ctrl.cpp, DMM.cpp,
Error.cpp, Wrapper.cpp, and Key.h. ctrl.cpp includes the doOpen and doUnload
functions. Dmm.cpp includes the three DMM_ functions.