LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Crea un file in labview

Solved!
Go to solution

Thank you.

Do you mean in this way?

 

I have attached the Vi.

0 Kudos
Message 21 of 29
(475 Views)

Hi to all,

 

i need to copy/move file from one path to anther path automatically.

First a tried with build path , with other path , i can't find the way to choose it automatically.

 

I want to  move from cd:\desktop\FolderA  to D:\Folder B  , is there any way ?

Thank you 

0 Kudos
Message 22 of 29
(511 Views)

Use funcions FILE I/O pallete build path, on the ADV Functions you will find a function to copy files. 

 

0 Kudos
Message 23 of 29
(508 Views)

Hi,

 

Use "Strip Path" to get the file name, then "Build Path" to build the destination path, then "Move" or "Copy" function to perform the file operation:

raphschru_0-1699291082576.png

Regards,

Raphaël.

 

0 Kudos
Message 24 of 29
(500 Views)

Hi AM,

 

again you created a new thread for the same topic (of moving files).

And you forgot to downconvert your VI: File->Save for previous…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 25 of 29
(455 Views)

Thank you very much!

best regards

0 Kudos
Message 26 of 29
(406 Views)

Thank you !

0 Kudos
Message 27 of 29
(397 Views)

I need help please.

Same question 😃 .

 

I want to do in this way.

I want to creat a folder with serial number and then i want to move files in this folder created.

But this operation i will do it continuously with different serial number and different Product.

Now i just do it For Move Files Vep, i will add later Move Files Vep-1 ...

 

Return for the first question :

when the first serial nubmber , and push creat file , He creat the file .

When i want to creat another serial number ,it not work.

I used shift register .

Thank you for your support 

 

AMk1984_1-1700043620621.png

AMk1984_2-1700043642048.png

 

AMk1984_3-1700043661459.png

 

The other question i want to creat a folder bin inside the folder with the serial number ?

I attached the Vi 

 

 

0 Kudos
Message 28 of 29
(356 Views)

Your serial number control is only read exactly once at the start of the program because it is outside the loop. Once the value is in the shift register, you seem to clear it occasionally because it is not wired across all events.

There are fundamental dataflow issues and I recommend to go back to the tutorials.

 

You still use poorly defined words such as "continuous", "different" without really telling what you mean.

 

Also please do a "save for previous" before attaching a VI. I currently only have LabVIEW 2020 here..

0 Kudos
Message 29 of 29
(336 Views)