Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make timestamps with NI6601 counter

Hi

I'm trying to make a program that would call a subprocedure after a certain time periods, for example every four seconds for two minutes. I planned that this could be done with taking a timestamp and waiting in a loop until the time period has elapsed. The timestamps should be created by using NI 6601 counter in Visual Basic .NET, but I don't have the slightest idea how this could be done. The timestamps are not supposed to represent absolute time but the time relative to each subprocedure call.

I'm new to programming these measurements in general so I would appreciate a small example code a lot.


Thanks in advance!
 -Teemu


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