02-04-2010 11:43 AM
Greetings,
For a client I have created a
program using the PCI-4065 DMM which works. The computer with the card
is at a remote site that I can't access. My client would like some
updates to the program but I can't seen to get the program to work without the
cards. I have installed the download "NI-DMM 3.0.1 - Windows 2000/Vista
x64/Vista/XP" (NIDMM301.zip) and successfully installed it. However,
when I start the program up I get an error "Can't find project or
library" at this line:
Dim VI As ViSession
I assume
this is a library function. In the VB6 environment I checked all the
loaded libaries and have all NI and National Instruments titled
libraries loaded but still get this error.
This code is from a VB8 example program that shipped with the card. Here is the example:
'NI-DMM Example Program
'This example acquires a single DC Voltage measurement. Specify the range and
'absolute resolution of your input signal and the powerline frequency of your system.
'The measured value will be displayed in the Measurement indicator.
'
'Supported Devices: 4050, 4060, 4065, 4070, 4071, 4072
Option Explicit
Dim VI As ViSession
What I need to know:
What library must be loaded.
Where can I get it
Also, do
you have any suggestions for running a project when the cards are not
installed (no measuements ill be made, only cosmetic changs will bedone ).
Thanks
02-08-2010 02:15 PM
Hi,
This should be in visa.h as described here. Once the DMM driver is installed, then you should be able to simulate the device to use during application development. Hopefully this helps!
02-08-2010 02:53 PM
Hi Mr. Baker
Thanks for the help but the C++ header file that you suggested probably won't work for me as I am using VB6. Do you have any idea which library applys in that case?
Perhaps the needed drivers are in the Ni-DAQmx 8.8 files. As I have given them to my client and no longer have access to them, is there a site where I can download them?
Thanks for the simulator link, I'll look into that one.
02-09-2010 11:01 AM
02-09-2010 12:36 PM
02-09-2010 12:37 PM