Hi,
Thanks for contacting National Instruments. Are you wanting to trigger an acquisition or output every 100ms or cause a VB Event to occur?
If you want to trigger an acquisition or output every 100ms you can use the counter/timers to generate a pulse every 100ms. This can then be used as a trigger. To do this you will need to change the terminal count of the counter to a lower number, then it will roll over faster. You can configure it to roll over every 100ms.
If you are doing software events then there may not be a more exact way than using the VB timer. In our CVI software package we have something called an asynchronous timer which is basically a software timer just as you are using, but it runs in a different windows thread. Therefore it is not a
ffected or changed when your program runs, it stays very exact (to milliseconds). We don't have any information on this in Visual Basic but it's something you could do some research on if it seems helpful.
If you are still stuck, send me some more info on your application and we can go from there.
Erick D.
NI Applications Engineer