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,
       i would like to know one thing about the write to measurement file. Can i put the proper header at each column in write to measurement file (.lvm) ? and how can i do for it ? Could you show me a way to make it ?
 
i am looking forward your kindly reply.
thank you so much ..
 
 
best regard,
roxy
0 Kudos
Message 1 of 21
(4,476 Views)
Hi roxy,
see this link please. Maybe the last post can directly help you.

Hope it helps.
Mike
0 Kudos
Message 2 of 21
(4,470 Views)

hi

thank you for your advice.I've tried to put it inside my program but it doesn't work.  Our inputs for the Write To Measure File is just numeric value.Could you tell me the other ways for it ?

With BEST regards ,

Roxy

0 Kudos
Message 3 of 21
(4,457 Views)

Hi Roxy,

which part do not work for you? The code from the attached picture works for me.

Mike

0 Kudos
Message 4 of 21
(4,455 Views)
hi
    Could you post your program of the above picture in the previous post ? so i can try it . Thank you so much for your time..
 
with regard,
roxy
0 Kudos
Message 5 of 21
(4,446 Views)

Hi Roxy,

here it is. Smiley HappySmiley Wink

Mike

0 Kudos
Message 6 of 21
(4,441 Views)

thank you very much .

actually i want to change the header to Axis x ,

                                                               Axis y , Axis z and so on ...

Could you please suggest me something with it ,

With respects ,  

Roxy

 

0 Kudos
Message 7 of 21
(4,434 Views)
you may create an array of strings and pass it to the for loop.
0 Kudos
Message 8 of 21
(4,427 Views)

Hi Roxy,

you mean what we now change to "Channel0 Channel1 .. Channel3"? If yes then change the string constant. You can use an array of string with the values Axis x, Axis y, ... and connect this array to the for loop. Remove the format into string function and connect the indexed array to it.

Mike

0 Kudos
Message 9 of 21
(4,425 Views)
Hi Mike,
              Thank you very much for your help. It works .
By the way, i would like to ask you about setting time interval. In the pic, X_Value column is for time column

i would like to ask that when i use the write to measurement file, there got the x column that show time inside the excel file. In this column, i would like to set the time interval at every 210ms .The data may come in every msec but i just want to record the data at every 210ms .  for example, 210ms-420ms-630ms ..etc. how can i set it ?

One more thing .. can i do it in graph as well ?

i am looking forward your kindly reply.

Thank you for your time.

Best Regard,

Roxy

0 Kudos
Message 10 of 21
(4,399 Views)