Jump to content

Danny Cote

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Danny Cote

  1. After firmware upgrade I got a new state never seen before: 

    Call: FDwfDigitalInStatus() during record operation

    I got status == 6 and this status is not present in defined state:

    # instrument states
    DwfStateReady        = c_ubyte(0)
    DwfStateConfig       = c_ubyte(4)
    DwfStatePrefill      = c_ubyte(5)
    DwfStateArmed        = c_ubyte(1)
    DwfStateWait         = c_ubyte(7)
    DwfStateTriggered    = c_ubyte(3)
    DwfStateRunning      = c_ubyte(3)
    DwfStateDone         = c_ubyte(2)

    Since two entrries have same value, can you confirm what is the state == 6

  2. I have to do this programmatically, context is that Digilent device can be used by physical user throught the GUI and forget to close the GUI after their debug session.  After that I have an automated process(started by a regression server like Jenkins) that will try to use the device locked by Waveform so regression will fail

    By the way, I found a workaround that seems stable (I have started the test in loop several times without any issues)

    Workaround is:

    -Try to open Digilent device

    • -Catch error when device is busy

    -Disable Digilent device using pnputil

    -Kill Waveform using taskkill

    -Enable Digilent device using pnputil

    -Open Digilent device 

    Regards 
    Danny

     

×
×
  • Create New...