Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i measure the transmision time in gpib with visual basic with more precision if i use time() function?

I want to take a measurement of the time that i use to make a gpib transmision in a Visual Basic program,i use the function TIME() to take the time in the begining and other time in the end,but this way only give me precision of seconds, and i want miliseconds,can i use other function,other way?
Can answer in spanish?
0 Kudos
Message 1 of 2
(2,891 Views)
Try using GetTickCount() API function, which provides millisecond precision. If you need more precise timer, try using QueryPerformanceCounter() function.

Makoto
Message 2 of 2
(2,891 Views)