![]() |
|
|
This example uses the RT System Replication Tools to provide a more complete turn-key utility for managing LabVIEW RT Application Images. The two main functions of this utility are to:
In addition this utility can interactively configure some of the network settings of LabVIEW RT targets.
This example is intended to be customized for the particular needs of an individual application or customer.
Note: An Application Image is the contents of the harddrive of a LabVIEW RT target. In order to replicate or duplicate LabVIEW RT applications in large quantity you create a master target with the desired application image and then copy (retrieve) and deploy the application image from the master to other RT targets.
This example requires the following additional code libraries. These must be installed in order to load and run this example.
The attached update to the RT System Replication Tools corrects a problem which prevents retrieval of application images from RT controllers containing a lot of files, such as a CompactRIO controller running the ScanEngine. After installing the RT System Replication Tools from the link above, unzip the attached file and place these two files in the \user.lib\System Replication folder.
This utility is currently in a Beta state. Please provide any feedback and suggestions in the comments.
The TCP Read Timeout error is caused by the FTP server on the LabVIEW Real-Time target, as it holds on to sockets used for transferring files for an extended period of time and eventually runs out of available sockets. I have provided an update to the RT System Replication Tools above which provides a work around to this issue by adding some extra Wait time while downloading files from the RT FTP server.
I'm getting the following error. "Application Image Retreval Error: FTP Validate Data Connection: INvalid Data Connection -0" I was getting the same error as sachsm (Error 56) then I installed the RT System Replication Tools patch. I'm now getting this FTP error. I can connect with FileZilla and transfer files without any trouble.
Steve
I am getting a TCP Read Timeout (Error 56) towards the end of the Image Retrieval. I have tried 2 different cRIO's (9074) with the same result. The file it gets stuck on is random and I have
verified that I can manually FTP into the controller and retrieve that file. Any Ideas? Is my image file getting too big?
Too bad the Get Target Image vi is password protected so that we cannot fix
NI's bugs for them...