LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot find 32-bit program file for library

Solved!
Go to solution

Yesterday I installed LabWindows 2013 SP2. 

 

I am now receiving the following Library Load Errors when running LabWindows.

 

"Cannot find 32-bit program file for library '.ini-Style Files For Multibyte Strings'.

 

I did noot see these errors prior to installing SP2.

 

John O'C
Staff Test Systems Engineer
Woodward, Inc.
Skokie, Illinois, USA

"Life is not a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...
Wow...What a Ride!"
0 Kudos
Message 1 of 8
(5,861 Views)

That instrument is installed by TestStand. It should be installed in this location (assuming you have TestStand 2014, if you have an older version, then adjust the path accordingly):

 

      C:\Program Files (x86)\National Instruments\TestStand 2014\API\CVI\mbinifile.fp

 

Its program file should be installed in this location:

 

      C:\Program Files (x86)\National Instruments\TestStand 2014\API\CVI\mbinifile.c

 

Are both of these files present for you?

 

Luis

0 Kudos
Message 2 of 8
(5,828 Views)

I have TestStand 2013 loaded on my machine. The two files mbinifile.fp and mbinifile.c are in the appropriate directory. As I stated I did not get this error in CVI 2013 SP1.

John O'C
Staff Test Systems Engineer
Woodward, Inc.
Skokie, Illinois, USA

"Life is not a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...
Wow...What a Ride!"
0 Kudos
Message 3 of 8
(5,825 Views)

In CVI, select Instrument>>Edit and then try to reattach the program file, to see what happens:

 

instrument.png

 

You should see the following confirmation dialog:

 

attach.png

 

If it does, then you should be able to confirm that it's attached by pressing the Show Info button.

 

Even if this works, it doesn't explain why CVI failed to attach on its own, but it fails it might us a clue as to why.

0 Kudos
Message 4 of 8
(5,821 Views)

The Edit item under Instrument is grayed-out.

John O'C
Staff Test Systems Engineer
Woodward, Inc.
Skokie, Illinois, USA

"Life is not a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...
Wow...What a Ride!"
0 Kudos
Message 5 of 8
(5,819 Views)
Solution
Accepted by topic author johnoc

Is the Edit item greyed out because you don't have any instruments loaded (i.e. you don't have any instruments listed above the Load item in that menu)? This TestStand instrument that you've loaded (minifile.fp) isn't loaded by default in CVI, so CVI must have tried to load it because a project you opened had a reference to it (either a direct reference, or a reference to another instrument that in turn depends on this one). Did you see this error message when you opened a project that had this .fp in it? Do you still have that project loaded?

 

Regardless of how you loaded it, can you load it now, by pressing Instrument>>Load and selecting mbinifile.fp from that folder? When you do that, do you still see the same error, or does it attach the program file to it, as expected? You can confirm that the program file is attached by editing it and pressing the Show Info button.

Message 6 of 8
(5,771 Views)

Thanks Luis!

 

I had placed the instrument (minifile.fp) in the Libraries folder in the IDE and assumed that because of that the instrument would load automatically when I loaded the project, or opened CVI. Apparently that is not a correct assumption.

 

If you are allowed to customize the Libraries folder, why is that the instrument you place in that folder while cutomizing it do not load automatically? 

John O'C
Staff Test Systems Engineer
Woodward, Inc.
Skokie, Illinois, USA

"Life is not a journey to the grave with the intention of arriving safely
in a pretty and well preserved body, but rather to skid in broadside,
thoroughly used up, totally worn out, and loudly proclaiming...
Wow...What a Ride!"
0 Kudos
Message 7 of 8
(5,746 Views)

Ah, okay. I hadn't realized that you had added this .fp to the Library menu. That explains why the Instrument menu was empty.

 

It's perfectly fine to customize the Library menu by adding an .fp file to it, in Libraries>>Customize, but you cannot move the .fp file to a different folder. These .fp files have dependencies on other files that CVI assumes to be present in a location that is relative to the location of the .fp. If you move the .fp file to a different location without moving all the other associated files, then CVI can no longer find those files.

 

When you customize the Libraries menu, you need to do it by selecting the .fp file from its original location (in this case, C:\Program Files (x86)\National Instruments\TestStand 2014\API\CVI\mbinifile.fp).

0 Kudos
Message 8 of 8
(5,734 Views)