Processing in Time Loop with microseconds.

Hello,
I am make one application in Labview where I capture the frame of one camera and I processing the image. The camera is communicate with the board NI PCIe 1433 in the PC with camera link. This camera can work with one frame rate of 2000 fps. For processing every frame in the pc I need one time loop that work with microseconds. The problem is that this time loop only work with millisecond in Windows. If I use the module Real Time, Can I configure this time loop with microsecond or are there other solution?
Thanks

Thanks,
The purpose of this is controller the application. In this timeloop I obtain the frame and I the processer. If I configure the timeloop with 1 ms I lose frames and if I configure the application with one normal loop I can obteain several time the same frame. The frame rate can change and with this change I configure the timeloop for controller all the time the captures, not lose any and not obtain replay.
 

Similar Messages

  • What is the maximum number of the parallel blocks or maximum pair of shift register used in FPGA VI time loop with cRIO 9104?

      I am writing a FPGA VI with module cRIO 9104, I need to do a lot of parallel execution of inside a timed loop. In total, I have used 20 pairs of shift registers in the timed loop, which simply means there is 20 parallel exceution across ONE time loop. However, it tells me that there is an over-used of the FPGA resources in the compliation report. One is the Slices and the other is the number 4 of LUTS ( see the attached file), would the compile will be sucessful if I change it to ALL block diagrams cascaded in series without using any shift register accross the timed loop? And do you think that it is reaosnable to have 20 pairs of shift register arranged in parallel inside a timed loop.
      Thank you!
    Attachments:
    afternoon912.jpg ‏2305 KB

    Your compilation report has 2 useful numbers to help answer your question, I'll summarize:
    Number of Slice Flip Flops = 27%
    Number of 4 Input LUT's = 100% *
    You are using the Timed Loop Shift registers to pass a value from one iteration of your loop to the next.  The LabVIEW FPGA compiler will use Slice Flip Flops to create this behavior in the FPGA fabric.  You are only using 27% of the Flip Flops, therefore the 20 Shift Registers are not your problem. 
    LUT's (Look Up Tables), which are the basic logic building block of an FPGA, are your problem.  You are using over 100% of the LUT's in this FPGA.  To fit in this FPGA you will have to reduce the amount of logic (and/or gates, additions, comparisons, etc.) in your design.
    -RB

  • Process chains time outs and hangs with no error msg - in SP13

    Hi all,
    We are having all kind of weird problems after we patched our system with SP13. Our process chain time outs and hangs, but surprisingly we never get any error msg. And scarier part is, the problem seems to be intermittent. PC runs fine on some days and hangs on some.
    Further analysis into the dump – as below
    Termination occurred in the ABAP program "SAPLRSSM" -
    in "RSSM_SLEEP_DEBUG".
    The main program was "SAPMSSY1 ".
    In the source code the termination point is in (Include) program "LRSSMU39".
    This refers to an issue that appears to have been addressed by OSS Note
    934648(meant for SP8). This notes also indicates to populate RSADMIN table to
    exclude "RSSM_SLEEP_DEBUG". Not sure if this note is valid for SP13? However we went ahead and populated the RSADMIN table.
    So now we have no clue what’s going on and where to fix the issue.
    As per SAP suggestion we applied the following notes:
    0000653996  Analyzing lock situations
    0000893563  Correction: Deadlock on completion of a remote chain
    0000994007  Corrections: Deadlock with external status query
    0001005481  Correction: Process successful, but there is no instance
    0001047174  Correction: Incorrect scope when locking in process chains
    0001051957  Correction: TIME_OUT during dialog confirmation of processes
    0001083660  Report for error stack analysis
    Nothing seems to help us. And SAP suggested a few options, which we implemented to no rescue.
    I’m sure that many of the customers have applied SP13, and want some feedback from them, if this is happening in their systems too?
    If so, how did you fix this issue?
    Or this situation is unique to us?Please note that no settings were changed as of SP13 to that of what they were in SP12(unless it is a side effect of the patch itself). Everything worked fine with SP12 and is still working on the BIP system. All the problems are in BIQ patched to SP13.
    Any pointers or insight would be appreciated. We have a customer msg open with SAP, and going back and forth, but nothing seemed to work as of today.
    Thanks,
    Voodi

    Not sure which OSS helped us get past the issue, as SAP asked us to apply a ton of notes. But along which the notes, SAP has some suggestions for us, which we think did the magic. After the implementation of the suggestin we never faced the same issue again. The suggestion by SAP:
    move the process chain callback in a batch job by executing
    program RSSM_TRACE_SWITCH and selecting the flag "verifcation
    of asynchronous processes - execute in batch".
    Lemme know if this doesnt fix the issue, I can give all the notes that SAP asked us to apply.
    Message was edited by:
            voodi

  • Rented film, fully downloaded (eventually) press play now then screen goes to authorizing, then goes black blank, no film , repeated process 3 times, still no joy. first and last time I rent a film with Apple, how do I get my money back ? Thanks

    Rented film from Apple TV  fully downloaded (eventually) press play now then screen goes to authorizing for 10 mins, then goes black blank, no film , repeated process 3 times, still no joy. first and last time I rent a film with Apple, how do I get my money back ? Thanks

    First, that cannot be an iBook G4 as that machine cannot run Snow Leopard let alone Mountain Lion.  To run Snow Leopard it has to be an Intel processor, not a G4.  What does it show as the Model Identifier in About This Mac, More Info, System Report, Hardware, Model Identifier?
    Second, if you have erased the hard drive there should not be remnants of any prior content.  Even though Disk Warrior is saying nothing is wrong with the hard drive, it sounds as though there are problems.  You may want to consider simply replacing the hard drive so there are no questions about faults.  A good source is OWC, http://www.macsales.com where they also have on-line videos showing how to do the replacement.
    Third, you could also try again to restart using the Snow Leopard DVD/CD and use Disk Utility on that install disk to erase again, and do it a couple times, then try to install.  If it continues to refuse, then it sounds as though there is a fault with the hard drive.

  • I'm in iphoto loop with Facebook that says there's a problem with IPhoto uploader. Try again later"  It's an eternal loop and no matter what it puts me back to Setup to publish IPHOTO every time and then will not publish.

    I'm in an Iphoto loop with iPhoto uploader error and Facebook.  I cannot post to Facebook as it sends me back to setup again and then says there is an error with iPhoto uploader.  "Try again later"  This has been going on since I joined Facebook.  Cannot figure out what to do

    have you tried posting this question in the iPhoto forum? https://discussions.apple.com/community/ilife/iphoto

  • Data acquisition loop with queue

    What I would like to do is have a data acquisition loop that samples a load cell at 500Hz and have another loop that runs much slower to run a state machine and display some data in real time.  The reason I want to sample the load cell so fast is to filter out some noise.  Making producer/consumer loops with a queue kind of makes sense but I don't really care about all of the samples, I just want to be able to read a real time filtered signal at certain times.  I looked at having just two parallel loops, one to acquire the data and the other to run a test and retrieve a real-time signal when I want but not sure how to pass data between the loops without using a queue.  You can do it with local variables but you are at risk of a race condition.  I hope this make sense.  I am sure this is a simple problem I just don't know what direction to go.  Thanks

    Good Evening secr1973,
    It sounds like you are on the right track.  You already know about the producer/consumer architecture; this is almost always the first step to the separation that I think you are after.
    The step that I think you are missing is a Case Structure around the enqueue element VI.  You likely have some event or specific pattern that you are looking for in the input signal.  You can have the output from this algorithm (likely a boolean) determine which case of the Case Structure to execute (Case 1: enqueue the element or Case 2: Do not enqueue the element).
    This, of course, leads to processing being done in the producer loop, which is quite the opposite of what you are trying to accomplish with the producer/consumer architecture.  You will have to decide if your processing is very simple or more complicated.
    If it is easy/fast, you can likely get away with doing this processing in the producer loop.  My guess is that your program falls under the category of do-it-all-in-the-producer loop because you are only acquiring at 500 Hz.
    If the application requires faster acquisition rates or if the logic is going to require some processing, you may want to implement a double layer producer/consumer architecture.  In this setup, you would pass all of the data from the DAQ producer to a second loop (using queue #1) that determines what to do with the data (to enqueue or not to enqueue...) and, if appropriate, write to a queue (queue #2) that the third loop can read.  The third loop would be where your state machine executes.
    If you have a quad core machine, each of these steps will execute on its own core.  If not, you will have a little more thread swapping; not a huge concern in most cases.  Here, we get into the art of programming more than the science.
    In any event, I think you will be OK with a little processing for the enqueue or not algorithm in the producer loop.
    Regards,
    Charlie Piazza
    Staff Product Support Engineer, RF
    National Instruments

  • Preconditional Loop - with Roles through context not working

    I have created a Pre conditional loop block with action getting user id from output parameters. I am assigning the same action to the next user based on Input_parameters->User using block's Roles tab to the action.
    But the user is not assigned to the action , instead the action is getting repeated in the loop for the old user.
    action should execute like User1, User2, User3.. but the action is assigned to User1 onlly all the time.
    I have grouped Output_parameters and Input_Parameters of the same action to get the users passed from output to input correctly.
    Please let me know if I need to do any configuration in GP for this action/block to accept the Roles to context?
    I am using the blog for example:/people/dipankar.saha3/blog/2007/05/31/how-to-create-dynamic-approval-process-using-conditional-loop-block-in-guided-procedure

    Try this,
    var myDocument = app.activeDocument;
    for (a=1; a < myDocument.allParagraphStyles.length; a++) {
        if(myDocument.allParagraphStyles[a].appliedFont.fontFamily == "Times New Roman (OTF)") {alert()}
    for (b=1; b < myDocument.allCharacterStyles.length; b++) {
        if(myDocument.allCharacterStyles[b].appliedFont.fontFamily == "Times New Roman (OTF)") {alert()}
    Regards,
    Chinna

  • Calling Synchronous process in a loop

    Hi
    I am facing a problem while I am tring to call Synchronous process in a loop. I am having a parent process that fetch batches numbers (list of batches) and loop for each of them and call a child Synchronous process to do some activity.
    the issue here is that the output variable on the process is taking the value that returns from the first batch call and keep repeating it for all the rest batches. I tried to initialize it to null every time I am entring the loop but strangly it has been overrided with the output variable of the first batch and then for the rest it just initialized to null and not had been overriden.
    any body face this before or knows about it
    thanks and best regards,
    Baraa

    This is Arun (working with Baraa in same Company)
    Let me eloborate the situvation
    Facing problem while I call a Sync process from an Async process using while loop.
    When I call sync child multiple times from a parent process using a While loop the response msg from child process is not correct.
    Meaning for instance let say
    Parent process : P
    Child processes : C1, C2, C3     (assuming the loop goes for three iteration)
    The expected response msg of the individual process where
    C1: 10000
    C2: 999
    C3 :           (null)
    But when I go through the audit of the parent process I could see all responses as 10000, meaning the response of the child process is not getting reflected in Parent process correctly
    Whereas when I inspect individual child process response; I could see the correct values.
    Note: I am using End Point Reference technique to call the child process
    Any Idea.
    Requirement:
    Parameter: Source System Name
    (this parameter decides which child to call, basically this will be the SERVICE on WSDL pointing to the child process)
    A parent Async process has to call a Sync child process “n” number of times (“n” get derived at run time) WHILE loop
    The parent will decide which child process to call at runtime (Dynamic call using EndPointReference)
    Some thing like below:
    <Set END POINT REFERENCE>
    <WHILE>
    Invoke Child (synchronize process)
    <END LOOP>

  • Time loop and events (again)

    Good morning,
    I still have problems with time loops and events.
    I have an event structure based on run time menu (two buttons: start stop).
    When I push start, an automatic sequence is started made of a state machine (so a while loop).
    I want to stop the process by means of presing stop in the run time menu. The problem is that the system doesn't respond when I press the button (it's not locked since I unchecked the option to stop front panel acitivity in the event structure configuration). I see that the pression of the stop command is made, but the code inside the event structure is not executed.
    How can I avoid this?
    Thank you,
    Fede

    Events don't react to changes in local and global varables, and that's usually a good thing.
    To trigger an event programmatically, you should write to a signaling property of the control assigned to the event, and the event will fire (even if the value does not actually change).
    Attached is a simple modification of my example that forces a stop of any ongoing measurments every 10 seconds using the above method.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Prova Loop MenuIII.zip ‏15 KB

  • Time loop problem when add a parellel subvi in another time loop

    I have four time loops in parellel, they work find
    without any problem. However when I add a third party
    Vi as a subvi in parellel inside a another time loop.
    The first four time loops start working eraticly.
    Is there any way I can make them work independently
    time wise. There is no data transfering between any
    of the loops

    Hello
    The VI with the timing loop is set to cycle once every second, and all it does
    Is turn on a boolean light indicator off and on every second. It has a boolean
    inverter connected to the shift registers of the loop. Its priority is set to Normal.
    The third party VI interacts with a spectrometer hardware. The spectrometer measures
    The amount of light and transform the data collected by the spectrometer into digital information, which is then passes to LabView. LabView then compares the sample information to a reference measurement and displays the processed spectral information.
    The timing loops of the main VI is manually set by me the user.
    The timing loops would loose its sequence; the loops would run normal for a couple
    Of cycle the
    n either run fast or run slow. If I take out the third party subvi everything
    Runs fine
    I am using windows XP with LabView 7.1
    Attachments:
    Dr_Grady_Solinoid_HM_3.vi ‏129 KB
    USB2000_SUBVI.vi ‏238 KB

  • Time loop accuracy

    Hi,
    I haver some problems with the time loop structure. I try to get digital pulses of a width down to 50 microseconds! I have a real time OS on an PXI 8176 RT controller. For only one digital channel, this is not a problem, but the more channels I use in the time loop, the worse it gets. Is there any solution? What is the accuracy of time loops?
    Thanks
    Tim

    Hello Tim,
    please post an example what you are trying to do. So it is easier to understand your problem.
    On the other hand it sounds reasonable:
    The more number of channels you try to handle the higher system load you will get ...
    Regards,
    Thomas.
    Message Edited by Tobel on 01-17-2006 04:31 AM

  • Unxepected behaviour with clusters inside of while loop with shift register

    Colleagues,
    I just would like to post here small, but important bug (I guess this is the bug), which was found by coworker today morning. Just would like to share knowledge, and probably this will save some debugging time for you...
    So, the problem that you can get wrong content of the cluster in some cases. The cluster used inside of while loop with shift register (we using this construction for functional globals), and after bundle operation you can get data, which are not expected:
    See also attached code for details (LabVIEW 8.6.1, WinXP Prof SP3).
    best regards,
    Andrey.
    PS
    Bug report already sent to NI.
    Message Edited by Andrey Dmitriev on 10-16-2008 12:30 PM
    Attachments:
    BugwithClusters.png ‏15 KB
    BugwithClusters.zip ‏10 KB

    Thanks Andrey for brining this to our attention!
    The "Show Buffer Allocations" reveals that LV is not processing the code in the right order.
    Under ideal conditions, all of the data should be manipulated using the buffer "A". But as this demo shows the data is being processed in the wrong order.
    The previously posted workaround get around this by forcing the array operation to happen first, but this resluts in two additional buffers "C" and "D" and then copy this back into "B".
    Using an "Always Copy" is another workaround that uses a seperate buffer "F" to hold the data being moved from the first cluster to the second inside "E".
    I think you won a shinny new CAR* Andrey!
    Ben
    CAR = Corrective Action Report
    Message Edited by Ben on 10-16-2008 08:05 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Cluster_Bug.PNG ‏57 KB

  • List processes in a Loop

    Hello,
    I'm looking for a way to list the processes on my client with a delay of 2 seconds for each process. This is the reason why I cannot use Get-Process. Maybe as a do oder foreach loop.
    Greetings
    Uemit

    If you really want to get a process at a time that's doable in the way that jrv said:
    Get-Process | ForEach-Object {
    #Do whatever you want with $_
    Start-Sleep 2
    This works because the each object retrieved from Get-Process (in this case the object is the process itself) is immediately passed over the pipeline. After all that's the whole point of the pipeline, that you don't have to store the whole object[] retrieved
    by whatever comes before the pipeline into memory.
    You can confirm this by doing the following:
    function TestFunc
    BEGIN {Write-Host "Starting"}
    PROCESS {Get-Process Sv*}
    END {Write-Host "DONE"}
    TestFunc | % {$_; Sleep 1}
    When you run it, this is what you get:
    Starting
    Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
    385 14 5636 4128 43 852 svchost
    138 13 2732 2448 30 4308 svchost
    DONE
    I removed a lot of the processes to trim the output down. Each of the processes is presented with a 1 second delay in between them and the DONE is only printed at the very end.
    You do need to keep a couple of things in mind though... You can only use this in a pipeline. A foreach loop would not work, as demonstrated here:
    function TestFunc
    BEGIN {Write-Host "Starting"}
    PROCESS {Get-Process sv*}
    END {Write-Host "DONE"}
    foreach ($i in TestFunc)
    $i
    Start-Sleep 1
    This would output the following:
    Starting
    DONE
    Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
    385 14 5636 4128 43 852 svchost
    138 13 2732 2448 30 4308 svchost
    You can see that the end block got executed before we started seeing our objects come through, which means at that stage we're already processing an array of objects instead of dealing with each one individually.
    Also, even if using the pipeline, you cannot use CmdLets that must have a full collection of objects before being able to run themselves. i.e.:
    Get-Process | Sort-Object Handles | % {$_; Start-Sleep 1}
    Would again return:
    Starting
    DONE
    Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
    385 14 5636 4128 43 852 svchost
    138 13 2732 2448 30 4308 svchost
    The reason for that is because the Sort-Object needs to first collect all of the objects from the previous CmdLet before it can start a sort and it will not relinquish any objects to the next command in the pipeline until it's completed its execution.
    Hope this helps.

  • Why writes LabVIEW only every 2 seconds the measured Value to a Excel (In a while loop with 100 ms tact)?

    Hi everybody,
    I use the myDAQ to measure speed, ampere, and voltage of a battery driven motor. (For Current measurement, i use a Sensor which outputs a 0-10 V signal). I placed all DAQ-Assitants in a while loop with a [Wait until next ms multiple] clock and set a value of 100 ms. I thougt, Labview will now write into my text file 10 times a second all values. In fact, as you can see in the attached text file, Labview only writes in a unsteady interval of 1-2 seconds a value, which is too less.
    The question: Did I do anything wrong, how can you create VI that writes you lets say 10 values a second into text file? Or is simply the DigitalMultimeter input of the myDAQ not able to sample a rate of 10 Hz? I couldn´t find any information in the specification handbook about the sample rate of the DMM?
    If anyone can help me would be great! Thanx a lot, Markus
    Attachments:
    Measure Speed+Current+Voltage into Excel.vi ‏175 KB
    Test7.txt ‏1 KB

    File I/O is not very efficient. I recommend that you do you file logging in a parallel task. Have one task do your data acquision. This task would then pass the data to be logged to the logging task via a queue. That way your file operations do not impact your data acquision. Also, express VIs are not very efficient. You would be better off accessing that directly using the DAQ VIs. The express VIs contain lots of steps that do not need to be done every time you call it such as initializing the device.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • After soak test update, I get error messages repeatedly. The majority are "unfortunately, messaging has stopped", but you can replace messaging with "android os", or any other process, as it happens with more than just messaging. I have had numerous peopl

    After soak test update, I get error messages repeatedly. The majority are "unfortunately, messaging has stopped", but you can replace messaging with "android os", or any other process, as it happens with more than just messaging. I have had numerous people call and ask why I didn't reply to their texts...and I look, but have not received any new texts. YES, I have restarted phone. I have cleared data as well as cache on all apps. I have downloaded the vzw messaging app, which seems silly, since it happens with several different processes and apps, but all to no avail. I am missing texts from my employer, from my family. This did happen, but rarely, before this "soak test". It is now Kitkat version 19.6.3.obake_verizon.en.US. THIS is when I started having problems...like 50 times a day kind of problems! I have seen hundreds of posts all over the internet over the past 3 days. Does no one know how to fix this??? Shouldn't there be a way to revert phone to a pre-update state? and no, hard reset did NOT work!!!! I have been with verizon for well over 15 years, but I have not upgraded my lines and will not in July either. This is ridiculous. It's not like my games aren't working, it is my messaging and "android os"...my lifeline at work!

    kristinaf333,
    Oh no, I am sorry to hear your messages are not working since the software update. I greatlly appreciate doing all that troubleshooting to try and get the messaging application back in business. I know how much I rely on my messages so I can understand the urgency to get this resolved. Have you had a resolution ticket opened since you started experiencing issues with your messages? Does this happen with all contacts or just some? Please provide additional information to ensure we get to the bottom of this for you.
    KarenC_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for

  • Content server is not running.

    All, I have rather peculiar issue. The external 10.1.3.1 content server is setup against EBS 12.1.3.The content server is running fine and I was able to upload content using it. I fail to upload content all of the sudden until EBS is bounced. Nothing

  • In Boot Camp assistant no network connection

    My network works fine, but error message appears "Can't download Windows Support Software because of a network problem." I am trying to use Boot Camp to partition my MacBook into a Windows PC. Also download of Windows Support Software is very slow.

  • Auto save a copy of outgoing email in SharePoint 2010

    Hi,  I need to save a copy of an outgoing email from SharePoint Server 2010. So is there any option in SharePoint to save a copy as audit or do we need to write custom thing for this? Any idea how to achieve this .  pls share your thougths  if you do

  • Webservice - XI - JDBC BPM scenario

    Hi Experts, Could you please provide the steps to do the Webserive -> XI -> JDBC scenario, using BPM? Regards Sara

  • Help with start routine

    Hi, <b>I am new to ABAP.Can anyone help me wih this code</b> <b>The following code is in start routine</b> LOOP AT DATA_PACKAGE. SELECT /BIC/ZPACTGY /BIC/ZMPIINIR FROM /BIC/PZCONDTYP            INTO IT_ZCONDTYP            WHERE /BIC/ZCONDTYP = DATA_P