LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

cvi 8.5 RT and older (7.0) IDE ?

I've just come around some weirdness when trying to install the new cvi 8.5 runtime on a pc which still has cvi 7.0 IDE installed.
-   the 8.5 installer requested some form of registration before beeing activated, however, I could not figure out how to do this after required reboot.
as a foreseeable result, a new cvi app (created with 8.5) would not run.
-   I wonder if this activation/registration for the pure runtime engine will be required by all users where I will deploy aplications developed with 8.5 ??
(if so, this would be a big problem, not only because of the fuss for the users, but mostly for the fact that many of the target machines don't have internet access).

--
Once the game is over, the king and the pawn go back into the same box.
0 Kudos
Message 1 of 5
(4,728 Views)
Hi josswern,

The CVI Run-Time Engine is a free download and doesn't require activation.  Did you perhaps download the Full or Base package of CVI 8.5 which would require activation?  You can only have one version of the CVI RTE on  your system at any given time but you can have multiple IDEs installed. So in your case, you can have the CVI 7.0 IDE with the CVI 8.5 RTE. When you installed the CVI RTE, it updated the 7.0 RTE to 8.5. 

With all that said, our RTE's should be backwards compatible so I am curious as to what problems you are having. Could you go into more detail about what you mean by "would not run"?

Thanks

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 2 of 5
(4,717 Views)
Hello Jonathan,
thanks for quick reply -
as I read from your comments, what I tried would be supposed to work.
I have cvi 7.0 as the only IDE on my main development pc, here I tried to install the 8.5 RTE to be able to also run applications built on another (test-) pc which has
an 8.5 full IDE (evaluation) installed.
as said, I found it strange that a runtime would require registration, as it claimed after install (and NO, it was not the 8.5 IDE, but the file NILWCVIRTE85.exe which I installed).
then, after reboot, I got the attached error upon trying to run a programm built with 8.5.
I hope that clears things up.


--
Once the game is over, the king and the pawn go back into the same box.
0 Kudos
Message 3 of 5
(4,711 Views)
Hi josswern,

The error message you attached shows you are trying to use a real-time function called "WaitUntilUS". This was the name of the function during our CVI 8.5 beta but it was changed to SleepUntilUS later in the beta and in the final version of CVI.  So it sounds like on one machine, you built a beta application that consisted of that function and then you are trying to use it on another machine that has the official version of CVI.  The official version of CVI doesn't have a function called WaitUntilUS but rather SleepUntilUS thus an error is thrown. 

You need to remove the beta program from your computer and upgrade to the official release of CVI 8.5 and CVI 8.5 Real-Time. Then change the WaitUntilUS function to SleepUntilUS.  The reason I say real-time is because this function is supported only on Real-Time systems. 

Does this make sense?

Best Regards,
Jonathan N.
National Instruments
Message 4 of 5
(4,694 Views)
Jonathan,
your observations are a nearly perfect match Smiley Happy
- the application wouldn't run because it had been built with the 8.5 beta.
after having removed the beta and re-built the program with 8.5, everything is fine 😄 .
as a note, I don't have any realtime code in the program, I also skipped installing the 8.5 realtime as suggested,
which didn't lead to problems.
the only thing left, which I'm not sure about is the licensing issue for the runtime, maybe this was due to installing it on a PC which had a full 7.0 IDE installed ?
in any case, I'll check again with another target machine which only has a 7.0 runtime on it an see what happens.
thanks again.


--
Once the game is over, the king and the pawn go back into the same box.
0 Kudos
Message 5 of 5
(4,640 Views)