LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-6036 and easyio.lib

Here it goes a problem that is driving me crazy, the one who can help me will be my friend forever and ever,

 

I am compiling a project that was done by another person in the past. I have CVI2009 and NI-DAQ 8.9.5 installed in my PC.

The old project was done in 2010, but the installation disk is gone and that is why we are updating this sw in CVI2009.

 

When I open the project and compile, everything goes fine, except for the instructions that control the PCI-6036 that we use. I guess that the installation that the previous guy did with NI-DAQ was different than mine and I don't have the right file in right path. What I do is to add the easyIO.lib to the project and it compiles and creates a release executable. So I though that it was my lucky day. I got this easyio.lib from a measurement PC because I couldn't find it anywhere. The easyio.lib is 4/8/2004 89KB.

 

BUT, when I execute the software with my new 2009 version, the measures I have from the PCI-6036 rise at a constant speed till infinity. Then I execute the previous version from the guy and the measure is OK. Then my version one more time and the measure goes to infinity again.

 

These are functions I use to read the PCI-6036:

OMG.png

 

I have checked that these functions that I use are obsolete in the lib that I use! (extract from easyio.h version 5,0,2,17)

WTF.png

..but I thought that since the program is working perfectly (except the measurement value) maybe it would be just fine.

 

I appreciate your help,

Thanks,

 

Jose

0 Kudos
Message 1 of 5
(4,284 Views)
That is part of the obsolete traditional DAQ. Did you install the complete driver?

http://www.ni.com/download/traditional-ni-daq-legacy-7.5/4498/en/

The conversion to DAQmx is way overdue.
0 Kudos
Message 2 of 5
(4,273 Views)

Thanks for your answer Dennis,

 

I have Windows 7 in 64bits in my development PC. I tried to install it because sometimes it is possible to install 32 in a 64 bits (not the oposite) but I got a message that it is not possible. Is there any version for 64bits?

 

Traditional NI-DAQ 7.png

0 Kudos
Message 3 of 5
(4,261 Views)

I see there is no TDAQ for 64bit Windows...

Traditional NI-DAQ 7.png

0 Kudos
Message 4 of 5
(4,259 Views)
No. If you want to use Windows 64 bit, you must use DAQmx.
0 Kudos
Message 5 of 5
(4,248 Views)