Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Measure analog and digital signals at the same time ,any examples?

I want to acquire the analog and digital signal at the same time ,and then combine them together.Have any examples about this.Now i install two events to get the analog and digital signals,but they do not seem to acquire at the same time.Can anyone give me a solution , thank you.
0 Kudos
Message 1 of 4
(6,863 Views)

Hi,

  This is a measurement about how to start the two tasks at the same time, you can share the start trigger between the analog and digital task.

  You can find the example in the LabVIEW example finder; you can input the key word “sync”.

Those examples are not only share the start trigger but also the sample clock, but you can follow the similar way to do the coding.

 

AE Yang Liu

0 Kudos
Message 2 of 4
(6,854 Views)

I want  the code of VS2005.  I search sync ,and i do not find any examples.

I use the USB6221, analog is DEV1/AI4,digital is DEV1/line7,is it the same with the example SyncAIAO_DigStart in VS2005 ?

thank you

0 Kudos
Message 3 of 4
(6,850 Views)

That would be ok for you.

For your task, you want to make the two task start at the same time right?

then you only need to share the start trigger.

 

AE YangLiu

0 Kudos
Message 4 of 4
(6,848 Views)