01-13-2012 05:33 PM
I'd like to create that from my waveform with 2 cursor, I define start and end point(with cursor), from which than only this(wtih "save button" will save to file(in my case for testing is just into string);
I create sinuse waveform, add 2 cursor, this working fine, but is not working asI want. Maybe any example for this?
thanks
Solved! Go to Solution.
01-13-2012 05:59 PM
Maybe is problem with property value source is DBL waveform....
01-13-2012 10:36 PM
@hlod wrote:
I create sine waveform, add 2 cursor, this working fine, but is not working as I want. Maybe any example for this?
Can you clarify your post? It doesn't make sense. First you say it is working fine, then you say it is not working as you want. Which is it?
If it isn't working how you want, then you need to tell us what you want and how it is not working now.
01-14-2012 02:50 AM
Well if I select with cursor 1 first point and with second one 2 point, nothing show at spreadsheet string.
Only time that show something is when one cursor is on beginning !
01-14-2012 11:09 AM
Thanks for the details.
Can you post your VI so we can play with it?
01-14-2012 11:20 AM
Yes,
I use v11, but save for 8.5;
thanks
01-14-2012 02:42 PM
First, put a wait statement in the loop so that it doesn't run at the full speed of the CPU.
The problem is that you are getting an empty array out of the waveform subset. It is caused by the waveform to 2D array express VI. You are picking rows, but the data is a single channel that is all in the first row. Change your express VI so that the 2-D array is created with the columns are channels rather than the rows are channels.
01-14-2012 02:55 PM
Thanks for help, but I don't know how to make what you said "2-D array is created with the columns are channels rather than the rows are channel" for these reason I ask for help.
01-14-2012 09:00 PM - edited 01-14-2012 09:05 PM
Double click the express VI that converts the blue dynamic data wire to the 2-D array. There are numerous options there.
Actually, you don't have a blue dynamic data wire. The waveform wire is getting coerced to a dynamic datatype when it goes into that Express VI.
In reality, you don't need the express VI at all. Use Get Waveform Components function to get the Y array out of the waveform. Since it is a 1-D array, you won't have to worry about columns vs. rows. Just use Array Subset on the 1-D array.
01-15-2012 04:01 AM
But how can I get, x-axe ("time") ?