Hello Andrea, thanks for your reply!
I originally had this issue in the 2.5.0 update, however after updating to 2.8.0 the issue persists and is identical- without any change to the drop in sample rate or the strange effects when I lower the NLPC.
NI IO Trace is a fantastic tool, thank you for recommending it! I've done some investigation into the commands being sent between my device (Laptop) and the 6514 Electrometer itself and identified a few points of lag! I'll go through them a little bit below.
Unfortunately the drop in sample rate
still carries across when raising the NLPC above 0.1. At an NLPC of 1, for example, I appear to be getting a data point every 0.27 seconds, or at a frequency of 3.7 Hz, which is about twice as slow as measurements done at 0.1 NLPC.
As for the results gained from NI I/O Trace, the source of lag seems to be a little different for NLPC 0.1 and NLPC 0.099. I'll attach the raw data (.trace files) as well as some excel sheets I made to make the data usable. Let me know what else I can send that would help!
Also: refined data for
NLPC 0.099
NLPC 0.1:
The sudden drop in sample rate when lowering the NLPC to 0.099 seems to be coming after two commands: viUnlock and viClose. These have lags of ~1.4 seconds.
Weridly, however, the lag doesn't come from the 'Call Duration' (How long the computer and device are talking to each other for), but instead Kickstart just doesn't send another command for those 1.4s after the call is completed. To me, it looks like the software itself is putting its next measurement 'cycle' on hold to process what its just received. Maybe this is tied to the auto-plotting function?
For 0.1, the command which takes the longest appears to be a viWrite "*cls", though the computer only waits between 0.01 and 0.017s, which doesn't seem significant on its own. Instead the lag between commands for 0.1 just seems to be a buildup of each individual step in the 'measurement cycle' (There's probably a proper word for it) taking longer than should.
I'm still not really sure what to make of this, or how I could go about fixing it. If I can supply any more information, please let me know! I'll do my best to include anything that might help solve the issue.
Thank you again for you help!
PS: A few notes on the included Excel files
You might have to unhide a few columns to get the full data. 'Lag time' is simply the time between the commands minus the 'Call Duration', but it doesn't really change much when compared with Time Between Commands. If you want sort the data chronologically, just go to 'Total Time', and sort smallest to largest. The second sheet (Time between Data's) shows how long it is between actual measurements via the command viWrite "data?". Also, out of curiosity I re-plotted the data in the third sheet, 'Actual Data', and it corresponds to the data plotted by Kickstart during these tests.