LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Counter output using DAQ-assistant and NI 6343

Hi,

I am using DAQ assistant in Labview in order to use two counter output.

Firstly, I used one DAQ assistant to produce two counter output. The two counter output showed proper result (20180618_7_work.vi), when  I checked the two counter output by using a oscilloscope.

In order to obtain two counter output independently, I used two DAQ assistant in new vi code (20180620_1.vi).

Because of my plan is one counter output continuously works and other counter output works during specific time.   

However, when I check the two counter output by using a oscilloscope, time interval between two counter output is not constant (For example, the time interval in 1st measurement was 1ms, but the time interval in 2nd measurement was 5ms.) I don't know exact reason. I think the issue may relate with synchronization.

In order to solve the time issue of the two counter output, how should I do?

Hoping someone may be able to help.

Thank you.

 

Download All
0 Kudos
Message 1 of 3
(2,410 Views)

Hi jjo,

 

In order to solve the time issue of the two counter output, how should I do?

Get rid of those ExpressVIs and use plain DAQmx functions

 

Most of the stuff is explained in the example VIs coming with LabVIEW - 99.9% of them don't use ExpressVIs!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,363 Views)

Ok, I understood. I will try it. 

Thank you.

0 Kudos
Message 3 of 3
(2,351 Views)