Jump to content

attila

Technical Forum Moderator
  • Posts

    6,956
  • Joined

  • Last visited

Posts posted by attila

  1. Hi @rainerle

    Did you try restarting your machine having the device unplugged?
    Restart is better than Shutdown. The Restart cleans up UEFI-system-driver cache which could contain invalid device info.

    Did you try with and without the driver-filter? This can be found in the WaveForms DMG
    Old macOS version require the driver to be installed, new macOS versions don't require it, on some new Mac hardware it may not work with the driver.

  2. Hi @Slawek

    The Script tool provides access to most of the control behind the interface, a lot of objects and functions.
    The commonly used ones are listed in the app Help and the Ctrl+Space can be used to reveal the child objects.
    The Script access for scope-measurements-reset is currently not available but it will be in the next version.

    Thank you for the clients since the feedbacks make the app evolve :)

    image.png.ac2df7cc4eb096ccf28d34b07aaaa546.png

  3. Hi @reddish

    With 2 devices I can reproduce the issue you are describing.
    Earlier I have tried with only one device and two application.

    @malexander

    Having 2 devices with separate apps connected to them. After killing one app or exit without disable/close, the following apps can't connect the device.
    The JtscInitScanChain fails with scerrInitFailed. May be the DPTI enabled flag remains set in FTDIFW and JTAG enable fails?
    Could we solve this problem?

  4. Hi @reddish

    I just tested it under Ubuntu 12.4 amd64.
    I can connect to the device even after the other connected process was killed and busy flag is stuck.

    Which Adept Runtime runtime version are you using?

    I have tested it with 2.20.1 and .2

    $ dpkg -l digilent.adept.runtime
    ||/ Name           Version        Description
    +++-==============-==============-============================================
    ii  digilent.adept 2.20.1         Digilent Adept Runtime

     

  5. Hi @reddish

    The device info is cached by Adept Runtime in shared memory. This is required because some info may be unavailable when a device is opened by another process.
    In case an app which uses a device crashes or is killed, the busy/opened flag will not be cleared. The clear is also performed in normal detach.
    When the last app using Adept Runtime closes, this gets unloaded from memory together with the info cache.
    However a stuck flag does not prevent an app to connect to a device.

  6. First, install WaveForms release or the latest WF beta version.

    T&M devices can be controlled from LabView using:

    - Digilent WaveForms VIs or digilent_waveforms_vis-1.0.3.26.vip
    Contains VIs similar to VirtualBench VIs, some examples, help and it is compatible LabView 2010 or newer.
    Provides limited access to device features.

    - Analog Discovery Toolkit for LabView
    Not recommended. It is a re-branded version of previous package.
    In order this to work, delete the wrongly included dwf.dll from LabVIEW 20XX/vi.lib/Digilent/_AD2 Toolkit_internal_deps/

    - WaveForms SDK
    The API can be used with LabView/Tools/Import/Shared Library. See the LabForms project as example.
    You can find manual and several Python sample scripts under WF SDK/samples/py

    All above can be used with Windows. For Linux and MacOS the .vip archive needs to be extracted.

    image.png.8907c3a6bd1370ac9e03ebe547e1097e.png

    image.png.7ddf8d78a32ee05b6f5aa027826d262b.png

     

  7. Hi @Cappernicus

    If the USB data lines are good and the 3.3V rail is good but the device is not detected most probably the USB controller is damaged.
    On AD1 the USB is supplied with DVCC3V3 and on AD2 from USB 5V.

    The pull-up should have helped if the EEPROM was accidentally reprogrammed to use the Suspend option.
    In Suspend the device is not detected and VCCA is down. In this case the other internal rail VCCCORE is still on.

    At this point I don't have any other idea than replacing the USB controller...

×
×
  • Create New...