LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write characters to file vi (ignore earlier post)

How to I get the write characters to file vi not to ask me if I want to replace the file.
Thanks
0 Kudos
Message 1 of 10
(4,371 Views)
Try to attach your VI once more. It did not make it.
0 Kudos
Message 2 of 10
(4,362 Views)
Use the Set File Position function to set the file position to the end of the file. This allows you to append without overwritting.
0 Kudos
Message 3 of 10
(4,357 Views)
Toby: that won't do it.

Sounds like this KB article applies here.
Message 4 of 10
(4,355 Views)
You're right...I just assumed that exo meant "Write Text File" because I had never seen "write characters to file". I guess it is no longer supported by LabVIEW and I've only been using since 8.2.1. When using "Write Text File" the replace dialog box does not appear.
0 Kudos
Message 5 of 10
(4,341 Views)
Thanks.
0 Kudos
Message 6 of 10
(4,338 Views)

Here is my replacement for write characters to file vi

Pretty much a drop in replacement for upgrading old code.

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 7 of 10
(4,313 Views)
The "Write Characters to File" is a LabVIEW 7.1 function, so it's quite likely the user has 7.1. Thus, providing an 8.2 VI won't do the user much good. Smiley Wink
Message 8 of 10
(4,292 Views)


@smercurio_fc wrote:

Sounds like this KB article applies here.

Very useful KB, indeed ! Smiley Happy
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 9 of 10
(4,278 Views)

Good point, but he did not say what version, having just jumped from 5.11 to 8.xx I have found many things have changed and several of my favorite vi's are gone including the write characters to file.vi.

Here is the block diagram for a drop in replacement for "write characters to file" just wire up the connectors to match the old vi.

 

 

Message Edited by RTSLVU on 09-25-2007 09:26 AM

Message Edited by RTSLVU on 09-25-2007 09:30 AM

Message Edited by RTSLVU on 09-25-2007 09:30 AM

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 10 of 10
(4,281 Views)