Leaderboard


Popular Content

Showing content with the highest reputation since 10/09/18 in all areas

  1. 1 point
    Hi @MaelXD, Can you please show me a picture with the USBUART2? We were not aware of a second revision of USBUART, neither I could track it on the store and engineering database. Did you purchase it from our store? and when? Thanks, Bianca
  2. 1 point
    JColvin

    Analog Discover 2 Matlab Error

    Hi @Kabron and @Roman C., There has been a recent update to the MATLAB Data Acquisition Toolbox that now supports the Analog Discovery 2 on both R2018a and R2018b. You can view more information about it here (https://blog.digilentinc.com/the-analog-discovery-2-is-now-supported-in-the-matlab-data-acquisition-toolbox/) and here (https://www.mathworks.com/hardware-support/digilent-analog-discovery.html). Let me know if you have any questions about this. Thanks, JColvin
  3. 1 point
    TwoWeims

    Hello, I'm new here. Basys 3

    Hi everyone. I am just starting out learning about FPGAs. I just received a Basys 3 board and have installed Vivado. I am a 50 something Electrical Engineer (MSEE in 1985) currently a power system protection engineer for a major utility. I am currently trying to re-learn the electronics that I studied so many years ago. This sure looks like fun!
  4. 1 point
    attila

    Import Saved Logic Data into Patterns

    Hi @Kabron The data can be exported from Logic Analyzer under File menu or automated withView/Logging. Export source can be acquisition, which stands for each added signal/bus/other interpreters, just on of these, or raw captured data... In patterns you can import data for individual signals or entire bus. You can also use Script to set the custom pattern from logic data like this: Patterns1.Channels.Bus.custom = Logic1.Channels.Bus.data In default device configuration the Analyzer has 4k sample buffer and the Patterns 1k. You can select the 4th device configuration to have 16k for both, Settings/Device Manager
  5. 1 point
    Peter76

    Digilent Agent on Fedora 28

    Hi @JColvin, That's working now:-) Thanks! Regards, Peter
  6. 1 point
    Hi Jon, Thank you for the information ,This has worked if I list the directory of the usr /libLinx then I can see this file is saved now and my labVIEW connects I appreciate all the help received here . Have great weekend QMESAR
  7. 1 point
    jpeyron

    Installation Arduino IDE failed

    Hi @Markus. Here is the tutorial for installing the digilent core. I would suggest to use Arduino IDE 1.6.9. cheers, Jon
  8. 1 point
    Hi @spri This will output 3V for xduration after each trigger event. self.dwf.FDwfAnalogOutEnableSet(hdwf, c_int(0), c_int(True)) self.dwf.FDwfAnalogOutTriggerSourceSet(hdwf, c_int(0), trigsrcExternal1) self.dwf.FDwfAnalogOutTriggerSlopeSet(hdwf, c_int(0), c_int(1)) # rising edge self.dwf.FDwfAnalogOutRepeatTriggerSet(hdwf, c_int(0), c_bool(True)) # arm after each run cycle, with false it would wait only at start self.dwf.FDwfAnalogOutRepeatSet(hdwf, c_int(0), c_int(0)) # unlimited repeat self.dwf.FDwfAnalogOutRunSet(hdwf, c_int(0), c_double(self.active.xduration)) # set run duration self.dwf.FDwfAnalogOutWaitSet(hdwf, c_int(0), c_double(0)) # no wait self.dwf.FDwfAnalogOutIdleSet(hdwf, c_int(0), c_int(1)) # DwfAnalogOutIdleOffset self.dwf.FDwfAnalogOutOffsetSet(hdwf, c_int(0), c_double(0)) # offset value = 0v self.dwf.FDwfAnalogOutFunctionSet(hdwf, c_int(0), funcSquare) # self.dwf.FDwfAnalogOutSymmetrySet(hdwf, c_int(0), c_double(100)) # 100% duty, only +amplitude while running self.dwf.FDwfAnalogOutAmplitudeSet(hdwf, c_int(0), c_double(3)) # offset + amplitude after trigger = 3v self.dwf.FDwfAnalogOutFrequencySet(hdwf, c_int(0), c_double(1.0/self.active.xduration)) # not really needed here, but it could be used for burst signals print("starting") dwf.FDwfAnalogOutConfigure(hdwf, c_int(0), c_bool(True)) # start analog output #1
  9. 1 point
    Hi @armin, Sorry for the confusion. I am suggesting that you program your Arty-A7 as you would normally through the usb uart. The program on the Arty-A7 should be a UART controller using pin E15 and E16 on Pmod Port JB for the TX and RX of the project. cheers, Jon
  10. 1 point
    attila

    Frequency profile generation with script

    Szia @Andras The Network Analyzer by default takes controls over the Wavegen channel 1 and configures the required frequency for each step. You could select NA/Wavegen/Channel/External but to be able the control the Wavegen manually, but in this case the previous Script solution won't work. The Insert/Local lists specific variables and is available in other scriptable places, like scope custom math, measurements, logging, network analyzer custom plots In each script editor including the Script tool you can use the Ctrl+Space to list available objects, variables... or child objects, properties, functions..
  11. 1 point
    Hi @spri Actually, the FDwfAnalogOutRunStatus returns not only the the remaining run but also the wait time. dwf.FDwfAnalogOutRunSet(hdwf, channel, c_double(2)) dwf.FDwfAnalogOutWaitSet(hdwf, channel, c_double(2)) dwf.FDwfAnalogOutRepeatSet(hdwf, channel, c_int(2)) dwf.FDwfAnalogOutConfigure(hdwf, channel, c_bool(True)) for i in range(10): sts = c_byte() sec = c_double() dwf.FDwfAnalogOutStatus(hdwf, channel, byref(sts)) dwf.FDwfAnalogOutRunStatus(hdwf, channel, byref(sec)) print("State: "+str(int(sts.value))+ " time left: "+ str(sec.value)) time.sleep(1) State: 7 time left: 1.99928738 // wait State: 7 time left: 1.00601063 State: 3 time left: 1.99434336 // run State: 3 time left: 0.97901375 State: 7 time left: 1.97874957 // wait State: 7 time left: 0.97872712 State: 3 time left: 1.9787507 // run State: 3 time left: 0.96878297 State: 2 time left: 0.0 // done @JColvin The *Get function return the configured value by *Set functions, like if you *Set the sample rate to 60MHz, the *Get will return the actually configured 50MHz, since the device can only do 100MHz, 50MHz, 33.3MHz...1uHz The *Status function return the monitorized information.
  12. 1 point
    Hi @emfries, The JP1 is the mode jumper and should be shorted. Here is a working project I made that uses a compressed bitstream using the offset of 0x00300000. I used the beginning of the Arty - Getting Started with Microblaze Servers tutorial to set up the arty. I used step 1 to step 4.3 with a couple of changes like instead of a 25 mhz 3rd output clock it is a 50 mhz clock in the clock wizard on step 3.3. On step 4.2 do not select interrupt controller. Once you have completed step 4.3 drag the usb uart and the quad spi flash from the board tab to the block design. Connect the output clock 3 to the ext_spi_clk of the quad spi flash IP and then run connection automation. Next I created a wrapper. I then went to the How To Store Your SDK Project in SPI Flash tutorial. On step .5 I also clicked on configuration, set Configuration Rate (Mhz) to “33” and under Configuration Modes, select Master SPI x4. I then follow the How To Store Your SDK Project in SPI Flash with only one change i set the FLASH_IMAGE_BASEADDR to 0x00300000. I was able to use the PROG button to start the hello world program stored in flash as shown in the attached screen shot. cheers, Jon