08-21-2010 06:08 PM - edited 08-21-2010 06:09 PM
The write characters to file was a VI - not a function like Write Text to File (and is NOT a diect replacement). I think if you have an old VI it will translate it for you. Otherwise, just recreate the old VI yourself.
08-23-2010 07:53 AM
While appending text files is relatively straightforward in LabVIEW, it is far simpler using the operating system command line interface. This assumes you are not modifying the files in any way. In windows, the copy command will do it (type copy /? to get help). Under Linux, use cat (man cat for help). Command line can be automated from LabVIEW using System Exec.
If you want to use LabVIEW, you do not need to use the file pointer (available in Set File Position in the File I/O»Advanced File Functions menu). LabVIEW remembers the current position in the file if you are streaming. I would recommend a producer/consumer architecture. The read is the producer; the write is the consumer. Use a queue to pass data from on to the other. Your producer will actually be a double loop - FOR loop to loop through your list of files containing a WHILE loop to read chunks of each file and pass to the consumer loop. The consumer loop simply writes to file as it gets the chunks. I would recommend a chunk size of about 65,000 bytes.
Good luck. Let us know if you need more information.
05-28-2013 04:56 AM
je réalise mon fin d'etude je suis debutant en labview mon soutenance 8 juin svp aide moi .
je un programe la suivant .
comparer 25 par un nombre aléatoire (en le nome x par exemple )
si 25 < x alors
boite de dialoge afficher " x supperieur à 25"
si 25 < x < 30 alores
boite de dialogue afficher "c'est un bon choix"
comment je developper ce programme avec labview
cvp aide moi c'est urgent
05-28-2013 09:20 AM
Etant donné que la question n'a pas la moindre relation avec le sujet original, elle n'a rien à faire ici et il serait préférable de commencer une nouvelle discussion.
02-18-2023 06:08 PM
There is a simple trick that works.
1. Create your string to be appended to an existing file.
2. Use "Build array" to make a single-cell array out of that string.
3. Use "write to spreadsheet file" and connect the string/array to the 1D input. Set the format to %s. Set the "append?" input to True.
4. Nicely appends.
02-18-2023 10:08 PM - edited 02-18-2023 10:09 PM
@Yodo2 wrote:
There is a simple trick that works.
A Rube Goldberg "solution" to an ancient, 10 year old thread. 😮