DigiJack
2008-04-18 10:40:06 UTC
Hi! i'm trying to program my PCI-6220 with Ni DAQmx visual C to acquire simple data from 2 different channels.
I saw the example on acquiring one simple data from one channel. so i
tried to add another channel by adding another task and changing the
channel number and using the read function.
The program runs but gives me the following message: "DAQmx Error: the
specified resource is reserved. the operation could not be completed as
specified."
The thing is that i have already done this procedure of two channel
simple acquisitions with Ni DAQ using a PCI-6024E and it worked
by simply defining another channel, another read function and another
error handler. in DAQmx that doesn't work. If anyone could please help
me.
I saw the example on acquiring one simple data from one channel. so i
tried to add another channel by adding another task and changing the
channel number and using the read function.
The program runs but gives me the following message: "DAQmx Error: the
specified resource is reserved. the operation could not be completed as
specified."
The thing is that i have already done this procedure of two channel
simple acquisitions with Ni DAQ using a PCI-6024E and it worked
by simply defining another channel, another read function and another
error handler. in DAQmx that doesn't work. If anyone could please help
me.