10-31-2012 01:39 PM
Hi,
I am creating a VI for acquiring ECG signals. I have attached a screenshot of my VI. I have following doubts.
I would appreciate if you could help me in solving them.
1. I want manual autoscaling of the Y axis i.e. Amplitude. That is it will autoscale only when you click a button on the front panel. Can you please tell me how to do it?
2. I want "window duration" parameter on the front panel for adujusting the widow duration of X axis. How to do that?
Thank you.
Solved! Go to Solution.
10-31-2012 03:38 PM
(There is no screenshot in your post.)
To autoscale once, you would use the "Scale fit" proerty wired with a 1 (0:do not autoscale, 1:Autoscale once now, 2:autoscale)
Put the property node inside a case structure connected to a latched boolean button.
To adjust the range of the x-axis, you can set the range also with a property node.
11-01-2012 12:47 PM
Hi,
Thanks for your reply. Here is the screenshot of my VI. I need to attach the property node inside the case structure right?
Thanks in advance.
11-01-2012 12:56 PM
(Screenshots are nearly useless and you don't have a case structure yet. It is always better to attach an actual VI.)
Yes, place a case structure inside the WHILE loop, place the property node inside the true case, and trigger it with a latch action button as needed.