Azzera filtri
Azzera filtri

Mapping Encoder channels to Physical DAQ ports- RTW & NI

5 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Jan Houska
Jan Houska il 7 Mag 2014
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

Categorie

Scopri di più su Signal Integrity Kits for Industry Standards in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by