parallel to the process and return on investment?

Hello

I have two questions:

1 how I can run two parallel processes in labview, which a single process is webcam that stream videos, and the other process is instant of the video image

(I want a snapshot image after selecting a KING in the live camera view and keep the live camera view).

2. How can I choose the KING will be part of the whole picture?

Hello

Below, I have attached a sample program that implements something similar.  It uses a structure of the event to listen to when trigger and records and image while performing a grab IMAQdx.  I'm not sure if you try to extract the KING, however, you should be able to change the structure of the event to perform processing on the image instead of save to file.  If you are looking to extract a return on investment, I recommend that you look at from Example.vi which comes with the Vision Development module.  "" "" You can find by going on Help "find examples... then navigate to Modules and Toolkits ' Vision ' functions ' Example.vi extracted.  It uses a node to invoke to get a last event to listen to when a KING is placed then passes the IMAQ Image extract.  For your application, you could implement something similar to my attachment.  Have one end grasping images then place the node to invoke to get a last event to display the images in a parallel loop to perform the extraction of KING and post-processing.  Probably, you wouldn't need a structure for this event.  Notice a 2nd IMAQ Create.VI is used in both examples to create a space of memory to hold the image of treatment/record.

If you want to programmatically return on investment to the whole image set, it may be easier to simply identify the KING with the help of a property node and just pass the image as usual for post-processing.  Treatment that you ever want to performwill automatically be applied to the entire image.

Tags: NI Software

