How to stop instances of a Subvi from data sharing?

My first experience with a Subvi I created myself has no . The first instance works very well. But when I use a second instance of the Subvi that they interact with each other. They seem to be somehow sharing data.  In other words, when I probe a wire inside a Subvi instances I see values that should be present in the other instance.

I created the Subvi in literally "manual mode". Everything falls into place as examples of 'LabVIEW Edition student of 8'.

The code works fine if you use is not in a Subvi. In other words, when I "cut - paste" the code several times, it works correctly. But when I wrap the code in a Subvi I get interaction between bodies. Has anyone else had this problem? What do you have on this?

Thank you

You have several problems.

1. your main VI which calls a Subvi is called USC_SG_subVI, but you posted USC_strain_subvi.

2 USC_strain-sub-VI, is NOT configured for a re-entrant execution.  Look at the file/VI then execution properties.

3. you use a node of feedback within the Subvi.  (Which is another variant of a change uninitialized records).  I recommend that you keep the Subvi feedback and make it a part of the master while loop in you main VI.

Tags: NI Software

Similar Questions

  • Tutorial: how to stop a loop 'while' Subvi, which within the main program loop 'while '.

    Hi ppl,

    I searched through the forum on the topic above, but still don't know how to do this. Maybe one of you can post the solution of this important issue.

    I have attached a very simple program: I've done a few while loop as a main program and Subvi as a post-secondary program. Inside the Subvi also manages some while loop. All I want to do is to push the stop button in the main program that will stop the while loop in the second channel; to create a kind of judgment of reference in the main program which influence only the stop button on the Subvi. During this time the loop of the main program will still work.

    Thank you.

    I modified the code that you have joined. check.

  • How to stop execution when modal Subvi open?

    Ladies and gentlemen,

    A very simple question: I sometimes modal dialog boxes, which can be closed (which can happen during programming, when logical not completed, or if one of the modal dialog boxes then opened, and then main VI is started). Then, when it happened, so the only way to stop execution is killing LabVIEW of Task Manager. I remember it was something simple how stop running without killing LabVIEW, but do not remember. Can you please give me a hint - how to stop the run in this situation? Yes, I know not Ctrl +. combination, but this does not work in this case.

    See the attachment for more details.

    Andrey.

    Try useful tool of Darren

  • How to remove tabs, several spaces, quotes from data in the column.

    Hello

    How can we remove legs, several spaces, quotes from data in the column.

    Entry:

    H ope you 'are' Ingo w ell

    Output:

    H ope do you everything - there is a tab in hope and double-spaced in the well. This should be replaced by space. (Tab and multi spaces)

    I found myself with below:

    REGEXP_REPLACE (REGEXP_REPLACE (Replace (col, Chr (9),' '), ' () {2,} ', ' '),'[' ""]', ")

    Can we do more efficiently, your contributions are appreciated.

    I tried

    REGEXP_REPLACE (col,'[^ [a - z, A - Z, 0-9, Chr (0) - Chr (127) [: Space:]]] *', ") but the tabs still exist and that my data have German characters I can't go along with this.

    Thank you

    GVK.

    Hello

    Karthik417 wrote:

    Hello

    Thanks for your suggestion. In the above expression, we still missed to replace the double quotes.

    So thought we must use another regular expression instead of REPLACE.

    Select REGEXP_REPLACE (REGEXP_REPLACE (' H ope you "are" d "Ingo ell w ',' [' |])) CHR (9) | + ',' '),'["" "]') twice;

    I suppose we must use at least 2 REGEXP to achieve and cannot get it with a single expression.

    Thank you

    Sorry, I removed single quotes, not double - quote.  (This shows one of the reasons why having a few lines of sample data is very useful).

    I think you don't need 2 separate functions.  I do not think that the two must be REGEXP_REPLACE; You can use TRANSLATE to remove both types of quotation marks in a single function call:

    TRANSLATE (REGEXP_REPLACE (col

    , '[ ' || CHR (9) | ']+'

    , ' '

    )

    , '?'''"',

    , '?'

    )

    Of course, you can use use REGEXP_REPLACE to remove the quotes, if you really want to.

    Powerful they are, regular expressions are basically only 1 thing, things not 2 or more different.  Sometimes, he can watch as they do several things, because they can operate on character classes, like the series containing the and the and a variable number of characters.  For example, the REGEXP_REPLACE function, I used above is simply changing expression expression x y, where x is 1 consecutive or more characters of a given set.  As we both demonstrated, we can have a separate function that changes from p to q, but I know not all built-in function which, in general, can change x to y at the time that it changes from p to q.  TRANSLATE comes close, but TRANSLATE only works if x, y, p and q are single (or NULL), characters not expressions.

  • Anyone know how to stop the Atlas DMT cookie from each time I start (after the removal of the it)

    I use a Panda scan after the start and believes that this same cookie is found and removed whenever (Atlas DMT Cookie) how can I stop this?

    The path to the file is settings\user\cookies\woby1h2u.txt and the documents of c:\

    Hello

    This seems to be a problem with Spyware, I suggest that you download and run a full scan of the system using the Microsoft Safety Scanner.

    Microsoft safety scanner

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note:

    The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    You may also be interested in downlaoding the Microsoft Security Essentials, which offers protection in real time for your home or small business PC that protects against viruses, spyware and other malicious software.

    Click on the link provided below for more information.

    http://www.Microsoft.com/en-us/security_essentials/default.aspx

  • Smartphones blackBerry how to stop e-mail messages sent from my computer to be sent to my phone?

    When I send an e-mail to my office, I get a notification on my phone with a copy of the email in the new message folder.

    I don't want a message on my phone, whenever I send an email from my computer. How can I change this?

    The e-mail account is a gmail account?

    If your answer is Yes, follow this link to fix the problem

    http://www.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB10332&sliceId=SAL_Pub...

  • Smartphones blackBerry how to stop old items to erase from my Storm after synchronization with outlook

    When I sync my storm with outlook all items older than a week suddenly disappear.  I need old items to stay until I delete them.  Also everyone had their songs music disappear and reappear?  They are stored on the memory card.  Thanks for any input.

    Thank you, don't know how to check the memory leaks.  Anyway, I got my music back by making the battery pull and I got all my info calendar back entering the Office of BB and make a new configuration of the synchronization.  First I had to synchronize in the direction that had most of the data to restore the information that has been deleted (for example my storm had lost a few weeks of the calendar events to I synced ensuring he was leaving office the storm.)  Once it has been restored to the storm, I have synced then two-way and all data are intact.  I hope it stays.  Also, I went in the Outlook Options, preferences, calendar free/busy Options Optiions and changed it be Publixh 12 months of free/busy information of calendar on the server.  I'm not sure it makes a difference, but keep your fingers crossed.  I know that I am.  Hope this helps and thanks again everyone.

  • How to stop incorporation of art linked from another file .ai Illustrator?

    I create a file for updating the images to print multiple files (e.g. changing a logo in the main file will update on several print templates when they are open), I did this by recording the main file with one .eps with individual work plans. Then, I'm going to the print template and place the art where it is needed and save. When I update the logo in the main file, it will change and be placed where I need already to save time. EPS files are slower and more files have when they are used as links, but when I try the same thing with an instead of an eps links .ai file automatically integrate into the fence. Is there a way to prevent embedding links when I close the file if the hand is an AI instead of an eps?

    [Left the forum Cloud/Installer generic for program specific forum... MOD]

    Uncheck the box in the second (second image) dialog box that says include linked files. This is what causes the embedded files.

  • How can show what user name run from data base users in report page

    How can show what user name of user login to report 10g

    Another qusetion I create report empolyee 012343 identification number but 12343 zehro report shows not how can set it

    someone guide me

    to define the column as a number or character type?

    If it's the number, you can try a format mask with a '099999' 0. I think so.

    or you can select it as to_char (...)

  • How to get unpaid balance 30 days from date selected

    Hi all

    I have to get the UPB (outstanding balance) of the table every day and I need to check the UPB of last month. There are daily and monthly tables separate. And according to the user enter the range of dates as the value of the setting that I need to get the monthly table.
    for example if the user enters the date range 01/08/2011 to 15/08/2011 while I check for the month of July monthly table to get the month previous UPB.

    Help, please

    Thank you

    Have you tried the add_months function?

    This would allow you to find the date of one month before the given value, then you can truncate to get the previous month. I have not tested, but I guess that the code would be something like as below:

    select trunc(add_months(to_date('15-08-2011','dd-mm-yyyy'),-1),'MON')
    from dual;
    
    01-JUL-11
    

    I don't know the layout of your tables, but I hope it helps.

    Kerri

    Published by: Kerri_Robberts on August 17, 2011 17:14

  • How to stop blackBerry smartphones 'sent from my blackberry verizon wireless' projection on e-mails

    Did someone with Verizon knows how to stop the annoying slogan "Sent from my Verizon Wireless Blackberry" at the bottom of emails when sent from the Blackberry?

    s ' please connect to your BIS account live www.blackberry.com/go/vzw and edit trhe account on the site of the BIS Setup.

  • Even though I've updated to the latest version several times, I get messages from "update." How to stop the input messages?

    I get "upgrade to the latest version of Firefox" messages on my iMac, even if I downloaded the latest version several times. I'm afraid to click on the update message, because it might be spam/virus/whatever. Mozilla tells me that I downloaded the latest version of Firefox successfully. How to stop messages from appearing?

    Hello!

    Thank you to get in touch with us here at Mozilla's Support. I'll do my best to help you.

    To better help you with your question, please provide us with a screenshot. If you need help to create a screenshot, please see How to make a screenshot of my problem?

    Once you have done so, attach the file to screen shot saved to your post on the forum by clicking on the button Browse... under the box to post your reply . This will help us to visualize the problem.

    I see that you are running Firefox 25.0.1. Our latest version is the version of 26. But Firefox should display this update constantly. The screenshot is necessary so I can see if it's a legitimate link to Mozilla.

  • How to stop taking control in the page from popping up every time I double click on the firefox desktop icon?

    Pop - up when I double click the icon of firefox on the desktop, the home page and control of two-page fact sheet page. How to stop taking control in the page from to appear repeatedly when I double click the icon of firefox?

    You can solve this problem with the file blocklist.xml was forced to update.

    See:

  • How can I stop my photos be deleted from all my devices when I remove my phone is off

    How can I stop my photos be deleted from all my devices when I remove my phone is off

    With no information can only guess

    My guess is that you are using iCloud photo library and if that is correct, then this is the way ICPL works and why it exists - it synchronizes the libraries on mulciple devices by keeping anyway - any changes made on any device is performed on all including additions, deletions, and modifications

    If this isn't what you want then you should not use ICPL

    For devices with limited storage you put to use optimized photos keep the originals only on iCLoud photo library and any other device with large storage available

    LN

  • How to stop receiving messages from text from other devices

    How to stop receiving messages from text from other devices?

    Can you give us some more information please? Are you getting these texts in all of your devices, or family members?

    If you are getting the texts family members and share one Apple ID, that's why.

Maybe you are looking for