Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO connection was working but isn't anymore

I have seen similar problems with the connection between pc and cRIO but this problem is still a little different.

 

Yesterday i made a simple program wich reads date into an inputmodule on the cRIO and transfers them to the pc (with the use of a network stream and shared variables). The pictures of the network stream are below

 

overview.png

VI_on_cRIO.png

vi_on_pc.png

I want to add that this program worked yesterday. I also did add a shared variable and this also worked yesterday.

Today the program worked until i took a small break.

 

Specs:

a. Labview 2012 (service pack 1)

b. NI cRIO 9073

c. NI inputmodule NI 9021

d. Windows 7 Service Pack 1

 

 

Here is what i did.

 

Program with shared variables:

1. Connect to cRIO (RMB on overview in LabView)

2. Press run on program in cRIO (program downloads to cRIO, connection is still working)

3. Press run on program on pc (connection is immediately lost)

4. Press connect to cRIO in overview (can't make new connection)

5. To recreate problem: unpower cRIO and repower

 

Program with network streaming


1. Connect to cRIO (RMB in overview)

2. Press run on program in cRIO (program downloads and start running)

3. Press run on program on pc (starts running and date is transfered: i can read date from the waveform chart)

4. Stops program on pc (connection is immediately lost)

5. Press connect to cRIO in overview (can't make new connection)

6. To recreate problem: unpower cRIO and repower

 

What i tried to solve:


a. Restart computer

b. Format cRIO

c. Reinstall software on cRIO (real time 12.0 february 2013)

d. IP-reset

e. un and repower cRIO

 

 

 

Niels

0 Kudos
Message 1 of 13
(6,408 Views)

Niels,

 

May be others have better vision but I cannot make out any details in the picture you attached. Any chance you could attach better resolution screenshots?

0 Kudos
Message 2 of 13
(6,402 Views)

I want to but i am currently at another location. The pictures aren't that important. They just show the layout of the overview and the two vi's. I also used the first picture to show that i can make a connection with the cRIO in the beginning (light green light on name of cRIO).

 

Regards and sorry for the bad quality,

 

Niels

0 Kudos
Message 3 of 13
(6,400 Views)

Can you try making an application (EXE) from the My Computer vi to see if it will work better - just a thought man.

0 Kudos
Message 4 of 13
(6,398 Views)

Still no change.

 

It is just very strang that one moment it worked and stopped working without changing anything in the vi's or cRIO.

Thanks for the suggestion though

 

Niels

0 Kudos
Message 5 of 13
(6,385 Views)

have you tried to make and run any sample vi (any simple one) without any share variable usage. if there is still a problem you facing in connection with crio this matter, but if the sample vi is running without any connection loss then there may be issues with share vairable.

0 Kudos
Message 6 of 13
(6,376 Views)

i have tried the use of a network stream after the shared variable stopped working. At first the network stream seems to work but when i stop and try to run the networkstream-vi again, the same problem pops up as the shared variable...

 

Again thanks for the input!

 

Niels

0 Kudos
Message 7 of 13
(6,373 Views)

Hey,

 

Thanks for the link! The problem is solved indeed when i restart the system with network streaming.

The problem remains with shared variables. I want to create a program where i sample audio. In this case it is easier to work with a shared variable because it works with a buffer.

Any ideas what can be wrong with the shared variables? (note again: the use of shared variables worked in the beginning but stopped working with the blink of an eye)

 

Thanks! 

 

Niels

0 Kudos
Message 9 of 13
(6,366 Views)
there is a network variable engine utility need to installed for share variables. in max once format the crio, install the software/drivers using the custom installation option. in this you can see the list of software utilities for download. check the network variable engine and install it.
0 Kudos
Message 10 of 13
(6,362 Views)