LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

in range values changed before user input

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

 

0 Kudos
Message 1 of 5
(930 Views)

Please attach a VI so we can understand what you are trying to say.

0 Kudos
Message 2 of 5
(900 Views)

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

0 Kudos
Message 3 of 5
(866 Views)

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.

 

 

 

 

0 Kudos
Message 4 of 5
(864 Views)

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

 

 

0 Kudos
Message 5 of 5
(855 Views)