Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent 34410A Time Stamp

With reference to these two posts.

http://forums.ni.com/t5/Digital-Multimeters-DMMs-and/Is-there-a-VI-for-transfering-data-in-realtime-...

http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Tracking-time-for-instruments-measurements-in...

 

I am trying to obtain real time resistance measurements with the DMM device.

 

I understand the maximum number of samples is 5000 in the buffer. However, in obtaining realtime measurements. I would like to have the corresponding time stamp. I have written some code to convert the data into a waveform although I suspect this is not an indication of the actual time stamp when the resistance is acquired. Also I noticed 10 samples takes a different amount of loops to be acquired each time I run it.

 

So any suggestions as to how I can get something useful. The sample rate I wont to be in the kHz range if possible.

 

Thanks,

Darren

 

 

0 Kudos
Message 1 of 2
(3,466 Views)

Hi Darren,

 

In your original post, Dennis brought up a really good point:  "Getting a timestamp from the instrument is a function of the instrument. Some instruments have an internal clock and some don't."  This would give you the ability to get a timestamp that corresponds accurately to each sample. 

 

In your attached application, you are writing waveform data to a Waveform Graph and Chart.  The timestamps associated with waveform data are calculated by using t0, dt and the index for the value.  Unfortunately, this is not an accurate representation of the timestamp associated with each sample, but nonetheless, it will give you a timestamp.  You do have the option to adjust the initial time of the first sample (t0) and adjust the increment or step between time values (dt).  You can use this ability to simulate a timestamp of each sample that is closer to your actual start time and rate, but unfortunately, without an onboard clock capable of time-stamping on your instrument, you won't reliably be able to timestamp each sample accurately.

Regards,

Sara Lewandroski
Applications Engineer | National Instruments
0 Kudos
Message 2 of 2
(3,450 Views)