Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

How to restore startup program of cRio 9030

Hello everyone,

I am new in Labview and cRio so I will explain my problem step by step.

I really appreciate your help.

 

I have a cRio 9030 (IP - 111.111.1.11 for example) and NI 9425 to acquire light Data.

Normally, when I connect to cRio and use Internet Explorer, navigate to http:111.111.1.11:8000/iihs.html, a front panel of a program will be shown and I can see the Light data.

However, after I tried to add a Real Time project to cRio 9030, I cannot see the program above anymore.

Below is what I did.

  1. Created a Real Time project by Labview 20141.jpg

2. Run that vi, the LabView noticed that there is another app is running -  startup App. So I tried to disable that startup app.

I renamed \home\lvuser\natinst\bin  to  \home\lvuser\natinst\bin1,

I also backed up that folder to my laptop

3.jpg

3. Installed new software for cRio-9030. I did that because the Version of Labview Real time was not fit (my Labview: 14.0 and cRio: 15.0)

List of new software in cRio.

4.png

List of old software in cRio

Capture.PNG

4. Run the new Vi – it worked well.

 

The problem as I said, after doing like that, I cannot call the data acquisition program by using xxxx.xxx.x.xxx:8000/iihs.html anymore.

 

I tried to:

  1. Delete “bin” folder and rename bin1 -> bin : not success – because I cannot rename, delete or do anything with bin1 folder
  2. Copy backup data to bin folder which was created automatically.

 

But it still does not work. I think that I did something which makes the startup file cannot run.

 

Do you know how to make it runs again?

Any help would be much appreciated.

Thank you.

 

0 Kudos
Message 1 of 6
(3,347 Views)

Hi Chinhcdt,

 

Is the IP address you referenced throughout your post a real IP address or a placeholder? The cRIO will have a different IP address than your computer. From the screenshot you posted, you can see 172.22.11.2 is the IP address of your cRIO.

 

Was the original program running entirely on a Windows PC and you are now looking to move the project to a cRIO? It sounds like the original program was using a Web Service to post data from your measurements. Are you familiar with Web Services? Do you have access to the code that was running on the IP address you listed in your problem description?

 

Best,

Chris D. | Applications Engineer | National Instruments

0 Kudos
Message 2 of 6
(3,291 Views)

Hello cdaug,

Thank you for your reply.

I know Web Service. The IP I referenced is cRio' IP. 

I can access the address: http:xxx.xxx.x.xx:8000/abc.html. I think that the reason is that the startup program cannot run. When I try to build a new program by LabView, it shows that: "LabView: The startup application configured to launch was missing when RT Target booted"

 

I have startup.rtexe file, do you know how to make it run when RT system boot? I followed this instruction but did not get success.

http://digital.ni.com/public.nsf/allkb/B37FA04A1CB84B6C862571A30060EF03

 

 

0 Kudos
Message 3 of 6
(3,283 Views)

Have you tried formatting the disk? This usually clears out any software corruption. You can also try rebuilding any .rtexe builds included in your project

 

How Do I Format My Real-Time Target and Reinstall the Software?

http://digital.ni.com/public.nsf/allkb/6B1343F61905203386257051006573CA

 

Best,

Chris D. | Applications Engineer | National Instruments

0 Kudos
Message 4 of 6
(3,266 Views)

Hi  cdaug,

I don't have the project. I have .rtexe file only Smiley Sad

Can I use it to make startup application?

0 Kudos
Message 5 of 6
(3,260 Views)

Hi chinhcdt,

 

What is your main goal? Do you have access to any of the source files? It is difficult to tell what should be running on the cRIO without the (assumed) web service or .rtexe in the project.

0 Kudos
Message 6 of 6
(3,232 Views)