LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multi trigger measurements with a keithley 2100

Hi all,

 

I am using a Keithley 2100 DMM to measure voltages through an USB bus. I am using an agilent multiplexer to route different chanels to be measured by the 2100. A labview software control the two instruments.

If I use a labview  “read single” KE2100 function between each switch of the agilent the program works well. The problem is I would like my measurement to be done faster. So I am trying to store the measurements in the buffer and collect all the data at the end. It goes like this:

 

  1.       Configure the trigger

(sample count=1 , trigger count X, trigger source: bus)

 

2.       Initiate the trigger (VISA INIT)

 

3.       Trig the measurement with “*TRG” X time in a for loop

 

4.       Fetch the data

 

For some reason I cannot collect these data, I just get one or sometimes two measurements

 

Does anyone know what the problem is? Many thanks for your help !

 

PS: enclosed a simple labview version of what I would like to do

0 Kudos
Message 1 of 4
(3,075 Views)

Hi maxbonneteymard,

 

you are using VIs from Keithley to configure the DMM. I think, this is a problem you should discuss with Keithley since they develop and provide the VIs and driver for it.

 

Best regards,

Melanie

Best regards,
Melanie Eisfeld
Senior Applications Engineer, National Instruments Germany
Certified LabVIEW Developer
Certified TestStand Architect
0 Kudos
Message 2 of 4
(3,033 Views)

Hello Melanie,

 

I discussed with them indeed and it seems it is not possible to trig from the bus in case you just have a USB bus and not a GPIB one. Therefore I will try  to trig the DMM measurement with the "channel closed output" from the MUX and see if it can work like that.

 

Best regards,

 

max

0 Kudos
Message 3 of 4
(3,029 Views)

Hi Max,

 

since I guess you use a special driver for the switch, too, could you help me understand what your code exactly does by posting a screenshot of the VI of the switch, too, or post the VIs?

 

Thank you,

Melanie

Best regards,
Melanie Eisfeld
Senior Applications Engineer, National Instruments Germany
Certified LabVIEW Developer
Certified TestStand Architect
0 Kudos
Message 4 of 4
(3,027 Views)