08-01-2023 10:46 AM
Hi All,
I need to understand how I can implement a counter in labview that increment the count after each movement down to up and up to down of my wire potentiometer. Look the attachments example:
Can you help me?
thanks
08-01-2023 02:17 PM
Hi Jacob,
@JacobRisk wrote:
I need to understand how I can implement a counter in labview that increment the count after each movement down to up and up to down of my wire potentiometer. Look the attachments example:
What is Position 1 to 4?
@JacobRisk wrote:
increment the count after each movement down to up and up to down of my wire potentiometer.
IF "movement down to up" THEN "increment count1"
IF "movement up to down" THEN "increment count2"
See how far you get.
You can also attach the VI you already created so we could suggest improvements!
08-01-2023 03:11 PM
A wire potentiometer is an analog device with an infinite number of settings.
08-01-2023 03:59 PM - edited 08-01-2023 04:02 PM
@JacobRisk wrote:
Hi All,
I need to understand how I can implement a counter in labview that increment the count after each movement down to up and up to down of my wire potentiometer. Look the attachments example:
Can you help me?
thanks
Hmmm, we call that a "string pot" and use one to measure displacement on our seismic table.
If I was to do what I think you are trying to do a counter would not be what I would use.
Since a string pot is a potentiometer you need to measure its resistance or apply a voltage across it and measure the voltage at the "wiper".
The center (resting position) would be your "zero". Increasing resistance or voltage drop would mean it's moving on one direction, decreasing resistance or voltage drop would mean it's moving the other direction.
With the proper scaling you should even be able to determine the amount of displacement.
08-02-2023 02:57 AM - edited 08-02-2023 03:00 AM
here show I interpreted the question
I used levels and hysteresis to detect the not clear up->down ..