Similar Questions

  • difference of initial value of string between the steps in the process and an external instance of LabWindows/CVI

    Hello

    I'm curious to know what I see using TestStand, LabWindows/2013 2013 with regard to initial in TestStand string values when you perform the steps in the process or an external instance of LabWindows/CVI.

    I have a step (CVI) string value that is used to check an array of characters stored in an EEPROM to test.  I pass on the Step.Result.String in the CVI by reference.  I then read the table charater of the EEPROM in the chain (Step.Result.String).  The string is then compared against the limit as specified in the test step breast.

    When I run this test step to perform the steps in the process selected in the popup Configuration of the adapter of LabWindows/CVI, it seems that the memory allocated for the string is filled with null characters.  Which is what I expected.

    When I run this test step to execute the steps in an external instance of LabWindows/CVI iselected of the Configuration of the adapter of LabWindows/CVI popup, it seems that the memory allocated for the string is filled with something else.  That is not what I expected.  For example what I see in the memory, it's the first characher is one byte NULL but the remaining bytes are some other values, as shown below:

    F0 00 AD BA 0D F0 AD BA 0D F0 AD BA 0D AD BA 0D AD BA 0D BA 0D AD F0 F0 F0
    F0 AD BA 0D F0 AD BA 0D F0 AD BA 0D F0 AD 0D AD BA 0D AD BA 0D F0 F0 F0 BA...

    In my code I make sure to write a null character in the following location table charater I just write in the chain so I have no problem with the test is working properly.  I have remove the writing from my code null character and was able to verity that the test passes when executing the steps in the process and fails during execution of the steps in an external instance of LabWindows/CVI.

    The returned string contains what I wrote for her, and then the rest of the string is filled with the values that are in the memory allocated for the string.

    Here's my Question: is this the expected behavior for the original string values in TestStand between both types of stage performances?

    Thank you

    Chris Young

    In general teststand not Initializes the unused portion of the string buffer, so it is expected that the values of the memory after character no endpoint will be different, or even to each call. If you happen to be get zeros after the null terminator which was probably due to random character (i.e. the memory allocated just arrived already having zeros in there) or perhaps a debug setting you use perhaps in the Visual C runtime (if you are debugging the process in visual studio or modify visual C runtime heap parameter). TestStand is not initializaing memory after the null terminator character in both cases (I checked the code).

    -Doug

  • you want to send data using labVIEW to arduino using write visa and the process and to take action using arduino. A

    I want to send data using labVIEW to arduino using write visa and the process and to take action using arduino. After that, I want to arduino to send out necessary via a serial port to labVIEW which should be read using visa read and store in a chain. While I am able to write or read both individually, I can't do it consecutively. I used advanced read and write vi for checking my code, but nothing is helping. The wrong bed 'time delay before execution. " Please let me know where I can go wrong. Also is it possible to write code for hx711 using labVIEW

    1. you need not "\n" on your orders println().  This command adds an end of line character already in the message.

    2. you get the error because you have a loop around your reading.  After the first reading (well technically, the second because of you add an extra line end character), there is nothing left in the port.  As a result, you will get the timeout.

    3. you should really consider using a Structure of the event.  This way you just don't write and read when you press the Write button and you can also use the structure of the event to make the loop to stop.  I also go up to close the port inside the stop-> value Change event.

  • When I put the time, she can use the internet, she changes the time on the computer and returns on the internet. What can I do?

    When I put the time, she can use the internet, she changes the time on the computer and returns on the internet.  What can I do?

    Not enough information.  You have provided no context.  You don't say what version of Windows you are using and you don't really describe the situation in many details.  Reading between the lines, it looks like you have a child who has time on the Internet you want to limit.  You do not tell us what tools you use to control this limit online, so it is difficult to recommend the right forum for your post.  Please update your message with a more detailed description of what is happening and what you want to do.

    One thing that comes to mind is using Live Parental control with a Netgear router.  See http://www.netgear.com/lpc.  LPC uses the service OpenDNS (http://www.opendns.com/)

  • My email is unable compact my mails, it starts the process and then stops.

    My email is unable compact my mails, it starts the process and stops, any help

    Try to manually compact with my Windows Mail utility (www.oehelp.com/WMUtil/) and see if it works.  Also check interference antivirus (see www.oehelp.com/OETips.aspx#3).

    Steve

  • Windows Mail will not delete e-mails unless I leave the foder and return

    Windows Mail will not delete e-mails unless I leave the foder and return. never had this happen before. I have another email

    accounts and they work fine.

    Try to compact and repair the database.

    WMUtil
    http://www.oehelp.com/WMUtil/default.aspx

  • The Task Manager does not display the process and tabs, even if the menu can be seen.

    Dear community, I had a serious problem on my task manager. It does not display the process and tabs, although the menu is visible. Also, any time I open a program or system of adjustment, some and especially no option can be seen since there is no specified words.

    Here is a link that you can see a screenshot on my problem.

    http://kepfeltoltes.Hu/121231/592911021Untitled_www.kepfeltoltes.hu_.PNG

    Thanks in advance for your help

    Original title: Task Manager problem

    I managed to solve the problem by looking for alternatives. Apparently, the problem was caused by a dat file (C:\windows\system32 folder called FNTCACHE.) (DAT) I deleted and it worked like a magic. Everything was normal again.
    Deleted it and the work of all the graphical interfaces as it should.

    Thanks for your answer, in any case. I just post the solution here if someone ever faced with such a question in the future.

    Kind regards
    Laszlo

  • How to catch the movement of return on investment when the user drags a handful of return on investment?

    Hello, I use VDM2009 with c#. I need to make some manipulations of KING and need to intercept mouse movements, but do not know what to use. For example, suppose I created a KING OvalContour and that it is a circle (width = height). I have to do 2 things: 1) when the user drags one of the 4 handles, I need to check what handle is moved so that I can drag a few adjacent programmatically so that the circle is a circle and does not become an oval.

    (2) when the user clicks/behind the center of the circle, I need prevent the update so that the circle does not move the return on investment. (It would be even better if there was a way to disable the movement of the circle and allow the scale.) I don't know what to use to accomplish this behavior and do not know how to retrieve the KING handles about which is slipped. Any help would be very appreciated. Thank you, Neville

    Hello Ben,

    Thanks again for your help.  I looked up the definitions for the ROILeft, etc., in the reference VB help as you suggest.  While many objects is similar in setting/name, it seems that these objects (ROILeft, etc.) are those who are not easy to find how to use in the c# version.  But thanks for pointing me to the help file in VB Ref.  I wish, in there wasn't one for c#... I can't understand how to search effectively in the Visual c# help file that is integrated into Visual Studio.

    Thanks for your suggestion about the return on investment.  It makes sense, and I'll keep it in mind.

    In the meantime, I found a solution to my problem.  I use c# function public bool PreFilterMessage (ref Message objMessage) for prefilter mousedown and mousemove event messages.  Once I found one, I check if the cursor is on a part of the KING that I care.  If I want to do something special, I'm doing it right here.  If I want to keep the normal behavior of the KING OR on mousedown and mousemove, I trash the message.

    It's a total pain, but it seems that functions NOR are not put in place to do this kind of things in an elegant way.  Thanks again for your help!

    Neville

  • Display error message when a condition in the process page returns false

    Hello

    I doubt by displaying the error message in a page. In my treatment of the page, I have a process that is assosiated with

    a press the button. In the process, I have an 'if' condition and insert in a table when the "If" condition returns true. If

    It returns false that I need to display an error message like "cannot insert a value. I tried to give him in the error of process

    message, but it is not displaying when the if condition fails. Help, please


    Thank you

    TJ

    Edited by: tj2010 Oct 6, 2009 21:25

    Hello

    Have you tried

    If condition = true
    then
    insert into the table;
    on the other
    apex_application.g_print_success_message: = "your Message here";
    end if;

    Make sure that the branch on the page that is triggered after your process has the "success of process message includes" checked.

    Concerning

    Paul

  • App on the phone and return to App

    I am building an application (UiApplication) that present the options in some screens to dial a number. I invoke the 'Phone' application to call. Before entering the screen where calls may be able to start, a lot more screen are pushed in the UiApplication stack. All the work of fin. Once the call is finished, I want to make my application in the foreground. Can I record a PhoneListener and do the following in the callDisconnected method:

    public void callDisconnected(int id)
        {
            System.out.println("Call disconnected"+id);
            //UiApplication.getUiApplication().popScreen();
            UiApplication.getUiApplication().invokeAndWait(new Runnable()
            {
                public void run()
                {
                    UiApplication.getUiApplication().requestForeground();
                    UiApplication.getUiApplication.pushScreen(SomeScreen.getInstance());
                }
            });
    
        }
    

    The "SomeScreen" appears as quickly, but when I close the screen (DEFAULT_CLOSE), the phone call screen. I need to close these screens (call screen and call log screen) to return to the original screen battery UIApplication.

    My requirement is, I should be able to make a kind of 'Swtich Application' of the function programmatically such as the associated phone screens do not reappear once my application comes to the foreground.

    Did I miss something forward?

    code in the earpiece of the phone is executed in the context of the phone application.

    Basically, you ask the first plan for the application of the phone, not your own.

    put a reference to your application in the listener, and call the method on it.

  • How to monitor the process and Windows activities

    Hello world

    I'm a player who plays full-screen. Some process or app steals focus once every few hours, unpredictable. This me tabs effectively out of my game on the desktop. It is only an annoyance, but yet, it's a real nuisance to do without good reason.

    Anything that flies focus leaves no trace of what it was, as far as I can tell. I'm just at the level of the office. (Exactly how I see what Win7 thinks has focus, if nothing seems?)

    I guess it's a thread that checks the updates, or some other thing, what has been written amateur and does well with games. Some games are also poorly written in terms of, what happens if something else could mess with the office or ask for focus. My guess is that it is a collision of stuff poorly written, but who knows.

    To make a long story short, is there anything I can do to see just how * had * focus (focus on the past), even if it's over now?

    I highly doubt that it is one of the major applications that I am running. I usually only Word and Excel 2013, Chrome and Windows Explorer to the top. I really doubt that this is one of them, but maybe. Who knows.

    It would be very difficult to test for that is happening, because it is very unpredictable. Also real inconvenient to keep my other applications closed for hours. This is why I ask if there is another way to catch the culprit himself, not all turn in everything.

    Thanks if you can help!

    HI Yann,

    Thanks to you, I was able to use the event viewer on Win7 / Windows Logs / request to see that I was being thrown out of my game on the desktop when the so-called SelfServicePlugin.exe "on the road". I checked in the Task Manager / process and saw that it is a Citrix Receiver background utility.

    Citrix Receiver (v. 4.1.0.56461, (c) 2013) is the remote software we use to open a session in our local network of work at home, however, the plugin is something all the time, not just at the point where it is actually using Citrix. I guess that it speeds up the loading time of Citrix, or whatever. (It seems that every piece of software must have a connection online if used or not, these days.) And no, I wasn't playing games when remoting to work, laughing. As I said, the receiver is there all the time; I was spilled on the desk in the evenings, etc.

    If I unload the plugin, I stop unexpectedly, the abandonment of game (and Citrix always starts very well).

    So, apparently, it is just this sloppily written plugin. I guess it is not surprising that something related to work don't care effect on the games, even after hours, laughing.

    Now that I know what it is - and it's not malware - it's so much easier to deal with.

    Thanks for hanging in there and answering the question directly to me! It helped a ton.

    Mike

  • using PIN messages to send the query and return data

    I am working on an app that will send a request to another blackberry and return the data all via PIN messages. There is a user interface where the user selects the contact and start the PIN message with the request. There is a background application that listens to these requests. When we arrive, he must inform the user and allow them to send the requested data or reject the request. If they choose to send, it will undertake a PIN to the sender with the requested data, which will then be returned to the screen. Is it possible by using PIN messages, and if so, can I prevent their display in the list of messages?

    You * can * remove PIN of the Inbox messages. For all purposes useful, this is just a specific instance of an ELECTRONIC message.

  • Dreamweaver 20141 - when I want to save a file after a change, never stop the process and Ineedto kill the application.

    OS X 10.10.1 - Dreamweaver 20141 - when I want to save a file in my local site after a change, the process never stop and I need to kill the application. If I put my local site on an external drive, change a file, a record, it works perfectly.

    I found the solution to my problem on

    Dreamweaver 20141 Build 6947 (Mac) - except problem

  • duration of the process and its status

    Hello
    in e-Business 11.5.10, in the tables in which I see the duration of a process and its status?
    Thans a lot before.

    Hello

    This process you are talking about here? If you want to say several simultaneous requests, then see the FND_CONCURRENT_REQUESTS table.

    Kind regards
    Hussein

  • Hotmail 44 looks like your mother has not finished to set up parental controls for your account settings. Click "Access the parental control settings" to complete the process and access your account.

    I love how you get this error message, and then says that there is no support for this information.  You would think that if MS wrote this error message, they would assume someone would finally get it and need help.  Why I've bothered with this company I have no idea.

    All I want is to get my child HM account work. Ive clicked all this parental control I can find.  If this was the issue of the xbox, Id go immediately to gmail.

    Hello

    Had the same problem as the rest. All fixed now by:

    Abducted child security account for the family (Instructions in this thread)

    Account and went to outlook.com, let the updates.

    deleted the account from the local computer (Windows 8, users through the control panel * no * new user interface)

    Added and ensure that parental control is back on (it is by default)

    Can access the messages and followed the account. The account I had was old enough and not yet been used.

Maybe you are looking for

  • iMovie crashes after Sierra upgraded.

    I have a MacBook Air and yesterday I upgraded the OS to Sierra. After that, iMovie crashes as soon as it load and continued to do so throughout the day. I can't access a video of work I had done and really need to send it to my client to download on

  • Dock lighting works with iPad

    I have a question is lightning work with iPad dock?

  • R61i; audio device after loading sp2 May 30 problems

    Friday, May 30 my r61i sp2 downloaded and when sytem restarted my speaker didn't have a red X and a msg no audio device found. Also on the keyboard volume controls do not work. I am online with the support of mircosoft and with their help reloaded th

  • You are looking for a Win 7 drivers for Pavilion p7 - 1446 s

    HI -. My company needed a computer within a short time and bought a Pavilion p7 - 1446 to off the shelf.  We run software that is not winning 8 compatible and would not have - never - upgraded, so I wiped the Win 8 install and am cleaning installatio

  • US Cellular T-Mobile blackBerry smartphones

    We have US Cellular for T-Mobile, I'm looking to go to a BB Bold 9700, can someone tell me, "BOLD" running OS 6?