05-25-2018 06:16 AM
Hello,
does anyone know how to do:
-threshold with setting the value in the graph,
-if the value is larger than the threshold, then it sends the command
I have this program with wave generator and osciloscope and I need to switch the port in the optical switch when the value is higher than the threshold.
Thanks for help and answer. 🙂
05-25-2018 07:35 AM
Hi Adam,
You could add a cursor to the graph and get the value from the cursor in the graph with a property node (Cursors >> Cursor Position >> Cursor Y) and compare against that.
If your new value is larger than that, trigger your command. Is that what you want?
Sorry, I can't open your VI, so if you have questions, please re-upload it for LV 2015.
05-25-2018 07:37 AM - edited 05-25-2018 07:40 AM
My first thought is something like this:
If this would be too time consuming you could have this logic be executed in another loop.
EDIT:
Misread the "setting the value in the graph". The above reply from Peter regarding the graph cursor is a solid idea.
05-25-2018 10:09 AM
There is old version VI.
05-25-2018 11:08 AM
Thanks for all.
I have it! 🙂
My theses is saved.