Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView VI not reading data from instrument after computer hardware change

My lab has been using an ancient Windows NT workstation with LabView 5.1 to run several VIs that collect data from an Instron tester by way of a NI DAQ card, a PCI-MIO-16E-4. Recently we replaced the computer with a newer XP machine and installed the same DAQ card. The old computer's hard drive was also installed to give access to the VIs as well as the LabView 5.1 installation from the old computer. We will be upgrading to a newer version of LabView as well, but that is a headache for another day.

 

After installing the old hard drive and verifying the integrity of the old files, I opened one of the VIs in Labview 5.1 and attempted to run it. I received the following error message:

 

Error -10001 occurred at DIO Port Config.

Possible reasons:

NI-DAQ LV: An error was detected in the input string; the arrangement or ordering of the characters in the string is not consistent with the expected ordering.

 

Upon pressing 'Continue,' I received this one:

 

Error -10008 occurred at DIO Port Write.

Possible reasons:

NI-DAQ LV: The group is invalid.

 

Is this a problem with the DAQ hardware, or with LabView? I am a graduate student and relative beginner with this. If there is any more information I can provide, let me know. Thanks in advance.

0 Kudos
Message 1 of 5
(4,049 Views)

Hi,

 

You didn't say what version of NI-DAQ you are using but its probably not compatible with XP. You LabVIEW 5.1 will be OK but you need to use NI-DAQ 6.9.3 as a minimum but later versions may not work with labVIEW 5.1

 

regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 5
(4,022 Views)

Hi SpaceFrank,

       I think, as well, what could be happening is that you could have a virtual channel that was on your old system that you've not re-created in your new one.  Otherwise, it's also likely that your device is named something different in Measurement and Automation Explorer now, then what it was previously.  You'll want to make sure that your naming matches up.  As well, there's a KB that discusses the second error you're getting located here.  Hope this helps, let me know if you have questions!

0 Kudos
Message 3 of 5
(4,017 Views)
Ray, thanks for the input. I think I actually have the opposite problem. I'm pretty sure the IT guys installed the latest version of NI-DAQ. After looking into the documentation a little further, it turns out that 6.9.3 is the last version to support versions of LabView earlier than 6.0. I'm going to try rolling back to 6.9.3 and see if I have the same problems.
0 Kudos
Message 4 of 5
(4,003 Views)
Well, I uninstalled the new version of NI-DAQ and installed 6.9.3, with mixed results. I can now see the expected data coming through in the MAX Test Panel, which was not previously the case. However, I am still getting the exact same error messages when I attempt to run the LabView VI in 5.1. Is it possible that I could be getting problems as a result of running LabView from an external hard drive without going through the installation process on this new computer? I am going to try to track down the old installation CDs. I just want to get the system working before I try modifying the VIs for Labview 8.
0 Kudos
Message 5 of 5
(3,997 Views)