Jump to content
  • 1

LabView


attila

Question

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

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Before version 3.15.5 the maximum number of captured samples (acquisition time X sample rate) was equal to the default Scope buffer size, which is 8192 for AD2. Setting it higher it was silently limited to this number.
Since version 3.15.5 recording will be used when specifying to acquire more than the buffer size. This requires the Read to be called immediately after Run. The Force trigger can be called from separate a thread. Adjust the analog and digital array size in the MSO Read Block Diagram as needed.

Link to comment
Share on other sites

  • 0

The ADP5250 can be used from LabVIEW with the VirtualBench driver. See:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x15jCAA

The driver can be installed manually to newer LabVIEW versions like it is described here:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kJXaSAM
Like from C:\Program Files (x86)\National Instruments\LabVIEW 2019\... to C:\Program Files\National Instruments\LabVIEW 2021\...

Link to comment
Share on other sites

  • 0

To use the VIs under MacOS:
- install the WF Runtime: from digilent.waveforms...dmg and drag dwf.framework to Frameworks
for Linux:
- install digilent.adept.runtime...deb/rpm and digilent.waveforms...deb/rpm

- extract (unarchive) the digilent_waveforms_vis...vip
- open the examples under vip/File Group 0/ examples/ DigilentWF/
- if asked for VIs provide the vip/File Group 0/ vi.lib/ DigilentWF/

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...