-
Posts
6,655 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Posts posted by attila
-
-
Hi @bill v
The newer WF software should warn you to install or remove the driver, depending on MacOS version.
-
-
-
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/pyAll above can be used with Windows. For Linux and MacOS the .vip archive needs to be extracted.
-
Hi @wna
Thank you for the observation.
It will be fixed in the next version. -
Hi @tomas61
You could use start or exec functions to call an external application to perform the task.
-
-
Hi @Giovanni
First of all, connect to the device with WF application in order the analog circuitry to be enabled.
The VREF1V2_AWG and VREF1V_AWG is generated by the IC42. You should also verify the 3V3 input of this.
These are buffered by IC13 as VREF_AWG1/2.
https://reference.digilentinc.com/reference/instrumentation/analog-discovery-2/reference-manual#awg_reference_and_offsetYou can find the respective layout sections in the following post:
https://forum.digilentinc.com/topic/4714-analog-discovery-waveform-generator-failure/?do=findComment&comment=19153 -
Hi @sintech
First of all I would like to thank you for this post.
1. I have added Select option for Events view.
2. First value drawing alignment is fixed for the next release.
3. In Protocol under View menu you can find option for "Max. Lines" to prevent slowdowns. The load also depends on the line (message) length, so you can try to use a line limit of 100...
4. The next macOS version will fix one possible software issue. You can post it here, or send steps to reproduce or report log to me in private message.5. You are right. I wanted to make this Play mode a bit more user friendly before documenting it.
6. At the moment you can use ROM Logic in Patterns to output on an unused DIO line and capture it together with the input data.
7. I will add export "all events" later.
8. Added name to 'Add signal" for the next release.
9. I use to add Labels or Note to describe the channels, cursors...
Would it be convenient to have Name column in the Cursor View and tooltip on the cursors buttons ('1 v', '2d1 v'...) ? -
-
-
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...
-
-
Hi @Cappernicus
The VCCA is an internal rail of the controller.
It should be measured on the marked capacitor, above the 'IS' of the 'discovery' label.According the AD2 EEPROM setting the PWRSAV# option should not be used. This signal is used with a 10k pull-down for other purpose.
If you suspect this to be the problem you can try to solder a temporal ~2k pull-up to OE_JTAG and DVCC3V3. See the bottom layout:
Connect USB, use the WaveForms application/ Device Manager / "My device is not listed" to reprogram the EEPROM.
Disconnect and remove the pull-up.To test this, I have configured the AD2 to 'Suspend on ACBus7 Low' and 'Self Powered'
The VCCA was indeed low and device not detected.
With the above method I was able to recover it. -
Hi @tomas61
See the Help tab, press F1 or Browse under Help menu.
1. To round a number to 2 decimals you can use: round(value*100)/100
2. To format the number for text conversion use: value.toFixed(2) -
-
-
Hi @Toladar
The programming probably fails because the device is busy, opened as COM port.
On Windows open Device Manager:
- make sure the "Load VCP" is unchecked. If it is, uncheck and reconnect device.
- make sure the driver version 2.12.28.0 update from Windows update or https://www.ftdichip.com/Drivers/CDM/CDM v2.12.28 WHQL Certified.zip -
The AD2 max sampling rate is 100MHz. The Logic Analyzer device buffer size is 4/16k
In Logic Analyzer you can have measurements for all DIOs. -
Modulating of external signal is not supported, but I will add such option in the a few months.
-
Are you look for such signals?
You can try the software/hardware features in demo mode:
https://reference.digilentinc.com/waveforms3
https://forum.digilentinc.com/topic/8908-waveforms-beta-download/ -
Could you help in this issue?
When I run the Enumerate.py the first time the FTDI lib returns no data. The following runs however are correct.
Could you try running the script twice?What Linux distribution/version are you using?
Could you try the device with Windows or MacOS?
$ python Enumerate.py
FTDI Version: 0x10408
Devices: 1
1. SN: flags: 0x1 type: 0x3 id: 0x0 locid: 0x0DMGR Version: 2.8.8
Devices: 1
1. SN:210321A419AA Analog Discovery 2 PDID: 0x40300360DWF Version: 3.13.15
Devices: 1
1. SN:210321A419AA Analog Discovery 2$ python Enumerate.py
FTDI Version: 0x10408
Devices: 1
1. SN:210321A419AA Digilent USB Device flags: 0x2 type: 0x8 id: 0x4036014 locid: 0x103DMGR Version: 2.8.8
Devices: 1
1. SN:210321A419AA Analog Discovery 2 PDID: 0x40300360DWF Version: 3.13.15
Devices: 1
1. SN:210321A419AA Analog Discovery 2
-
Hi @Toladar
Try reinstalling Adept Runtime:
https://reference.digilentinc.com/reference/software/adept/startTry running the Enumerate.py
You only have to reprogram the EEPROM in case it was accidentally erased with some USB development application, like FT_PROG
-
Hi @ThaRev
The recording on Digital Discovery is performed as normal capture in one chunk in DDR. Only the data from here to computer is transferred in smaller chunks.
Transferring 256MB over USB 2.0 takes about 8 seconds. Doing it in smaller chunks (with record) gives to feedback on the progress and possibility to cancel it.The Record mode is for traditional Logic Analyzer usage: specify rate, samples and position. Changing the view (zoom, pan) does not affect the next capture setup.
Transferring and processing large amount of data takes time, so you capture wait and inspect the data for longer time.The Repeated mode is for Oscilloscope like usage for timing or bit level analysis. Changing the view will affect the next capture.
It is done with less samples so processing takes less time. Lets you quickly zoom in and increase sample rate automatically to have better resolution for the next capture.
For smooth scan Screen or Shift mode we also need low amount of samples.The next software version will let you capture max samples in Repeated mode with Digital Discovery.
Thank you for sharing you opinion.
WaveForms counter?
in Test and Measurement
Posted
Hi @Ondrej
You can use Measurements or "Quick Measure":