PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Delay Issue in Signal Measurement with PXI-4071 and PXI-6221 Using External Trigger

 

Hello NI Community,

I am currently conducting tests using PXI-4071 and PXI-6221 to measure signals from a 50Hz function generator, as shown in the attached code image. I am utilizing a TTL signal from the function generator as an external trigger. However, I consistently encounter a delay in the measurement signal of the PXI-4071.

Could this delay be an issue with the code? My ultimate goal is to synchronously acquire a sinusoidal signal when the external trigger is input. Any insights on how to achieve precise synchronization without the delay would be greatly appreciated.

Thank you for your assistance.

0 Kudos
Message 1 of 4
(760 Views)

Sorry.
Here is the image.

0 Kudos
Message 2 of 4
(759 Views)

Kindly please attach your code. We cannot debug an image. Not to mention that your configuration is in the front panel and most of us don't understand Japanese or know what API you are using.

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 3 of 4
(719 Views)

It is difficult to tell from the screen shot of the block diagram, but one thing that should help is to call niDMM Initiate.vi before DAQmx Start. This allows the NI-DMM time to configure its trigger lines to start listening prior to the othe

 

How much delay are you seeing? There is always going to be some delay due to electrical propagation speed, so knowing how much you are seeing is key missing information.

Tobias
Principal Software Engineer
Driver Software
National Instruments
0 Kudos
Message 4 of 4
(681 Views)