If you enter the following search string in Google, you get a long list of pages discussing this topic.
read windows "system time" milliseconds
Click
here for a pretty good discussion including the _ftime function which ships with Microsoft Visual C++. You can call the function directly from CVI (if you include the .h files and add the .lib files to your project as discussed at the previous link), but you need to have VC installed.