LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
dthor

Better Replacement of Format Into String with Format Into File (and opposite)

Status: New

When you have a Format Into String node and you try to replace it with a Format Into File node (with right-click -> replace), LabVIEW doesn't reconnect all the inputs in a logical way.

 

Start off with this:

Format Into String.PNG

 

then replace it with Format Into File and you get:

Format Into file broken.PNG.

 

The new node should be automatically expanded to the original size, and the inputs should be automatically connected. Obviously the "Resulting String" indicator would be broken because the output for Format Into File is a refnum (new idea: give Format into File an optional string output for easy previewing). The result of the replace should look like so:

Format Into file fixed broken.PNG

 

Then we'd only have to fix two wires, not n+2.

3 Comments
dthor
Active Participant

Here's the link to the other Idea I mentioned in the post:

 

Give Format into File a string output

 

gb119
Member

Fixing this would be better than making the format into file report a string output itself in my opinion - I don't think functions should be returning outputs by default that are only usef for development or debugging purposes - on the other hand making the IDE do sensible things is much better.

--
Gavin Burnell
Condensed Matter Physics Group, University of Leeds, UK
http://www.stoner.leeds.ac.uk/
Darin.K
Trusted Enthusiast

In your other idea I express my distaste for 'Format into File', so in the spirit of providing you an easy means of replacing that with 'Format into String' I say Kudos!.