LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Loading VI - "Generic program file I/O Error"

Hey All,

 

     I am having trouble loading/opening my LabVIEW program.  Attached below are the pictures of the errors I get (see figs 1 & 2).  The software cannot seem to find any of the NI DAQ-6525 files nor any of the HP 6525A files, it does however find ALL the files for the Agilent 34401A DMM.  The last two are connected by GPIB, the DAQmx is connected by USB. 

     Everything was working fine until I installed drivers for the NI USB-6001.  This is when the errors started to show up.  For some reason the install/ update from 2011 to 2012 kept copies of the instr.lib folders as shown in (see fig 3).

     I have gone through: Tools > Options > Paths > VI search Pats and added "National Instruments 2011/instr.lib and 2012/instr.lib" (see fig 4).

     I'm lost on this one and could use some help as the project is nearing completion and was working fine until I switched up the ball and started working with the USB-6001 for a new project, Then everything went awry...

 

     Thanks in advance for ll the answers/help!

 

 

HW :

- HP-6625A

- NI USB-6525

- Agilent 34401A

 

Software :

- LabVIEW 2012 SP1

0 Kudos
Message 1 of 5
(3,258 Views)

Bump...

0 Kudos
Message 2 of 5
(3,203 Views)

Hi Tweak,

 

can youopen those files on their own?

Do you even have them in their expected locations?

 

Everything was working fine until I installed drivers for the NI USB-6001.  This is when the errors started to show up.

So: which driver did you install? Is the driver you have installed compatible with LV2011/LV2012?

Which LabVIEW version do you use?

Which DAQmx version do you use/did you install?

( I know for sure the USB6001 is not supported by the DAQmx version that came with LV2011. I know for sure the USB6001 is supported by LV2014 and its corresponding DAQmx version. I'm not sure for LV2012…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 5
(3,199 Views)

Hey GerdW,

 

can you open those files on their own?  I can open my own VI on its own, and I can open the HP662XA files ow their own.  I cannot find the DAQmx VI files in the National Instruments directory. 

 

Do you even have them in their expected locations?: I installled the DAQmx files in their default directory.

 

So: which driver did you install? Is the driver you have installed compatible with LV2011/LV2012?: I do not know how to dind this information

 

Which LabVIEW version do you use?: Version 2012 SP1 - version 12.0.1f5

 

Which DAQmx version do you use/did you install?: Version 16.0.1

 

( I know for sure the USB6001 is not supported by the DAQmx version that came with LV2011. I know for sure the USB6001 is supported by LV2014 and its corresponding DAQmx version. I'm not sure for LV2012…):  The 6001 works in LabVIEW 2012, it shows up in MAX and I am able to control it.

 

Right now I am back to using the USB-6525 and that is where I am having issues.  The USB-6001 is set aside for the moment until I can get the old files working.

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

Hi Tweak,

 

did you check the link in my previous message? It's important!

 

I do not know how to dind this information

You can check software versions in MAX…

 

Which LabVIEW version do you use?: Version 2012 SP1 - version 12.0.1f5

Which DAQmx version do you use/did you install?: Version 16.0.1

DAQmx16 only supports LabVIEW starting from LV2013. Point.

 

Solution:

- deinstall all NI software.

- install LabVIEW 2012SP1

- install DAQmx14…

 

Lesson learned: Check compatibility charts before installing drivers!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 5
(3,187 Views)