LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to achieve the timing A contain timing B in the same block diagram?

Hi Jason,

 

usually DAQmxTiming is used after CreateTask/CreateChannels and before StartTask.

As is shown in the DAQmx example VIs coming with LabVIEW…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 21 of 23
(754 Views)

Hi GerdW,

 

But if I use the DAQmxTiming between channel and startTask, the timing won't influence the data in the loops. The data in the loops will run like crazy.

 

So how to do it to make the data in the loops run based on the DAQmxTiming? I am not sure about it. Can you give me some advice?

 

Thanks again!

 

Best,

Jason

0 Kudos
Message 22 of 23
(751 Views)

Hi GerdW,

 

Thank you very much for your reply!

 

You get two bit streams (aka TTL signals) on two DO pins.

As they have a purpose/meaning you need to wire them (using real copper wire Smiley Very Happy) to your "clk pin of the chips", whatever that is…

For the two bit streams, I am still not very clear about :

 

1. how to generate the TTL signals cyclically to control the Timing settings?

2. My scanning part is only a dual-decoder with no clk pin and only the shift register of data part got clk pin for the TTL input. So how to input the two TTL with only one clk pin?

 

Thanks a lot!

 

Best,

 

Jason

0 Kudos
Message 23 of 23
(725 Views)