LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI 8.1 runtime with CVI 7.1

Hallo,
we are using CVI7.1, but with an evaluation version of Teststand I got the 8.1 runtime.  With this runtime the vertical labels in plots become horizontal!
I tried to put the dll's from an 7.1 instalation in my working folder, an this problem was fixed. But know the text of the "OK" button of the "MessagePopup()" is changed to "%s is not a directory" !!!.

What now?

Thanks

Babak
0 Kudos
Message 1 of 10
(5,084 Views)
Hi Babak,

Check out this post that I replied to. You might either have a corrupt cvirte folder or you didn't copy that folder over to your application directory. The cvirte folder is installed into the system32 directory.

Let me know if that post helps!

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 2 of 10
(5,070 Views)
Hi Jonathan,

as you told I copied the "cvirte" folder to my  the
application directory and the
and the problem has been fixed.
Thanks for the solution.

But never the less I am a wondering about the incompatibility of the CVI 8.1 runtime.


Best Regards,

Babak
0 Kudos
Message 3 of 10
(5,061 Views)
Hi Babak,

The CVI Runtime Engines are fully backwards compatible so if you find any issues, please let us know. With that said, you need to make sure you are aware of where you CVI Runtime engine DLLs are located. Windows always searches the application directory first for DLLs so if you have 7.1 DLLs in your application directory, it will pick those up. If you have multiple copies of different CVI RTE's on your system, I could see things possibly getting crazy. I would suggest only have one copy of CVI RTE on your system (typically installed into the system32 directory).

I wrote a detailed explanation of this behavior at this post that I would suggest you take a look at.

Hope this helps!

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 4 of 10
(5,051 Views)

Message Edited by Jonathan N on 07-10-2007 08:30 AM

Jonathan N.
National Instruments
0 Kudos
Message 5 of 10
(5,049 Views)
Hi Jonathan


@Jonathan N wrote:

The CVI Runtime Engines are fully backwards compatible so if you find any issues, please let us know.


In the Attachment you will find two sreenshots of our application, one with the 7.1 runtime, the other with the 8.1. As you can see the label of the Y axis become with the 8.1 runtime horizontal. Sorry, I can't send you the sources for this application, and I have no time to try to build a minimal application with this effect.

Best Regards,

Babak
0 Kudos
Message 6 of 10
(5,029 Views)
Hi Babak,

Well there clearly seems to be some issue but we are going to need to gather a few more pieces of information from you. First off, can you atleast send us the .uir files? Secondly, what OS are you running on? Last, can you run the attached example on your machine and see if the same behavior occurs? The example is the CVI 7.1 graphs example with a vertical y-axis added. This will help isolate the issue in terms.

Let us know what you find!

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 7 of 10
(4,991 Views)
Hi  Jonathan,

I attached a variation of your example showing the same behavior (at least here). I have exchanged the graph control in the example .uir file with that one of my application.
Waiting for answer.

Best Regards,

Babak P.

PS:
I'm using winXP SP2 (german)




0 Kudos
Message 8 of 10
(4,956 Views)
Hi Babak,

Between LabWindows/CVI 7.1 and 8.0 we changed the way that we drew rotated text.  Some time later we discovered that certain fonts don't support rotated text. Of course if we had known about this limitation before hand then we may have considered a different route.  Actually you are the first customer to actually discover this problem. 

The quick and easy workaround for you is to change the Font for the Axis Names. For example if you change the Font to NIDialogMetaFont for example, you notice the axis name appears normal (i.e. back to vertical text).  Simply double-click on the graph control and select the Axis Names button toward the bottom of the dialog.

Sorry for the inconvenience.

Best Regards,
Jonathan N.
National Instruments
Message 9 of 10
(4,949 Views)
Hi  Jonathan,

Thanks for your explanation. I will go your workaround.

Regards

Babak
0 Kudos
Message 10 of 10
(4,935 Views)