05-09-2012 10:01 AM
Hi,
The keithley 2000 multimeter datasheets states that it can measure 2000 measurements per second. i know that the GPIB has a limitation of transfering 50 measurements per second.Therefore, what i wish to do is have the device read volt meaurements , store the measurements in the buffer (maximum 1024 measurments can be stored) and then transfer these 1024 measurements to the computer. (i dont actually need it to be 2000 measurements per second, 1000 will do but all i got so far is about 150 and i dont know what i have done wrong).
i tried using the trace command subset but no luck.
anyone tried to do this ? anyone has a relevant code perhaps ?
05-09-2012 10:06 AM
Are you saying that the Keithley has a limitation of 50 measurements per second because the GPIB bus certainly does not have that.
You ask for code but do not mention what programming language you are using. That's a pretty important detail to provide.
05-09-2012 10:57 AM - edited 05-09-2012 11:01 AM
Here's a sample of SCPI commands we once used to digitize a pulse with a Keithley 2000.
*RST // Suspends triggering :FORM:DATA ASCII // ASCII formatted results :SENS:FUNC 'VOLT:DC // Read DC volts :SENS:VOLT:DC:NPLC 1 // Set the sample rate to 1/60 seconds :SENS:VOLT:DC:RANGE 10 // Set the voltage range to 10 volts :DISP:ENABLE 0 // Disable the front panel display :TRAC:POIN 1024 // Set to 1024 points in buffer :TRIG:COUNT 1 // Set one trigger :TRIG:DELAY 0.000 // No (additional) delay between samples :TRIG:SOURCE EXT // Set trigger source to external :SAMPLE:COUNT 1024 // Collect 1024 samples :INIT // Start collecting samples now Wait for acquisition to happen :DISP:ENABLE 1 // Reenable the front panel display :TRAC:DATA? // Get the data
05-09-2012 11:24 AM
1. thanks! this looks like just what i needed!
2. you have a line saying "wait for acquisition to happen" - can i control this somehow? i mean, is there a way to know when the buffer is full ? (or is that exactly the trigger).
3. ill try this first thing tomorrow and let you know how it went.
05-09-2012 11:24 AM - edited 05-09-2012 11:26 AM
and dennis - its gpib to usb. whats the limit on that?
and as the title sais, im using scpi commands with labview.
05-09-2012 11:28 AM
The "wait for acquisition to happen" is simply meant as a break in commands as your program allows the DMM to acquire the data before requesting it.
05-09-2012 12:16 PM
The limit is the instrument. There is no place in the IEEE-488.2 specs that say what a 'measurement' is or how many can be transfered. If you are going to quote some spec, please provide the reference. The NI USB-GPIB has specs of 1.8MB/s and 7.7MB/s in HS mode.
Your title does not mention LabVIEW at all and it is irrelevant that the instrument implements SCPI. For LabVIEW, you should at least try using the available driver instead of starting from scratch. Haven't you seen the Help menu item called 'Find Instrument Drivers'?
05-10-2012 01:36 AM
05-10-2012 09:26 AM
What is your plc setting? How does the VI's settings compare to the instructions in the manual for the faster sample rate possible? Have you contacted Keithley tech support for help in getting what the settings should be?