Run several copies of a VI without using application controls

I want to run several copies of the same VI depending on the parameters the user answer (1 to 4 copies of the same VI). I would like the VIs to run simultaneously because it controls a different equipment. I read the document about multithreading and I found out that this is possible by declaring the VI "reentrant". I tried, but when I do that, the front panel of the copies of the VI doesn't show up! My application will be built as an executable soon, so I can't use the server applications. Does anyone has an idea to solve my problem?

I think the easiest thing to do is make the reentrant vi a sub-vi... then
let a Main UI vi have controls and indicators made visible by the "user
answer" you mentioned. I don't know what you plan on doing in the vi, but
you should be able to pass initial control parameters into the sub-vi's and
get display data out by letting the sub-vi's complete or by using a global
variable.
just a thought...
Bill
Squish wrote in message
news:[email protected]..
> I want to run several copies of the same VI depending on the
> parameters the user answer (1 to 4 copies of the same VI). I would
> like the VIs to run simultaneously because it controls a different
> equipment. I read the document about multithreading and I
found out
> that this is possible by declaring the VI "reentrant". I tried, but
> when I do that, the front panel of the copies of the VI doesn't show
> up! My application will be built as an executable soon, so I can't
> use the server applications. Does anyone has an idea to solve my
> problem?

Similar Messages

  • Can one run Microsoft publisher on a imac without using a virtual software?

    Can one run Microsoft publisher on a imac without using a virtual software?

    You would have to use Bootcamp to install a full copy of Windows to run Publisher, or virtual software.  There's no other way.  Microssoft's native code is not compatible with Apple's OSX code.
    Hope this helps

  • Can you control volume without using side controls?

    Can you control the volume without using side controls?

    Or, if your iPad is asleep/locked, double click the home button and you'll get an on-screen volume control and play/pause iPod controls (no need to unlock).

  • How can you run an executable from AS2 code without using fscommand() or a projector?

    Just using some short .asc files made out of Notepad for some back-end server stuff, but without using fscommand() or projectors, how can you call an executable? There's a C++ program that I want to run from more-or-less the same directory as the .asc files, which handles some logging, and I need to be able to pass it arguments when telling it to run.
    Please note that I have Googled this with no useful results and that I'm on an assignment that necessitates this question. Also I'm open to the possibility that it can't be done.
    Thanks!

    The swf is on a different server and using AS3.  The little bit of AS2 back-end stuff is on a few different servers that the swf is hooking up to for streaming video and audio.  The executable would be on the AS2 servers.

  • Hey guys is there a way to run PC games on a mac without using something like bootcamp.

    Just woundering because I use to have a PC and my friend has one too and he plays games that don't have a mac version for them and I wan't to play those with him but don't want to give up my OS X software or use something like bootcamp of vmalwarefusion. Please help.

    You can try to use WineBottler or CrossOver to install the game, but the performance will be terrible. If you want to play games, maybe that solution could work, but the best you can do is to install Windows on Boot Camp if you want the maximum performance

  • Exceptions trying to run Junit test thro Jdev. Test uses Application module

    Hi,
    my junit test works through the OraTst frame work. But I want to debug the code and If I try to run the same test through Jdev I am running into a following exception. Can somebody tell me how to fix this issue.
    I am a consumer of the Application module, I have not created it. I am using it by referencing it through the jar file provided by the owner.
    oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/EMReposDS
    at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1414)
    at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:309)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:553)
    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:409)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8534)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4392)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2388)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareResource(ApplicationPoolImpl.java:3621)
    at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:344)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2200)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3088)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
    at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1494)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1399)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1370)
    -Sidd

    Sidd,
    No idea what OraTst is, but based upon the name of your data source, I'd guess you are an Oracle employee using an internal framework. I understand that there are some internal Oracle forums that you can use.
    John

  • I would like to know how to block a website on all of Firefox, without using parental controls.

    I remember some kind of control or perhaps an add on being advertized for one of the recent beta versions of Firefox 4.0 about blocking particular websites from all viewing on Firefox, not just as a parental control. The add-ons I saw are not for 4.0 Beta 12, the version I'm on now. Can anyone steer me to this feature, if it exists? Thank you!

    Possibly BlockSite - https://addons.mozilla.org/firefox/addon/blocksite
    This one does not work on Firefox 4 but the developer is working on a new version.
    You could use the Windows HOSTS file to block sites - http://allthingsmarked.com/2006/08/28/howto-block-websites-using-the-hosts-file

  • How to Set multiple Global Variables without using Controls or Indicators

    I have to set many Global Variables (i.e. declare and initialize them) in a subVI in order to pass them to various other subVI's. The only way I know how to do it in LabView is to create a Globals.vi on which you create a control or indicator for EACH Global Variable. That's fine if you have only a few variables. But I have close to a hundred Global Variables (which come from a configuration file for a large program) and clearly it is impractical and cumbersome to create a control for each global variable. In Agilent Vee, there is a simple function called "Set Variable" that sets the data value of a global variable. Then in other module, you simply use the "Get Variable" function to get back the v
    ariable and its value.
    In LabView you can use the "Invoke Node / Set Control Value" and "Get Control Value" properties to achieve the same thing. But as mentioned above, you need to create a control for each global variable and that is a big pain in my case, with many global variables. Furthermore, the global variables are read from a Configuration Text File to this VI. Is there a way to do it without using the control? Thank you in advance for any help.

    Actually you could create the same sort of facility in LV. All you have to do is create a LV2-style global that behaves as follows:
    To write a value to it, you supply a value name and the value. These pieces of data are save internally in seperate arrays.
    To read a value, you supply a value name. The VI looks up this name in the value name array to return an index into the value array. Output the value you find.
    Frankly though, it sounds like what you really need is not hundreds of globals, but a good way to manage configuration data.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Using "Set Control Value" to pass a reference

    Hi,
    every time I tried to passe a Control Reference using "Set Control Value" I have the Error 1 (invalid input parameter at invoke node). Why is it not possible to pass a control reference using the invoke node??
    Thanks
    Golzio

    Hi,
    This is possible. Trick is, the type of the control reference needs to be
    the same as the input. E.g. a string control reference is a different type
    as a numeric control reference (, or a control reference).
    To avoid this conflic, make sure the input of the vi is a control reference
    (and not a e.g. string control reference). Also make sure the to convert the
    reference you pass to a control reference (using Application Control>To More
    Generic Class).
    Regards,
    Wiebe.
    "Golzio" wrote in message
    news:506500000008000000C1F00000-1079395200000@exch​ange.ni.com...
    > Hi,
    > every time I tried to passe a Control Reference using "Set Control
    > Value" I have the Error 1 (invalid input parameter at invoke node).
    > Why is it not possible to pass a control re
    ference using the invoke
    > node??
    >
    > Thanks
    > Golzio

  • I have an iPad that I want to update to IOS 5.1. I have several apps that each were installed using a different iTunes ID. How can I update the IOS without losing the apps?

    I have an iPad that I want to update to IOS 5.1. I have several apps that each were installed using a different iTunes ID. How can I update the IOS without losing the apps?

    To update your phone requires using the latest version of iTunes, on your computer, as well as Internet access. The update to iOS 5.0 or higher is an erase/restore deal, so you not only have to make sure all of the content, currently on your phone, is on your computer and accessible, you need to update iTunes first, have Internet access, then update your phone. There is no way around this fact. You could go to an Apple store or use another computer, but you run the risk of losing all of your data it you do that.

  • Running faces config file without using internet

    hi
    i m new to JSF
    how i can run faces config file without using live internet
    i have put "web-facesconfig_1_1.dtd" file at local path
    while i run the jboss,it will throw exception of fileNotFoundException

    Which version of JBoss are you using? I have successfully run 4.2.x off the grid but I typically use schema:<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
                  version="1.2">Note that I did not need to obtain copies of the files myself for use locally.

  • HOW TO SCHEDULE A JOB TO RUN EVERY 30 MINS WITHOUT USING SCHEDULAR?

    Hi,
    I have a requirement where i need to schedule the job to run every 30 mins for 10 am to 10 pm. I ran into problems using odi schedular. Let me tell you what i did..
    i have chosen the active mode between 10 am to 10 pm
    selected on startup/simple.
    and on the repetitions tab selected many times with 30 mins duration.
    the problem was-----
    a)it was not stopping at 10 pm but continues after 10 pm
    b)randomly picking up more times than the 1/2 hour duration.
    looking for---
    a solution that runs my scenario every 30 mins from 10 am to 10 pm without using the schedular...which i cannot trust.
    Regards
    Venkat

    Venkat,
    Here is an alternate solution that i can think of:
    create a package with the following components:
    Variable(Refresh) -> OK -> Execute StartScen(YourJob) in Asynchronous mode -> odiSleep(30 mins) -> Loop to Variable Refresh
    Variable (Refresh) -> KO -> odiSleep(30 mins) {if the refresh of the variable fails to get any value then skip the Job execution}
    The Refresh query should be
    select 1 from dual where to_char(sysdate, 'hh24mi') between  '1000' and '2200'

  • I want to upgrade my phone to the 4 or 4s.  My macs are still running Tiger.  If I bought an iPad 2, could I sync everything to it from the 4 without using a Mac at all, and then be able to iCloud my calendar and contacts, etc?

    I want to upgrade my phone to the 4 or 4s.  My macs are still running Tiger.  If I bought an iPad 2, could I sync everything to it from the 4 without using a Mac at all, and then be able to iCloud my calendar and contacts, etc?

    Radiation Mac wrote:
    And you must be using a recent version of iTunes on your iMac in order to activate the iPad,  So, no.
    You don't need a computer to activate a new iOS device anymore. Anything with iOS 5 can be activated over a WiFi network (or cellular if that applies).

  • Is it possible to run a java program without using the command prompt?

    Hi,
    I was wondering whether it is possible to run a Java program (not an applet) without using a command line in the command prompt?
    Basically I want to run a program that will be continually running in the background and hence I don't want to have a command prompt screen loaded up as well - I just want the program to be running in the task bar.
    I know how to run the program in the task bar - but I still need to launch the program from the command prompt - is there anyway I can get a program running without having to start it from the command prompt?
    Cheers

    Or create a desktop shortcut (in Windows) or an application launcher ( in Linux GUI).

  • I have an apple emac powerpc G4 which is running 10.3.9 software. I downloaded the 10.5 leopard software. Does anyone know how to install the 10.5 without using the dvd installer? In dummy terms please?

    If any one could help me with this. i'd be enternally grateful as i'm getting nowhere on my own!
    I have an apple emac powerpc G4 which is running 10.3.9 software. I downloaded the 10.5 leopard software. Does anyone know how to install the 10.5 without using the dvd installer? In dummy terms please

    The only way to get 10.5 is to purchase it on CD. Such as http://www.amazon.com/Mac-OS-Leopard-10-5-10-51/dp/B0012RAVRC where is being sold for $179.99.
    If your optical drive is broken, you will either need to replace it or get an external. There is no other way.
    Why do wish to upgrade? As you can see it is going to be expensive, probably more the Mac is worth.
    Allan

