Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

speedometer

hello

I would like to measure a speed on a reedcontact. With arduino Uno. Is there a example how to show speed in a graph?

thanks

0 Kudos
Message 1 of 8
(6,859 Views)

Hey foenti,

 

your project seems very intersting to me. I would be nice to get some more informations.

 

Do you use the LabVIEW Interface for Arduino?

 

The right choice of the graph type depends on the data type you get from your arduino. Perhaps you need a convertion comparing to the following link:

 

https://www.ni.com/docs/en-US/bundle/sound-and-vibration-toolkit-labview-api-ref/page/sound-and-vibr...

 

I hope to give you some more precise support after receiving your answer.

 

Kind Regards,

Vanessa

0 Kudos
Message 2 of 8
(6,843 Views)

yes, I use LIFA.

a wheel dedect a signal whitch is boolean. Do you have an Idea of count and analyze in a graph?
I think I will need a digital to analog convert.

 

regards

0 Kudos
Message 3 of 8
(6,803 Views)

Hi foenti,

 

I like to support you but your informations are not sufficient.

 

In your first post you talk about speed, in the second about boolean data. Whats your aim?

 

Perhaps anyone of the community has a similar project and can help you.

 

Kind Regards,

Vanessa

0 Kudos
Message 4 of 8
(6,799 Views)

In my project is a contact false or true- if the contact is true-1. A counter will rise up. I want to make a reset to the counter if there is no contact for 2 second.

can you help me?

 

 

 

0 Kudos
Message 5 of 8
(6,767 Views)

Hey foenti,

 

I had a look into your vi. A little bit more documentation would be nice.

 

The first contact seems to be the boolean element on the front panel, right? Where to find the second contact?

 

Kind Regards,

Vanessa

0 Kudos
Message 6 of 8
(6,752 Views)

a reedcontact on a wheel will measure a close contact. the time between two contacts (close) will give answer about the current speed. In my VI. is still speed on km/h while no contacts follow. I would like to make a reset after the last contact following by two secons contact open.

0 Kudos
Message 7 of 8
(6,733 Views)

Hi foenti,

 

in my opinion your current speed works like expected. Where did you try to integrate the reset after 2s? Reset the time, graph or speed?

 

Please, initialize your shift register. If you run a VI twice the values are still inside your register. This causes a wrong speed in the first iteration.

 

At this moment the comparison "time difference > 0?" in front of your second case structure does not make sense. The value will always be >0. Why not implementing ">2000?" in this point?

 

If you prefer german, you can also add some documentation inside the VI in german.

 

Kind Regards,

Vanessa

 

 

 

0 Kudos
Message 8 of 8
(6,715 Views)