I'm a student doing research with a professor of mine. I'm using an HP (Agilent) 53131A Universal Counter to count frequency data. What we hope to do (provided that it is not impossible) is to take frequency data with a gate time of about 0.8 seconds. However, when we used LabVIEW to control the counter there is a significant delay between each measurement. In other words, the frequency measurements slowly drift (Whenever I set the gate time to 5 seconds and timed the measurements, the first measurement occured at 5 seconds, the next at 10 seconds, but then it starts to drift and they occured at 11s, 16s,21s,27s,32s,38s, and so on). So my question is: is it possible to take this frequency data without this drift/delay between measurements? If so, how can I do this using LabVIEW.
What I have tried so far is to use LabVIEW's Instrument I/O Assistant, but this resulted in a significant delay between measurements. I then downloaded drivers for the HP (Agilent) 53131A Counter and tried using the example code provided with those drivers to take the measurements and I was unable to even control the gate time very easily. I also have the NI 488.2 drivers and the NI VISA drivers which I have not tried using. Would either of these be faster? Is what I'm trying to do possible? Is it that remotely controlling the device simply results in too much delay for what I hope to do? Due to my lack of experience, I just don't know the answers to these questions and hope that all of you experienced developers could assist me. Also, if it's possible I wouldn't mind setting my VI up to where it simply records the data from the HP Counter instead of trying to both initialize/configure the counter and record data. Thank you in advance for any and all help. I hope I've provided enough information and haven't asked too many questions.