LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Timed Loops

I am trying to use a timed loop in my application. The only timing source available is the 1Khz clock on the CPU. I am using a PXI-8176 CPU in a PXI-1045 Chassis. I have found that the timed loop using the 1 kHz clock is not very accurate. When comparing the loop time versus a reference clock it lags by approximately 6 seconds in a 12 hour period.

Is there a way to use the 10 Mhz reference clock available on the PXI bus?

I have also tried using the counter on a PXI-6031E card but have not had much success.
Message 1 of 4
(3,574 Views)
Hi,

It is not possible to use the 10 MHz clock from the PXI backplane in your timed loop.

There is a 1 MHz clock available if you have the LabVIEW Real-Time module installed on your 8176. The RT module will also enable you to use a counter from your DAQ board.

LabVIEW Real-Time Module


Please reply if you are interested in more help using a counter on your E-series device and I'll notify one of our DAQ specialists.

Andrew A
Applications Engineer
National Instruments
Message 2 of 4
(3,519 Views)
I am trying to configure the timed loop to utilize the counter on a DAQ Card in lieu of the 1Khz clock on the CPU. I have included a vi demonstrating how I plan to implement this strategy.

I have also found that if a timed loop configured to process missed iterations is stopped and placed in an idle case, it will continue to count iterations based on its period and when made active again will process the missed iterations. Is this normal?
0 Kudos
Message 3 of 4
(3,488 Views)
Check out this example program, this might be close to what you are trying to do:
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=EDFBFDB844C96972E0340003BA7CCD71&p_node=%20201207&p_source=External
-Alan A.
0 Kudos
Message 4 of 4
(3,432 Views)