CoastalMaineBird
2008-08-14 20:10:06 UTC
My client has 20-30 HOST computers, each with a corresponding PXI RT box.I am developing the software for both ends and need to consider deployment strategies. I currently do all communications with PXI, via TCP/IP, I am comfortable doing that. The PXI is on a local network with its own host and other instruments, there is not one network that can reach all PXI boxes. One host can talk to another host via a 2nd net, but it can talk to only one PXI box, its own. I want the users to be able to :1... Maintain uniform versions of both the host and the RT software. If we update either, we need to spread it around, so they all are operating the same version. 2... Use a minimal number of LabVIEW copies. IOW, i want to spread the binaries around, on host machines that do not have the full LV dev. system. #2 is the important part - only the software maintainers will have LV dev. systems, the users will have only the runtime. Basically, I would like to do this in the host program:1... Connect to my RT program on PXI and obtain its version number.
2... If the PXI responds with the latest version number, then all is well, and we're off and running.3... If the PXI doesn't respond, or if its version number is old, then I download the latest RT program to it, and re-boot it. This would let them download the latest HOST program from a central server, and embedded in that is the latest RT program.I already have the version number query running and displayed. But what I don't know is how to download to the RT and how to reboot it. Do I FTP the program to the STARTUP.RTEXE file? Can I do that to a box that has never had my software on it (new box)?How do I do the reboot? All this is easy when LabVIEW is on the host, but what do I do if it's not? Suggestions for other approaches welcome, as well.
2... If the PXI responds with the latest version number, then all is well, and we're off and running.3... If the PXI doesn't respond, or if its version number is old, then I download the latest RT program to it, and re-boot it. This would let them download the latest HOST program from a central server, and embedded in that is the latest RT program.I already have the version number query running and displayed. But what I don't know is how to download to the RT and how to reboot it. Do I FTP the program to the STARTUP.RTEXE file? Can I do that to a box that has never had my software on it (new box)?How do I do the reboot? All this is easy when LabVIEW is on the host, but what do I do if it's not? Suggestions for other approaches welcome, as well.