Search the Community

Showing results for tags 'waveformssdk'.

  • 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 7 results

  1. Hi, I'm recently working on the Waveforms SDK with the Analog Discovery 2. I manage to trigger my AnalogIn with the AnalogOut sinus that I generate. My aim is to acquire my sinus in order to calculate the phase shift. Is there a way to get the delay between the start of the AnalogOut generation and the trigger pulse attached to it ? Thank you. Here is the code that I'm using : FDwfAnalogOutNodeEnableSet(hdwf, 0, AnalogOutNodeCarrier, true); FDwfAnalogOutNodeFunctionSet(hdwf, 0, AnalogOutNodeCarrier, funcSine); FDwfAnalogOutNodeFrequencySet(hdwf, 0, AnalogOutNodeCarrier
  2. Hello Digilent Forums, I am trying to write a Python script for the impedance analyzer. I am reading the WaveForms SDK and following examples. I noticed all methods in the examples that use the dwf (Ex: `dwf.FDwfDeviceOpen`) use positional arguments. In the SDK, it lists the parameter names/types for the method (Ex: `FDwfDeviceOpen(int idxDevice, HDWF *phdwf)`). I have tried and failed to figure out how to specify them using keyword arguments instead. Is it possible? Thank you in advance for your help!
  3. Hi, I combined a few python scripts from the SDK (AnalogIn_Acquisition, AnalogOut_Play and AnalogOut_Sine) to write a script which is intended to run during the night and save the scope's data into a WAV file. All looks somewhat okay, but there are a few things that don't look perfect. For this test, I connected CH1 and W1 and started both the Scope and Signal generator in the script. I'm intending to generate a 80 Hz sine wave and record it with the scope running at 8 kHz. I attach the whole script, and here are the important parts: # set up signal generation channel =
  4. I need to spy on an SPI connection for a long period of time which will require timestamps on the data to find approximate times of transmission. As this is not possible in Waveforms (which is a real shame) has anyone written any software that uses the SDK to do something similar to this? It would save me a bit a work if there was already an existing solution. - Callum
  5. Hi. I'm working with the SDK and finally got to the point that I can control the Vcc power supply to be either 3.3 V or 5.0 V. It seems the channel numbers are 0 = Vcc, 1 = VP+, 2 = VP-, 3 = Vref1 and 4 = Vref2. Something like this dwf.FDwfAnalogIOChannelNodeSet(hdwf, c_int(1), c_int(0), c_double(True)) dwf.FDwfAnalogIOChannelNodeSet(hdwf, 1,1,c_double(1.86)) will work fine and give me 1.86 V or close to it, but if I try to go past about 2 V, it seems like it can't get there and fluctuates a lot. I'm not sure of the difference between AnalogIOChannelNodeStatusInfo and Analog
  6. I've worn Google out trying to find the answer to what I bet is a simple question. Part of my problem may be weak Python skills and almost nonexistent C skills. I'm using the Python examples in the SDK to turn on the 5 V power supply and then record data from both channels. I used AnalogIn_Record.py and made what I thought were reasonable changes, but no joy. I can record one channel or the other, but not both. I feel like this is not a hard problem and it must have come up before, but I can't find it so far. Any help would be appreciated.
  7. 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