11-14-2013 03:01 AM
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
11-15-2013 07:19 AM
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 |
11-18-2013 01:34 AM
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
11-18-2013 03:12 AM
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 |