From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing LabVIEW measurements of two loops (Charge cycle and discharge cycle) in one file

Solved!
Go to solution

Hey,

I was wondering if it is possible to write Labview measurements from two loops (Stacked Sequence Structure) into one file. Currently, it is writing the charging data in one file and discharging data in one file. I have to combine the data everytime to graph the charge and discharge cycles and sometimes there's about 50 cycles and copying and pasting does take up lot of time. 

 

 I'll try to upload my vi in a bit

0 Kudos
Message 1 of 5
(2,717 Views)

Hi basketball,

you can use a third loop which writes your data. Use a queue to transfer your data from the two loops to the third.

 

Mike

0 Kudos
Message 2 of 5
(2,715 Views)

Hey Mike,

I'm very new to Labview, could you please show an example.

 

btw, I attached my vi and I didn't build it

Message Edited by Support on 07-15-2009 11:27 AM
0 Kudos
Message 3 of 5
(2,703 Views)
Solution
Accepted by topic author basketball

Hi basketball,

i thought you loops run in parallel. In your case you can just use the same file path for your files. Change the option to "apend to file". After these changes both loops should write into the same file.

 

Mike

Message 4 of 5
(2,699 Views)

Thanks a lot, it worked!

 

0 Kudos
Message 5 of 5
(2,696 Views)