Read the indicators continually the Subvi execution

Greetings,

Number of previous threads about this problem. However, it looks like all the need of huge changes to to the Subvi.

Now, we have a bunch of Subvi programmed by different programmers, but at the end it is difficult if we combine all the indicators in each Subvi and display the values in the façade of a single main vi, without big changes for each Subvi.

Control reference using will be a solution, with some changes in the sous-de VI, but it seems that the main vi and Subvi need to run at the same time. We cannot run only a Subvi himself then.

Variable overall is another station, however, we have a huge amount of indicators, creating global variables for each indicator in each Subvi seems like redundant procedures.

'

I wonder if there is a way to create a main vi shell-like read these indicators permanently without needing to touch the inside of each individual Subvi. Or please let know us if you have better ideas.

Thanks in advanced for any comment.

-chen

I was not involved in all this other discussions that you mention, so I can only go off of what you have described in your post. So the questions I ask are:

-Don't the SubVIs run continuously (called) before the end of the application?

-How to stop the sub live? You are reliant on the controls on the front panel (for example, a stop button)?

If you'd rather not touch the sub live, you could put the sub sub-panels in the main vi screws. This would allow you to expose their facades, hosted in the main vi. Search for Sub panels using LabVIEW or online. It would also expost controls too, but you can customize the front of each to hide these off-screen, so to speak. There is also a VI properties that allow you to programmtically re - locate originally and resize the front panels in order to ensure the proper display.

