How to read a status of a vi and display message in another vi

Hello

I call a vi in my main vi. In my main vi, I want to display each happening/status information in the Subvi, which is placed in the main vi in each following line of my status indicator that is present in the main vi. Can someone tell me how to do this.

Regards,

Renaux

Several ways:

Global variable (not recommended)

Queue (good)

Notifier (as well)

By reference (well tidy and clean, here's how to do it)

  • Create a reference to the string on the FP indicator.
  • Create a control of this reference and put it in the sub - vi as input.
  • Wire the reference on the main VI to this reference in the Sub control - vi.
  • In the Sub VI, update the indicator of string with a knot of ownership of wire that controls the prop of reference node and the propeller has value.

Tags: NI Software

Similar Questions

  • How to transfer a version of acrobat bought and already installed on another computer?

    How to transfer a version of acrobat bought and already installed on another computer?

    Hi Troy,

    , It seems that you contacted Adobe and a colleague already correct serial number with you.

    Let us know if you still any help in this regard.

    Thank you

    Yann Arora

  • How to read the status of User1 DIP-switch with a cRIO FPGA chassis?

    How to read the State of the DIP switches on a FPGA cRio chassis?

    I work with a cRIO 9022... My idea is to put the system in "service" mode with USER1 switch to IT and communicate with the FPGA via the FPGA - GUI (VI) on the host computer instead via the RT module that is used in normal conditions.

    Any ideas? Unfortunately, I don't have an unused channel on the left... .and (as I know) cannot use the interface RS232 of FPGA.

    Many thanks in advance,

    Luke

    Hi, this is the correct information. You cannot read the FPGA of DIP-switch status. The only thing you could do is to use the function of Reading Switch.vi located under the range of functions-> real-> utilities RT time

    It's how you probably know side host RT and not the FPGA.

    Cordially Virginia

  • How to retrieve the image BLOB from database and display the image in rtf file using the Oracle XML Desktop 5.6.2 publication server?

    Hi all

    Here I have the image BLOB in the database files,

    I want to show the image to PDF using file to rtf using Oracle Xml Desktop Publisher,

    Hi all

    I found the solution for reading Image BLOB of data base & display in Pdf format.

    (1) read the image from DB.2) and then copy the picture using IO. UtilsCopy method to copy the picture

    (3) then encode with base64 converter then you will get the tag XML with Base64 as string then placed in your XML Code & preview the output, you will find the image

    Photo = (BlobDomain) currentRow.getAttribute ("Image");

    ByteArrayOutputStream OutputStream = new ByteArrayOutputStream();

                        Byte [] imageByte;
                          Byte [] b = null;
                        try {}
                        
                            IOUtils.copy (photo.getInputStream (), outputStream);
                            BS = outputStream.toByteArray ();
                            outputStream.flush ();
                            System.out.println("==="+BS.) Length);
                            Encoded byte [] is Base64.encodeBase64 (bs).;
                            encodedString = new String (encoded);
  • How do I uninstall Illustrator from a PC and install it on another?

    Hello everyone, I have the Design Suite CS6. The license is for a single machine, and in fact all of the software have been installed and activated on a PC. But actually, I realized that I need to have Illustrator on a second computer in my office. Is it possible to uninstall it from one PC and put it on another without having a problem with activation? If so, how should I handle the license and serial number?   Thank you very much for your help

    A single user license allows you to have activated installations on 2 machines, so you don't need to uninstall, but you can if you prefer.

  • How to read a column of ASCII numbers and merge them into a file with 0-360 degrees for a polar route?

    I have a file saved with 8 columns of numbers ASCII.  I want to format it so that the entrance of the polar plot will accept it.  The polar plot expects an array 1 d of amplitude AND phase.  Is that mean two numbers with a comma separation?  I can't make it work.

    Ronster,

    There is a good example of use of the Polar curve. Open the example finder and search for Polar. The name of the vi is polar Plot Demo. You should be able to adapt to meet your needs. What kind of file saves these recorded temperatures in? You can try using the worksheet file.vi reading? You must obtain a separate column (table) of the double to power the Demo.vi. What version of LabVIEW are you using? You can download the file or is it too big? What did you use to write the file when you had the time?

  • How to hide the information PDF/A sign and display the signature information panel? (plugin)

    Hello

    When you open a PDF/A compliant document and also has a signature digital then PDF/a information panel is always displayed with the text:

    You have opened the file conforms to the PDF/A standard and was opened in read-only to prevent the change.

    Instead, I would like that my plugin to display the Panel of usual signature information:

    Signed and all signatures are valid.

    It is possible to get this behavior by setting preferences-> Documents-> PDF/A-> Mode of display/a 'never '.

    What I would do is to programmatically set the information bar to display the status of the signature (for documents that are checked by my plugin, probably inside the dsGetValidState). For all other documents open it in PDF/A, by default, that's fine.

    No idea how to do the plugin with the SDK from the inside?

    There is no control over the 'Message of Document bar' from a plugin.

    Mode display PDF/A disable is a REALLY BAD IDEA!

  • How to import the logo into the clip and display it during the full clip

    Hi all

    I use Adobe Premiere Pro CS4.

    I am now a different DVD project that I've done since the time.

    Now, I'll use these them in a commercial of things if I want to add a logo on the clips to keep my rights... etc.

    Here is the situation:-

    (1) the import of the item in Adobe Premiere Pro CS4.

    (2) import the logo image I want to use.

    (3) right click on the video file and click Insert.

    Now, I want to know how to import the image file into the video so it's being there during the full clip?

    I tried several times to import it, but found that it displays seperatey after or before the clip or in the environment I want to be displayed during the entire film.

    Also, it is great when I posted I want to resize it to be in the upper right of the clamp.

    Thank you very much

    Sorry for the bad English.

    has taken more time than I thought... and it's just basic examples... may be refined more...

    with more time and reflection... .but gives you the basic ideas of... read the caches of combat and transparency... etc...

    -----------

    samples
    white background... .with hide by approach
    becomes transparent... letters, Black opaque, translucent gray

    transparent background
    black and white letters are shown as is with no cache by approach

    transparent background with matte...
    now white letters serve as mask and allow the image through only the white letters

  • How to use a parameter query to select and display the data in the table of the façade

    Hiiiiii

    I am using Access 2007 database
    I want to select the specific data in the database using control of the chain as 'select product, size, weight of ProductInfo where barcode (chain control) =?'  and also display the same table of façade.

    I use the connected database toolkit.
    I saw the example of the parameterized insert, but it did not help to use parameterized select query, as well as to display data of parameterized select query.

    I looked for example on parameterized select query, but I don't have any.
    So pls guide me how to do this. I would like to know the other method (if any) that the use of parameter query to perform the same thing.
    If possble pls share a vi reference.
    Thank you!!!

    HII szewczak
    Thanks for the reply
    but I did not getsolution in one of your shared links
    My problem is solved. There is no need to use the parameter query to select control values
    In my case I want to display data from database where bar code is even entered by the user
    I use the data function DB TOOL CHOOSE and create the condition of chain based on concatenation of strings

  • How to pack graphicsc in resource only lib and use it in another project?

    Hello world

    I'm developing a game and my resources folder exceeds somehow limit available, hough, I have about 6 MB of graphics while the official limit is approximately 8 MB.

    So I wonder - how to pack my graphics in a resource library and use it in my game project?

    Create a library project and add only the images and a single class that allows you to create an object graph/image among images and transmit them to the calling application.

  • How can I disable invisible notification area icon and the message?

    Whenever I start Illustrator CC 17.1.0, I see this message annoying, grammatically incorrect. To top it off, when she disappears, the invisible tray icon remains. And the kicker: when I close the Illustrator, the icon remains still until I have hover the mouse over it.

    invis-notification-01.png

    Windows 8 Pro N x 64

    Illustrator CC 17.1.0

    1. How can I fix this annoyance?

    2. the present notification even mean? Can I change DPI settings in Windows?

    Hi Matija Erceg,

    Its looks like you have a monitor that is capable of performing some HAVE high resolution and said try it. If you change your screen of 150% or 200% scaling and revive DID, he'll stop show you this message.

    You can leave the settings or back to the original scale, and it will not bother you again.

    You can switch the display settings in the control panel and choose the percentage of scaling.

    Please let us know if it helps. Also let us know if you like the version high-resolution of AI.

    Thank you
    Sanjay.

  • How to change the data from the database and displayed in a DG

    Hello, it's me again with a simple question:

    I received the request of SQLi that returns multiple lines.

    In this line, I have for example:

    Reward-> 1

    How, instead of show 1 in the data grid, change this value to 'YES '.

    I followed this thread:

    private void onResultStats(event:ResultEvent):void

    {

    ServerStatsArr = new ArrayCollection (event.result.source);

    for (var i: int = 0; i < ServerStatsArr.length; i ++)

    {

    If (.abonnement ServerStatsArr [i] == 304) {}

    ServerStatsArr [i] .abonnement = 'Premium ';

    } else {}

    . Subscription ServerStatsArr [i] = 'no ';

    }

    If (ServerStatsArr [i] .transparence == 1) {}

    . Transparency ServerStatsArr [i] = 'yes ';

    } else {}

    . Transparency ServerStatsArr [i] = 'no ';

    }

    }

    ServerStatsArr.refresh ();

    }

    Why this method works for the subscription when (.abonnement ServerStatsArr [i] == 304) he displays Premium, but it does NOT work for transparency ?

    I tested (.transparence ServerStatsArr [i] == 1) and (.transparence ServerStatsArr [i] == '1')

    Thank you

    Hi again,

    private void setLabel(item:Object,column:DataGridColumn):String

    {

    Switch (Column.DataField)

    {

    case 'transparency ':

    If (item.transparence is "1")

    return ('yes')

    on the other

    return ('no')

    break;

    case "subscription":

    If (item.abonnement is "304")

    return ("premium")

    on the other

    return ('none')

    break;

    by default:

    Return("");

    }

    }

    and your grid adjustments - add the labelfunction to the following topics
    I hope we get a credit of distinction for this mission...
    David.
  • How to capture user input and display it in another text field

    Hey there,

    I create a simple screen that allows a user to enter text and I want to take what they get and appear in other fields of text on the same screen, so they do not have to retype. I'm using AS3. I read an article that gave me a few tips, but the code I use is not doing the job. I'm pretty new to Flash, so any help would be appreciated.

    Here is what I use:

    var Description: String;


    myText_txt.addEventListener (Event.ENTER_FRAME, assignText);


    function assignText(myevent:Event):void {}
    Description = myText_txt.text;
    }

    textResults_txt.text = Description;

    My thoughts after reading the article (I think it's from Ned) should follow the first text field, myText_txt and assign this text to the variable Description. Then I tried to assign the variable Description to another field of text called textResults_txt. However, when I type in the first text field, nothing appears in the second.

    Any ideas? Am I using the wrong method to monitor the text box?

    Thank you for your time.

    Stephen

    You don't want to lose an ENTER_FRAME for this.  You must assign an event listener for the input textfield that listens to a CHANGE event.  The event handler for this listener function will simply match the textfield in the first second.

    myText_txt.addEventListener (Event.CHANGE, assignText);

    function assignText(evt:Event):void {}
    textResults_txt.text = myText_txt.text;
    }

  • How to copy settings on a development folder and copy it to another folder containing the same photos

    Hello forum!

    I kinda made a mistake. I hope someone can answer me this.

    I have a folder under "Records" in the library. In this folder, I have 62 photos, which are also edited in lightroom.
    A mistake that happened and I've added a new folder containing the same images, but there is more than 200 pictures in this folder.
    Is it possible to copy my photos modified in my catalog to the new folder?

    I hope that the question was not confusing.

    Thank you!

    If you have two folders, which contains identical images, then you have the duplicate hard disk files.

    In this case, you will not be able to move the images published in the largest file because the file on any computer system will not allow that.

    Copy of the parameters is not the answer because that can be done individually (assuming that all the files have not the same settings)

    Identify files duplicate in the large folder and delete them from your hard drive. You can do this in Lightroom by pressing the DELETE key and choosing the option remove the disc (not delete)

    Select all 62 images in the grid, and then drag them to the folder you want to move them. Lightroom invite you you move them on the hard drive also. Ok.

    Let us know if this helps

  • How can I reinstall the CC of illustrator and photoshop CC in another language

    I have a Dutch version of CC of Photoshop and Illustrator CC.

    I want an English version instead.

    What I can do... I can not find uninstall and I can't find the choice of the language of the apps

    Hope someone can help me ;-)

    IngeSch

    Please see set the installation language. Creative Cloud applications. CCM -http://helpx.adobe.com/creative-cloud/kb/change-installed-language.html for more details.

    Please refer to: Re: Photoshop CC change language installed

    https://forums.Adobe.com/message/4492203

    Hope this helps you.

    Concerning

    Baudier

Maybe you are looking for