Maybe you are looking for

  • No audio from HDMI output because High Definition Audio Driver cannot start (Envy 17 Quad)

    Ever since I first bought this laptop two months ago, the audio from the HDMI output has always been inconsistent. I remember it working a couple times, but there were more times when my audio driver didn't recognize that an HDMI cable was plugged in

  • How do I select just one audio channel in Final Cut Pro X?

    I know this has been asked and answered somewehre... and I'm pretty sure the answer is simple. But I don't have hour's to search the net. And the FCPX "Help" feature just ****** me off.... I recorded voice on channel 2 and shotgun nat.sound on channe

  • Problem when printing JTreeTable

    Hi, I've datas wich i display in a JTable or in a JTreeTable (see http://java.sun.com/products/jfc/tsc/articles/treetable1/ ). Now, i'd like to print the JTable or the JTreeTable, i use the code i've found here : http://developer.java.sun.com/develop

  • Change in Mountain Lion?

    Something has happened (presumably) in Mountain Lion where things are now sliding into and off of the page side to side (it didn't used to be fancy like this before) and I can no longer switch from drafting an email to searching emails... (Once I'm d

  • How to NOT return MSQuery results in a table in Excel 2010

    In Excel 2010, I only have the options to return my query results in a table, pivot table, or both.  If I convert the resulting table to a range, I lose the query.  Why am I restricted to using a table?  I want to return the results into a spreadshee