Skip to content

timeout error from waitcomplete() function  #19

@soha-namnabat

Description

@soha-namnabat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions