LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to move files in background (asynchronous call)?

Hello

 

I would like to make an an Asynchronous call to the Move.vi for moving files as a background process.

 

I am having the following problems:

- The static VI Reference as input to the Open VI Reference function asks for a path to the VI to be called, but I can't find it. Where exactly is Move.vi located?

- The Type Specifier VI Refnum node accepts VIs via drag and drop, but only from an explorer window, not from the LabView VI palette. Again, I need to know where to find Move.vi. Or is there another way to specify the connector pattern?

 

It all works, if I call Move.vi from within a wrapper VI (because I know where to find that), but for the sake of simplicity I would like to avoid that step.

 

I'd appreciate any suggestions, also alternative approaches for moving files in the background.

 

Sebastian

 

0 Kudos
Message 1 of 3
(2,404 Views)

Move is not a VI, but a primitive, so you can't call it like that. As you've seen, the wrapper method works.


___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(2,390 Views)

Thanks, that explains it all.

Didn't dive too far into the depths of Labview yet, and was hence not aware of that.

 

Well then, death by wrapper it shall be!

0 Kudos
Message 3 of 3
(2,385 Views)