10-14-2008 10:14 AM
Hi all,
I have 2 VIs. One is PC Host VI and other is cFP2200 real-time running VI.
Now I can use PC host and cFP shared variable to control and monitor in the same network.
But I have a problem that I need 2 or more cFP in the same network.How can I seprate to control themone by one?
They are using the same program but set with different IP.
Does shared variables are using fix IP and can I type the cFP2000 network IP in PC Host VI to select different cFP?
How to do ?
Thanks.
Robert
10-15-2008 06:10 PM
Hello Robert,
You will need to use a separate shared variable for each cFP. You can create a Case Structure in your Host VI to select which shared variable to use based on which cFP you select. I think that's the simplest option for you.
There is also a way to programmatically change the data binding for a shared variable, but this requires the DSC Module. Take a look at this article if you want to check out this option: http://digital.ni.com/public.nsf/allkb/2E8BAD0EA218A7558625712E0003F044?OpenDocument