Jump to content

Matthew_1

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Matthew_1's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Greetings, I would like some assistance with how to work with rotary encoders using my 1808X DAQ. I've been using the example file 'CInScan03' as a reference, but I'm still having trouble getting it to work. Note that my encoder only has an A and B wire (no Z wire), and I'm working in Python. One question is what sort of information comes from the encoder pins (ENCx0 and ENCx1) using the universal library functions? From the 'CInScan03' description it looks like the position (counts) is a standard output, but are other value types like direction and velocity (counts over time) also values I could get from universal library functions, or would I have to write my own functions using position to find them. Another question is that in the notes of 'CInScan03' it says that it "Scans a counter input in encoder mode...", so does that mean that I would have to connect the A and B wires to the counter pins (CTR0 and CTR1), or that when you set the mode to encoder mode that it reads the counts from the encoder pins (ENCx0 and ENCx1)? Thanks!
×
×
  • Create New...