Search the Community

Showing results for tags 'python script'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments and the WaveForms software
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 5 results

  1. I am using the python API for Waveforms to interface an Analog Discovery 2 and are trying monitor a voltage. The problem is that the measurements on channel 1 are capped to about 2.7 Volt wile channel 2 can measure up to 12.5 (the voltage I am supposed to measure) just fine. When I open Waveforms and use the scope there everything seems to work just fine. I am using the example code from AnalogIn_Record.py whit some small cleanup/modifications. Does anyone have an idea what I might be doing wrong? """ DWF Python Example Author: Digilent, Inc. Revision: 2018-07-19 R
  2. Hi, With Waveforms, I can output the DC voltage of the digital signals, i.e. 3.3V on DigitalDiscovery. But with a python script, I use : # set voltage to 3.3 V (DD) dwf.FDwfAnalogIOChannelNodeSet(hdwf, 0, 0, c_double(3.3)) # enable positive supply dwf.FDwfAnalogIOEnableSet(hdwf, 1) # enable VIO But, I cannot the get the 3.3V voltage reference. What is missing ? Thanks, BRgds, Laurent
  3. Hi, How to change the digital voltage and drive of the output pins dIO31-24 with a python script driving a digital discovery ? How to read the current of the vIO with a python script ? And how to turn it on ? Thank you, Laurent
  4. Hello, I'm using the AD2 and would like to use Python to play an imported signal of arbitrary length (like in the function AnalogOut_Play) while at the same time acquiring data (like in the function AnalogIn_Record). Is there a straightforward way of combining these two functions?
  5. Hi, I am capturing traces and storing the data using the analog discovery 2. The FDwfAnalogInStatusData() stores the data as double. I want to store the data as binary or integer retaining the precision. Is there a workaround? The source code for the function isn't available so I cannot change that. Following is the snippet of the code ################################################## while True: dwf.FDwfAnalogInStatus(hdwf, c_int(1), byref(sts)) if sts.value == DwfStateDone.value : dwf.FDwfAnalogInStatusData(hdwf, 1, sample_list, 8