01-06-2010 10:11 AM
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 .
Many thanks,
Steve.
Solved! Go to Solution.
01-07-2010 04:51 AM
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,
01-07-2010 08:10 AM
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.