LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW STM API not working with cRIO when web app services are disabled

Solved!
Go to solution

Good evening.

 

I have an application running on an NI cRIO-9057 that is controlling an environmental system.

 

I need the ability to have multi connections to the server (RT App) simultaneously. Due to the ease of use I chose initially to work with the STM API that was developed by NI Systems Engineering some years ago. It has been working perfectly until now.

 

Recently we have had to start securing web services running on our controls platforms and I was asked to turn off the application web server and system web server on the cRIO target.

 

After doing this, I was unable to connect using the User Interface that has the STM API embedded in it. 

 

I went back to the cRIO platform and re-enabled the default web services and it worked again. 

 

Not sure why a TCP VI would need the web services to be on? Am I missing something?

 

Thanks in Advance,

 

-Steven

Steven Howell
Controls and Instrumentation Engineer
Jacobs Technologies
NASA Johnson Space Center
0 Kudos
Message 1 of 3
(166 Views)

Check out this article to learn more about STM - https://forums.ni.com/t5/Reference-Design-Content/Simple-Messaging-STM-Communication-Library/ta-p/34...

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 3
(136 Views)
Solution
Accepted by StevenHowell

Thanks for the links, unfortunately they were not able to provide much information.

 

As it turns out, if I have the web server turned off on the target, whatever port I assign as the listener port, that port is never opened when the target reboots.

 

For whatever reason, the web services have to be on for the listener port on the TCP palette to open.

Steven Howell
Controls and Instrumentation Engineer
Jacobs Technologies
NASA Johnson Space Center
0 Kudos
Message 3 of 3
(90 Views)