Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Counter to generate event after certain counts

Hi everyone,

I would like to use my PXI card to generate an event (to my software) every say, 100 counts(for 100kHz Timebase). In other words, is it possible to generate an event every 1 ms based on the counts on the counters.

 Also, is it possible to reset this counter based on the GPS 1 PPS? I wanted to sync this counter with the incoming GPS PPS. Thanks!

Regards,
YB
0 Kudos
Message 1 of 4
(3,787 Views)

Hello,

It is possible to reset a counter using a boolean input. If you could convert you GPS PPS signal to a boolean array, this idea applies.  I'm linking a knowledgebase article that demonstrates how to reset a counter. It should be very useful in getting you started.

http://digital.ni.com/public.nsf/allkb/65E3DBC715998C3286256E900075B7F8?OpenDocument

Best wishes,

Wallace F.

National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(3,746 Views)
Hi,
Thanks for the help. I am reading the link you posted and is experimenting with the suggestion. I will update the progress once I got it right. 😃

YB
0 Kudos
Message 3 of 4
(3,711 Views)

Could you tell me why I got an error ("You are not authorized to view this document") when I clicked on the above link?

 

thanks,

0 Kudos
Message 4 of 4
(2,979 Views)