Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

One Task having both Analog Out and Analog input coltage channels

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

0 Kudos
Message 1 of 2
(2,731 Views)

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

0 Kudos
Message 2 of 2
(2,724 Views)