LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to convert cluster to waveform?

I'm having trouble building a waveform properly.  I have a relativeX, an Xincrement, and a 1D array of data  (what is returned from a 5114 scope).  But the 'build waveform' function wants t0 to be a timestamp.  This isn't what I want....

I don't mind just using the cluster for showing it on a waveform graph because it works and it's not a problem.  However, there are a lot of waveform functions for writing waveforms to files that I would like to take advantage of....how can I do this?

thanks,
-Z
0 Kudos
Message 1 of 6
(10,235 Views)

Z

You can use the To Timestamp function to convert from double.

David

0 Kudos
Message 2 of 6
(10,221 Views)
thanks david -- let me rephrase my question because I wasn't clear enough.

i guess i'm asking two questions...
1) is there anything i can do w/ a waveform that i can't do with a cluster?
2) I actually want the waveform to behave the same in the graph as the cluster does.  i.e. - i don't want to use a timestamp, I want to use an x0 value that is negative, b/c the actual 0 value has meaning

is that more clear?

thx
-z
0 Kudos
Message 3 of 6
(10,214 Views)

I think I am with you and the answer is probably not. You can work with both datatypes but if you want to use waveform datatype then there is a little more work to get the graphs looking the same with a negative x0

Let me know you labview version and I will post the above vi for you to study.

David

 

Message Edited by David Crawford on 10-25-2006 09:20 AM

Message 4 of 6
(10,208 Views)
I'm using LV8.

Thanks for your response.  It is clear and helpful.  However, I guess I'm just surprised that this isn't something simple to do...  In the end, I'm sure you're right.  I can just use the other I/O VIs to write from the cluster to a file.

Thanks,
-Z
0 Kudos
Message 5 of 6
(10,185 Views)
0 Kudos
Message 6 of 6
(10,181 Views)