LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Performance concerns about NSVs in large RT applications

Solved!
Go to solution

Hello,

 

The end of http://www.ni.com/white-paper/12176/en says "...misuse of Shared Variables in a LabVIEW Real-Time application can result in poor machine performance.... Typical misuses include using too many Shared Variables.... In applications deployed to small Real-Time targets such as Compact RIO or Compact FieldPoint, no more than 25 variables should be used."

 

Does this apply to network-published I/O Aliases as well? I was planning to have ~100 I/O Aliases (cRIO-9082 + 2x NI-9144), exposed to a Windows PC for DSC logging and/or alarming -- would that be a problem?)

Certified LabVIEW Developer
0 Kudos
Message 1 of 5
(2,073 Views)
Solution
Accepted by topic author JKSH

Hi JKSH,

 

Using the 9082 cRIO you should be more than ok to host that many I/O Aliases. Depending on the controller you could run into issues where there are memory limitations on the controller. However, that controller should have more than enough memory to support that many variables. The best way to get an idea of how the variables are affecting your system is to monitor the CPU and memory usage in MAX. I would also recommend only installing the necessary software onto the cRIO and not everything that is possible. I hope this helps and if you have any more questions please let me know.

Patrick H | National Instruments | Software Engineer
Message 2 of 5
(2,033 Views)

Thanks Patrick, that's great to know.

Certified LabVIEW Developer
0 Kudos
Message 3 of 5
(2,013 Views)

Hi JKSH,

 

I wanted to correct myself in the last post. To monitor the memory and CPU usage you should use the NI Distributed System Manager and not Measurement and Automation Explorer (MAX). Sorry for the confusion.

Patrick H | National Instruments | Software Engineer
0 Kudos
Message 4 of 5
(1,999 Views)

Hi Patrick,

 

Thanks for clarifying. No damage done 🙂

Certified LabVIEW Developer
0 Kudos
Message 5 of 5
(1,987 Views)