Instances

Hello all,
                               Can you please tell me how to open multiple instances of same SubVI. One standard method which i know is to convert the vi into vit, use open reference,  for loop & convert the subvi exection to reentrant. which is described here. 
                                But i cant use this because i need to pass data to subVI & based on this input only subVI will process the data. If using this method i can pass the data than its great 
Problem ?
A subVI which i want in multiple instances will execute different task based on the passed value from the called VI but front panel will same.
Kudos are always welcome if you got solution to some extent.
I need my difficulties because they are necessary to enjoy my success.
--Ranjeet

I tried this also than also its not working.
I am sending you my code.
Please let me know. 
Each time you press add button from the master.vi by entering the different value. Its creating only value
Kudos are always welcome if you got solution to some extent.
I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
Attachments:
Slave.vi ‏20 KB
Master.vi ‏14 KB

Similar Messages

  • "cacheHostInfo is null" and Add-SPDistributedCacheServiceInstance : Object reference not set to an instance of an object.

    I am working on a standalone install Sharepoint 2013 (no Active Directory). I found newsfeed feature is not available and checked Distributed Cache service is stopped. When start it “cacheHostInfo is null” is returned.
    I checked the Windows service “AppFabric caching service” is stopped because the default identity “Network Service” not work. Then I change the AppFabric service identity to use “.\administrator” (which is also the sp farm administrator) and the service can
    be started.
    However the “cacheHostInfo is null” when try to start Distributed Cache service in central admin.
    I searched on web and found this blog: http://rakatechblog.wordpress.com/2013/02/04/sharepoint-2013-spdistributedcacheserviceinstance-cachehostinfo-is-null/
    I tried to run the script but it return error:
    Add-SPDistributedCacheServiceInstance : Object reference not set to an
    instance of an object.
    At C:\root\ps\test.ps1:8 char:13
    + $whatever = Add-SPDistributedCacheServiceInstance
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidData: (Microsoft.Share…ServiceInstance:
    SPCmdletAddDist…ServiceInstance) [Add-SPDistributedCacheServiceInstance]
    , NullReferenceException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletAddDistr
    ibutedCacheServiceInstance
    I am not sure what went wrong. Please give me some idea? Thank you for any comment!

    Can you deploy Active Directory as installing without is not a supported installation scenario - http://support.microsoft.com/kb/2764086.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Need help with Sharepoint foundation web application stuck on "STOPPING" error job-service-instance-GUID Number already exists

    Hi All,
         I cant get to stop SharePoint foundation web app service. Its stuck on status stopping
    I have tried the following:
    reset IIS
    restarted the Timer Service
    When I try to use powershell command to stop I get the following error:
    Can anyone who went through this help PLEASE
    Stop-SPServiceInstance : An object of the type
    Microsoft.SharePoint.Administration.SPServiceInstanceJobDefinition named
    "job-service-instance-1ff39eb2-12d2-457d-a749-265e350eb1b1" already exists
    under the parent Microsoft.SharePoint.Administration.SPTimerService named
    "SPTimerV4". Rename your object or delete the existing object.
    At line:1 char:127
    + ... pplication"} | Stop-SPServiceInstance
    + ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidData: (Microsoft.Share...ServiceInstance:
    SPCmdletStopServiceInstance) [Stop-SPServiceInstance], SPDuplicateObjectEx
    ception
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletStopServ
    iceInstance

    Hi,
    It seems that the issue is in the timer job definition for executing this operation.
    My suggestion is to start the service again and delete the job definition from the error and again try to stop it.
    This might be helpful:
    http://sharepoint.stackexchange.com/questions/22368/is-there-a-powershell-cmdlet-to-delete-a-timer-job 
    I had a lot of issues in the past when try to stop this instance after the Web apps are provisioned.
    As general rule now If I have multi-server Farm topology that has servers that should not serve Web App requests I turn off the service prior to provisioning any Web Apps in the Farm. 
    BR,
    Ivan

  • Multiple instances of firefox in task manager but FF doesn't open

    - Windows XP SP3 (up to date with all critical updates)
    - FireFox 25.0.1 (Note: Originally I had version 31 but a few days ago that stopped working)
    - Norton Security Suite (the comcast version) up to date
    - I have IE6 and Chrome 37 as backup browsers (Note: when FF stopped working, IE8 had also stopped working - page would open, only one system process, but page would never load)
    Ran the following scans:
    - SUPERAntiSpyware Free Edition
    - Malwarebytes Anti-Malware
    - Ad-Aware Antivirus
    - Spybot-S&D Start Center
    Found a few non-critical yet potential infections (nothing too crazy)
    Symptom persists as follows:
    - fresh boot of computer
    - open task manager (no instances of FF)
    - open firefox - process appears in task manager and immediately goes to 50%
    (nothing opens and nothing listed in Applications)
    - open a second instance of firefox - 2nd process appears in task manager
    (still nothing opens and neither instance appears in Applications
    (the two instances continue to run at a cumulative 50% CPU usage - one might be 15% and the other running at 35% - or both running at 25% each)
    - open a third instance of firefox
    (still nothing opens, and all three instances show in task manager processes and cumulatively run at 50% - example:15 +15 + 20 or 10 + 15 + 25)
    Troubleshooting:
    restored a drive image from May 2014
    - Note: Dec 2013 I had done a complete FRESH new install of Windows XP in prep for EOL and installed all updates, including SP3, so the image I chose from May was only 5 months old, but I chose that one because of some of the other programs I had installed that month and didn't want to go through that again
    - Note #2: I have drive image run a monthly PQI backup of my C: drive and my R: drive) I have two hard drives 300G each whereas C: drive is OS only and R: drive is all my downloads, my documents, my photos, etc)
    - after the image restored, I tried to open FF and IE8, neither app was problematic. FF auto updated from what version, I don't know, but it was on 31 when I realized the problem was BACK. Also ran some WIN critical updates, and IE8 stopped working too!
    uninstalled IE8 (rolled back to IE6 and now IE works - but obviously I can not live with IE6 - I need to update that!) uninstalled FF31 (and deleted all temp and profile account folders) and installed a brand new copy of FF25 - whereas I immediately force stopped autoupdater and deleted the update files so I could remain on FF25.
    Now FF25 will open only on the second instance of the process (the first will always go to 50% CPU, the second will open and run between 0 and 10 CPU, and only one application in Applications)
    - I have learned that I can kill the 50% process using task manager or process explorer and total CPU usage will drop down to 0% - 10%
    I can open many many tabs without any problems, and I can right click a link to open a new window and all is good, BUT if I use the desktop ICON, the quick launch ICON or the START > Programs > Icon, then the NEXT process will go to 50% and no second window will open
    I have seen dozens of forums that have reported similar memory issues, but none have been resolved.
    Can you help me? I don't want to upgrade IE6 to IE8 just yet, but I will not use it for anything but testing until I can upgrade. Note: besides being painfully slow, I have been switching to Chrome, but I have never enjoyed Chrome.... I am using FF right now to ask for help.
    Any suggestions?

    I have the "techie" answer for all of you. According to the tier 2 support at Norton Help Desk, the latest live update from Norton "utilizes Visual Studio 2012 which enables SSE2 instructions" and my processor can not handle that.
    He said they are "working on a solution" and offered to reply back on Wednesday / Thursday this week if a solution could be found...

  • 10g Enterprise Manager is not able to connect to the database instance

    I am running a Oracle 10g database in Solaris 10 server. When i am trying to connect to the enterprise manager it says Enterprise Manager is not able to connect to the database instance.
    The database instance is open,the listener is up and the agent connection also says that it succeeded.
    The server houses two 10g databases and the EM was working properly till yesterday. Kindly Help.
    Thanks in advance.
    Ram

    Hi,
    The EM is started and if i give emctl status dbconsole
    -bash-3.00$ emctl status dbconsole
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0
    Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved.
    http://gladiator:1158/em/console/aboutApplication
    Oracle Enterprise Manager 10g is running
    Logs are generated in directory /db8/ora10gr2/product/10.2.0/Db_4/gladiator_TROY/sysman/log
    it says that the EM is running. But when i am trying to access the URL it is in IE it says Page cannot be displayed what could be the problem for this???
    Thanks in advance.
    Ram

  • Create at runtime a job to run at the central instance with high priority

    Hi All
    Using the function modules  (  job_open, job_submit and job_close )  or ( job_open, submit via job  jobname number jobcount, job_close) I need that this job runs in the central instance and with high priority.
    I would like to know how to  inform  it using the statements above?  How to pass the parameters to make the job run in the central instance with high priority?
    I would appreciate any help.
    Thanks in advance.
    João Gaia

    Hi
    I hadn't realized about the parameter TARGETSERVER of  the function module JOBCLOSE. I am going to make some tests.
    thanks in advance

  • How to use multiple profiles within the same instance of Thunderbird

    About a month ago, I had Thunderbird configured with three profiles,
    and all three could be used within a single startup/instance of
    Thunderbird. That PC is now gone. I have re-configured the three
    profiles on a new PC, but am having trouble making all three
    useable within the same instance of Thunderbird. Can you help?
    Both PCs are/were Windows-7 64 bit.

    Thunderbird only opens on the default if one profile
    or
    if Profile Manager is instructed to ask at startup it will allow you to choose which Profile to open else it opens on the last Profile used..
    So it shows one Profile at a time in one instance of Thunderbird.
    However, one Profile can have many mail accounts.
    eg: I run 4 mail accounts in one Profile.

  • How to crate a page template for multiple page instances?

    Hello,
    When I use the Administration Portal to create a page with portlets in the Portal Resource Library, I can choose to use that page it in my portal. The problem is that I can use it only once. How can I crate a page template with portlets so I can use use it as a template for many page instances in one portal?
    I'm using Portal 8.1.6.
    Regards,
    Eirik

    Hey Dave, See the image below:

  • Use multiple iPhones with 1 instance of iTunes?

    Hi Guys,
    Be gentle with me as this is my first post and I'm not sure if this is correct discussion board, anyhow...
    I have been tasked by my bosses to do some research on the possibility of using iPhones as a business communication, email and document device to be used by the senior management of my firm.
    Basically, what we need is to be able to "sync" calenders, receive email, share documentation and contacts all using one instance of iTunes. This is to enable us to keep their data uptodate and identical etc.
    The users also have the option of using iTunes at home to do non business work i.e. upload music and videos.
    I am aware of the apple configuration tool to create multiple but identical "profiles" that can be applied to each and every phone.
    My questions are:
    1. Can we use one iTunes account (billed to the company using one credit card?) that can used by several staff at home? Or do we need to create accounts for every user?
    2. Is there any applications that can help us "sync" all phones either connected to our business version of iTunes or even "over the air"? Bearing in mind that if the user connects to iTunes at home it doesn't wipe important data!
    3. Can anyone recommend applications that we can preload onto the phones that will assist the user becoming familiar with the functionality of the iPhone? This would help us as we wouldn't have to show each and every user how the iPhone works!
    4. Lastly any advice on applications that would give us the ability to control and maintain all these instances of iPhones easily and without giving us a major headache?
    Thank you for any advice.
    MC

    You should check into MobileMe. It's an Apple service that allows you to sync mail, contacts, and calendars over the air to your iPhone.
    My wife and I both have iPhones and use MobileMe to keep them identical in terms of contacts and calendars.
    You could use one iTunes account with multiple iPhones, however, you're not going to get over the air syncing.
    Message was edited by: Benjamin Brossard

  • Can there be multiple ASM instances on single node?

    Hi,
    Can there be multiple ASM instances on single node?
    This one says No : http://www.freelists.org/archives/oracle-l/02-2008/msg00317.html
    And This one says Yes : http://www.databasejournal.com/features/oracle/article.php/3571371
    Thanks in advance.
    Thanks,
    Harsha
    Edited by: user498756 on Sep 11, 2008 2:23 AM

    ...that document doesnt say you cannot have multiple ASM instances on a node. It says "...ASM, +you only need one ASM+ instance for that computer, to manage the two database instances that use ASM."
    The fact that you only need one - and I cannot think of a good reason to have more than one - does not preclude the fact that you do seem to be able to have multiple ASM instances on a single node, each looking after its own set of disks and diskgroups.
    Again - I cannot think of a good reason to do so though!
    -Bob

  • Multiple instances of Mail.app must be possible

    I've seen many questions regarding the possibility of running multiple instances of Mail.app as separate processes. There seems to be much good reason to be able to do so, i.e. separating work and private mail, and very little bad reason to do so (maybe some problems when doing upgrades or backups, but I'm not yet sure of this). It also seems that it should not be so hard to do.
    So far, using some web acquired wisdom, I've done the following:
    1. Duplicate mail.app:
    sudo ditto Mail.app WorkMail.app
    2. Rename the executable:
    mv /Applications/WorkMail.app/Contents/MacOS/Mail /Applications/WorkMail.app/Contents/MacOS/WorkMail
    3. Use Property List Editor to set the following values in/Applications/WorkMail.app/Contents/Info.plist (Apple-S to Save changes!):
    Root/CFBundleExecutable=WorkMail
    Root/CFBundleIdentifier=com.apple.workmail
    Root/CFBundleName=WorkMail
    Root/NSServices/0/NSPortName=WorkMail
    Root/NSServices/1/NSPortName=WorkMail
    Root/NSServices/2/NSPortName=WorkMail
    Root/UTExportedTypeDeclarations/0/UTTypeIdentifier=com.apple.workmail.emlx
    Root/UTExportedTypeDeclarations/1/UTTypeIdentifier=com.apple.workmail.emlx.part
    4. Create the following directories:
    mkdir ~/Library/WorkMail Downloads
    mkdir ~/Library/WorkMail
    4. Launch the 'new' application 'WorkMail'.
    5. Create mail accounts using the application's 'wizard'.
    Here is where the first problem is encountered. The new account directories and files are still created at ~/Library/Mail. Navigating to Mail->Preferences->Accounts->[account_name]->Advanced seems to offer the option to change the mail store account directory, but nothing can actually be changed here. So...
    6. Quit WorkMail.
    7. Move newly created account(s) directories (where [newaccountdirectory] is a directory named with the format: [mail_type]-[user]@[domain].[tld]@[pop].[domain].[tld]]) to the correct location:
    sudo mv ~/Library/Mail/[newaccountdirectory] ~/Library/WorkMail/
    8. Use Property List Editor to set the following values in ~/Library/Preferences/com.apple.workmail.plist (Apple-S to Save changes!):
    /Root/ActiveViewers/0/AttachedMailboxListExpandedItems/[0to_#_ofaccounts]/=~/Library/WorkMail/Mailboxes/...
    /Root/CurrentTransferMailboxPath=~/Library/WorkMail/Mailboxes/...
    /Root/MailAccounts/[0to_#_of_accounts]/AccountPath=~/Library/WorkMail/[new_accountdirectory]
    /Root/MailDownloadsPath=~/Library/WorkMail Downloads
    9. Relaunch WorkMail.
    Everything at this point seems to work okay, **BUT** when I launch Mail while WorkMail is launched, I find that I cannot navigate into any mail folders within Mail. I receive an error message indicating that a necessary directory is locked. It seems that the locking mechanism used by the application may be hard-coded to lock ~/Library/Mail, and both instances of the application continue to take this action when launched, making it impossible for both to work harmoniously at the same time. I will conduct more testing and experimentation, but I am not yet capable of editing the application itself. If anyone can take us this last step, I'm sure there are many who would also like to be able to take advantage of the potential functionality.
    Thanks for any input!
    Steven Stromer

    Hopefully, there is someone with a programming background who
    can take me and other who have posted similar questions through
    the final mile on this...
    Well, I do have a programming background, and I must say that it amazes me that someone might want to do what you did to “solve” a problem that IMO doesn’t exist.
    What exactly is it that you expect to accomplish by running multiple instances of Mail, and for which neither (1) organizing your mail using multiple mail accounts, custom mailboxes, rules, and/or smart mailboxes, nor (2) setting up separate user accounts, are acceptable solutions? I just don’t get it.
    I've seen many questions regarding the possibility of running multiple
    instances of Mail.app as separate processes.
    I haven’t. Could you please provide a link for such a question, preferably one asked by someone who knew how Mail and Mac OS X work, i.e. a link for a case where there really was such a need?
    There seems to be much good reason to be able to do so
    I know of no such reasons, neither good nor bad.
    i.e. separating work and private mail
    I don’t see how that’s a reason to want to run multiple instances of Mail. Could you please elaborate?
    Maybe if you tell us what exactly is the problem that you’re trying to solve, instead of focusing on a convoluted “solution” that doesn’t work, we could propose a solution that does...
    and very little bad reason to do so
    Well, if the fact that it’s so convoluted and doesn’t even work aren’t bad enough reasons, I don’t know what it is...
    It also seems that it should not be so hard to do.
    I wonder what makes you think so. It does certainly seem hard to me, so hard that I don’t even think it can be done without breaking something, if at all...

  • HT3819 can music be shared on  tow seperate Itune accounts but on the same computer. for instance I have puchased a new iphone 5 but it is for work. i dont want to register under my wifes ID, but would like to share the music on hear account only. how can

    can music be shared on the same computer but to two seperate Iphones... with two seperate accounts. For instance my wifes account has all our music/app's for the family including kids. My phone must be seperate for work. How can I get the music we purched to share with my phone on a seperate account?

    Purchases of multple Apple ID accounts cannot be merged as noted here >  Frequently asked questions about Apple ID

  • Is there a way to selectively edit a conversation in iMessages instead of clearing the entire conversation? Like you can do on the iPhone for instance.

    Is there a way to selectively edit a conversation in iMessages instead of clearing the entire conversation? Like you can do on the iPhone for instance.

    Did you find an answer to your question?
    Would it also apply to Mountain Lion's Messages?
    Thanks

  • How can I correlate an Java instance number with a server id?

    I have 6 Web App Server running ABAP and the JAVA stacks. I can log into the Central Instance server and run /usr/sap/<SID>DVEBMSG00/j2ee/configtool/configtool.sh and bring up the GUI interface to "see" all the instances and their variables. I don't see an easy way to trace back the Java INSTANCE to the physical server's hostname.
    Is there a central repository to correlate a Web App Server Java instance number to the actual hostid/hostname of the target server? I realize I can log into each Web App Server and look at the /usr/sap/<SID>D00/j2ee/cluster/instance.properties and find the Instance number, but I was wondering if this information was held in the SAP Central instance or SAP Database somewhere.

    Hi Timothy,
    The instance ID used for the JAVA cluster is generated at installation time, and -amongst other things- takes into account the time it was generated. We installed two instances in parallel (on different hosts) and ended up with almost the same instance ID.
    Because this can be very confusing, we asked SAP if this was changable - in theory it is only an ID which could be changed as long as it is updated on all places the identifier is stored - but SAP indicated that that is not possible, nor supported. We ended up with a diagram of the system architecture with all the identifiers on our desk.
    Note that in the config tool - all instances are displayed with their system instance number. If you were to install a new system it might be usefull to install all instances with different instance numbers so you and distinguish more easily between them.
    Hope this helps,
    Cheers,
    Walter

  • How can I do a user controlled amount of subvi instances?

    Hello!
    I'm trying to write a dynamic application where the user can control which sub-vis get selected to run in parallel.  The problem I am having is that each sub-vi has it's own never ending while-loop, and that the execution of the first one prevents the execution of others.  See the example attached.
    Now I know at first glance you may say, "Why use the for-loop?  Why not just have the two knobs control seperate conditional statements instead of an array that controls a single conditional inside a for-loop?"  The answer to that is because in my application, the size of the Control array that spawn sub-vis gets selected by them also!*  So I'm trying to take advantage of the for-loop's auto-indexing ability to spawn as many sub-vi instances as there are knobs in the Control array.
    An alternative I thought of was to simply execute all the sub-vi's, and have the Control array simply select the correct outputs (outputs not demonstrated in the example attached), but I am running this in Real-Time on a FieldPoint unit, and the processor overhead of running all the sub-vi's that are not necessary will hurt my performance.
    If you can understand the problem I am presenting (I may not be completely clear) and have a better way to spawn sub-vi's with internal while loops controlled by an array , I'd appreciate your help!
    Thank You
    *I'm doing this because the job I am working on will need to be modifiable after my contract is over, and the potential of expansion after I am gone is highly desired my my employer.  Sure, I'd rather be rehired to change the code everytime changes are needed, but that's obvously not the best solution for my employer.
    Attachments:
    one_selected.vi ‏13 KB
    example.vi ‏18 KB
    zero_selected.vi ‏14 KB

    Awesome.  I'll do that!

  • Using a variable in an instance name

    Hey all,
    Simple question:
    I'm trying to use a variable to call on different instance names:
    var picCaller:uint=2;
    material_mc.addChild(pic_""+picCaller+"");
    The code in red is the issue in question.  In this example, I'm trying to add a child called "pic_2", with the number two called from the variable "picCaller"
    Any assistance is greatly appreciated.
    Thanks!

    Just for context, here is what I'm trying to do:
    I have jpegs in my library and I want to add them to the stage when they're needed, so just to add one image, here is the code I have:
    var pic_1=new pic1(0,0);
    var image_1:Bitmap=new Bitmap(pic_1);
    material_mc.addChild(image_1);
    I want to put the above into a loop so that I dont have to repeat those three lines for every image in my library like so:
    var pic_1=new pic1(0,0);
    var image_1:Bitmap=new Bitmap(pic_1);
    var pic_2=new pic2(0,0);
    var image_2:Bitmap=new Bitmap(pic_2);
    var pic_3=new pic3(0,0);
    var image_3:Bitmap=new Bitmap(pic_3);
    var pic_4=new pic4(0,0);
    var image_4:Bitmap=new Bitmap(pic_4);
    var pic_5=new pic5(0,0);
    var image_5:Bitmap=new Bitmap(pic_5);
    var pic_6=new pic6(0,0);
    var image_6:Bitmap=new Bitmap(pic_6);
    var pic_7=new pic7(0,0);
    var image_7:Bitmap=new Bitmap(pic_7);
    the variable "picNum" is the total amount of images that in the library, each one exported as "pic1", "pic2", "pic3" respectively.
    var picNum:uint=7;
    var picCaller:uint=1;
    var  picMC:MovieClip = new MovieClip();
    picMC=this["pic_"+picCaller];
    for (var  i:int = 1; i <= picNum; i=i+1)
         var "pic_"+i = new image_i(0,   0);
         var image:Bitmap = new Bitmap("pic_"+i);
    Thanks so much for your help.

Maybe you are looking for

  • Transport problem in Report Designer

    Hi, I have a Bex Report Designer report. But when I am transporting this object from Development to quality , the report comes with the following error. Please see below for errors. I can see the transport went well. I can open the same report in qua

  • MSI K9 V2 SLI

    Hi everyone, I'm new here and i need some advices/information, so i hope you can help me. I have MSI K9 V2 SLI mainboard and yesterday i received a brand new unused Amd Phenom II x4 940 processor. According to msi, this one with the bios update shoul

  • New in Oracle Web form 9i : How to run fmx from web and login

    oracle form 9i from web. I am new in oracle form 9i (web form). Before I use oracle form client 6i. Just set icon with command (D:\ora6i\BIN\ifdbg60.EXE MYFORM.FMX). The login will be prompt out and user can log in to run many oracle 6i forms from or

  • I need help choosing a new laptop computer

    Hello I currently have a lenovo 16in laptop and it craps out on me--I'm ready for a new comptuer.   I need it to be able to do research, write multiple documents and most importantly it needs to be portable and durable.   I am interested in the googl

  • Weird issues with pasted screenshots

    I am using Photoshop CS6 on Windows 8 desktop, i am connecting using Remote Desktop to a Windows 2008 server and taking a screenshot (all desktop apps, no Windows 8 apps involved). After taking the screenshot i can paste it into a simple program like