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: 

write file measurement

Solved!
Go to solution

Hello every one...iam facing a proble..i.e iam saving data using write to file measurement.in this iam connecting signal data and some caluculated data but it saving only time remaining things only saving in first row ofter rows nothing saving...so my need is to save all the reading continously until end of running aplication...

 Thankl you

0 Kudos
Message 1 of 6
(2,987 Views)

Hi hanumesh,

 

the VI is working as "intended" aka "as you programmed it"!

 

You generate a sine wave signal with 100 samples per iteration. Then you join 3 scalar values as additional signals. Exactly this is written to your measurement file as can be seen in this snippet:

X_Value	Sinus	Untitled	Untitled 1	Untitled 2	Comment
0.000000	0.000000	1.000000	2.000000	3.000000
0.001000	0.634176			
0.002000	1.265799			
0.003000	1.892325			
0.004000	2.511234			
0.005000	3.120033
…

First column is time, 2nd is your sine, 3rd-5th contain the additional scalar values…

 

When you want to have "filled" columns you need to supply waveforms (of 100 samples) for your additional values too…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,974 Views)

so for this any substitue method available..plese share

0 Kudos
Message 3 of 6
(2,966 Views)

the above vi just a model of original design...iam givind daq data and calculatiob data to the measurement file...thank you

0 Kudos
Message 4 of 6
(2,965 Views)
Solution
Accepted by topic author hanumeshbujji

Hi hanumesh,

 

your "additional data" should have the same amount of samples as your DAQ data - simple as it is…

 

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(2,954 Views)

thank you sir...

0 Kudos
Message 6 of 6
(2,951 Views)