Generation of PWM in FPGA pulses with nano seconds

Hi guys,.

I work with myRIO FPGA.

I have seen a few examples to generate PWM pulses in the FPGA target with the help of timed structures. Timed structures can contain the frame in the sequence structure flat with time control less than 1 micro second (1 MHz).

But I want to generate impulses PWM digital pins in hundreds of nano seconds.

I saw datasheet of myRIO - 1900. It can generate a frequency up to 40 MHz.

I need the pulses on the order of 10 MHz.

Can someone help me how to generate pulses on the order of 10 MHz PWM?

Hi fires,

the FPGA can use "ticks" aka clock pulses for delays.

As your impulses are of the order of 4 ticks, you could use simple statements waiting!

Tags: NI Software

Similar Questions

  • Best way to generate a PWM for a stint with LabView2010 and a laptop

    Hello

    as mentioned in the title, I'm looking for the best way to generate a PWM signal to a relay. I want to use a laptop computer and the LabView2010 for she. I have read through several topics, but after a time that he just got more confused. For example the NI USB-6008 OEM case seems to be a solutiion at low prices, but I don't know if I can use for the generation of PWM signals like this thread says is not possible:

    http://forums.NI.com/T5/Multifunction-DAQ/using-PWM-on-NI-6008/m-p/231860/highlight/true#M13339

    But then again this thread right here makes it seem as if it was doable:

    http://forums.NI.com/T5/Digital-I-O/generating-a-PWM-using-USB-6008/m-p/421654/highlight/true#M5527

    Once again in abbreviated form.

    What I need:

    -the best way to generate a PWM signal to control a relay

    What I have so far:

    -LabView2010

    -Laptop

    If possible, it would be good to have two channels for two separate signals, but it is more low importance right now.

    Hey Kambra,.

    The first thread you mention is correct, you can't make output PWM in any deterministic mode with a 6008. The 6008 is strictly software timed, which means that each digital writing that is done in the unit must go through the operating system and down to the device. And there is a lot of jitter of the involved BONE. The second article you mention says the same thing. They emphasized that they could reduce the jitter of some, but still can not remove it entirely. In the second thread, they mention using a M-series USB device do output PWM deterministic (timed material).

    The compromise really down to your application and its requirements. If your application to control the relay requires no determinism, then you can use the 6008. If you need precise control over the relay, try the USB M series.

  • FPGA issues with myRIO

    Try to compile some simple FPGA screws in my myRIO, but often get the error attached to the compiler. I got parts of vi works temporarily by manually of programming everything from scratch again (without copy - paste other vi), but now the simplest things (two while loops, one with e/s FPGA node with node of property of FPGA, stuff really really Basic) also give this error. This is getting frustrating. What I am doing wrong?

    Best regards

    Soeren

    Hi new ppl

    Now I came with a 'solution '. It turns out that if I create a new vi and manually (.. Yes manually) start placing blocks and make loops I can actually compile the FPGA vi. Sort of loops to copy - paste from one to the other vi makes a malfunction.

    If someone else have experienced this?

    .. .anyway to programming

    Soeren

  • I need to generate 3.3 V logic level Digital train of pulses with the NI PCI-6221. Can I change the level of 6221 OR logic output?

    I need to generate 3.3 V logic level Digital train of pulses with the NI PCI-6221. Can I change the level of 6221 OR logic output?

    The output cannot be changed. 5V to 3, 3V level controllers are readily available (Maxim, I think). As long as the scanning speed (etc.) is fast enough for your pulse train, even 3, 3V regulator would work. I don't know if NEITHER offers a module to condition TTL levels.

  • How to count the pulses with digital input on 6351

    Hi all experts in Labview,.

    I just got my USB x series 6351 and it works fine, but I certainly lack of labview skills to use it to its full potential.

    I would like to read digital pulses with several digital inputs and count the number of pulses each T interval in time. All impulses that I entered on any edge of the clock are not synchronized and can occur at random times during the tests. Basically I have an oscillator of square waves can I modulate the frequency. I don't want to use the meter as inputs as I'm limited to only 2 entries (if I use the option 2 input meter for metering of pulses or frequency). The input frequency can range from 0-1 kHz and goes 0 - 3V. So not too fast, and I shouldn't make too many mistakes trying to get the count of pulses and then back out the frequency in accordance with article ni.com on counters.

    I would like to read the 8 digital input channels and get the number of impulses for each channel. I searched high and low for help online but can't find examples that have been useful. Anyone have any ideas on how to go or direct me to a resource? Thank you very much in advance!

    Are you worried about getting the number as a physical operation timed?  It would be nice to acquire a digital waveform and then postprocess on it to detect how many events took place?  I've attached an example that shows how you can accomplish this. It reads a digital waveform and then uses a detection of crete VI to determine how many pulses occurred. Should be a few adjustments to your particular signal.  The VI I use seems to count events twice (probably count each edge), so counting it gives should be reduced by half in order to work.

  • Acquisition of Digital Data Output: generate a pulse with a specific width (depending on time)

    How can I generate a digital pulse with a specific width? I was not able to find examples online. Thank you!

    With the USB-6000 - essentially none. He has only digital software programmed according to i/o. on your system, you may be able to generate impulses at speeds up to a few hundred Hertz, but there will be a considerable amount of timing jitter. Tens of milliseconds can be common and even longer variations may occur occasionally.

    Please indicate which are the times for your impulses, so someone may be able to provide recommendations specific to your needs.

    Lynn

  • iMac 27 "with the second monitor boots black with cursor

    I can't seem to find another discussion altogether as my problem starting special 'black screen ':

    New iMac 27 "retina 5K (end of 2015) running OS X El Capitan 10.11.3 with second monitor Samsung connected by Mini DP - DVI.  When starting, the two screens are displayed in black, but the cursor is available and can be moved.

    I have to make a hard stop and disconnect the second monitor to start at the login screen. Then I can reconnect the monitor and everything works.

    Any suggestions for a fix?

    So, I spent some time with Apple customer support. Several of the standard troubleshooting for problems of mystery, they came to the conclusion that there was an incompatibility of driver with the Samsung monitor at startup which is mucking things up, and I just have to accept starting with the second disconnected monitor then plug it in again after a successful login.

    Samsung does not write the monitor for Mac drivers (for some reason any), that's why the customer support figures that there is a hangup at startup. But why OS X recognize the monitor and run fine otherwise? Why only hang at boot time? And why my Mac Book Pro 2007 running the same version of El Capitan boot fine with the connected monitor? It has something to do with the Thunderbolt/mini-DP-to-DVI connection? I don't know, and I guess that Apple's Support is not either.

    I fell on a hack, which is as follows:

    1. start with the second monitor connected

    2. in the "black screen with cursor" hold the power button quite long to put the computer to sleep

    3 wake up the computer with the keyboard or trackpad or other

    4 and now the login screen will appear.

    5 log in as usual.

    6.

    I hope this helps someone. One day I'll get a more compatible monitor and it will not be a Samsung.

    They make nice dish, however.

  • I currently use a 27 "I - mac with a second monitor thunderbolt. I think about upgrading to a new Mac Pro. Can I use both sight monitor as well as my current I have mac as monitors with the new Mac Pro?

    I am currently using an iMac 27 "with a second crush 27" monitor. I think about an upgrade to the new Mac Pro. Can I use my monitor Thunderbolt as well as my current iMac as a second screen?

    Only if you have the iMac mentioned in this article-> use your iMac as a display with the target - Apple Support Display Mode

  • I can't connect my computer at home it has windows xp professional on... just go round in a circle with 30 seconds of countdown to try to open a session.

    I can't connect my computer at home it has windows xp professional on... just go round in a circle with 30 seconds of countdown to try to log on... I tried options menu that is to say; go to the last known working etc etc... but not good. Problem came when the wife has removed some material... not been able to get a blue screen connect etc. Since HELP!

    original title: help!

    If you have no Windows CD, you can not do a repair installation.

    If you have no Windows CD, the message from the moderator of the Forum Nicholas_W will not help you either.

    If the disk verification fails, there is no sense to try a repair installation because the file system was obviously some problems that must be fixed first (at least that is what I think).

    Wouldn't you want some ideas that actually work?

    The error:

    STOP: 0 X 00000024 0 X 00190203 0X82F42108, 0XC0000102, 0X00000000

    indicates a problem with your NTFS file system.  You can usually solve this by running chkdsk/r from the XP Recovery Console.

    The question was preceded by a loss of power, aborted reboot or abnormal termination? (This includes the plug pulling, buttons power and removing the battery).

    These can cause corruption in the file system that must be fixed before you do anything else.

    If none of these events occurred (or even if they have not taken place), you must verify the integrity of your file system before anything else (especially "try" things).

    Here's how:

    Boot into the Recovery Console Windows using an XP bootable installation CD.

    If you have no XP bootable media (or aren't sure you have) create a bootable XP Recovery CD of Console and do not forget.

    This is not the same as recovery disks that might have come with the acquisition of the system store.

    You can make a bootable Recovery Console CD by downloading an ISO file and burn it to a CD.

    The ISO bootable image file you need to download is called:

    xp_rec_con. ISO

    Download the ISO from here:

    http://www.mediafire.com/?ueyyzfymmig

    Use a new CD and this simple and free program to burn your ISO file and create your bootable CD:

    http://www.ImgBurn.com/

    When you install ImgBurn, DO NOT install the Ask toolbar.

    Here are some instructions for ImgBurn:

    http://Forum.ImgBurn.com/index.php?showtopic=61

    It would be a good idea to test your bootable CD on a computer running.

    You may need to adjust the computer BIOS settings to use the CD-ROM drive as the first device to boot instead of the hard drive.  These adjustments are made before Windows tries to load.  If you miss it, you will need to restart the system again.

    When you start on the CD, follow the instructions:

    Press any key to boot from CD...

    Installing Windows... going to pronounce.

    Press 'R' to enter the Recovery Console.

    Select the installation that you want to access (usually 1: C:\WINDOWS)

    You may be asked to enter the password (usually empty).

    You should be in the folder C:\WINDOWS.  It's the same as the

    C:\Windows folder that you see in Solution Explorer.

    The Recovery Console allows base as file commands: copy, rename, replace, delete, chkdsk, fixboot, fixmbr, cd, etc.

    For a list of the commands in the Recovery Console, type help at the prompt of commands or read on here XP Recovery Console:

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/recovery_console_cmds.mspx?mfr=true

    A good idea before you start things must first verify the integrity of your file system by using the chkdsk command.

    In the command prompt window, run the chkdsk command on the drive where Windows is installed to try to fix any problems on the afflicted player.

    Running chkdsk is fine, even if he finds no problem.  It won't hurt anything to run it.

    Assuming your boot drive is C, run the following command:

    CHKDSK C: /r

    Let chkdsk finish to correct the problems, he could find.

    It may take a long time for chkdsk complete or they seem to be "stuck".  Be patient.  If the HARD drive led blinks always, chkdsk is something.  Keep an eye on the amount of the percentage to be sure that it is still making progress.  It may even seem to go back sometime.

    You must run chkdsk/r again until it finds no error to correct.

    Remove the CD, and then type "exit" to exit the RC and restart the computer.

    You have not to set the BIOS to boot the disk HARD since the CD won't be.

  • Fake call Tx detected with 160 seconds timeout

    I just upgraded ESXi hosts to 6 5.5U2 8. 0 b (2809209).  The first host I have improved (a Dell R910) is fine for about a week and then died in the middle of the night Sunday night.  Came to him hung up, couldn't SSH to it, does not respond on the console and was shown as disconnected in vCenter, all virtual machines on it had HA'ed to other hosts.  Should be able to turn off that through iDrac and he came fine.  The syslog feature stopped 9 minutes before the events in vCenter showing he's going down, so I couldn't check the newspaper to see what happened before he went down.  Writing chalked up an anomaly and put back into production.  Less than 24 hours later, woke to pages of our monitoring system of virtual machines on the same host.  These virtual machines are inaccessible.  The host was always sensitive and marked as upward in vCenter.  Cannot open consoles for any of the virtual machines on this host.  Was able to SSH in the host and it was in the vmkernel.log:

    (2015 08-11 T 11: 14:52.338Z cpu23:33245) < 6 > 0000:41:00.0 ixgbe: vmnic4: hang Fake Tx detected with 160 seconds timeout

    (2015 08-11 T 11: 14:53.340Z cpu23:33256) WARNING: Linnet: netdev_watchdog:3678: NETDEV WATCHDOG: vmnic5: transmit timed out

    (2015 08-11 T 11: 14:53.340Z cpu23:33256) < 6 > ixgbe 0000:41:00.1: vmnic5: hang Fake Tx detected with 160 seconds timeout

    (2015 08-11 T 11: 14:53.340Z cpu23:33256) WARNING: Linnet: netdev_watchdog:3678: NETDEV WATCHDOG: vmnic4: transmit timed out

    (2015 08-11 T 11: 14:53.340Z cpu23:33256) < 6 > 0000:41:00.0 ixgbe: vmnic4: hang Fake Tx detected with 160 seconds timeout

    (2015 08-11 T 11: 14:54.342Z cpu19:33251) WARNING: Linnet: netdev_watchdog:3678: NETDEV WATCHDOG: vmnic5: transmit timed out

    (2015 08-11 T 11: 14:54.342Z cpu19:33251) < 6 > ixgbe 0000:41:00.1: vmnic5: hang Fake Tx detected with 160 seconds timeout

    (2015 08-11 T 11: 14:54.342Z cpu19:33251) WARNING: Linnet: netdev_watchdog:3678: NETDEV WATCHDOG: vmnic4: transmit timed out

    (2015 08-11 T 11: 14:54.342Z cpu19:33251) < 6 > 0000:41:00.0 ixgbe: vmnic4: hang Fake Tx detected with 160 seconds timeout

    These repeated again and again many times per second.  The host locked again shortly after and had to be restarted to force the VMs system HA to other hosts.

    The vmnic4 and vmnic5 are ports on the same Intel NETWORK adapter X 520-2 (two ports), Intel, not the re-brand of Dell version version.  We have two of these network adapters in each host with the ports of the other card of the NETWORK being vmnic6 and vmnic7.  vmnic4 and vmnic6 go to our network local, vmnic5 and 7 go to our iSCSI network.  These cards use the IGB driver (ethtool reports 3.21.6iov * last * with firmware version 0x61c10001).  TSO and LRO are off due to problems that we already had.  I spent yesterday upgrading all the firmware on the host of problem but the Intel X 520 - 2 does not appear to be newer firmware that I can find, even if Dell seems to have a version for it which does not apply to these network cards Intel version.

    The host of problem is currently in production with a very low charge on it for more than 24 hours so far and I am increasing the load on a regular basis to see if it eventually bombs again.

    Googling "Fake Tx crash detected" results in a lot of older hits, mostly from the Linux IGB problems associated with pilots.  Nothing to really related to VMware.  And nothing that seems relevant.

    Any ideas?  Find it me hard to believe that the NIC itself suddenly has gone wrong that this host has been with us for years without problems until we went to 6. 0b.  I have an another R910 which was bought at the same time that I'm tired of the upgrade that I can't have two hosts having problems it would cause problems of capacity within our cluster.

    Say that there is no work around and the only solution was to go down to 5.5U2 when I opened a SR with VMware, I discovered other ways there is a workaround script that seems to change the management of interruptions of CPU from automatic to manual, which is supposed to be the cause of this problem.  Why VMware is distributing this script to some people and not others that I don't know, I hope it was just the tech who worked my case not having is no knowledge of the script of the workaround at the time said.

    EDIT: I should add that since the purpose of this script to our guests, we have not seen the problem still happen when I had three accidents in the first week.  /knockonwood

  • The license to use Photoshop Lightroom 4 with the second computer or not?

    I bought the lightroom version 4. For use with my computer last year. Now I have to buy a newer computer. I'm not sure. The license to use this program with the second computer or not ? only 1 computer . gold


    Details of the program

    AUT YOMYAI,


    Purchase of the end-user

    Yes, you can install and activate LR on 2 computers.

    Mylenium

  • Problem with the generation of two internal counters pulse trains

    Hello

    I do a control of temperature for two heaters, OR 9472 (output module digital), NI 9271 (RTD for measuring temperatures) and cDAQ-9174 chassis. So, I use the internal meter NI 9174 to generate two pulse train on the outputs (I tried with both cases-> pulse continuous and finite). Before that, I have two separate PID.vi, in which each sent the percentage of cycle of obligation for the two tasks of pulse generation (I configured these tasks with the physical channel cDAQ1Mod1/ctr0 and cDAQ1Mod1/ctr1). The problem is when I run the program, because the application initially worked fine, but after a few seconds the communication between the chassis and the application is not respected (no error message, but the external LEDs on the NI 9472 module had been disabled and stopped too NI 9271 module temperature readings). Then I tried to stop it with a 'Stop' button, but nothing happens. After, I abandoned the race and still nothing happened. So, I finished the Labview program with the Task Manager and a message appeared "reset VI: xxxxx". Finally, I have to restart my computer to run the program again. Can anyone help with this please? If you need more information, let me know.

    Kind regards

    Hi Luis,.

    I have the error cluster connected. But I solved my problem in a different way. I don't know why, but when I configured my RTD module with the DAQ assistant to test some of my design in a new file in VI, the RTD module works fine, but if I copy the entire program logic (include my DAQ assistant) back to my main VI folder and run the application, only for communication between my DAQ hardware and my software works there shortly. So I solved my problem set up any device or module in the same file from the application again and problem disappears.

    Thanks for your help.

    Luis C.

  • generation of digital pulses with NI 9263

    I'm trying to generate a pulse square with a NI 9263.  I have tested the locking solenoids and need a pretty accurate amplitude and pulsewidth.  I tried with the VI in the image.  My goal is 32ms +/-1ms.  This VI produces a pulse ranging from 25.5ms to 36ms.  I spent the same waveform in a DAQ assistant and it was 32.2ms every time, but tripled the size of the VI.  How can I get the same results with the ex-girlfriend of LV?

    Create it with the daq assistant and then right-click on it and select open front panel. He complains of the vi being converted, just say OK. This action turn the express vi into a normal vi you can analyze and modify.

    Mike...

  • train of generation of alternative pulse with USB-6251

    Hi all

    My goal is to generation on the USB6251 signal as output:

    http://S232.Photobucket.com/albums/ee262/rusian24h/?action=view¤t=formofsignal.jpg"target ="_blank"" >http://i232.photobucket.com/albums/ee262/rusian24h/formofsignal.jpg "border ="0"alt ="Photobucket">"

    First, I marked VI "generation signal ' (attached fllowing), after that, I replaced under VI"Basic fuction generator"in VI"Multi-Fuction-Synch I-AO"(in the library of examples of Laview) with VI"generating the signal.

    http://S232.Photobucket.com/albums/ee262/rusian24h/?action=view¤t=Outputanalogsignal.jpg"target ="_blank"" >http://i232.photobucket.com/albums/ee262/rusian24h/Outputanalogsignal.jpg "border ="0"alt ="output signal">"

    When the program runs, the output signal is last 6 periods of the signal.

    How can I output the entire signal?

    Please help me

    Thank you very much!

    Rostov,

    Please use the Forums of NOR. I have seen the same behavior that you experience when you place your custom in the AI Multi-multifunction-Synch-AO VI. This behavior is because your personalized VI wasn't out the data you expect. When you wrote your data on you placed him in a graphic waveform and graphics have memory. So he was combining all data in a single chart, even though she was only being written in pieces. That's why when you place your VI in the other program that you saw only the last couple periods. I enclose a VI that I did which will display the step that you are missing, and I used one 'Add waveforms' VI to ensure that all data is saved correctly.  If you place this VI in the code you should see everything correctly. Let me know if you have any questions.

    I have attached the VI in version 8.6 and 8.0, if you need a later version of 8.0, let me know.

  • How to generate a single pulse with DAQmx

    I need to generate a single pulse using DAQmx.  Many of the example of the AO screw blood generation using waveform (multi) .vi buffer generation.  This VI generates a + / amplitude.  I want that my pulse to go from zero to a positive amplitude.  How to achieve this?

    Thanks in advance.

    What amplitude and what pulse width?

    If you have found an example with regeneration, to get a unique waveform, you can disable the regeneration and just do a single entry.

Maybe you are looking for

  • Satellite A300-288 does not load the operating system

    Hello everyone. Today I turned on my laptop A300 and does not load the operating system. In other words, Toshiba logo appears, the message "Press F2 to enter SETUP", but not in continuity with the boot. Yesterday it worked and did not update the BIOS

  • How to tell if Design time or runtime execution of vi

    I wish I had my vi behave differently if the developer press the run button to run the VI vs if the vi has been loaded and by other vi or executed at run time.  Is there a simple way to do this? I tried the VI server reference (VI this) but cannot fi

  • dawn of war 2 crashes in game

    I bought a disc and I need to install it and then DL 3 gig of patches, I do it and as soon as it ends I click on play and he advances, said it crashed. Suddenly the patch that had 4 hourse DLing disappeared and I have to do it again. Ive reinstalled

  • G550 xp 64 bit drivers

    Well I deleted win7 and installed windows XP 64 bit and the drivers on the lenovo site do not work for me. I need assistance, a 64-bit please

  • remove users unathorized who hacked my system__ of exploitation

    someone attacks my computer and the microsoft security essentials does not detect the problem or users that have full control of my system they connect as administrators and perform tasks in the background