Mapping Encoder channels to Physical DAQ ports- RTW & NI
6 次查看(过去 30 天)
显示 更早的评论
I am trying to use a National Instruments PCIe-6323 DAQ and a NI BNC-2111 connector block with Real Time Windows Target and a quadrature encoder.
The BNC-2111 has physical ports PFI 7 and 12 but the PCIe-6323 encoder Counter 0 reads from PFI 8 and PFI 10. With Labview it is possible to redirect the channels so that say I can connect an cable to the PFI 7 port and it will act as my PFI 8 input for the encoder. I am trying to figure out how to do this within Matlab/Simulink/RTW.
I have read that this is possible but I can not seem to find any documentation.
0 个评论
回答(1 个)
Jan Houska
2014-5-7
Remapping of the encoder input channels is not supported with the Real-Time Windows Target driver. The driver always uses the default pin to signal mapping, as listed here:
CTR0 A (CTR0 SRC) : PFI8
CTR0 B (CTR0 AUX) : PFI10
CTR0 Z (CTR0 GATE) : PFI9
CTR1 A (CTR1 SRC) : PFI3
CTR1 B (CTR1 AUX) : PFI11
CTR1 Z (CTR1 GATE) : PFI4
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!