Michael wrote:
> Hi all
>
> In an experiment, subjects should apply a force with their arm which is
> measured by a force transducer and imported into LabView via the serial
> port. They can see their exerted force on the screen at each moment and
> should vary its intensity according to a given function, which is typically
> a ramp starting at 0 Newton, going up slowly to maybe 10 N, keeping that
> level for a certain time, and then going down to 0 N again.The whole
> reference fuction should be visible in the graph window together with the
> actual force.
>
> The reference function can easily be plotted into a x-y graph whereas the
> actual force is to be plotted in a chart.But how can I combine the two
> curves in a single view?
>
> Thanks for helping!
>
> Michae
l
There are only two ways I can think of to accomplish this.
1) Edit the x-y graph (control editor) and make everything
invisible (transparent) except the plot. Lay this on top of the
chart and do some fine adjustments to the alignment.
2) depending on what the function is, continuously calculate the
function, take the function and the input and put in a 2D array
and make it a multiplot chart.
Check the examples to get some ideas about how to do this.
Kevin Kent