LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the 1588 card as a heartbeat for a program

We got the 1588 boards to replace our old IRIG boards that was within our PCs running Windows XP.  We use these boards to furnish a heartbeat for our program.  The IRIG board did this thru an interrupt.  Pass it the time between interrupts, our case 10ms, and a function handle.  Then every 10ms that function is called and we can do our processing.  I need to emulate this function with our 1588 card; how, I don't care.  But I need to have some method to execute a piece of code on a regular period that is much more accurate than windows OS can give.  I've been researching your sites and haven't seen anything to address this issue.  Is there a method that I can get this heartbeat from the 1588 card?

 

Thanks,

Daron

0 Kudos
Message 1 of 3
(3,289 Views)

It sounds like you want to use the PCI -1588 to generate a clock and then use that particular clock to control the exeuction in your software.  Unfortunately this is NOT what the card was designed for this is a card that provides a timing source and synchronization option to ensure that entire system of chassis are all operating on one single timing source.  This ensures that these chassis have a synchronized timebase. This card does not output a clock or triggers/interupts it is therefore not suited for your particular system.  

 

It sounds like you are trying to push the limits of the windows OS when in fact you should be looking for a better solution like a Real time OS

Charley Dahan

Global Account Manager
0 Kudos
Message 2 of 3
(3,256 Views)

Is this in Windows or LabVIEW RT?

 

While it currently supports some LVRT targets, we have plans to extend this to support the PXI-6682 and PCI-1588 in the future as well. A beta will be made available on this same page. An alternative is to query the board's time continuously which, while inefficient might work.

0 Kudos
Message 3 of 3
(3,218 Views)