Search the Community

Showing results for tags 'trigger'.

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

  1. I am using the Waveforms software as an oscilloscope and I can see the sample rate, but I need to know how fast it's triggering. I am trying to compare the trigger rate at different trigger levels, which is a number I can get on my normal oscilloscope but I don't know how to get on this software. My only thought was setting up a custom measurement, but I'm not sure what exactly that would look like or if that would work. Thanks for any help!
  2. New Digital Discovery user. I did not purchase this device for its excellent documentation or thorough applications examples (which are not so great), but because it can capture SPI at 800MHz with the special adapter. I understand that the Digital Discovery will stream the captured data to memory and I can save it to disk. I'm debugging a difficult SPI issue, and need to see as much detail as possible (hence the 800MHz). Out test code captures some 30,000 rows of 14 consecutive 14-bit reads at an SPI clock speed of 27.5 MHz. This is a whole lot of data. We need to see the protocol capt
  3. Hello, i am trying to trigger an High Speed Pin after a certain length of a pulse. With the waveform software this works perfectly. Inside my c# code the "dwf.FDwfDigitalInTriggerLengthSet" has no effect. It doesn´t matter if i use 30ns or 10s for the minimum length. -> It triggers always directly after the first glitch of about 10ns. Thank you for your help in advance. Steven What am i doing wrong? Here the code: //Number of samples to acquire after the trigger (10 bit with 10Mhz) int number_of_samples = Convert.ToInt32(_frequency/(1e
  4. 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
  5. I build radar systems for a living, and I'm testing the Analog Digilent 2 as an A/D, timing control for other RF hardware, RF switch control, trigger source. Here's what I need to do: Write the software with python using the Waveforms SDK running on Windows 10. Acquire signals on 2 analog channels simultaneously. This must be triggered at a periodic rate on an input other than the two analog in channels. Generate a pulse width of p nanoseconds at an x kilohertz rate. This is a TTL signal. This pulse is used for RF pulse generation, but also as a trigger fo
  6. Because the ScanScreen and ShiftScreen acquisition modes ignore triggers, how do I know precisely when they start the first acquisition? Is it possible to start the analog and digital scan-acquisitions simultaneously to ensure that both data streams are reading/displaying with a common time axis? Or do I misunderstand how these types of acquisition work? My previous approach was to generate a slow pulse and use the rising edge as a trigger to simultaneously start single acquisitions on both analog and digital scopes, then plot and repeat on the next pulse. But this is tedious, I can't g
  7. I would like to know if it is possible to acquire more than one time the buffer on single buffer acquisition (acqmodeSingle) for continuous data after trigger. I want to aqcuire 10 times the buffer on frequency of 100MHz with 8192 buffer size.
  8. I am using analog discovery 2. I am trying to acquire data (for 10ms) of first channel from trigger of second channel signal. this is a part of my code hzAcq = c_double(1075000) # 1,075MHz nSamples =8192 dwf.FDwfAnalogInChannelEnableSet(hdwf, c_int(0), c_bool(True)) #first signal (channel 1) dwf.FDwfAnalogInChannelRangeSet(hdwf, c_int(0), c_double(1)) dwf.FDwfAnalogInChannelEnableSet(hdwf, c_int(1), c_bool(True))#second signal (channel 2) dwf.FDwfAnalogInChannelRangeSet(hdwf, c_int(1), c_double(5)) dwf.FDwfAnalogInAcquisitionModeSet(hdwf, c_int(3)) # record dwf.FDwfAnalogInFrequ
  9. I am kind of new on electronics. I am trying to set a trigger connection to analog discovery 2(AD2) from matlab. Since matlab has a supporting package of AD2 for data acquisition tool, I tried to set a trigger with the function addTriggerConnection() but i got the message You cannot use "addTriggerConnection" with Digilent hardware. Is there any other suggestions on how to trigger data Recording from matlab data acquisition tool for AD2.
  10. Hello I certainly miss something, but I cannot figure out how to trigger pattern with an AWG output. According to the reference manual: Each instrument generates a trigger signal when a trigger condition is met. It's rather easy to trigger the AWG and the pattern output with the scope, but I didn't figure out how to trigger patterm output with AWG. I certainly didn't found what a "trigger condition" is for an AWG. What I'm trying to do is to have two AWGs synchonized and one positive pulse at phase 0. I can imagine to use Ext trigger, and to wire T1 on T2, but that does
  11. Hi all, I have recently bought 2 digital discoveries to go with an existing Analog Discovery 1, and Analog discovery 2. I would also like to use the 2 digitals as a standalone pair with no analog in the system. The store webpage for the discovery mentions trigger in and out signals for linking devices. This is one of the reasons I purchased them as I currently need >32 channels. I can't see these signal in the pinout anywhere, and nothing in waveforms about this feature. I have tried to generate a pulse on one of the digital IOs using the pa
  12. Hi, and thanks for the support so far. After a lot of experimenting and reading the help, I'd like to understand the "envelope" of possible triggered, repeated, logged acquisitions, which can run unattended for days or weeks. We need to leave a system in an inaccessible location and log at least 4 analog channels with at least 100 KHz sample rate, for a time of at least 100 usec after the trigger occurs for each triggered event. We believe these events have a time frame of 5 or so 60 Hz cycles, so that's 85 msec post-trigger and we'd like a cycle or two (16 or 32 msec) of pre-trigger. These ev
  13. Dear colleagues, is there any possibility to set(configure) the trigger output pulse length? I have two discoverys, and one somehow provides 125us, while the other 350us. They might have been set for different value, but I do not know ho to (re)set them. Thanks for your help in advance, Miklos
  14. Hi All I used AD2 with a Digilent Impedance Add-on board, and absent-mindedly pulled it off while it was still on and active! The result is that, although the impedance measuring process works ok, and I can use the wavegen 1/2 on the scope 1/2 with jumpers externally, it won't trigger internally now. A curious thing is that in Static DIO, the pins react with a flickering when I run my fingers along the pins. Looking at the CCT, it seems I could have damaged the internal digital 3.3V supply, IC30 AD2503, which just seems to be for the diode protection ccts of the dio's.
  15. Hello there, I am a new user to the AD2 scene. What I am trying to do is create a parallel wire capacitor that will alternate the charge on the wires at a freq of 200kHz, at a voltage of 2V across the capacitor wires (in this case the wires are the male connectors) My first question is if I use the wavefunction generator as a sine wave, does the ground need to be placed on the adjacent wire to create my capacitor? What I mean is that if the W1 channel is pushing 2V to the W1 wire, is that in relation to the ground wire? Or, do I need to set up a second wavefunction generator to simu
  16. Hi, I am trying to capture a periodic negative pulse which duration is less than 10 us. If I set trigger to pulse, condition to negative and Lcondition to more than 5 us, the trigger works as expected and a negative pulse of approx 5.5 us is captured. However, when I set the Lcondition to less than 10 us (5.5 us is obviously less than 10 us) it won't trigger.
  17. I'm currently trying to synchronize analog pulses on both AWGs with digital pulses, and simultaneously run both analog scopes and the digital scope. I am trying to trigger all outputs and all scope acquisitions to happen simultaneously with a single PC-Trigger source using the SDK. First question: Why isn't there an AnalogInTriggerSlopeSet function? (You can set the TriggerSlope to rising edge for AnalogOut, DigitalOut, and DigitalIn). Without an AnalogInTriggerSlopeSet function, how do you set the AnalogInTrigger to respond to the same signal as the other three? Second Question: W
  18. """ DWF Python Example Author: Digilent, Inc. Revision: 2015/02/05 Requires: Python 2.7 Start synchronized the AWG outputs of multiple Analog Discovery devices. Connect the Trigger-1 pin of each device together. """ from ctypes import * import time import sys if sys.platform.startswith("win"): dwf = cdll.dwf elif sys.platform.startswith("darwin"): dwf = cdll.LoadLibrary("libdwf.dylib") else: dwf = cdll.LoadLibrary("") #print DWF version version = create_string_buffer(16) dwf.FDwfGetVersion(version) print "DWF Version: "+version
  19. Hi all, brand new to the forum and just received my analog 2 discovery. Pretty impressed with it so far. Actually I'm working on an interrupt driven spi interface to a SPI accelerometer. All is working well, but I would like to configure a button...say in the Static I/O tool, or the patterns tool whereby it can represent my interrupt in. I want to be able to trigger a single interrupt, this will trigger my Interrupt Service Routine, my scope and logic analyzer and I will be able to observe the Single SPI transaction. So, restating the question : "I just want to configure a pu
  20. How can Analog Discovery 2 O-scope acquire data after a given time delay after a trigger, or after a given number of triggers on Scope Channels 1 or 2? This is a common function on older scopes, can AD2 perform this function? Thank You - Phil S
  21. In Waveforms 2015, is it possible to set up a wave in the AWG to be triggered by every other pulse in the scope? I'm currently trying to use a 10 Hz external pulse connected to the Analog Discovery's scope as the trigger for a 5 Hz waveform from the AWG, but I need to have the event trigger only once the 5 Hz waveform has finished one pulse. Effectively, I'm putting together a slower trigger for one device that's triggered from the AD's scope using a faster external pulse. It appears that Waveforms 2015 has some logic capabilities incorporated into the software, but as I don't have a back
  22. Just "discovered" the AD2 and am very interested in it. There is a lot of features packed into a small package. One thing seems to be missing and I was wondering why. There is no external analog trigger. If I want to trigger on a specific voltage in a waveform, I have to use one of the two oscilloscope inputs. Why was this left out? Seems like it would be simple to add a comparator and use a DC voltage from the ADC to set the trigger level.
  23. Hi, I wrote a small programm to test the speed limitations of triggering and I have a problem: After collecting data the setup for the next trigger takes 15ms. The application I'm building requires to capture 10ms of data with 100000 Hz, so I want to capture 1000 samples. After that I only have 10ms to setup the next trigger. The programm collects all the triggers with not too many samples. But if I capture more than 500 samples (5ms) then I start missing triggers. What can I do to do this high speed data acquisition with the Analog Discovery 2? This is t
  24. I have a weird issue with my Analog Discovery 2 and I was wondering if there are ideas out there how to track it: I use a Digilent Adept with the Waveforms 3.3.7 software on linux. It seems to work fine but does not detect my triggers. If I use the provided pyhton examples or C examples trigger detection does not work meaning the program just stays in "Waiting for trigger" state all the time. But if I use the dwfcmd: cd /usr/share/digilent/waveforms/samples/dwfcmd && dwfcmd analogintrigger.txt I get one trigger without a problem. It took me so much time to de
  25. Hello Probably i want order a Analog Discovery. Before that i have some requirements/questions about the possibilities of the equipment/ software. 1) Can i record my Inputs/ Outputs related/synced to each other? This for later calculations in GNU Octave… (fs_max = 200 kHz) 2) Is it possible to record inputs and outputs based on a trigger in one of the recorded signals. Let say i record 2 inputs and the trigger is one of the inputs?. Is this trigger adjustable? So that in a noisy environment the trigger not start. 3) I Work mostly with OSX or Ubuntu and I don't have experience with programmi