12-06-2008 08:28 PM
Hi all,
I have a tap test interface that operates the solenoid in a TEC.
The computer communicates with the tap test interface with a PCI DIO 96.
Since the program in the computer was written with older version of labview (supposed to be LabVIEW 5.x) and the block diagram is not available,
to install the program in a newer version of OS, I downloaded the new driver for PCI DIO 96 for XP.
But the old program in not running with the new driver (XP) in a XP installed machine.
Is there any way to make the same program work in a XP system as there is no code available or any document for the tap test interface available to write a new program similar to the old one.
Thank you ,
VJ
12-07-2008 01:48 AM
Hi vijay if you don't have the block diagram you wont be able to update your code. Once a VI is saved without diagrams:
What Happens When I Save My VI and Remove Diagrams?
Your best option would be to find a backup with the block diagram. But this can be a good opportunity to revise and update the code.
Best Regards
12-07-2008 04:32 AM
12-07-2008 07:36 AM
You didn't say what version of the driver you installed on your PC. If you just blindly installed the latest DAQmx, then that is your problem. It appears from reading the release notes that version NI-DAQ 6.9.3 was the last version that supported LabVIEW 5.x. You may want to try uninstalling your drivers and installing NI-DAQ 6.9.3.
http://joule.ni.com/nidu/cds/view/p/id/825/lang/en
12-08-2008 03:48 PM
I just wanted to confirm Matthew's post. The NI-DAQ 6.9.3 driver will work with Windows XP as well as with LabVIEW 5.x and your PCI-DIO-96. The KnowledgeBase article The NI-DAQ & LabVIEW Version Compatibility for Windows is a good resource to determine which versions of our DAQ drivers are compatible with a given version of LabVIEW.
If you do indeed have NI-DAQ 6.9.3 installed and the program still does not work, what error message are you receiving when trying to run it?
-John
12-09-2008 07:41 PM
Thank you ppl for your valuable inputs..
Thank you John and Matthew for the suggestion.
John, I downloaded the DAQ and replaced the one which I had earlier..
the error that I got was
Error - 10240 occured at DIO port config.
Possible reasons
NI-DAQ LV: The driver interface could not locate or open the driver.
I have attached files which are snapshots of the error, the version of the labview used by the program, and the MAX screen which shows my device
I completly uninstalled the newer version of DAQ and installed the one you suggested.
The device got listed in MAX and I was also able to test the device.
But I got the above error. Can you please help me regarding this?
Thanks for your suppport.. 🙂
12-10-2008 12:43 PM
Hi vijay,
I looked into the error and found this KnowledgeBase--the issue that you are experiencing is similar. Essentially, error -10240 means that LabVIEW cannot communicate with the DAQ driver. For NI-DAQ versions 6.7.x and prior, LabVIEW requires a file called daqdrv to enable this communication. Since you are using 6.9.3, however, the file that LabVIEW needs is called lvdaq.dll.
My guess is that the application was built when we still used daqdrv, and includes daqdrv as a supported file but not lvdaq.dll. Our drivers are backward-compatible, but the problem is that the executable cannot find the lvdaq.dll file. There is actually a note buried in the 6.9.3 readme stating that "you may manually need to add a reference to LVDAQ.DLL in your build script."
I suggest that you try the following procedure:
Place a copy of the lvdaq.dll file (it should turn up with a Windows search) in the same directory as the LabVIEW RunTime engine. By default, this path should be:C:\Program Files\National Instruments\shared\LabVIEW Run-Time\5.0
Let me know the result and we can go from there if you are still having problems. Thanks and have a great day!
-John
12-11-2008 07:50 PM
Hi John,
I tried what you suggested.
1. I was unable to find the file lvdaq.dll
All I managed to find was nilvdaq.dll in C:/WINNT/Systems32
2. I tried to copy that and paste in the runtime folder.
But there was no folder for Labview 5.0 in the runtime.
All I could find was for 7.0, 8.0, 8.2 etc.
I tried to find the runtime for 5.0 in the internet for Win XP system. But I could not find it.
Is there anyway I can fix this issue.
Thanks a lot. 🙂
12-15-2008 06:05 PM
Hi vijay,
Our directory structure for the Runtime Engine has changed since 5.0, sorry for the confusion. I should mention that LabVIEW support for Windows XP was not added until version 6.1. This KnowledgeBase has a chart with LabVIEW and Windows compatibility. I should have noticed earlier that you were trying to use 5.0 with XP.
While you might not be able to get this older executable to work in XP, your best bet would probably be to try running it on a supported version of Windows if possible. If not, it would likely be less trouble to rewrite the application (depending on its complexity). Unfortunately, without the source code there is no way we can convert the older application to a more recent version of LabVIEW. Is there any way you could obtain access to the original source files? Sorry for the inconvenience, I wish I could be of more assistance.
-John