-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi,
I am trying to use this driver to trigger a 2602B SMU to perform some measurements but I am facing timeout errors while using the waitcomplete function as suggested in the manual. Have you tried it ? and have seen it to work?
this is the lua code example I am trying to replicate :
smua.trigger.source.linearv(10, 100, 10)
smua.trigger.source.action = smua.ENABLE
-- Configure TRIG key press as input trigger for source action.
smua.trigger.source.stimulus = display.trigger.EVENT_ID
-- Command SMU to execute a single 10-point sweep.
smua.trigger.count = 10
smua.trigger.arm.count = 1
-- Turn on the output in preparation for the sweep
smua.source.output = smua.OUTPUT_ON
-- Start the sweep and clear the event detectors.
smua.trigger.initiate()
-- The SMU will wait for the front panel TRIG key press before executing
-- each source action.
-- Wait for the sweep to complete.
waitcomplete()
it works after pressing the TRG button on display for a couple times but then face timeout!
Do you get a similar problem? should I add python based pause ?
thanks
Soha
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels