LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Single process variables and SVE?

Solved!
Go to solution

Hi,

 

 

I have used single process shared variables and network shared variables in a project with a host PC and a cRIO.

 

Is it possible to host the shared variable engine on the PC and still have the cRIO using the single process shared variables when the PC is off and hence the SVE is unavailable?

 

From reading the documentation I think this is correct but I'm not sure, I would check myself but the cRIO is unavailable Smiley Sad.

 

 

Many thanks,

Steve.

 

0 Kudos
Message 1 of 3
(2,594 Views)
Solution
Accepted by topic author St3ve

Hello Steve,

 

Here is a link to a Kb that has a note that a single process shared variable does not use the Shared variable engine.

 

http://digital.ni.com/public.nsf/allkb/1F45A4298B976F4A86257168006EA0C3?OpenDocument 

 

The reason for this is that it would add additional overheads to the application.

 

One thing to remember thought is that when the VI on the cRIO comes to use a network shared variable and the engine is not available this VI will throw an error.

 

With regards,


Philip
Applications Engineer
National Instruments
UK Branch

===If this fixes your problem, mark as solution!===
Message 2 of 3
(2,567 Views)

Hi Philip,

 

Seems I should be okay then.

 

I'm only using NSVs from a communication loop on the cRIO. It is a bodge as the cRIO is serving data but only to one client (at the moment) so I've put the SVE on the client to reduce CPU usage on the cRIO.

 

It's probably the case that the SVE engine isn't actually that CPU hungry as there are plenty of rough spots left in the code - but for now...

 

Regards,

Steve.

0 Kudos
Message 3 of 3
(2,557 Views)