LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i name a dynamic data signal for file i/o

I have five signals (max, min, mean, std dev., and # of readings) merging into a single signal and writing to a measurement file. When I open my saved file after retrieving data I have a spreadsheet with five untitled columns. I am wondering how I name those columns within my program as I am collecting large quantities of data. Thank you!

nerd4life
0 Kudos
Message 1 of 7
(4,235 Views)
Hi ewong,
you can use the express vi to convert the dynamic signal to a waveform. With this you can change the signal names.
See this link please.

Hope it helps.
Mike
0 Kudos
Message 2 of 7
(4,217 Views)
I had seen similar threads to that one after posting and tried implementing them in my code. However my results were not what I was looking for. When I tried changing the channels names indvidually I no longer recieved data in my lvm or my graph and when I tried changing the channel name of the merged signal my column headers were "comment", "comment1", "comment2" and so on. I 'll post my VI without the above changes and maybe someone will be able to tell me what I'm doing wrong Smiley Tongue. Thanks again.
nerd4life
0 Kudos
Message 3 of 7
(4,196 Views)
So apparently the forums dont like me trying to upload such a large code so I am attaching a jpeg.
nerd4life
0 Kudos
Message 4 of 7
(4,192 Views)

Hi ewong,

why don´t you make what the example from the link shows? Try this please.

Mike

0 Kudos
Message 5 of 7
(4,189 Views)
I have tried that but it only labels the header as a single "comment" and a number value. What I want to do is label the individual headers as max, min, mean, std dev, and # of runs. Maybe I'm just missing something but when I incoporate that example into my code I get headers like test0000, test0001, test0002, and so on. Thanks for all your help though.


Message Edited by ewong on 08-06-2008 09:54 AM
nerd4life
0 Kudos
Message 6 of 7
(4,182 Views)
I got it!

http://forums.ni.com/ni/board/message?board.id=170&message.id=308326&query.id=63578#M308326

the link above helped me finally realize it. By adding a case stucture with the different string names in different cases it labels the individual channels. Thanks for all your help Mike.
nerd4life
0 Kudos
Message 7 of 7
(4,178 Views)