From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

how to do incremental summation x(1)=x(1)+x(0), read 2 columns text file

Hi,
I want to read the 2 columns text file and measure the pulse duration when the waveform amplitude is larger than zero. I want to sum all the pulse duration. However, I don't know how to do incremental summation x1=x1+x0 in a while loop. So, I try to use array summation outside of the loop., but I have problem in connecting the I/O. I have attached both text file and my VI file for reference.
 
Thank for your help.
 
Download All
0 Kudos
Message 1 of 3
(2,211 Views)

Hello,

I didn't understand every thing that you said. But I've attached to files. Those where my approach that it's not solving your problem but I think that it can help. the code was made in labview 8.2. if you don't have it you can see the picture.

Best regards,

Software developer
www.mcm-electronics.com





PORTUGAL
Download All
Message 2 of 3
(2,193 Views)
Thanks Jorge.
0 Kudos
Message 3 of 3
(2,176 Views)