LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

copy and transfer a text file

hi need help how can i get the text file and transfer it to diff directory..
on the transferring time the progress bar should appears...
 
how to do tht?
0 Kudos
Message 1 of 19
(3,895 Views)
Hi jeyanthi,
you can write your own function to copy the file. Open both files and copy one file to the other. Use the binary functions for it. In you while loop you can then insert a slider which shows the current position.
Mike


Message Edited by MikeS81 on 05-27-2008 10:22 AM
0 Kudos
Message 2 of 19
(3,889 Views)
hi jeyanthi
                 you can use the move icon for that. you will find that in files----> advanced file ios------> copy, move ...............
------------------------------------------------------------------------------------------------------------------
Indrajit

| indrajitbarve@gmail.com | indar_indar2005@yahoo.co.in .
Message 3 of 19
(3,887 Views)

hi

thks but this error occurs


LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux.
---
NI-488:  Non-existent board.

 

if i choose to open the current folder for example i open C:\

why it occurs and how to avoid it?

plz 

and the slider how to do in while loop can i get example

0 Kudos
Message 4 of 19
(3,883 Views)
Hi jeyanthi,

jeyanthi wrote:

thks but this error occurs


when did this error occur? Did you try to copy the file step by step?
 


jeyanthi wrote:

if i choose to open the current folder for example i open C:\


Do you want to copy one file or all files from a folder?
 
Here is an example with a for loop.
Mike

0 Kudos
Message 5 of 19
(3,879 Views)

let say i have a text file in E:\  read.txt i want to copy it to c:\ how to do tht..erm

i use copy option frm advance file >> copy

0 Kudos
Message 6 of 19
(3,877 Views)

Hi jeyanthi,

i think you can only show a slider with relative correct position if you copy the file byte by byte. See the attached example.
Hope it helps.

Mike

0 Kudos
Message 7 of 19
(3,870 Views)
i can copy the text file let say c:\read.txt to e:\read.txt.
but i dont want the user to write the the name again
the user only can choose the directory only and save the (read.txt)
 
how  to do tht?
 
0 Kudos
Message 8 of 19
(3,869 Views)

Hi jeyanthi,

Mike



Message Edited by MikeS81 on 05-27-2008 11:03 AM
0 Kudos
Message 9 of 19
(3,866 Views)

thk u

Mike its works

thk u again Smiley Wink

0 Kudos
Message 10 of 19
(3,857 Views)