LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

User interaction with Waveform Graph

My application uses a Waveform Graph to plot data acquired from a
scope. The application does some analysis of the waveform data
and then uses features within the waveform as the basis for
controlling some external devices. The features (peaks) that
are to be used must be selected by a human operator. Ideally,
this would be done by having the user click on/near the peaks
of interest.

I haven't seen anything in Labview that looks like I can trap
mouse clicks within a screen widget. Have I missed that level
of functionality, or is there no feasible way of implementing
such an interface?

I am presently using a system of tables and sliders to allow
the users to select peaks, but the users are not totally happy
with the method.

I
am using Labview 5.1 on Sun Solaris.

Thanks.

--- Rod
0 Kudos
Message 1 of 3
(2,619 Views)
Assuming that it's supported by 5.1 on a Sun, the picture control has a mouse attribute that returns button down and xy coordinates. The other option might be to use cursors. One or more could be dragged to the selection points and then a button clicked when done.
0 Kudos
Message 2 of 3
(2,619 Views)
One approach would be to enable graph cursors and have the user click and
drag the cursor to the peak of interest. Cursors can also be set to lock to
the graph data You could also add another graph trace which only contains
peak points and then the cursor will only land on a actual peak point.

Mike Sachs
Intelligent Systems

"Rod B. Nussbaumer" wrote in message
news:afal8d$37q$1@nntp.itservices.ubc.ca...
> My application uses a Waveform Graph to plot data acquired from a
> scope. The application does some analysis of the waveform data
> and then uses features within the waveform as the basis for
> controlling some external devices. The features (peaks) that
> are to be used must be selected by a human operator. Ideally,
> this would be d
one by having the user click on/near the peaks
> of interest.
>
> I haven't seen anything in Labview that looks like I can trap
> mouse clicks within a screen widget. Have I missed that level
> of functionality, or is there no feasible way of implementing
> such an interface?
>
> I am presently using a system of tables and sliders to allow
> the users to select peaks, but the users are not totally happy
> with the method.
>
> I am using Labview 5.1 on Sun Solaris.
>
> Thanks.
>
> --- Rod
>
>
0 Kudos
Message 3 of 3
(2,619 Views)