LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

copy labview code while running

dear all,

I want to minimize the downtime of the machine running. Am I able to copy the Labview code while the labview is running without disturbing the system?

If that is possible of copying, is there any other way? 

 

thanks

0 Kudos
Message 1 of 11
(3,048 Views)

Then you say copy, you mean copy the Labview source files then system is running?



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 2 of 11
(3,038 Views)

I want to copy the Labview source code while the code itself is being executed? (so i dont stop the code, the machine in the factory plan can still run as per normal).

(copy labview source files)

 

 

Is it possible?

0 Kudos
Message 3 of 11
(3,035 Views)

You mean that you want a copy of your code. If the code fit exactly to your desktop window then use "print screen". It works even in runtime.

 

 

Sorry, i though you need image.

0 Kudos
Message 4 of 11
(3,030 Views)

Copying the VIs is possible at any time.

 

Everyone - repeat everyone, should be using some sort of Source Code Control program (i.e. the free svn) so the source code would always be available from the SCC server. Even if you don't take this basic step, all code should be at least backed up someplace. If you only have one copy of the program, you are already flirting with disaster.

Message 5 of 11
(3,021 Views)

So the only copy of code. Is on the machine used to control a plant process. And if this machine crash. The source code will be lost. Somewhat dodgy 😉 However I guess not your fault.

In principal you can do it. But what I do not know, is that if the copy process itself will cause problems. The copy process it self. Will need some CPU time. And how this influence on the running Labview app. I do not know. If the Labview app. Is poor written it could be a problem. That is the best answer any can give I am afraid



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 6 of 11
(3,018 Views)

Are you trying to copy FROM the machine running or TO the machine running?

0 Kudos
Message 7 of 11
(3,012 Views)

from the machine running to my laptop

0 Kudos
Message 8 of 11
(2,992 Views)

You should be able to copy it then with no problem.  The only potential issue is if the system is doing heavy hard drive access or is using a lot of the CPU resources.  You could see some performance hits during that time, which could end up causing errors or test failures, depending on the code.

 

As others have pointed out, you need to have the code stored somehwere else for reasons such as your problem and so that a system crash doesn't wipe out your code base.

0 Kudos
Message 9 of 11
(2,984 Views)

To be honest I wouldn't have any code on the production machine. I would build an executable and use that for the production machine. Much easier to track the applictaion version on the machine that way.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Message 10 of 11
(2,976 Views)