LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

speed sensor

My objective is have my output of my encoder come into a daq assistant. Then covert that to rev per second. Then compare that to what the user sets the speed and adjust it. But I can not get past how to work the daq assistant I cant get a wire to come out of it.

0 Kudos
Message 1 of 7
(3,222 Views)

The daq assistant uses dynamic data. You can use a converting block to get the data out. Most likely LV will already do this for you.

daqassistant.PNG

 

Though i recommend you to use the DAQmx blocks, this will give a lower latency in most cases.

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 2 of 7
(3,203 Views)

what im saying is I can not get the wire to come from the daq assistant do I have to have it hooked up? physically I just need the block diagram for a visual for a project right now.

0 Kudos
Message 3 of 7
(3,193 Views)

like this is my speed sensor an motor control. What I want is the user to enter the motor speed, then have a set motor speed that they can not go above an if they do the brake will be applied. Am I on the right track can someone help lead me in the right direction?

0 Kudos
Message 4 of 7
(3,187 Views)

I don't really get what you are trying to explain.

When you are trying to set the speed of a motor you most likely need to build a closed loop too. In open loop the speed wont be that accurate.

 

But is this what you meant?

motorspeed.PNG

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 5 of 7
(3,183 Views)

You can also use In Range and Coerce to force the Set Motor Speed to be between 0 and Max Speed.  One function instead of two.

0 Kudos
Message 6 of 7
(3,170 Views)

Ravens option is better because you can also add a minimum value.

 

The last option you can do is to enter the numeric control option and to this:

properties.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Though I don't know how reliable this is.. It is obviously the most space saving.

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 7 of 7
(3,165 Views)