I've written a program to measure 30,000 points of voltage data over a specified amount of time (Called "sweep time"). When the sweep time is set to <=8.33 seconds, the program works without any difficulty. However, when sweep time is set to >=8.34 seconds, only half of the required data, 15,000 points, is taken. This sweep time corresponds to about 300 pps, so I thought it might have something to do with my hardware, but when I rewrote the program with a virtual voltage channel the same thing is happened. What could possibly be causing this?
The data is printed onto a spreadsheet whose default location is "C:\Users\localadmin\Desktop\test_print". This can be changed in frame 2 of the stacked sequence. This spreadsheet file can be opened with Excel, which is how I have been determining the number of data points being recorded. (When the problem occurs, you will see a 0 on the last 15,000 voltage data).
I've attached the VI in question. Any help would be greatly appreciated.
↧