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
(98 Views)
Solution
Accepted by topic author HassanIqbal

Use format into string with this message as the format

 

santo_13_0-1632451007699.png

 

-Santhosh
Semiconductor Validation & Production Test
Soliton Technologies
NI CLD, CTD
LabVIEW + TestStand + TestStand Semiconductor Module (2013 - 2020)
NI STS for Mixed signal and RF
Message 2 of 2
(88 Views)