LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform cursor

Solved!
Go to solution

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

Capture.PNG

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 1 of 13
(2,936 Views)

Maybe is problem with property value source is DBL waveform....

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 2 of 13
(2,927 Views)

@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.

0 Kudos
Message 3 of 13
(2,920 Views)

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 !

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 4 of 13
(2,911 Views)

Thanks for the details.

 

Can you post your VI so we can play with it?

0 Kudos
Message 5 of 13
(2,903 Views)

Yes,

 

I use v11, but save for 8.5;

 

thanks

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 6 of 13
(2,900 Views)

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.

Message 7 of 13
(2,895 Views)

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.

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 8 of 13
(2,892 Views)
Solution
Accepted by topic author hlod

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.

Message 9 of 13
(2,885 Views)

But how can I get, x-axe ("time") ?

 

 

 

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 10 of 13
(2,869 Views)