Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

restart 9033 programmatically

I am trying to use Restart API (present in System Configuration palette) inside NI 9033 RT, which is Linux based. But I always get the following error:

 

Error -2147220308 occurred at nisyscfg.lvlib:Restart.vi:1680001

Possible reason(s):

NI System Configuration: (Hex 0x800404AC) Could not contact remote target. Ensure that the system is online.


I am actually trying to restart the RT inorder to start a new exe, which I am doing by edititng the ni-rt.ini file. 

 

Am I missing something here?

 

P.S: I can restart cRIO 9074(Vx Works), using the same vi. 

 

 

0 Kudos
Message 1 of 4
(4,061 Views)

I think you forgot to post your code (so we can see what inputs you're putting to the 'restart' VI)! Did you enter the correct username/password (admin with a blank password is the default).


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 4
(4,038 Views)

Hi sam,

 

I am using the 'Restart.vi' with the user name and password as you mentioned(That is the current password too). One more thing is that I am able to use this from PC, pointing to the cRIO and restart it.

0 Kudos
Message 3 of 4
(4,024 Views)

Again, you forgot to post your code. Show us a VI (or take a screenshot) that shows the inputs to the Restart function. The function works, I've used it in the past, so you're doing something wrong and without seeing it, it's impossible to guess.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 4 of 4
(4,017 Views)