LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Two data into "Write To Measurement" Function

Solved!
Go to solution
Highlighted

Hi,

 

I like to capture Two signal data from USB-6366, and record as .csv. Now I implement "Write To Measurement" Function. But this function have only single signal. So I can not logged two data simultaneously on single log file.

Is there any method exist ? If so, please instruct how to implement it.

 

Best,
Kazutaka Watanabe

0 Kudos
Message 1 of 6
(119 Views)

What do you mean the Write to Measurement has only one signal.

 

Attach your VI so we can see what you've done.

0 Kudos
Message 2 of 6
(111 Views)

Hi,

I just want to capture two signals that input signal on Filter, and output from filter.
In this case, how to capture and output as single log file ?

Best,

 

0 Kudos
Message 3 of 6
(95 Views)
Solution
Accepted by topic author KevWhat
07-12-2019 01:34 AM

Hi Kev,

 

as you seem to be a friend of all those ExpressVIs (unlike me) you should have noticed that MergeSignals ExpressVI. Using this ExpressVI lets you merge several signals into just one DDT wire…

 

Your VI is missing a loop: do you really read just one millisecond worth of data?

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 4 of 6
(78 Views)

I see another problem with your VI.  It only runs once.  You grab a 1/10th second worth of data, process it, write it out and the VI ends.  Is that really what you want to do?

 

Please don't tell me you are running this using the Run Continuously button.  That is only meant for helping to debug subVI's.  It seems your VI should have a while loop around it with a stop button so that when you run it using the Run button, it will run until you stop the VI via the stop button you added to the front panel (and not the Abort button on the toolbar.)

0 Kudos
Message 5 of 6
(54 Views)

Your expectation is what I like to achieve on this VI. I misunderstood how to use of "Run" and "Stop" button. I have to use while loop to make "Continuous Capturing".

I will do that.

Thanks,

 

0 Kudos
Message 6 of 6
(27 Views)