LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to set up the board ID no

i am right using NI-E6221 card to read a counter input from an encoder.

for the encoder, there are  A- B Z out put.

how can i contact the encoder to the card. for the counter 0, pin out no are SRC 37, Gate 3, AUX 45, out 2.

can i use the labview to read the direction of the encoder while the encoder is turning.

while i try to use the enable encoder VI, there is a in put called board id, should be setted by the MAX, can i use the E 6221 card to cread a board Id refer to the counter in put???

 

I am a New guy who just touch the Labview for a short time. so may be this question sounds silly, can you please help me.

0 Kudos
Message 1 of 3
(2,679 Views)

Hey,

 

First of all, the card you are using is an M-Series, not an E-Series.

I would suggest you to simply use the Measure Angular Position.vi which you will find using the NI Example Finder under LabVIEWs help menue.

 

Christian

0 Kudos
Message 2 of 3
(2,654 Views)

I have a couple of fixtures that use the 6221 to do exactly what you are talking about. If you follow the help files for the daq card it is really very easy to get this up and running. If you use the measurement and automation explorer it will ever tell you how to hook up the encoders to the DAQ card. It will tell you direction and will give you a scaled out put based on the number of poles that you have for your encoder.

 

NI has done a very nice job with the encoder inputs for the 6221. Do a little work and learn how to use them and you will be happy with what you see.

Tim
GHSP
Message 3 of 3
(2,649 Views)