07-21-2010 03:30 AM
It doesn't operate well though I want to do the analog to digital conversion
in the following use environments while outputting an analog signal.
Is there something a good method?
-DEVICE:USB-6218
-OS:OPENSUSE 10.3
-NI-DAQmx Base 3.3
(Err Message)
DAQmxBase Error -200559: Task cannot contain a channel with the specified channel type,
because the task already contains channels with a different channel type.
Create one task for each channel type.
07-21-2010 10:59 AM
Hi megazone23,
It looks like you're trying to include AI and AO channels into a single task. You'll need to have a separate task for Analog Input and for Analog Output.
Best Regards,
07-21-2010 07:54 PM
Thank you for the reply.
It is not possible to execute well though I tested according to advice.
I make two tasks.
One task outputs analog signal(below Program1), another task convert an analog signal(below Program2).
# ./program1
# ./program2
The following errors occurred in program2.
DAQmxBase Error -200220: <err>Device identifier is invalid.
but If it is only program2, it operates normally.