04-09-2011 01:51 AM
What is the best way to create shared variable for multiple Real time (PXI) to GUI PC? I have 16 Nos of PXI system in network and 1 nos of GUI PC. I want to send command to all the PXI system with using single variable from GUI PC(Like Start Data acquisition, Stop data Acquisition) and I also want data from each PXI system to GUI PC display purpose. Can anybody suggest me best performance system configuration. Where to create variable?(Host PC or at individual PXI system).
04-09-2011 12:55 PM
Either. For the best performance, you need to determine what that means. Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables? If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
You want to located the shared variable library on whatever machine is more critical. That is probably each PXI machine, but only you know your application.
04-10-2011 10:51 PM
Dear Ravens,
I want to control real-time application from host(Command from GUI PC to PXI).Host PC should have access to all 16 sets PXI's variable. During communication failure with PXI, Host will stop data display for particular station.
@Ravens Fan wrote:
Either. For the best performance, you need to determine what that means. Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables? If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
You want to located the shared variable library on whatever machine is more critical. That is probably each PXI machine, but only you know your application.
@Ravens Fan wrote:
Either. For the best performance, you need to determine what that means. Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables? If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
You want to located the shared variable library on whatever machine is more critical. That is probably each PXI machine, but only you know your application.
04-10-2011 10:56 PM
@Paresh wrote:
Dear Ravens,
I want to control real-time application from host(Command from GUI PC to PXI).Host PC should have access to all 16 sets PXI's variable. During communication failure with PXI, Host will stop data display for particular station.
Yes. I understand that. That is the nature of a communication failure. So if the communication breaks down, which machine (PXI or host PC) do you still want to have access to the shared variables?
Note, you could also have the shared variables hosted on both machines so that the shared variables on the host PC are linked to the shared variables on each of the PXI machines. But you could still have a communication breakdown which breaks the link between the shared variable libraries.