If this does not work for you then I think you should take a hard look at your architecture. Sometimes you can get so far from Shoemaker to things together. Look closer at all misconceptions of what a VI is actually and what calling a VI in an another VI means in fact (you're basically calling a function with some extras added as a front panel). There are ways to get what you want by programming, but they are hard work, not very easy to manage and can be more effort than other solutions.

My strategy of choice? Use a messaging system any to communicate between your objects in your system. You have your items (hand UI, each Sub VI is a small entity of independent work of others) and you can use one of the buildings available to you through LabVIEW base (notifiers, queues, events user Global Variables (yuck), FGVs etc.) to allow these objects communicate with each other.

But I guess you've heard all this before. All I can say is that "they are right". Sometimes there is no better solution for the bad design to re-design.

Tags: NI Software

Similar Questions

  • How to read the color table in a subvi?

    How to read the color table in a subvi? Is it made by a reference to the table or with a global variable? For a better understanding of the problem, I added to vi. Run the "run.vi." I want to see

    the background color of the table "run.vi" in the subvi called "read color.vi".

    How can I do?

    Thanks in advance

    Norick

    pop up on the wire table refernece and establishes 'control '. Add this control to the icon of the sub - VI decision-making and then wire ref of the appellant to this Terminal VI so the calling VI move the ref to the Subvi.

    Ben

  • The DATA EXECUTION PREVENTION won't let me continue my game.

    DEP refused to turn it off for my game program.  DEP MUST be disabled for me to continue with my game. This is not the first time that this program has fubared my games.  I want to turn OFF DEP for THESE GAMES, or GET RID OF THE adj. (I'd rather my computer, only to not be able to run my games.) these games are played for more than a month and is very frustrating to get to a point and then not be able to continue.

    I have a problem with the current game is Kings Bounty The Legend. (I have not see why this series, widly available game is to be screwed by this lame security program.)

    I appricate your time and attention to this problem.
    Thank you
    killyr

    Hello

    To turn off DEP for your game, do the following.

    Click "START" > "RUN" > type "sysdm.cpl" > click OK
    on the 'Advanced' tab > running > click "settings".
    in the click the "Data Execution Prevention" tab
    "Turn on DEP for all programs and Services except those I select" and then click on 'Add' to add the programs you WANT to use the DEP feature.
    Click OK two times.

    IF you want to turn off DEP for good, then follow the steps below.

    Click 'START' > right click on 'My Computer' > click 'properties '.
    Click the "Advanced" tab > click on 'Settings' under 'startup and recovery' field
    in the field 'System startup' click 'Edit' > 'BOOT. INI file"opens in Notepad,
    look for something that says ' / noexecute "
    If the value is "AlwaysOn" then replace it with "AlwaysOff"
    otherwise, add the following line ' / noexecute = alwaysoff '.
    Double click on 'OK '.
    Restart the computer.

  • How can I fix this "Setup was unable to find (or could not read) the language specific setup resource dll, unable to continue." Error if please restart and try again. » ?

    I'm trying to install Microsoft FreeLancer on Windows 7 64 bit Home Premium edition (according to WinVer: Version 6.1, build 6701, Service Pack 1).

    After inserting the DVD in the drive and run "Setup.exe", I am invited by the UAC to elevate permissions - who I am agreement - then the following error message appears: "Setup was unable to find (or could not read) the language specific setup resource dll, unable to continue." If please restart and try again. »

    The only valid technote, I found the issue was http://support.microsoft.com/kb/258496. The below is the list of the things that I tried after reading this technote - but no avail.

    • Of course, I tried to restart.
    • I checked the DVD is in good condition, even with regard to the attempts to install from the disc to a friend and even went up to compare the MD5 of all files on two DVDs, the checksums match.
    • I tried using the compatibility mode for XP, although according to the report of another user on the statements of the Windows Compatibility Center that this should not be necessary.
    • I ran a full "chkdsk" (i.e. one scheduled for after a reboot, rebooted) and chkdsk reported no error.
    • I deleted all files "di - use ' %TEMP%, immediately after the restart and before you run setup.exe.
    • I've looked at this the EMET tool had an exemption for 'setup.exe' and my tool anti-virus was disabled before installation.

    Everything I try seems to have no effect on the resolution of this problem.

    Can anyone suggest any possible causes of--and, ideally, solutions to-this issue?

    Kind regards

    Alex.

    ... "Step 1: perform the clean boot to verify if it's a software conflict matter. '...

    -Tried but not given to impact.

    ... "Step 2: System File Checker tool"...

    -Tried but not given to impact.

    ... "I would have you check the same DVD on another computer and check if it works. '...

    -The only other machine that I use Ubuntu. My other half uses only his Mac.

    I managed to work around this problem by using the following workaround solution:

    I installed Freelancer CD on a Windows XP virtual machine running in VMWare Workstation. I then moved the installation directory (C:\Program Files\FreeLancer) off the coast of the virtual machine on my Windows 7 computer in (C:\Program Files (x 86) \FreeLancer).

    The game seems to work fine as long as it is run with administrative privileges (that is, the freelancer.exe running). Without administrator rights, the games is never recorded. With them, they are registered under "C:\Program Files (x 86) \FreeLancer\EXE\Accts\SinglePlayer" successfully.

  • After execution of the new update (2015.2), I can't read the imported video. Rendering seems to be a color chroma confused. I need help NOW please

    After execution of the new update (2015.2), I can't read the imported video. Rendering seems to be a color chroma confused. I need help NOW please

    FAQ: Why am I getting yellow and red lines running through my images on pause?

    Update of El Capitan.

  • The creation of the Subvi problem

    Hello

    I'm a 4th round new year to Labview. I try to create a joystick control for UAVS or VI. Now, the main part of the VI is made. But when I try to use it as a Subvi, I can't read all the data. On the blank page of VI, I just create indicators and control and connect them to the Subvi.

    Can someone enlighten me as to what has gone wrong?

    Thank you.

    Ting Yu

    Hi Ting Yu,

    Welcome to the Forums of NOR.

    If the VI joint is what you are trying to convert it into a Subvi, the reason for which it loses its functionality is due to the While loop. You have to imagine that when While loops are implemented, because data flow they are mostly unconscious operations of data around them. For example, your values such as Front/Back (Y) output indicator will be only passed out of the While loop once it is finished (in regards to your hand VI/Top level VI).

    Make your code function properly, only to convert the internal code of the While loop to a sub - VI, then use the Top level VI to control its execution. For example, you need to separate the execution control and manipulation of signal for your code to respond normally.

  • Difficulty to read the instrument of series and acquisition of data simultaneously.

    Greetings,

    I have some trouble getting my VI read from my data acquisition and instrument of the series at the same time.  If I run the Subvi simultaneously (i.e. subANG runs in a window and subVEL is running in a second window) both return the correct values and behave as I expect.  However, if I call the Subvi in a society mother VI and try to run them both in the same loop structure subANG gets stuck and won't be reprobed with a signal change.

    I also tried to use a stacked sequence or plate to separate the execution of subVEL and subANG, but I still get no response to subANG.

    The point is is that, if I run Parent.VI in a single window and then creates a copy of subANG (call it '--copy' or other) and run it in a second window, Parent.VI behaves properly and will update the readings as they appear in '--copy '.

    I enclose 3 files.

    (1) subANG.VI - this bed an an inclinometer RS232 signal.  The signal is refreshed every 10ms or more.

    (2) subVEL.VI - this bed raw tension of a channel on the acquisition of data, calculates the average then that converts into a pressure difference and finally a speed based on the pressure and temperature inputs.

    (3) ParentVI.VI - they simply call and displays the Subvi

    My guess is that it's a buffer problem, but I am confused.  Someone out there in Labview Earth knows why this might be happening?  Suggestions welcom.

    It is not an instrument of series.  It is a UEI PowerDAq with their typical A/D and the cable.

    I found away to make it work by placing subANG and subVEL in some time different loops side by side in ParentVI.

  • How can I fix an error message saying "could not read the manifesto of chrome?

    Unable to read the chrome manifest ' queue: / / / C:/Program % program % 20Thunderbird 20(x86) /Mozilla % 20Files / chrome.manifest'.

    All of a sudden, I can't connect to the server '? ' and I get some error messages. The above more "the RETR command failed" and "sending the password has failed, #AUTH701 Service unavailable."
    I tried to remove my password of memory and he asked me again but no joy. I checked and my webmail - Yahoo - works fine. TB won't just go get him. Can I get help from anyone please?

    The problem is that the ATT / Yahoo email service is apparently run by kindergarten children and no client att is getting what they pay for. They give a list of messages to thunderbird, it can recover, then say gotcha I can't get back them. ATT it works not. You use their mail add in a browser.
    I speak of this here http://thunderbirdtweaks.blogspot.com.au/2013/04/the-retr-command-did-not-succeed-thank.html

    However, if you dig into your Thunderbird profile, locate the popstate.dat file and delete it.

    Menu (alt + H) help > troubleshooting information

    Click the display folder

    Close Thunderbird

    Navigate to the mail folder in the Explorer window that opened.

    Now the att.yahoo or any name server they use this week.

    popstate.dat will be in this folder.

    Delete this file makes Thunderbird forget where it is up to download mail from Yahoo, apparently changing id numbers at random intervals or something. The result is that you have left on the server is downloaded again.

    So, you can this add-on to clear the mess. https://addons.Mozilla.org/en-us/Thunderbird/addon/remove-duplicate-messages-Alte/?src=search

    I blame ATT / Yahoo also are about 99% of the people who come on these forums about this ATT/Yahoo customers. But it could be the continuation of security they provide as well. McAfee caused problems with Thunderbird for over a year and my best recommendation is to not let anywhere near your mail. It is, however, something quite unique to Att / Yahoo that does not exist until they became involved with the yahoo service.

  • How get (generator) TC to read the TC source not protrude TC?

    I do a series of window dubs. (Multiple clips on a unique timeline with time code displayed in a third window below).

    I can use the timecode generator to make the said window.  And, of course, when you drag the timecode on the timeline generator, it reads TC according to chronology (which of course can be adjusted, offset, etc.)

    However, I want to TC to read what generated the source. (Time of day) I have several clips to add window TC, and I want to put on a single export schedule.

    So, I opened each clip inside of the timeline (from Explorer) and added the TC generator. This works. The window, in fact, read the source (time-of-day) TC. All good except that...

    When I start to drag my clips to a new timeline (to put in a continuous sequence), the TC generator GOES to the project TC (starting with zero). I even tried to compound each clip inside the timeline... same result.

    How can Q: I ask various clips in a timeline, with EACH clip display the timecode according to its source? (NOTE: the TC compensation project does not work, because each clip on the timeline has a new beginning TC, depending on the time of day.)

    IM sure I saw a plugin for this. Try fcpxfree.com.

  • Equium A110-280 does not read the disk Office XP PRO!

    Hi all

    Is there anyone who knows how to install MS Office XP PRO on my satellite A110-280?

    I have a full version of Office XP pro, but this strange pc does not even read the cd...
    Cd station just continue, and nothing happens.

    I tested the cd on the other two machines, and there is no problem.
    Also tested another cd on the A110 and they get up in Explorer, but the office-cd does not work...

    Is this something strange happens simply on Toshiba?

    Best regards Patrick

    Hello

    It s nothing unusual, I know a lot of cases where the CD/DVD drive could not handle a drive

    In this case you could copy/burn the Office CD with the help of another computer!
    After this attempt to install the desktop software using this second disc!

    I think that might help you.

  • Problem in reading the PWM signals in myRIO 1900

    Hi guys,.

    I work with myRIO to generate PWM pulses.

    Here is the block diagram of my circuit.

    I connected external to the analog input pin PWM pin. So I can watch the PWM pulse in the waveform table.

    But the waveform is not clear. This is as shown in the screenshot.

    See that the waveform is not correct. When I'm watching the same PWM pulses in the CRO (cathode ray Oscilloscope, oscilloscope real in the real world), I get exactly the waveform. that is, the PWM pulses are generated correctly. But the analog read is unable to read the PWM pulses.

    I faced the same problem with the pin of analog reading earlier when I read the input voltage. Is not give continuous reading of the voltage input.

    Please guide me how to read these impulses via analog read.

    Please tell me at what frequency range, I can use this myRIO to generate impulses?

    I am able to use 40 kHz?

    Hi rcs.
    The desired pulse frequency is 10 KHz. My sampling rate must therefore 100 kHz, which is not possible in data acquisition mode. There is another problem with the myRIO. Only AI0, BI0 and CI0 has n-sample mode. The analog input pins is still have no n-sample mode. But in my project, I need 4 pins of I in n-sample mode, which is not possible. In addition, the sampling rate should also be favourable, which does not happen in my case. We can say that this is a disadvantage of myRIO with data acquisition mode.
    The only alternative to solve this problem is to use FPGA in myRIO.
    He can taste a 25nS rate.
    But little complexity is there

  • I have problems with of the Subvi after the use of customized device model

    I used to start my machine personalized customized device model and I got success in the deployment until I started to do more complicated the Subvi.   I am currently trying to convert low FPGA and high ticks to the duty cycle, but for some reason when I add it to the RT VI "Data read of HW" driver, it seems to cause a downtime... ideas? Is a circuit agree? I have added a time delay but I am still having problems. It is a device online, so I'm suspicious of it hogging resources, but am not sure.

    Attached images are meant to be read like this:

    1. the case of the RT pilot ReadDataFromHW

    2. it's the Subvi calling ToDutyCycle SIMStimPWMSubVI

    3 ShiftRegister.PNG is inside the Subvi.

    As a robotician I celebrate early and often (usually by a failure or two...), but it seems that the answer was to transform fundamentally the While loop for a loop with a count of 1 and then remove the additional elements to ensure that each shift register has that one and then right click on the shift registers and convert at the Feedback node...
    I was able to deploy to VeriStand as a custom device and it runs and calculates the factor of use with no problems. WOOHOO! Where - what is celebrate button!

  • Dynamic read the global variable (cluster)

    Hello!

    I would like to lika to read each control (label and value) in my global variable that contains a cluster. The problem is that I am doing it on a cDAQ and insofar as I undestand and has seen property th node do not have good worl on a real-time target. The code that I've tested so far is as follows:

    It's the main/fornpanel on my cDAQ. The Subvi in the main code contains the following:

    The phenonomen I've seen against hepatitis a is that it works very well maybe the first and second time when I run cod drank for the third time that the labels are empty. I read something that the dose of propertynode does not correctly for real-time target, but it is a way to come to the same solution using only not not the propertynode or you could use the different propertynode?

    Best regards

    Anton

    I solved it by using a library (Cluster Toolkit of Autotestware) to the GE in variant tables and depending on the type, I converted the variant accordingly and saved.  I guess that CVT would be able to do, but since I already use the cluster and they are "already here" it was more convinient for me to use this solution.

  • correctly when reading the negative value

    Hi all,

    It's about power meter device. in fact, I've already got the good value here, but I create additional calculations. the situation is:

    When the power reading is positive, I enjoy reading.

    power is negative, I misread (high value). so I need to subtract this value to 2 ^ 32 (or 4294967296).

    is that someone he knows the reason why he needs to happen?

    OK, "registers" are tables of U16. so try to typecast I32. How many elements in the table?

    Somehow, you do everything with tables, but you only display one item. It almost seems to me that everything going primitive "contact numbers" be given ordinary scalars. There are also a lot of duplicate code. You might get away with an instance and a loop FOR, for example.

    Representations of data are a mess with a wild mix of types of data and constraints. The Psum (High value) is I64 without reason (under the constraint of a DBL two values U32 (?) division). I do not understand the function of the Subvi. Can you explain?

    You can place an indicator of one of the 'registers' tables, run the VI so it contains data, then turn the indicator in a constant of schema that contains the typical data (Right-Click... change to constant). Save and attach the VI.

  • DAQmx read - the values on the scale or not? Binary conversion.

    Hey everybody,

    I had a question regarding making the scale and the release of Renault. I use LabVIEW 2009 SP1, with a pilot DAQmx 9.0.2 and a X-Series card. I'm reading the data my DAQ and store it in a binary file.

    How is the acquisition of data read samples, in General? that is if I select NSamp NChan I16 2D Analog on my DAQmx Read, what kind of values can I expect if I was at the exit of the probe data? (Suppose I have readings in mV values and my overall fork's 04:55 V.) When he wrote in the binary file, what happens, what can I expect to see in terms of values - or maybe just descriptively?

    Overall, a little insight would be very helpful. I tried to troubleshoot asymmetric readings I received, so this will help me immensely.

    Thank you.

    Hi Matt87,

    Reading data as I16 will return the result adjusted, not calibrated for 16-bit ADC.

    If you want to write your own binaries, you'll want to include scaling of device - for series X, coefficients a 3rd order polynomial.

    Here are two examples that show how write to a binary file and read the data back.  In this example, scaling coefficients are stored in the file header:

    Continuous gain and voltage drop (binary) chart

    Graph of the acquired binary data

    That said, I would recommend that you look in the record feature integrated TDMS introduced in DAQmx 9.0.  The result is a file appropriate binary .tdms which is a standard format that can be opened in LabVIEW or in several other programs with the plugin.  See the following examples for how to use the function:

    Streaming data and log to the PDM file

    Continuously to log in a PDM file data

    The second example does not force you to read the data in the memory of LabVIEW and use the minimum CPU.  The first example allows you to see the data that is acquired.

    Best regards

Maybe you are looking for