Main Pass of VI VI text in real time

I have a large application with many Subvi, each sub - vi is a VI complex where, I'm read, save, and change the values of an external microprocessor. normally each sub - vi take 1, 2, 3 or several minutes to compleate but the operator can see just the main VI. How can I view in the main VI, the text generated in any Sub - VI in real-time? because the operator needs to see the status of the test in real-time and does not wait until the subvi finished to see the result.

Thank you

Thank you.

Solved

Tags: NI Software

Similar Questions

  • How to pass a variable to a sub - VI a vi in real-time?

    The main calls a Subvi where there is a loop for. is possible to pass a variable from inside the loop for handmade in real-time, this is while the for loop is still running?

    I tried with a global variable. The global itself is updated, but if I put for the most part the global variable with a wire to an indicator, the indicatore is not updated until what the sub that VI has not completely passed control to hand.

    Is it possible to do?

    If you are running in windows, see example vi

  • Updated in real-time with text of exec system indicator

    I was wondering if anyone knows how to get LabVIEW to update an indicator of text with information from a command prompt in real time?  So, as if you ping IP show he ping and not just wait until the end to update it.  I try to have a batch file that processes the code displayed on screen so that the user can see that she is running and that it is not frozen.  When I ran the test originally she had a cmd window pop up and show that information was passing.  Since I opened the program with the exec system, it no longer displays anything so I thought that if she showed in a text indicator the problem could be solved.

    Thank you

    Derek

    Help for the system Exec VI

    (Windows) To use a DOS command, insert cmd /c before the command.

    Then try this way the system Exec VI

    cmd /c 172.18.81.54>"C:\temp.txt ping.

    Change the IP address to your needs.

    The quotation marks around the path is necessary if you have spaces in the path of the file.

    Now when you do this you will get nothing back from the exit of stardard, because you have redirected it.

    The results should be read from the file.

  • How to read the text from a DOS window in real time?

    I call an executable file that downloads a file to flash memory.  This program displays status information in real time as the percentage of completion in one window BACK.   It also makes account of the CRC of the file as it downloads.  I am currently redirect the output of the DOS window in a text log file.  This works fine for obtaining of the CRC when the file is actually downloading but the operator loses the visibility of the State in the percentage of download.  Is there a way to read text information in a DOS window with my request of LabWindows/CVI real-time?

    Hi Brent,

    If redirect you the output from the first application in a log file, you would be able to read the contents of the file streaming to your second request, and whenever the content changes (such as the download value percentage), couldn't display you this information immediately with the second request in one window DOS or some other GUI?

    Luis

  • Hypervisor-HyperTerminal: how to write texts in HyperTerminal to a VI in real-time

    I use on my PXI system hypervisor. With 'Specifications to build', I built my RT application in a standalone rtEXE file and set it as start VI for my RT system. It seems to work, since I have received information from my "hypervisor-HyperTerminal" while restarting the RT system.  He writes, "Startup Application: d:\ni-rt\startup\RTMain.rtexe. However, I don't see how my RT application is running or if an error occurs.  Therefore, I think to write texts or my RT application information to the HyperTerminal.

    I wanted to use VISA to the serial port of the HyperTerminal on the side-access system in real time. I used the example LabVIEW "basic series write and Read.vi ' to 'smplserl.llb '.  Under the system in real time, I found only a single resource VISA name, which is "COM1".  Apparently, I can write successfully texts at the port "COM1", because no error was shown in the example VI. But the texts do not appear on the HyperTerminal.

    Do you have an idea, what I did wrong in my attempt, and how I had to do it correctly? Thank you very much.

    Kind regards

    Scarletice

    Hello Scarletice,

    You can use the Debug String VI (http://zone.ni.com/reference/en-XX/help/370622J-01/lvrtvihelp/rt_debug_strings/) RT a message programmatically to the console at the time on a Real - Time Hypervisor system LabVIEW Real-time.

    Please let me know if you need additional help, and have a nice day!

    Best regards

    Casey Weltzin

    Product Manager, LabVIEW Real-time

    National Instruments

  • Pass an array of real-time desktop PC

    Hello

    I recently started using LabVIEW Real time. I want to transfer an array of data from a PC to office to a PC in real time. The data transfer is time and once real PC will make further processing of the data. I'm using LabVIEW 8.2 and the corresponding version of the time real LabVIEW. I do not understand how to program the time real PC to receive all the elements of the array in the order. Below is a brief description of what I've tried so far.

    At the beginning, I created a shared variable on the computer which was the data type double target. I activated "Buffering" and set the size as 10 double rooms. Enable FIFO tab real-time time real FIFO, selected several items and set the size as 10 double rooms. On the desktop, I used a loop for to transfer all the elements of the array in the shared variable. I used a 500 ms delay in the loop for debugging purposes. On the target side PC, I used a while loop, the same delay of 500ms and built a table reading the shared variable. To run the program, I ran the VI on the target PC and then the VI on the host. I could see that the painting was being filled with data from the host computer, but the first element of the array of host PC has been filled in the second element of the array on the computer target. Another problem, is that there is no way to prevent the target computer that the host PC had sent all the data and he had to stop the filling of the table. The first problem with lag of data can be attributed to the timing. But I don't know how to solve problems.

    I also tried declaring the variable shared on the computer target with the double data type 'Array of '. But when the data is passed from the host PC for the target computer, I don't see the variables reflected on the target computer.

    Is could someone please tell me what error I do here?

    Hello

    The problem has been resolved. It is LabVIEW time real 8.20 which has been altered. Therefore, did a re-installation of LabVIEW. Now I have the sample project attached (ex2.zip) in the previous post works perfectly. Thank you for your help.

    Kind regards

    Prashant

  • How to transcribe audio streams in real-time text?

    Hello

    Currently, I listen to a live audio stream voice using Communicator Desktop WAVE on Windows XP. I want to use a voice-to-text application to transcribe this audio in Word or Excel in real time. I'm looking to reproduce the same experience as the direct subtitles on TV. I read that Windows is a speech recognition software and there are also 3 application of the part such as Dragon NaturallySpeaking. Is it possible to what I can achieve this?

    Thank you very much

    dambk.

    Hello

    The speech recognition software is not transcribe audio voice to text.

     
    You can search in your favorite search engine for the voice to transcribe text software.
    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    You can also visit these links to learn more:

  • Frequently corruption file characterset OCR and real-time CVS1454 exe file

    HI I am facing strenge same problem in the application of vision. I'm using equipment NI CVS 1454. Is there an OCR on CVS application that inspect the product on the conveyor. I made different characters to choose file of different labels on the product. Now main problem is sometimes not exactly when my chracterset file, Pattern matching templete and corrupts my exe in real-time. I joined a few ok and corrupted file characterset here and also an exe in real-time.

    When I open my file (.abc) characterset in Notepad, that I found damaged files after entering text.

    ####
    #Date: Wed, Aug 1, 2008 11:28
    #OSName: PharLap
    #OSVers: 13.0
    #AppName: PH_EXEC
    #Version: 8.5
    #AppKind: AppLib

    LVRT. DLL loads the address: 0x002F6000

    I don't understand how this error massage journal if written in .abc or rtexe files, which make it currupt... I have also attached my structuring code image file.

    Dear prashantpatel21,

    I do not know how to disable the log of LabVIEW RT errors, at least, is not that you or I could have access.

    It's the idea that deactivation of LabVIEW RT logging of errors will decrease even more the impact of corruption?

    Have you made progress with your service request?

    ~ Nate

  • problem while conspiring waveform of the signal in real-time

    Dear Sir

    I use LabVIEW8.2 and USB1208FS for data acquisition. I have configured hardware with LabVIEW and data in real time using the Universal Library VI AInScBg.vi. When I draw my signal on the waveform (amplitude vs. frequency) then on axis x frequency ranges from 0 ~ 0.49 hz. I have change the sampling rate of 1000 Hz to 4000 Hz, but on the x-axis without frequency change occurs and it is set at 0.49 hz. Can you please guide me how can I get the frequency of my own interest on the x-axis.

    I enclose you daughter of LabVIEW for reference.

    Kind regards

    Muhammad Irfan

    Student

    UTP Malaysia

    0060149087570

    Simply change the text label of the x-axis of frequency does not automatically the correct calculation. You do not pass in the sample information in the service spectrum, so you get no frequency information. You can see the strain on the entry point. The function expects a data type of waveform as input. Without it, the dt will default to 1. Then, use the function create a waveform and add information from dt to it as well as your table of Y.

  • Debugging on a real-time target - deployment issues

    Dear community,

    After RT my 9651 sbRIO module wiring code, I do tests to check the intended functionality. For this I start my main VI who deploys the code on my SoM and I can happily move forward with my debugging session.

    Sometimes, however, while in the process of deployment, I get an error saying:

    [VI - name] .vi loaded with errors on the target and was closed

    When I open the VI it has no errors and the VI should work a fine might think.

    My solution was so far of the VI, just open move the wires and terminals round, re - save the VI and this is the deployment works.

    This trick worked for a while, because deployment error ca occur arbitrarily on different VI making debugging quite cumbersome.

    I then went ahead and just run the wrong VI in RT mode by moving terminals and structures around to get the VI runs in mode debugging, but it is very time consuming.

    Given that 3 people working on this project and we use git-subversioning I also do not want to "touch" each time just screws for the debugging session will without actually modifying the feature.

    Has anyone encountered a similar experience or perhaps found a magical setting to avoid this subject a lot of time?

    Hello

    If solutions already present Spex does not do the trick for you, clearing the cache of the compiled object can help.

    For more information, take a look at the following link:

    Why my screws are loaded with errors when it is deployed at my target in real time? -National Instruments
    http://digital.NI.com/public.nsf/allkb/7F6502FF0560FA9086257EB3005B13BA

    Concerning

    Alex

  • For a sequence in real-time output variable

    VS 2011, I have a sequence of real-time voltage step that sets an AO for a voltage given for awhile, and then resets the output to 0.

    Just before setting the output to 0, I want to read the response of my this stimulus of an AI System I call StepResponse. To do this, I place this in FinalValue I set as a Variable in my script. In other words, it is a parameter or a local Variable.

    Now, how can I get this out FinalValue? I don't see anything on how to "test" this variable to one of my user variable... I was able to do with the stimulus inherited in VS2010 Editor. Now, I'm stumped.

    Here is the sequence:

    and this is the profile of stimulus and settings below. I can set the fine settings via the API of LV, or run the Publisher of the Stimulus. But I can't seem to get out this FinalValue...

    THX.

    L.

    The return for a sequence (in your case FinalValue) variable is returned to the caller once the sequence has been completed as a result of this sequence. In your example, the appellant is stimulus profile that you configured. In a profile of stimulus, two relevant things will come based on the return value of variable a sequence called:

    1. The return variable value will be get recorded in the file of test result ATML for stimulus profile

    2. You can configure an assessment of output for the call to test sequence make a basic on the return variable test to determine a pass/fail result. For a numeric variable to return such as FinalValue, you can do a check of numerical limits to test whether the value is in or out of the specified limits. For a Boolean return value, you can translate either directly in a pass/fail result, or you can reverse the logic as well as False implies Pass.

    In addition, the LabVIEW API has a function, you can call once the sequence finished to programmatically retrieve the return value.

    However, in your sequence after that you store the value StepResponse in the return variable, you reset to zero before the end of the sequence. If your sequence always returns zero. I think that you do not remove this line and let FinalValue what so that you will get the StepResponse back closure instead of zero value.

  • Convert the project in real time

    I started to develop a routine that (finally) will be "split" between a host PC and a remote PXI, using LabVIEW Real-time.  I usually test these things on the side PC and create them using LabVIEW project.  I just started a new 'project' and build first the host code.  However, I simply said "New project" and got a "project without real-time targets.  Is it possible to add a 'target' to this project, or what I need to start over with a new project explicitly in real time?  Is the (only) way to do this by selecting new project from the main menu of LabVIEW Real-time (2010)?

    Bob Schor (who should know the answer to that now...)

    Bob,

    All you have to do is right click on the name of your project (in the Project Explorer window) and select new > targets and devices. Select yout real-time target. From there, you can right-click on this target RT and tell New > VI, which will create a VI targeted to run on this RT controller.

    There is really no such notion as "a project in real time. All projects are the same, but I suppose a real-time project is one that contains a real-time target in it.

    See you soon,.

  • difference between the real time module and module fpga

    Hi experts,

    I was wondering if someone could tell me the difference between the FPGA and the module in real time (in short).

    My understanding is that the FPGA module facilitates code LV that can then be designed for the specific advice of RIO, I have used this a bit in the past.

    The real time module, I'm a little more unsure about, all I know is that it allows the creation of a 'real time' i.e. deterministic environment.

    My request is this: I wish I had several control loops running on two tables of RIO, with the host PC mainly used for recording data and user interface. I see that I have no need of RT on the host (Win XP should be good).

    Do I need the RT module?

    You are right.  In the scenario you describe, you won't need to LabVIEW RT. LabVIEW RT is used to create a deterministic execution on specific targets for intel such as the PXI-8106 and PXI-8108.  You can still use strings and floating point on RT.

  • UDP playback does not work on a real-time target

    Hello

    I am running LabVIEW RT 8.6.1 on a PXI 8106 RT controller.  LabWindows/CVI for RT 9.0.0 execution engine is also installed that I develop using LabWindows/CVI 9.0.  I'm trying to send some data UDP for an external PC via the network for software running on the controller, but this does not work.  The UDP packets are certainly get sent (I receive on my PC when the transmitter to reconfigure my PC IP address) but the UDP callback function is not called.  The call to CreateUDPChannelConfig returns OK.  Here's the (very simple) code that I wrote based on the example of reading NI UDP:

    #include 
    #include 
    #include 
    
    // Global variables
    static int reader_channel = 0;
    
    // Global functions
    int CVICALLBACK UDPCallback (unsigned channel, int eventType, int errCode, void *callbackData);
    
    /// HIFN The main entry-point function for the Real-Time DLL.
    void CVIFUNC_C RTmain (void)
    {
        int errno;
    
        if (InitCVIRTE (0, 0, 0) == 0)
            return;    /* out of memory */
    
        // Create UDP receive task
        errno = CreateUDPChannelConfig(49152, UDP_ANY_ADDRESS, 0, UDPCallback, NULL, &reader_channel);
    
        while (!RTIsShuttingDown ())
        {
            SleepUS (1000);
        }   
    
        CloseCVIRTE ();
    }
    
    int CVICALLBACK UDPCallback (unsigned channel, int eventType, int errCode, void *callbackData)
    {
        static int udp_received = 0, default_rx = 0;
    
        switch (eventType)
        {
            case UDP_DATAREADY:
                udp_received++;
                break;
            default:
                default_rx++;
                break;
        }
    
        return 1;
    }
    

    All that happens is that software is just waiting for the callback to be called (which never does).  I found this ad that described a similar problem, but the developer was using LabVIEW and although he has found a way round the problem, he was never heard as to why it worked.

    Thank you

    Martin

    Hey,.

    Although the problem is now resolved, I thought that put the code for others see if the same error is encountered. The modified code is tested and works. It is saved as an attached png file.

  • Browse the contents of the hard disk of the target in real time

    Hello

    Is there an easy way to browse the content of the hard drive on a real-time target by using the file path control (or another type of control)?

    What I have in my application is a PC real-time desktop (running on PharLap) who has a Main.vi running on it. There are a few configuration files (for this VI) I want to be able to read and record to that would be stored on the hard drive of the target in real time. However, when the application runs and I hit the Browse button, it displays the contents of the Windows machine and not the machine in real time. Is there something I'm missing?

    Please note that I can send via FTP on the Windows computer to the target in real time and can interact with the drive of the target in real time without any problem.

    Thank you.

    Mike

    If you LV 2013 actually use WebDAV screws thus:

    http://digital.NI.com/public.nsf/allkb/4EBE45E8A816B19386257B6C0071D025

    http://zone.NI.com/reference/en-XX/help/371361K-01/lvcomm/WebDAV/

Maybe you are looking for