Jump to content

Question

Posted

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

T&M devices can be controlled from LabView using:

- LabVIEW WaveForms Toolkit 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.

- 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

 

4 answers to this question

Recommended Posts

  • 0
Posted

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.

  • 0
Posted

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

Edit: WaveForms 3.22.24 and newer installs nilciuserapi.dll (Analog Discovery Pro 5000 series/ LabVIEW support)

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\...

  • 0
Posted

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/

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