11-13-2015
01:06 PM
- last edited on
12-19-2024
08:48 AM
by
Content Cleaner
Given
I've connected 1 encoder and 2 PWM signals to my DAQ via the carrier's terminal block (see diagram on page 28 of carrier PDF).
The encoder requires A, B, Z, 5V, and GND terminals, while each PWM output requires a "signal" line and GND.
Power and ground are connected to the single power and multiple ground terminals in the carrier.
Problem
I need to connect another rotary encoder. I tried shifting my setup to the following configuration:
encoder 1 = CTR 0, encoder 2 = CTR 1, PWM 1 = CTR 2, PWM 2 = CTR 3
But the carrier's terminal block doesn't have any additional counter I/O terminals. What can I do?
I'd appreciate any and all insight!
-Farid
Attached: picture of all instrument pin-outs
Solved! Go to Solution.
11-16-2015
11:42 AM
- last edited on
12-19-2024
08:49 AM
by
Content Cleaner
Try creating a task for this setup in NI Max. Once the task is created you can view a connection diagram in NI Max which will show you how to wire your device.
See below a link for info on how to use the connection diagram in NI Max.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x4q4CAA&l=en-US
Additionally, see below a link for an example on how to create a task in NI Max.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x11DCAQ&l=en-US
11-17-2015 11:55 AM
I'll try that later today, but I don't think it solves my problem.
MAX woul use a counter I/O for what I want to do (increment rotary input and PWM output); however, I do not have the requisite pins for another counter input or output.
11-18-2015
11:58 AM
- last edited on
12-19-2024
08:50 AM
by
Content Cleaner
The SC-2345 can not handle four counters. However, your NI USB-6361 Mass Termination card can handle four counters. This is due to the fact that the SC-2345 was made before your card came out and was meant for cards with only two counters. I advice you visit the below url and look at the recommended connector block.
https://www.ni.com/en-us/shop/model/usb-6361.html
Again, if you create the task in NI MAX it will tell you how to wire your device. Additionally, if you are unable to physically wire the device the way you want to NI MAX won't let you create that task.
11-22-2015 08:20 PM
While the SC-2345 may not have been made to handle 4 counters, NI helped me make it support 4 counters!
It turns out I could re-route a channel's output terminal via the addition of a simple "channel node" block into my original VI, as seen in LabVIEW's built-in "Counter - Continuous Output.vi" example VI.
Using this method, I rerouted CTR03 OUT via PFI0 instead of PFI15 since the SC-2345 supports a PFI0 line.