Loop in microseconds

Hi all

I'm still fairly new to labview and I need your help for a matter of timing:

This is the material that I own:

Chassis _NIPXIe-1073

_NIPXI-6259 DAQ

_NIPXI-6722 DAQ

_NI5751 FPGA with digital module 2147 (analog input) and 2148 (e/s)

The software I use is Labview 2012 64bits.

Now, here's my question:

For now, I use only the Council of NIPXIe-6259DAQ which has inputs and analog outputs.

What I have to do is record an analog signal, a couple of matemathical asks about it and send it to an analog output. I do this in a while loop Labview (attached is my vi).

However the process of acquisition and output signals must be performed in 1 microsedonds.

For the time being with the NIPXIe-6259DAQ card when I try to run this kind of tasks, I can write only 10samples/ms... When I use probes in labview to check how many samples are written.

Don't see an obvious solution to my problem with the material that I own?

If not, should what kind of material I buy for my needs?

Thank you very much

Best regards

For the recovery of the microsecond, I really think you want to go with an FPGA, something in the Councils of PXI R Series should work for you.  I do not trust Windows at all to be able to turn around that data in a microsecond, consistantly nevermind.

Tags: NI Software

Similar Questions

  • Treatment in time loop with microseconds.

    Hello

    I am make only one application in Labview where I capture the image of a camera and image processing. The camera is communicate with the Board of Directors NI PCIe-1433 in the PC with the camera link. This device can operate with a rate of 2000 frames per second. For the treatment of each image in the pc I need a time loop that work with microseconds. The problem is that this time loop only works with MS Windows. If I use the real time module, can I configure this time looping with microsecond or is there another solution?

    Thank you

    Hi xisco,.

    with LabVIEW Realtime, you could create a loop with the order of a microsecond wait States.

    BUT:

    Why do you think you have need of these wait States? What is the purpose of these expectations?

  • Flashing LED - delay microseconds

    Hello

    I'm a VI in which I want to control a (clogged in a Vernier SensorDAQ) light

    I want the LEDS to be turned on for 10 or 100 microseconds can be turned off.

    A picture of my real VI is attached.

    Now, I have a problem: I Don t manage to have a shorter than the miliseconds. I think that LabVIEW cannot run my code faster than the miliseconds (with the expectation of SC in the loop). I use Windows.

    You know a way that I could wait 10 or 100 microseconds? You have another program structure in mind that would solve my problem?

    Thank you!


  • Measurement of time in a While loop

    Greetings gentleman;

    I'm kinda new to Labview, and although I sought an answer without assignment, I wasn't able to find one.

    So here my question, I would like to know how I can measure the time a loop sequence, in other words, what time is my point of view VI to run the main loop together?

    A little explanation, the attached VI tries to be a Markov chain, it takes some values in the first case structure based on the previus loop, then, if the values are correct, it passes to the next step and so on. It's pretty simple, and yet, my problem lies in the measurement of time. Since it is a 'distribution', it would take infinite time to execute a simple loop if it does not fulfill the characteristics, but it is scheduled to meet them so an average time should work.

    So, if you look to the while loop, should the big one, I want to measure how long I take for a ride.

    Thanks for the help, I'd be happy to read some ideas on how to measure this.

    Kind regards

    IRAN.

    You will find examples in the example Finder OR by searching for 'speed test' or ' reference '.

    Essentially, you create a flat sequence structure inside of your loop. In the first image, you measure the current number of cycles. In the middle frame, you run your code. In the last image, you measure the number of cycles again and subtract the first number of this. This gives you the run time to execute the code.

    You can see a page of the community about it here.

    There is a high-resolution time tick count VI hang out somewhere which is great for benchmarking and improving efficiency, used instead the number of cycles (ms) primitive.

    Edit - remember where he was

    https://decibel.NI.com/content/blogs/EvanP/2010/10/04/tick-count-us--microsecond-timing-granularity-...

  • Reference of a loop

    Hello

    The question is perhaps silly, but I can't make the time to get what I want.

    Here it is: "how to measure the time of a Microsoft iteration loop in one?

    I can do that with a sequence structure by placing counters of impulses before and after an iteration, but the problem is that this kind of media gives a result in Ms. How if you go faster?

    I think that each iteration of my loop to a period of execution of the order of microseconds.

    There's a you it a solution pour measure iterate precisely? DOI-I for example measuring my time over 1000 iterations and make a series of promotion beast by division (I can't find this very elegant if it's the only solution :/)

    Thanks in advance.

    Hello Cyco,

    First of all thank you for having posted the Forum of National Instruments.

    There is a meter more accurate than the classic counter which is called 'high resolution Relative Seconds.vi'in LabVIEW. It is not present on the basic palette, but is located in the folder C:\Program NIUninstaller Instruments\LabVIEW 2010\vi.lib\Utility\

    You will find here a link to a forum full of tips on LabVIEW. The first posts talk about this vi, extracted in support.

    Sincerely,

  • Change the width of digital pulse inside the loop

    Hello

    I am looking for a solution that allow you to change the width of digital pulse inside while loop.

    Thanks in advance

    Check the operation of dataflow and single pulse meter output

    First counter generates little time, then big time.

    Your AO task then is to adjust tension on IT after Dig pulse. After the AO pulse width, he needs to put down

    If the Trac software is small enough for you, you might have used USB-6008 ($250), not Xseries $ 1600 - apparently of an overdose. X series can do this work with a void microsecond resolution.

  • LV fpga - wait express vi slows down the other loops?

    Hi all

    I have a question about the use of the vi wait Express in Labview FPGA. I use 2 loops, one that changes data, the other records it these data by sending it to a FIFO. In the first loop, I change the value of a variable named "CurrentWfmFast?" from true to false. After that, I use the vi wait Express to wait a few microseconds, so the program does not change this value to true immediately. In the second loop, I connect the data a FIFO to send to the host.

    If I now draw the variable in the host.vi, it seems that the value of the "CurrentWfmFast"? has changed AFTER the vi wait Express instead of before (see attachment).  If I change the wait ' (we) Pos Stable ' to 60000, for example, the value of "CurrentWfmFast?" changes after 60000 US... How is that possible? What is the vi wait another Express while loops influence?

    Thank you in advance,

    Best regards
    Dries

    I finally thought to it myself. Before that the value of "CurrentWfmFast?" went from true to false, the waiting already executed only once. That's why the value has not changed immediately. Instead of 1 wait, there are 2, that was my mistake.

    I know it has been difficult (if not impossible) for you to understand that without the whole project, but thanks for watching it. If I need more help, I'll post the VI or the entire project.

    Best regards

    Dries

  • Invalid for clock() when values in the main loop of the application

    I wrote the following test code which determines the past values of clock() for every second change reported by time (NULL):

    static time_t   thisTime = 0;
    static clock_t  clocks = 0;
    time_t nextTime = time(NULL);
    
    if (nextTime != thisTime)
    {
        clock_t nextClocks = clock();
        printf("%d\n", nextClocks - clocks);
        fflush(stdout);
    
        thisTime = nextTime;
        clocks = nextClocks;
    }
    

    Normally, I would expect this to print values close to CLOCKS_PER_SEC, IE. 1,000,000.

    However, if I add this to the loop for rendering a applications examples, I extremely wobbly values that are incompatible and far too small.

    For example, I added just after the call to render() in GoodCitizen (like add #include to the top of the file) and got these values:

    10998
    4000
    4999
    2000
    2000
    1000
    1001
    8998
    8000
    5999
    7999
    5999
    12999
    13998
    

    I have the same thing with HelloWorldDisplay and basically everything which uses a loop of events/Blackberry. The applications themselves seem to operate at full framerate (although if the performance were an issue I would expect numbers that were too big, not too small).

    On the other hand, if I wrap while (true) {...}, test code essentially causing the app to hang in a tight loop, I get much closer numbers of my expected values:

    988850
    997848
    993849
    995849
    992849
    990849
    996849
    991849
    987850
    987850
    940857
    975852
    988850
    993849
    

    If something on the Blackberry events/render loop is originally clock() to report incorrect values.

    Can someone explain this? What is the appropriate procedure for determining intervals of a second?

    Thank you

    Dan.

    If you read the clock():

    https://developer.BlackBerry.com/native/reference/com.QNX.doc.neutrino.lib_ref/topic/c/clock.html

    You will notice that clock() measures CPU, not not hour wall-clock-for your process.  This explains why your {} while loop (1) would measure something close to 1000000 microseconds on a 1 second interval, because she is ready to run.

    Your other tests must pass a bunch of times by blocking system calls, which do not count toward time clock() as your process does not in fact.

    If you want to measure wall clock time, use ClockTime() to query the clock CLOCK_MONOTONIC, or something equivalent.  clock_gettime() can be more portable than ClockTime().

    See you soon,.

    Sean

  • iMac 2012 - sierra installation failed, caught in the loop, please help

    Hey everybody.

    That's what I have:

    iMac 27 "mid-2011. He had on El Capitan.

    This iMac contains two hard drives and drive superdrive.

    A disc is 256 GB SSD and the other a regular 2 TB internal HARD drive.

    As SSD is faster that I keep my OS X and programs on this SSD drive, all the other stuff like photos, music, documents, are put on the classic 2 TB HDD.

    This is what happened:

    Attempt of I:

    Everything was going well until the installer has discovered that the SSD did not have a sufficient space to install. I quit the installer, the option pop up, I called "Startup Volume" has chosen my SSD and restarted it. Has been 2 attempts, if I'm not wrong, but worked. I killed and moved the files, I think now would be enough disk space on my SSD tried the Sierra ad install again.

    --> Attempt II:

    This time Sierra Installer arrived at the stage language choose where he welcomed and asked to choose the language. The next screen it tells me once again: not enough space, the bigger internal drive offers enough, but I don't want that. So, I tried the same exit to leave the program and launch then boot Volume installation...

    ... that in trouble:

    My SSD drive now no longer appears in this window of the boot Volume.

    When you try to access the boot Volume it will skip in the app language choose, sometimes shows this window choice animation multilingual, sometimes simply stays gray but will show when moving the mouse upwards arrow to the top of the screen, choose language drops in when I try to open the boot Volume after leaving the installation program. In addition, the language choice (can not be exited by cmd Q is said by the way) seems to open before the boot app Volume and the boot volume app does not appear my drive more-> Catastropheeeeee!

    Also option to restart regular off the menu above will not help. After about half to the top of the boot of the SIERRA Installer keeps new hindsight. No chance to reboot to my previous El Capitan based OSX. I am bound to this loop.

    Is turned off, wait and switch back to does not help, even in a loop.

    Then I tried also open disk utility, I also have an external time machine backup drive connected. Tried this way to restore my SSD of time machine, which fails on every attempt.

    I'm totally caught up.

    Help, please!

    just in case.

    I did the job.

    Launched my iMac in disc mode on my mac pro book. A few items to the disc hard iMac deleted, then restarted, macos sierra resumed and concluded correctly, in other words: all and working again!

    Even a message to Apple to look bad when insufficient disk space is detected, see my first post, thanks.

    Best regards

    Max

  • Boot Loop iPhone 5 c problem

    So that's how iphone got a uppdate iTunes, but after she got into a boot loop.

    The phone can be switched on using the on/off switch, but it can be disabled by using only the power on + combo home buton!

    Powers on but right phone at the apple logo, it stay there for 3 seconds then the apple logo fades to grey (like an LCD) broken then there restarts... and that on and so on... until the battery is empty.

    The phone goes into DFU mode, itunes acknowledged, but after itunes launch the iphone in dfu mode, itunes says "waiting for iphone", the phone restarts, but instead to continue the restore procedure, it penetrates into the same loop and after 10 minutes, itunes gives error.

    The phone is out of warranty, and I want to record just because it seems perfect, no sign of use!

    Oh and another thing, I tried to put another apple original battery (I hade a new brand in hand 6!) did not work...

    So guys I came to you for your review. Be free to say what you think that will fix this poor iphone!

    I was about to say to make an appointment at the genius bar. They would try to restore it for you free of charge...

    Then I saw your mention of trying to put a new battery in there... If you have physically opened the phone upwards, it is technically unbearable and completely untouchable by Apple. I couldn't hurt to consider anyway and see if they can get it to restore, but you can kiss all hopes for a farewell to replace security exit.

  • SWIFT playgrounds, how to Code 2, build a loop, I can not find isOnGem

    Swift playgrounds, how to Code 2, build a loop, I can not all isOnGem. What Miss me? If I am not mistaken, is it a bug? How should I declare?

    I can't figure out how to solve the puzzle without this.

    isOnGem is not available as an option in the box to scroll so just type in from the table instead. If you enter exactly the same case, it will be recognized as legal code when you run your program.

  • Note looping in GarageBand

    In GarageBand, I did a recording of me just sing a long note and want to loop an entire song so the note sounds even longer.  But when I do that, whenever the loop again it makes a little noise, hard to explain, but even if I cut the beginning and the end of the recording, he does always a little sound whenever he performs a loop itself and I don't know what to do. Y at - it a setting I can change to stop? I want it to look like a long drone.

    To what you want to achieve, you must to crossfade regions to create transitions smoothly between them. Unfortunately, GarageBand doesn't have the ability to fade or crossafe Audio regions (Logic Pro X). However, all is not lost, there is a solution, you can do the same thing with automation.

    Look at the screenshot to understand the procedure.

    • Create two Audio tracks
    • The first Audio track has the area of your voice recording audio
    • Apply the Volume Automation to increase the level at the beginning of the region and lower end of the region.
    • Now copy (Option-do drag) this region in the second piece so the end of the first area overlaps the beginning of this region. Automation is copied with the region.
    • Now select the region on the first track and the area (you just copied) on the second track and the Option-do drag to the right to copy both of them, yet once for the region of second and third overlap.
    • Keep this copy procedure as long as you need it to be.

    As you can see, when a region Faints, the other region on the road to spare fades, create a crossfade without welding.

    You play a little to find the right length for automation to come in and out and also how to straddle the regions.

    I explain details of the automation and the rest of my book of GarageBand. ""X GarageBand - how it works".

    A tip:

    Instead of having a linear Automation curve between two Automation Control Points (the points), you can create logarithmic shapes by Ctrl + Shift + drag the line between two Control Points. Drag left/right for s-shape or high-low exponential curves. It will look something like this (sh + ctr + click on the line to linear curve).

    Hope that helps

    Edgar Rothermich - LogicProGEM.com

    (Author of "Graphically improved manuals")

    http://DingDingMusic.com/manuals/

    "I could receive some form of compensation, financial or otherwise, my recommendation or link."

  • Try to connect to my yahoo on Safari takes me in a continuous loop to the login page. It works very well with Firefix.

    Try to connect to my Yahoo on Safari brings back me in a continuous loop to the login page. My registration using Firefox works fine.

    IM using ios10 on an iPhone 6 s

  • iMac 27 stuck boot loop

    my 27-in. Imac is stuck in a boot loop.  It goes to the start screen, I see the Apple logo and progress bar, then the screen has a line go overboard and it restarts. Attached picture to show you the screen, any help would be great. Thank you!

    Try to start in safe mode, try safe mode if your Mac does not commissioning - Apple Support

  • Apple Loops of old Logic Pro Logic Studio

    Hello

    my iMac still run osx 10.7.5 (Mountain Lion).

    I intend to upgrade to the Mavericks, and my question is: move to Logic Studio is any chance to keep all my old loops in Logic Pro and use them with the new version?

    (I have a number of pieces using specific loops and Yes, I know that I can save the loops in the songs but I would not lose my whole library)

    I really hope so.

    Thanks in advance,

    Franz

    I'm sorry, I don't talk about logic X, here, not of Logic Studio.

    My mistake.

Maybe you are looking for