• Content Count

  • Joined

  • Last visited

  1. Hello, Is there a way to install Waveforms from the command line or a package manager on Windows? I need the ability to do automated installation during creation of a CI build environment. I really just need the dwf.dll installed in order to build my code, but I have not had luck in getting that to work properly just copying the file to System32. I cannot perform automated application builds without this ability. Thanks, Austin Keener
  2. Hello, I am having troubles setting a constant voltage level for a tristate digital out pin on the Digital Discovery using the SDK. I can easily set a constant voltage level for a push-pull configuration using the below code, but this does not work when the OutType is set to tristate. dwf.FDwfDigitalOutTypeSet(hdwf, c_int(1), c_int(0)) dwf.FDwfDigitalOutCounterInitSet(hdwf, c_int(1), c_int(0), c_int(0)) dwf.FDwfDigitalOutCounterSet(hdwf, c_int(1), c_int(0), c_int(0)) Any suggestion on how to implement this for the tristate case?
  3. @attila Generating the clock signal from the digital discovery would not solve the problem in my case as I have four digital discovery modules that need to be synchronized on the same time base. The repeat trigger option does not work well for all my different test cases as I can be generating up to 64 independent signals at a time. Is there any other way to use an external clock for the pattern generator, essentially the same way you can use the sync option for the logic analyzer?
  4. @attila I am currently doing that to initiate the pattern generator, but the issue is maintaining a synchronous state with the external clock signal during the pattern generation. For my case, I am clocking a digital logic circuit with a 20MHz oscillator, and I need to send digital signals that are synchronous with the clock from the Digital Discovery to the circuit. This is a necessity for testing a rising edge clocked digital circuit and ensuring that the data is clocked in correctly.
  5. Hello @attila Is there any way that I can synchronize the pattern generator on the digital discovery with an external clock? I need to ensure that pulses on the pattern generator are aligned with the clock edges. The clock base between the digital discovery pattern generator and the logic circuit I am interfacing with needs to be the same for the signals to be clocked correctly. Thanks!
  6. Hello, Is there a CAD file available for the Digital Discovery with dimensions showing the hole spacing and header spacing on the PCB? Thanks.
  7. That worked perfectly, thanks! I did not realize that customz was just a bit mask, which explains the issues I was having before.
  8. @attila I have a very closely related question where I am reading in a custom file and then generating a custom waveform array based on the imported waveform. In my case, I am reading in a csv of data bits. I am interjecting high Z on the bus between each data cycle. The issue I am having is that the .customz parameter does not read the 'Z' value properly and gives undefined behavior during that cycle. Additionally, it seems to read '1's as 'Z's. I need to be able to write '1', '0', and 'Z' in my pattern. I have the output type set to tristate. For example, I would like to be able to do a data stream on the bus like this: b11111, bZZZZZ, b00000, bZZZZZ Here is an example of my code: rgsz.forEach(function(el){ var v = parseInt(el,2) // binary text number to integer if(!isNaN(v)){ rg.push(v) rg.push("Z") } }) Patterns1.Channels.BUS.customz = rg How would I set up the script to properly set the appropriate '1', 'Z', and '0' states on a bus? Thanks for the help!
  9. Thank you, I realized that I need to convert my waveform from raw binary to decimal in my CSV in order to work properly with the .custom assignment for the bus. It works perfectly now.
  10. Hello, In my waveforms script I am trying to import and run a saved custom 7-bit bus pattern in csv format that I generated from the custom pattern generator. I am able to read the data from the csv, but when I do: Patterns1.Channels.Bus._custom = data all of the data is just written into the first channel of the bus. Is there another format or syntax that should be used when specifying patterns for custom busses?