09-29-2010 05:36 AM
Hi, am using USB6009.
Would like to create
1) Analog Out channel to output a predefined waveform
2) Analog Input channel to measure input voltage
Both channel 1 and 2 have to be started simultaneously.
I tried to create both channels(1 and 2) in a same task, but it prompt me error as below:
code: -200559
message : Measurements: 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.
What I would like to achieve here is to use channel (2) to measure signal from channel (1)
Question:
1) Can this be done in 6009?
2) If "No" for question (1), is there any other card(s) that I should choose?
Thanks.
Warmest regards,
Vincent
09-29-2010 10:36 AM
You must create two separate tasks, indipendently on which card you have.
To sychronize read and write tasks, I'd trigger them on the transistion of an unused input.
Regards