SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

Configure SystemLink on a cRIO-device

Hello, 

 

i am trying to host a Web server on a cRIO. On another post i made yesterday i tried it via http-functions. Now i wanted to try it with the SystemLink Tools but i can't get it done. 

 

I have a LabVIEW project that simply sends a boolean signal into the SL-cloud via Tag. The Client that opens the webpage should change the frequency of the LED lighting via a slider and a number of the data type double via another tag. 

All of this works if i try it with my laptop as the host. As soon as i try to run the LV-code on the cRIO the communication doesn't work in any direction. 

 

My LV-code:

LABVIEW.PNG

 

My GWEB-code

GWEB_.PNG

 

System-config:

cRIO_Conn.PNG

 

The cRIO is connected if i look at the SL-System Configuration. Is there anything i am not aware of when it comes to a cRIO and Systemlink?

 

Thank you in advance!

0 Kudos
Message 1 of 4
(2,192 Views)

When your cRIO is linked to the server, you can use the automatic configuration and don't need to have your admin credentials stored on the client. I'm not sure if that solves your problem, but I never use explicit credentials on a client.

 

Note that each client will write to different tags.

 

cordm_0-1677770082442.png

 

0 Kudos
Message 2 of 4
(2,179 Views)

Unfortunately still not working.. I don't get an error but the Tags don't appear in the SystemlinkCloud. Also the newest SystemLink driver and software packages are installed on my Laptop and on the cRIO.

 

As soon as i start the main.vi in the Computer section of my LV-project, it all works as it should. It just doesn't work when the cRIO should host it. I also already reinstalled all cRIO Systemlink drivers. 

 

 

 

 

0 Kudos
Message 3 of 4
(2,148 Views)

The tags won't show up under the system unless the tag path starts with the minion ID for the system, however you should be able to see them in the Tag viewer under Utilities in the navigation.

 

In order for your tag to show up in the system's detail view for the specific system, I recommend you use the Tag Build Path VI. 

https://www.ni.com/docs/en-US/bundle/systemlink-api/page/build-path.html

 

It will automatically prepend your path with the minion ID and help ensure every system has a unique tag path. 

0 Kudos
Message 4 of 4
(2,139 Views)