Search the Community

Showing results for tags 'analogout'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 2 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, 1000.0); FDwfAnalogOutNodeAmplitudeSet(hdwf, 0, AnalogOutNodeCarrier, 1); FDwfAnalogOutNodeOffsetSet(hdwf, 0, AnalogOutNodeCarrier, 1); FDwfAnalogOutRunSet(hdwf, 0, 2.0/1000.0); FDwfAnalogOutRepeatSet(hdwf,0,0); FDwfAnalogOutConfigure(hdwf, 0, true); FDwfAnalogInTriggerAutoTimeoutSet(hdwf, 0); FDwfAnalogInChannelRangeSet(hdwf, 0, 5); FDwfAnalogInBufferSizeSet(hdwf, 40); FDwfAnalogInFrequencySet(hdwf, 10000.0); FDwfAnalogInAcquisitionModeSet(hdwf, 0); FDwfAnalogInTriggerSourceSet(hdwf, trigsrcAnalogOut1); FDwfAnalogInTriggerTypeSet(hdwf, trigtypeTransition); FDwfAnalogInConfigure(hdwf, 0, true); while(true){ FDwfAnalogInStatus(hdwf, true, &sts); if(sts == DwfStateDone){ break; } } FDwfAnalogInStatusData(hdwf, 0, rgdSamples, 40); // This acquisition ins not starting at the offeset point but at the falling edge
  2. I am trying to write a custom application using the SDK in python that will synchronize a number of pulses (with a variety of frequencies and pulse widths) on both the analog and digital pins, to synchronize several pieces of equipment in my lab. I would like to start a pulse on DIO-0 and let it run for several minutes, and then click a button which starts pulses on the two AWGs which are synchronized with the ongoing digital pulse. I think the best (or most straightforward?) way to do this is to enable or configure the analog pins on the button click, and then trigger the AnalogOut AWGs on the rising edge of the next digital pulse. The AnalogOut should pulse for a specified length of time (1-5seconds), then turn off while the digital pin keeps pulsing. The TriggerHoldOff command would be great so I can trigger the AWG on the next DIO pulse (but not all subsequent pulses), but it looks like it only exists for AnalogIn -- any other ideas on how do this? Also, is there a way to count the number of digital pulses which were sent before the AnalogOut was triggered?