LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

I meet a DLL absence problem while using LabWindows/CVI 5.5

Dear all,

   I meet a DLL absence problem in LabWindows/CVI 5.5.

   While I am trying to plot an graph with the system function PlotXY, an error occurs, the system indicates the absence of "mesa.dll".
   Otherwise, when I invoke this function for the second time, the error doesn't repeat and the application plot the graph correctly.

   Would anyone give me some hints on this issue?

   Thanks so much!
0 Kudos
Message 1 of 6
(3,526 Views)
Hi!

   Try to have a look:
 
http://forums.ni.com/ni/board/message?board.id=180&message.id=12136&query.id=76438#M12136

  Can you specify what do you mean by "when I invoke this function for the second time"? Does it mean that you re-start debug, or what else?

  More, do you let CVI open your project at CVI startup, or do you load it manually (maybe, it makes some difference)?

Let me know.....

graziano
0 Kudos
Message 2 of 6
(3,519 Views)
   Well, there's a command button on my program's user interface panel.   After clicking this button, the program will read some data from a text file, and then invoke PlotXY() to plot a graph according to those data.
   When I click the button to plot the graph for the first time, the "mesa.dll" missing error will popup, but when I click the command button for the second time, the graph is drawn correctly and the program doesn't mention the "mesa.dll" missing error.
   I have checked the files in my system, there's no mesa.dll exactly, which confuses me a lot.   If this DLL is not needed, why the program indicates the absence of it for the first time? Therefore, if this DLL is not really needed, why the program runs correctly while I click the command button again?
0 Kudos
Message 3 of 6
(3,497 Views)
HI FreeDrop,
   I've checked, I've mesa.dll both in LabVIEW folders, and in shared NI folders (used by labWindows, I suppose).  I think mesa.dll library is a part of LabWindows installation, but I can't be shure, because at the moment I've a Developer suite, and I don't which is NI component that installed it.

   I would suggest to repair your installation of LabWindows, and carefully check if some error message occurs, and then check for mesa.dll library.

   About the real need of mesa.dll for PlotXY function, you'll have to ask NI for it, I'm sorry te be not able to help you!

   Good luck!

graziano
  
0 Kudos
Message 4 of 6
(3,489 Views)

All,

I once had the problem on a computer running CVI5.5 with an NI example file created under CVI 6.0. I think the error is linked to the differences in the UIR format.

 

Regards

 

 

0 Kudos
Message 5 of 6
(3,484 Views)
Hi,

Mesa.dll is a 3D library that CVI has installed since version 6.0, when the newer 3D-style (_LS) controls were introduced.  My guess is that your application or .uir was developed on a 6.0+ system and makes use of CTRL_GRAPH_LS.  I would expect that you would get the error you mentioned whenever the control is drawn.  If the initial button press brings up the graph, and subsequent presses only replot data, that may explain what you're seeing.

If you want to use 3D controls, you will need to mesa.dll on your system (Program Files\National Instruments\Shared\Mesa\mesa.dll).  The easiest way to do this is to just download and install the current 8.0 runtime engine onto your system.

Good luck.

Mert A.
National Instruments
0 Kudos
Message 6 of 6
(3,470 Views)