LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keithley 2000 and 7002 with trigger link

Hello!
I am writing an application for the 2000 DMM and a 7002 switch system. The instruments are set up with trigger link. What I want to do is simply to load a scan list to the 7002, scan and read back the results from the 2000. Here is what I have so far in terms of SCPI (I have looked at the Keithley LV drivers but I think they complicate stuff + there are no high level functions for trigger link setup included):
 
DMM *RST
SW *RST
SW Open
SW Scan (@2!1:2!40)
SW :TRIGger:SOURce TLINk
SW :TRIGger:TCONfigure:PROTocol ASYNchronous
SW :TRIGger:COUNt 40
SW :ARM:LAYer2:COUNt 1
DMM :TRIGger:COUNt 40
DMM :TRIGger:SOURce EXTernal
DMM :INIT:CONT ON
SW :ARM:LAY1:SOUR IMM;COUN 1
SW :ARM:LAY2:SOUR IMM
SW :INIT

DMM :TRACE:DATA?
   
Please advise,
Stefan
0 Kudos
Message 1 of 4
(2,987 Views)

I should add that what happens after executing my code up until the second last row...is nothing.

The scan begins as expected if I press the STEP button on the 7002 front panel (after going LOCAL) which suggests I am doing something wrong with the initiation of the trigger layer. Perhaps.

/Stefan

0 Kudos
Message 2 of 4
(2,981 Views)

Solved! The only thing needed was to command the swithch

:TRIGger:IMMediate

after the :INITiate

0 Kudos
Message 3 of 4
(2,974 Views)

hi morgue!

I am doing a program like your, but with Keitlehy 2001.

To make the syncronization you wrote just these lines? I am doig this in labview, with the programs found in the drivers given by keithley but is not working properly. When I put the triger link, it scans and show just the first measure.

Do you still have this programm?

thank you 

0 Kudos
Message 4 of 4
(2,505 Views)