01-14-2021 11:40 AM
Hi
Inside a loop, I am changing the voltage of AO based on user input.
I am reading the output in AI.
I have low and high boundaries but they are changed before the AI changed so I have errors.
How can I make sure that the limit values change along with the value being tested?
I don't want to add delays in the system...
Thanks
yonatan
01-14-2021 01:04 PM
Please attach a VI so we can understand what you are trying to say.
01-19-2021 08:41 AM
HI
I CHANGED THE VI
NOW THE MARGINS UPDATED BEFORE THE CHECK AND THE ANALOG OUTPUT
BECOME STABLE.
I WANT TO TEST MORE THAN 1 TIME ON EACH STATE
WHAT SHOULD I DO?
THANKS
YONATAN
01-19-2021 08:50 AM - edited 01-19-2021 08:51 AM
First, please don't YELL.
What do you mean by "margins"?
What state are you talking about?
Why are you mixing integers with floating points? That shift register and the constants that feed it should all be blue since they are controlling the case structure which coerces values to integers to decide which case to run.
Get rid of the stacked sequence structures. Replace them with a flat sequence.
Describe in words what your VI is supposed to do.
01-19-2021 09:25 AM
Hi
I will try not to yell and explain what I need:
I am sending an analog signal through a long harness (5 meteres).
The signal is received by analog input and I want to check that the signal have been received with an accuracy of 0.1%
I send 0 volts, then 1 volt, 2 volts etc.
I want to change the level of the analog output each 5 sec, but I want to check if the signal is in range each iteration, that's mean very fast...
Thanks