04-24-2015 12:02 PM
Hi All,
I would like to give commands to 2 keithley2400 at the same time and wish them to do current sweeping simultaneously at real time. That means I have run two loops simultaneously. It seems to be difficulat yet not so difficult since there is no dependency between these two loops... Is it possible? using what structure? The solution i use right now is a simple true/false button with two case structure. And of course it won't work. Sometimes two units will run simultaneously but most of the time they will run in order.
04-24-2015 12:25 PM
Why are there two case structures, you could just put all in one. Same difference.
I don't see the loops you mentioned.
Aren't there trigger capabilites to link the two instruments (trigger link)?
04-24-2015 01:12 PM
04-24-2015 01:40 PM
04-24-2015 03:00 PM
Loop I mean two case structures... sorry for the wording. Yes I can give SCPI commands and use trigger link to trun them on simultaneously, and I'm just seeking possibilities to use labivew to give commands to these units simultaneously.
04-24-2015 03:02 PM
Thanks for your input. Can you give me more info about GPIB functions "GET" to muliple GPIB address? Any reference?
04-24-2015 03:20 PM
04-25-2015 08:56 AM - edited 04-25-2015 08:57 AM
While multiadressing may get you "synchronous" enough it's by no means a guarantee that both instruments will really react equally fast when receiving the trigger command over the GPIB bus. For true hardware synchronized operation you will have to use the trigger bus on the back of the device to connect them together, select one of the 4 trigger lines to use and set them up correctly on both instruments, one as input and one as output and then send the trigger command to the device that drives the trigger line. That will give you synchronisation to microseconds accurate. GPIB multi addressing will be in the range of several milliseconds and sequential GPIB in the range of maybe 100 milliseconds.
04-27-2015 11:21 AM
Thanks for the input rolfk! I know by giving commands and using trigger link I can get complete synchronization. But actually my goal here is just to make them sweep at appoximately the same time and it doesn't need to be totally synchronized. Few millisecond is within my tolerance. These two units work as seperate system and there is no data flow between these two, so that's why I'm seeking possibilities to use LabView to achieve this other than giving commands. Without using commands, I can only make one of them sweep first and the other one go next.
04-27-2015 11:58 AM
Dennis, thanks for your reply. I looked up the function and see I can give a list of addresses, but I'm confused at:
Even though I can trigger these devices at the same time, at what step do I give them SCPI command? How can I do that? Since I still need to give them command sequentially. Or by using triggerlist function I can no longer use SCPI command and built-in functions from Keithley?