11-28-2013 04:37 AM
Hello,
I'd like to share LVOOP objects between a PC and the cRIO RT via network shared variables (SV).
As far as I know, LVOOP objects cannot be directly sent over SV.
Is there a recommended workaround?
Some of the options I'm aware of:
1) Serialize into string/variant; with following issues:
2) Serialize into fixed-size cluster
3) Other ways??
Many thanks,
Peter
Some older sources:
12-05-2013 06:52 AM
Hello!
I recommend you use the flatten2string function and send the objects via network shared variables, or, preferably, network streams.
I think there are no generic disadvantages to name here, it all comes down to how you choose to design your application.
Like for the RT FIFO: No variable sized data types can be used here, but do you really need to send entire objects through?
Hope this helps!
Kind regards,
Rome
NI Germany
12-05-2013 09:02 AM
Hi Rome,
thanks for your help!
What I still don't see is what a buffer adds to a network shared variable with RT FIFO? Isn't a FIFO already a buffer?
You may want to have a look at this thread: http://forums.ni.com/t5/LabVIEW/Shared-network-variables-RT-FIFO-versus-buffering/m-p/2648035/highli...
Regards,
Peter