LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to insert new data after every iteration

Solved!
Go to solution

Hi All, 

 

Looking for an idea.

I am writing a text file where a certain part is repeating, therefore I am using For loop to generate the same part for n number of times. I would like to know what is the easiest way if one wants to change tiny information between the iterations. 

for example: This is what I want to write in the first iteration

Kind: Transmission
Angle: 0.000000
Polarization: 90.000000

 

For second iteration:

Kind: Transmission
Angle: 0.000000
Polarization: 50.00000

 

and so on.

 

One way could be to have the same information for n number of times and then used search and replace function. I think this would be quite time consuming and prone to errors as will have to use search and replace function for n number of times. 

 

Regards,

Hassan 

0 Kudos
Message 1 of 2
(698 Views)
Solution
Accepted by topic author HassanIqbal

Use format into string with this message as the format

 

santo_13_0-1632451007699.png

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 2
(688 Views)