LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to put the proper header at each column in write to measurement file (.lvm) ?

Hi Roxy,

i think you have to filter the data you want from the data you have.

Hope it helps.
Mike

0 Kudos
Message 11 of 21
(1,559 Views)
hi,
            Could you please tell me more details about what you've said? and how to filter ?
Thank you so much.
 
With Respect,
Roxy
0 Kudos
Message 12 of 21
(1,550 Views)

Hi Roxy,

i´m not sure if there is an easier way, but this should also do what you need.

Mike

0 Kudos
Message 13 of 21
(1,546 Views)
Hi
     Thank you so much. It works but why the X_value column(time column) is empty? Why didn't show time like 0.21, 0.42, 0.63 and etc.?
how could i prove it that the outputs are for time interval at every 210ms?
 
thank you
 
Roxy
0 Kudos
Message 14 of 21
(1,533 Views)
Hi Roxy,
can you show how you do it? If i use the code from the before attached picture, then i get this column.
Mike
0 Kudos
Message 15 of 21
(1,527 Views)
hi Mike,
           here is my program that is same as yours. If possible, could you post your .vi as well ? Thank you .
 
Roxy
0 Kudos
Message 16 of 21
(1,506 Views)
hi,
    Is the "X_Value" column for the real time? I need the extract time line because i want to get the data only at the specific time(which is at 0.21s,0.42s,..) . let's say the "X_Value" column shows like 0.21, 0.42 etc...does it mean that input is at every 0.21s  OR  just show the counting numbers sequently?
 
Thank you so much for your time.
Roxy
0 Kudos
Message 17 of 21
(1,499 Views)
Hi Roxy,
you use the option "empty time column" change it to "one time column". Attached you will find an example. In the example every value comes every 1ms. I set it in the for loop (dt), because  you said you get your values every 1ms.
 
Mike
0 Kudos
Message 18 of 21
(1,478 Views)

hi,

thank you for your help.

So is 0.21s(shown in the lvm file) the actual real time ? 

But when i run the program for 5 seconds, there show the time more than 19 seconds in the (.lvm) excel file already . 

Why didn't match these two ? Shouldn't these two match together?

i am looking forward your kindly reply.

with Respect,

Roxy

0 Kudos
Message 19 of 21
(1,471 Views)
Hi Roxy,
in the example it is not the real time. We create an array of 20000 values and set the dt to 1ms. If you read your data from the hardware, then you have the real time stamp and then it is the real time.
 
Mike
0 Kudos
Message 20 of 21
(1,468 Views)