LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why labview error code 11 following installation of Labview 6.1 with NI-DAQ 6.1 on NT4

I installed Labview 6.1 (without Measurement & Automation Explorer, per the knowledge base 20O615V2), then installed NI-DAQ 6.1 along with labview support files. I did the NI-DAQ configuration on my AT-MIO-16X, and tested it. Now, whenever I click on DAQ Solutions I get the message "An error occurred loading VI 'DAQ Solution Wizard.vi'. Labview load error code 11: VI Version (5.0) cannot be converted to the current Labview version (6.1) because it has no block diagram." I get similar errors when I select any of the DAQ options under Tools/Data Acquisition. Note that the aforementioned knowledge base article (20O615V2) has a flaw... it says to install Labview without Measurement & A
utomation Explorer, then at the end it says to configure using Measurement & Automation Explorer (never installed). I've looked all over this site and found nothing helpful here. Any assistance would be appreciated.
0 Kudos
Message 1 of 8
(3,116 Views)
Hello,

The only thing I can think of is that the Solution Wizard that installs with NI-DAQ 6.1 is saved in LabVIEW 5.0 format, and for some reason it is saved without the block diagram. I don't imagine the Solution Wizard changed much between NI-DAQ versions, so my only thought is that you install a later version of NI-DAQ (anything between 6.5 and 6.9, I guess) on a dummy system, then copy whatever gets installed in \project into your LabVIEW 6.1 project folder. It's been a while, but I remember there being LLBs called daqwiz.llb or solwiz.llb or _solwiz.llb, or something along those lines.

Hope this helps.

-D
0 Kudos
Message 2 of 8
(3,116 Views)
Darren's suggestion is a great one. Since NI-DAQ 6.1 doesn't provide support for LV 6.1, you should make a dummy install of LV 6.1 and NI-DAQ 6.9.2 (or higher) on a test machine, and copy the solwiz.llb file mentioned by Darren into the right directory structure on your actual development machine.

By the way, KB 20O615V2 does specify to uninstall Measurement and Automation Explorer first, then install the appropriate NI-DAQ version that you're wanting to use. Although it doesn't explicitly say so in the following steps, this should be a complete install - including MAX. However, you are right that this is a problem, since MAX was not introduced until NI-DAQ 6.5, so you should use the NI-DAQ Configuration Utility instead.

It may be worth you
r while to consider upgrading to hardware that is supported by higher versions of the NI-DAQ drivers, to maintain better compatability with newer LabView versions and avoid this difficulty that you've been seeing.


David McClelland
National Instruments
0 Kudos
Message 3 of 8
(3,116 Views)
Okay, replacing the solwiz.llb file as suggested got me past the initial error to another error of the same type on loading "SYS Is CFQ Available.vi". I suppose that this implies that I need to copy over another *.llb file, and I'm guessing that there's a whole group of *.llb files that I'll need to copy. I'm envisioning setting up an installation of Labview 6.1 without NI-DAQ 6.9.2, then an equivalent installation with NI-DAQ 6.1, so that I can compare the difference in the *.llb files between them, and copy those from a separate installation which includes NI-DAQ 6.9.2.

Will I need to copy any other types of files like *.dll's while I'm at this?

I do intend to broach the topic of a more recent system, but we need this functioning by t
he middle of next week.
0 Kudos
Message 4 of 8
(3,116 Views)
Hello,

Do you get this error whenever trying to use the Solution Wizard? Perhaps there is another LLB that gets installed in the project folder that you need to replace besides the solwiz.llb.

I don't recommend copying over DLLs and VIs that reside in vi.lib, as these are most certainly specific to your version of NI-DAQ, and would probably cause big problems once you started using VIs and DLLs from different versions together on the same system.

Also, from what I remember, the DAQ Solution Wizard is simply pulling VIs out of an LLB from the examples folder...specifically, the examples\daq\solution folder. Perhaps you could just find the VI you wish to use by browsing the LLBs in that folder?

Good luck,
-D
0 Kudos
Message 5 of 8
(3,116 Views)
Okay, I set-up the 3 parallel installations as described earlier, used a directory diff to figure out which vi & llb files NI-DAQ 6.1 added, and replaced them with those from NI-DAQ 6.9.2 that come with the Labview 6.1 installation (I left those in vi.lib unchanged). I'm now having some success at reading analog input using Labview.

HOWEVER, when I attempt to run certain analog input vi's I keep getting a messages like "Please find the VI named AI Read (scaled & binary arrays).vi". I can find "AI Read.vi" without any difficulty, but can't seem to locate versions of AI Read followed by this parenthesised string, and selecting "AI Read.vi" just takes me back to the original prompt. If I can solve this problem I think the D
AQ system will be useable. Any thoughts?
0 Kudos
Message 6 of 8
(3,116 Views)
Hello,

Starting in NI-DAQ 6.8 or so, several of the DAQ VIs (AI Read.vi being one of them) were turned into Polymorphic VIs, which had several instances...an example of an instance of AI Read.vi would be "AI Read (scaled & binary arrays).vi". Are you having these problems loading example VIs? If so, I think you might be able to solve the problem by right-clicking on the missing (denoted with a big question mark) subVI on the diagram and choosing "Replace", then selecting the standard AI Read VI.

Good luck,
-D
0 Kudos
Message 7 of 8
(3,116 Views)
It turns out that in most cases all I need to do is hit the cancel button and it seems to default to the basic "AI Read" or equivalent. Further, I was getting error xD72C when running some waveform acquisition VI's, but setting an IRQ (5) in the NI-DAQ configuration utility seems to have fixed that problem, and it looks like I have a working DAQ system.

Thank you, I appreciate all the assistance I've received regarding this problem.
0 Kudos
Message 8 of 8
(3,116 Views)