Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2176

DAQ channel terminal in MATLAB is read-only

$
0
0

Hello, I am using an NI-9422 to read in a signal for motor speed. I am reading in through the data acquisition toolbox in MATLAB. I can read the frequency fine for 1 terminal but I am struggling to understand how to read multiple terminals or a specific terminal.

 

For instance, the current assigned terminal is PFI5 and if I try to assign a variable ch to my channel and then re-assign the ch.terminal as PFI7 it says it's read only. I've also unplugged, and plugged the chassis back in and the default terminal changes which I can only solve by moving my wires.

 

What am I missing? Thanks for any help.


Viewing all articles
Browse latest Browse all 2176

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>