Search the Community

Showing results for tags 'frequency'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments
    • 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 8 results

  1. Hello, I am getting successfully data from an accelerometer and I then I want to calculate the frequency of a vibrating object where the accelerometer is placed at. As you can observe in the attached VI after I obtain the accelerometer measurements I use data queue function in order to collect a certain amount of data(200), in order to have enough samples for my FFT. Then I use build waveform function and at the end filter and spectral measurements vi. But unfortunately I do not thing that I get the frequency I want.And that means not only that the x axis in waveform graph is not correct but in general when I vibrate the object in certain frequencies the spectrum does not show something close to them. Can anyone help me? Thank you FFT_spectrum.vi
  2. we currently have the analogue discovery unit we are trying to set up a data logger to allow us to measure frequency at 3dp eg 50.124hz at 100ms for 35 minutes but the maximum seems to be 18 minutes but we can get round this by writing java script ? we also want to measure an analogue input to convert as a MW value. in the maths function we would like to work out the script to allow us to convert 10v to say 11KV? a binary triger to set the logger to start recording. but where struggling with script who can we chat to on here to assist me where 60% there
  3. Hello, Without implementing a timer, I had thought that toggling a GPIO pin and observing the result via a logic analyzer(has 100Megasample/sec). The Microblaze input clock is coming from the "ui_clk" from the MIG, which seems to be 83 MHz, but when observing the pin toggle the frequency is ~37 kHz. My method for toggling the pin is just an infinite while loop with two Xil_Out32 commands, one for turning the pin on, and the other command turns it off. Any debugging methods I should try as to why the frequency of this switching is so low? p.s. I've since moved from toggling via the xil_out function and am targeting the address of the GPIO pins directly, the frequency I'm seeing now is 130.7kHz, still nowhere near the 80MHz I had been expecting. p.s.s. I've enabled caches and tried block ram vs ddr and the max i've gotten to is 1.3Mhz The following is all of the code in my program for this test: #include "platform.h" int main(void) { init_platform(); volatile unsigned int *pins = (volatile unsigned int *) 0x40000000; for(;;){ pins[0] ^= 0x1; } cleanup_platform(); } Best Regards, nystflame
  4. Hi. I would like to know, if it is possible to modify the sampling frequency, the number of samples of the ADC of the card Nexys 4 DDR ?. I know there are modes of use, but these depend on the registers but do not allow manipulation of these parameters. If you can, I would be grateful if you could tell me how it is possible.
  5. Hello all, I am trying the measure a variable frequency signal, is it possible to create a custom scope channel that will display the most prominent frequency? If a scope channel is not possible, is there a way to continuously log the frequency over time? Currently, I am only able to get one frequency reading per acquisition using the logging tool and exporting the 'measurements' source.
  6. I'm using the JTAG-HS2 programmer with Universal Scan boundary scan software from Ricreations. Is it possible to change the TCK output frequency? Tech support for Universal Scan says the clock frequency is fixed.
  7. I've been experimenting with a Analog Discovery system controlled via Python and have determined how to generate a digital signal out, however I have not been able to have the signal change frequency or duty cycle mid run. I have tried just use the function that controls duty cycle a second time however that just seems to overwrite the first. Below is the python code I have been using, any guidance would be much appreciated. -ZG """ DWF Python Example Edit ZG Requires: Python 2.7, numpy python-dateutil, pyparsing """ from ctypes import * from dwfconstants import * import math import time import sys if sys.platform.startswith("win"): dwf = cdll.dwf elif sys.platform.startswith("darwin"): dwf = cdll.LoadLibrary("/Library/Frameworks/dwf.framework/dwf") else: dwf = cdll.LoadLibrary("libdwf.so") #declare ctype variables hdwf = c_int() sts = c_byte() #print DWF version version = create_string_buffer(16) dwf.FDwfGetVersion(version) print "DWF Version: "+version.value #open device print "Opening first device" dwf.FDwfDeviceOpen(c_int(-1), byref(hdwf)) if hdwf.value == hdwfNone.value: print "failed to open device" quit() hzSys = c_double() dwf.FDwfDigitalOutInternalClockInfo(hdwf, byref(hzSys)) # 1kHz pulse on IO pin 1 dwf.FDwfDigitalOutEnableSet(hdwf, c_int(1), c_int(1)) # prescaler to 2kHz, SystemFrequency/1kHz print "hzSys", hzSys.value dwf.FDwfDigitalOutDividerSet(hdwf, c_int(1), c_int(int(hzSys.value/1e3))) print "frequency:", hzSys.value/1e3/2/100 # 1 tick low, 1 tick high dwf.FDwfDigitalOutCounterSet(hdwf, c_int(1), c_int(4), c_int(6)) # 1kHz pulse on IO pin 1 # prescaler to 2kHz, SystemFrequency/1kHz print "hzSys", hzSys.value dwf.FDwfDigitalOutDividerSet(hdwf, c_int(1), c_int(int(hzSys.value/1e3))) print "frequency:", hzSys.value/1e3/2/100 # 1 tick low, 1 tick high dwf.FDwfDigitalOutCounterSet(hdwf, c_int(1), c_int(6), c_int(4)) # rgdSamples = (c_byte*4)(*[0x00,0xAA,0x66,0xFF]) # # 1kHz sample rate custom on IO pin 3 # dwf.FDwfDigitalOutEnableSet(hdwf, c_int(3), 1) # dwf.FDwfDigitalOutTypeSet(hdwf, c_int(3), DwfDigitalOutTypeCustom) # dwf.FDwfDigitalOutDividerSet(hdwf, c_int(3), c_int(int(hzSys.value/1e3))) # dwf.FDwfDigitalOutDataSet(hdwf, c_int(3), byref(rgdSamples), c_int(4*8)) dwf.FDwfDigitalOutConfigure(hdwf, c_int(1)) sleepTime = 10 print "Generating output counter for %s seconds..."%sleepTime time.sleep(sleepTime) dwf.FDwfDigitalOutReset(hdwf); dwf.FDwfDeviceCloseAll()
  8. Jaiko007

    MUX 2x1 using VHDL

    Hello, I need to design PWM for a multiplexer 2x1 for my project. The description is: If select = 0, output = input 1 (10kHz) If select = 1, output = input 2 (100kHz) The problem is, I don't know how to implement that frequency in my coding. Is it possible to do that. If yes, how making it? Someone please help me. Here, I attach my code. mux2to1.vhd mux2to1_tb.vhd Thank you.