Thread Subject: addchannel in daq problem

Subject: addchannel in daq problem

From: witt

Date: 23 Apr, 2007 06:07:43

Message: 1 of 2

Hello

I have problem with adding channels to analog input. I can add
channel with number less than 8.
addchannel(ai, [0:7]); %allright

when I add channel with higher number, I get error ...
addchannel(ai, [8]);
??? Error using ==> daqdevice.addchannel
The channel(s) being added are invalid for the current input type.

I would like to use more than 8 analog input channels of my measure
card NI6024 with 16 analog input channels.

thanks witt

Subject: addchannel in daq problem

From: Andrea Schmidt

Date: 23 Apr, 2007 12:37:04

Message: 2 of 2

Hello,
is it possible that your card have 8 differential channels / 16 single-ended
channels?
Perhaps you have to change your input-Type to single-ended with
ai.InputType = 'SingleEnded';
Does that help you?

Best regards
Andrea

"witt" <tauchvit1@centrum.cz> schrieb im Newsbeitrag
news:ef54a92.-1@webcrossing.raydaftYaTP...
> Hello
>
> I have problem with adding channels to analog input. I can add
> channel with number less than 8.
> addchannel(ai, [0:7]); %allright
>
> when I add channel with higher number, I get error ...
> addchannel(ai, [8]);
> ??? Error using ==> daqdevice.addchannel
> The channel(s) being added are invalid for the current input type.
>
> I would like to use more than 8 analog input channels of my measure
> card NI6024 with 16 analog input channels.
>
> thanks witt

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com