LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrading from 6.0 to 7.0 - Static variable assignments and other problems

I have a program that worked well in CVI 6.0. I upgraded to CVI 7.0 to use NiDAQmx, but I've been having some difficulties with the code. I have a file global that I declare as a static double and when I assign this varibale a value from another function, usually around -0.9357, the varibale is assigned 0.00. When I assign a local variable, the assignment is good. In CVI 6.0 the assignment has no problems.

Another problem I have experienced in the upgrade from 6.0 to 7.0 is that when I use the old Test Executive that you guys put out a long time ago, I get the error,

CVI has detected an inconsistency of the runtime stack. This might have been caused by a calling convention mismatch in the
last function call.

Again, this particular software was working seemingly bug free for a long time, so I think there are some subtle differences in 7.0 that I am not aware of. Is there any documentation on problems various people have run into uprading?

Thanks
0 Kudos
Message 1 of 2
(2,953 Views)
Hi Matt,

I looked through release notes and bug reports here regarding the upgrade and have not found anything related to what you are experiencing. I wonder if it's an issue with the installation of 7.0 on your system. Also, can you post a small example program that replicates the global assignment problem? I have tried but cannot reproduce it using any example I found. Thanks!

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 2 of 2
(2,953 Views)