Jump to content

attila

Technical Forum Moderator
  • Posts

    6,469
  • Joined

  • Last visited

Reputation Activity

  1. Like
    attila reacted to bryan78 in Wavegen Sweep to and from   
    @attila
    Appreciate you adding it to the GUI, you're killing it 😃
    @artvvb thanks, I will play around a bit more
  2. Like
    attila reacted to Adrian Campos in Cannot mix incompatible Qt library (5.15.11) with this library (5.15.12)   
    @JColvin thank you for the relocation.
    @attila sudo apt update and upgrade, i have tried but it is not helping in this case, at least in the short term.
    Those are some recent links pointing to the same problem:
    https://bugs.kde.org/show_bug.cgi?id=480411 https://www.mail-archive.com/kde-bugs-dist@kde.org/msg881268.html https://github.com/mixxxdj/mixxx/issues/12680 https://discuss.kde.org/t/last-updates-remove-kdevelop-and-it-can-not-be-installed/7758 So it seems that the problem is OS related. It is will be probably be fixed with a new update in the following weeks.
    Thank for your comments, i will post back when it is fixed.
  3. Like
    attila reacted to bryan78 in ADP-5250 DMM log   
    It's working. Appreciate it
  4. Like
    attila got a reaction from bryan78 in ADP-5250 DMM log   
    Hi @bryan78
    I'm working on it.
  5. Like
    attila reacted to arang in script to control Digital IO supplies from Protocol viewer   
    Found it. thx

  6. Like
    attila reacted to arang in Digital Discovery I2C - 16 bit memory addressing   
    Thanks It works. The device I was using supported only one byte read at a time. Auto increment read was causing the issues.
    Thanks
  7. Like
    attila got a reaction from Agouti in Graphing wave frequency as custom channel (?) in WavForms   
    Hi @Agouti
    Add Channel/ Math/ Custom

  8. Like
    attila reacted to lordfrito in Waveforms: displayed value not matching signals being captured   
    Hey @attila
    Thanks so much for this, completely fixed my problem, I'm back off and running!
    Amazing turn around time. You guys are the best.
    John
  9. Like
    attila reacted to arang in Digital Discovery I2C   
    Thanks and the DIO's configuration helps.
     
  10. Like
    attila got a reaction from ssm in Working with the digital discovery board SDKs   
    Hi @ssm
    If you specify 32bit samples you get 32bit samples. You are also using 32bit array, uint. How are you looking at the values ?
    Here a 32bit walking 1 signal is connected to Digital Discovery DIN 0 to DIO 31 and captured like this:

    #include <stdio.h> #include <stdlib.h> #ifdef WIN32 #include "dwf.h" #elif __APPLE__ #include "/Library/Frameworks/dwf.framework/Headers/dwf.h" #else #include <digilent/waveforms/dwf.h> #endif int main(int carg, char** szarg) { HDWF hdwf; STS sts; double hzSys; int cSamples = 100000; unsigned int* rgdwSamples = new unsigned int[cSamples]; char szError[512] = { 0 }; if (!FDwfDeviceOpen(-1, &hdwf)) { FDwfGetLastErrorMsg(szError); printf("Device open failed\n\t%s", szError); return 0; } FDwfDigitalInInternalClockInfo(hdwf, &hzSys); FDwfDigitalInDividerSet(hdwf, (unsigned int)(0.5 + hzSys / 200e3)); // 200kMHz FDwfDigitalInSampleFormatSet(hdwf, 32); // 32 bit samples FDwfDigitalInBufferSizeSet(hdwf, cSamples); FDwfDigitalInConfigure(hdwf, false, true); do { if (!FDwfDigitalInStatus(hdwf, true, &sts)) return 0; } while (sts != stsDone); FDwfDigitalInStatusData(hdwf, rgdwSamples, cSamples * sizeof(unsigned int)); for (int i = 0; i < cSamples && i < 30; i++) printf("0x%08X\n", rgdwSamples[i]); FDwfDeviceCloseAll(); }  
  11. Like
    attila got a reaction from aro in My Discovery 2 doesn't connect   
    Hi @aro
    Try using the original cable or other cables you have at hand. The tip of the cable may be too short to make contact. A cable working with one device may not work with others due slight differences between receptacles and wear.
  12. Like
    attila reacted to aro in My Discovery 2 doesn't connect   
    Ok, I fortunately found 2 more cables, both brand new, unused. One didn't work and one finally did!
    Out of 5 cables only one works. Well, one is all I need... I must say I've never encountered such a finicky device, but I'm happy I don't have to get something new.
  13. Like
    attila reacted to Art.S in DIGILENT Discovery3   
    Corrected my issue by removing AD2 and AD3 from the HUB and going directly to the PC. - Many thanks!!!!
  14. Like
    attila got a reaction from notthetup in Network analysis of a differential pre-amplifier   
    Hi @notthetup
    Yes. The Network Analyzer has option for differential drive on the two AWG outputs and the Scope inputs are differential.

  15. Like
    attila got a reaction from ssm in Problem with aquisition mode Record   
    Hi @ssm
    Most of the examples are generic. The Python ones can be used as pseudocode.
    The Digital Discovery does not have analog in/out, but the analog-io, digital-io/in/out... examples can be use with DD.

  16. Like
    attila reacted to ssm in Waveforms SDK stopped working   
    working now, thanks a million
  17. Like
    attila got a reaction from m72 in Logic Detector as trigger in Scope. Is it possible?   
    Hi @m72
    Thank you for the observation. It is fixed here:
     
  18. Like
    attila reacted to jerry iii in Analog Discovery 2 Waveform Generator Idle State as end voltage   
    Hi @attila,
    Awesome thanks!! I will try it out and if I have any questions I'll let you know. 
    Thanks for getting this in so quickly!!
     
    -Jerry
  19. Like
    attila got a reaction from Belargo in Digital Discovery - trigger on bus value   
    Hi @Belargo
    Corrected to be editable in newer version:

  20. Like
    attila reacted to ssm in Problem with aquisition mode Record   
    thank you @attila
     
  21. Like
    attila reacted to Brian C in Waveforms Script Include Files   
    Attila, can you clarify this approach?  I have a script called 'scale'.  I would like to include that function in a bunch of other scripts.  If I use this syntax in another script 
     this does not work.  Nor does just calling scale();  I feel that I am missing something in the correct syntax.
    EDIT: Correction the scale(); method is working.
  22. Like
    attila reacted to m72 in Logic Detector as trigger in Scope. Is it possible?   
    Thank you very much! Works well. 
  23. Like
  24. Like
    attila got a reaction from m72 in Logic Detector as trigger in Scope. Is it possible?   
    Hi @m72
    Thank you for the observation.
    This version expects a return in the last line or something that it can return... I wanted to have this rule for some (math, measurement...) scripts, unfortunately it is applied for all scripts in the app.
    This should work:
    // Find I2C devices // array to store the present adresses var rgadr = []; if(Clear()!=true) return "I2C bus error. Check the pull-ups."; for(var i = 8; i < 120 && wait(); i++){ //Write(address) return true when acknowledged var f = Write(i); if(f == true) rgadr.push("0x"+i.toString(16)); } if(rgadr.length) return rgadr; return "No I2C device found";  
  25. Like
    attila reacted to zelle in Trigger Condition is not stored correctly in WaveForms   
    Thank you very much, you are very fast 👍.
×
×
  • Create New...