LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Traditional DAQ for NI USB 6509 (Digital I/O)

Hi all,

I am trying to port an old Program (written in CVI 5.5 using Traditional DAQ for a PCI DIO card) to new Hardware (NI USB 6509) and OS (Windows 7 enterprise, sp1). As I'm new with LabWindows/CVI using old drivers seems to be the fastest way. Unfortunately I can't find any TDAQ driver for windows 7.

 

I tried this one: http://www.ni.com/download/traditional-ni-daq-legacy-6.9.3/860/en/

but the install wizard tells me it wouldn't do with win 7.

 

So is there any way to get these old drivers working on windows 7? Or is it easier to go through all the source code, which is 13 *.c files with 500 to 3000 lines each trying to find the relevant functions and commands?

 

rd

 

PS: I work with CVI2013

0 Kudos
Message 1 of 4
(4,750 Views)

Dear rdwitt,

 

How you already recognized the TDAQ Driver is not compatible with Win7 so the only way for you is to go through the Code and reprogram the function of the application with the new DAQmx Driver.

But you have to take care because the TDAQ API is different to the DAQmx API and have to be programmed in an other way.

 

 

Transition from Traditional NI-DAQ to NI-DAQmx in LabVIEW:

http://www.ni.com/white-paper/4342/en/

 

 

Kind Regards,

Oleg Scherling, M.Eng | Applications Engineering | National Instruments | NIG |

0 Kudos
Message 2 of 4
(4,732 Views)

Dear Mr. Scherling,

 

thanks for your answer and also for the link. I read something similar for CVI. I bit the bullet and went through the source code. I found 2 functions that communicate directly with the old hardware which I will try to replace with commands for the new hardware (NI USB 6509). Do you know headers I have to include (except daqmx.h of course)?

 

Kind regards

rd

0 Kudos
Message 3 of 4
(4,714 Views)

Dear rdwitt,

 

I don’t know which functions your are using in your Project but you have to include the Headers from the dlls that functions you are calling in your Project.

 

 

Kind Regards,

Oleg Scherling, M.Eng | Applications Engineering | National Instruments | NIG |

0 Kudos
Message 4 of 4
(4,708 Views)