LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CreateRTSystemImage when already locked

Solved!
Go to solution

I would like to be able to create an RT system image when the RT is already locked. And from looking at this article (last paragraph of Purpose):

 

http://zone.ni.com/reference/en-XX/help/372398D-01/rtutillib/cvicreatertsystemimage/

 

It seems like I should be able to call CreateRTSystemImage, if the RT is already locked, but when I do I get an error message that says RT is locked.

 

I'd like to be able to not have to unlock it before creating the image, because there is the chance that someone else would lock it.

0 Kudos
Message 1 of 7
(3,733 Views)

Hi,

 

What version of CVI Real Time are you trying to do this in?  This may explain what's going on.

 

Jon

Applications Engineer
National Instruments
0 Kudos
Message 2 of 7
(3,720 Views)

This function is a windows only function, but I have version 10.0.

0 Kudos
Message 3 of 7
(3,717 Views)

And actually the error message says "Incorrect Password", but you don't get to pass in a password.

0 Kudos
Message 4 of 7
(3,714 Views)

We are taking a look into this to see why this isn't working for you.

 

Thanks for your patience!

 

Jon

Applications Engineer
National Instruments
0 Kudos
Message 5 of 7
(3,697 Views)
Solution
Accepted by topic author kevin.key

A workaround you could try is to use the NI System Configuration API.

 

You can then login to the RT system using NISysCfgInitializeSession function.  You can then call CreateRTSystemImage.

 

Jon

Applications Engineer
National Instruments
0 Kudos
Message 6 of 7
(3,690 Views)

Thanks, I realized that there was that other library after I posted this. It looks like that one is the library I should have been using all along.

0 Kudos
Message 7 of 7
(3,681 Views)