How can I make parallel Instances of a VI, avalible through webserver URL?

Hello, I have a vi that I want multiple people be be able to access at the same time through the web.  Each time a client accesses the URL I want the VI to start a new instance in paralles for them.  So if 5 people went to the URL each would be using their own independent parrallel instance.  I dont want them to be able to see what the other is doing.  Kind of like if you start solitare then click its .exe again it starts another seperate instance of it.  I tried using reentrant execution still showed to the second client that the .vi is controled by someone else, even attempted making it a sub-vi called by a main but i would have to make the main one the .html and it wont display the sub vi's in the webpages embeded window.  
Any Ideas?
Thanks In Advance
I'm running :
Windows XP Pro. SP3
LabView 8.0

I did this once using CGI in combination with a VIT. the CGI server would open this VIT and create the dynamic web page to show this VIT to the user by using remote panels. So each user had its own anstance of an remote panel.
To explain it in details:
the index.htm would have a POST command in it that will trigger when the user opens up the web page. This post command informs the CGI server. The cgi server then creates a VIT in memory, and creates a dynamic html code that is sent back to the user, (this code would be the html code for a remote panel) but where the VI name that is shown in the remote panel will be the same as the new name that the new VIT got in memory.
Remember also to shut down the VIT when the user closes its browser, otherwise you'll going to have a lot of VIs in memory after a while!
 If any questions just ask, you could actually also use datasocket to retrieve the post command.
On tip: the CGI part of labview runs in an own instance. You must link the VIT you your main application instance for it to be able to communicate and share data with your main apllication by using VI server. (weird sentence..)

Similar Messages

  • How can I make the Instance name the same as the name of the Movie clip in an animation.

    Hi, I am an animator for a small game project and I have this really big problem. Even though I used flash for animation for a long time I am a newbie when it comes to something technical. I just received a request to make every movie clip that I use  to have a consistent <Instance name> in every frame of the animation. Only if they told me this earlier... Is there an easier way to make the <Instance name> the same as the name of the Movie clip used other than manually entering it. I have 16 characters with 12 body parts with 20 animations each with about 6-7 frames for each body part it will take me months and nightmares evey night to enter everything by hand. Please help me keep my sanity!
    I'm not sure if I explain correctly, so here is a picture:
    Thank you!

    Thank you for the fast answer! I found this video on jsfl functionality that deals with a similar problem, I am not a coder so it will take me some time to figure it out, but when I do I will probably post the answer here. Here is the video:

  • How can I make my clips burnt to disc play through without having to pick clip titles from the menu?

    I burnt some clips from iDVD to DVD and want to know if anyone knows if there is a setting to make the clips flow through instead of having to go to menu and pick each clip?

    Two ways:
    1 - join the clips together as one file with Qjuicktime Player, iMovie or other app designed for that and use the single clip.
    2 - create a slideshow in iDVD and add the clips to it.  Set the slides display time to anything except manualliy. Do not add a transition or music.
    OT

  • How can i make my samsung tv play my netflix through my apple

    my plasma samsung just shows the purple and blue apple screen instead of the movie from netflix with my apple macbook pro hooked up to it?

    It is connected with a rocketfish.
    You are wonderful! I am now displaying what is on my computer. I did like you said and went to the preferrences, display, and checked the mirror box.
    I am going back now to get the movie and try it.
    Thank you so much.

  • How Can I Make FF Open Up Bookmark List to Last Selected URL?

    When I use MS IE, it remembers the last Favorite entry that I selected from a (sub-)folder in its list and expands that list to the corresponding entry the next time that I access the Favorites list.
    FF always opens its Bookmarks list to the root level of the list - and never expands to any (sub-)folder(s) in which I may have selected the previous bookmark entry. Thus, I always have to drill-down to a (sub-)folder if I want to re-open the last selected bookmark entry or view other bookmark entries in the same (sub-)folder.
    Is there perhaps a plug-in to replicate this IE behavior of expanding the Bookmarks list to the previously selected entry?

    That happens if the server sends the .eml file as text/plain and not as a generic type like application/octet-stream that would force Firefox to download the file.<br />
    In such a case there is not much to do about it then to contact the site and ask them to change the content type for .EML files.

  • I have Win 7 saved (installation file) in My MacBook Pro Licence version. How can i install it on MacBook Pro. After installation how can i make it to work with Parallel desktop or VMware fusion software.

    I have Win 7 saved (installation file) in My MacBook Pro Licence version. How can i install it on MacBook Pro. After installation how can i make it to work with Parallel desktop or VMware fusion software. I can buy these softwares.

    http://www.simplehelp.net/2009/02/02/how-to-install-windows-7-in-os-x-using-para llels-desktop-a-complete-walkthrough/
    http://blogs.parallels.com/consumertech/2011/10/24/install-windows-right-from-wi thin-parallels-desktop-7-guest.html

  • How can I make different catalogs from the same image

    How can I make different catalogs from the same image where that image has been changed in some way between the catalogs. For instance if I wanted to have a catalogs for cropped images and have 3 catalogs one for 4x6 , 5x7 and 8x10 cropping. When I tried this , if I changed a file in one catalog that same image in the other would change also.

    Do not confuse the creation of the crops and the display in collections per crop ratio.
    Of course one virtual copy (VC) per crop ratio is needed. If the same image should be cropped in all 3 mentioned ratios there would be 3 VCs.
    The OP asked how to have/see a set of same-crop-ratios.
    After having created the virtual copies for whatever crop ratio he wants, the way to display this result in the fashion asked for is via smart collections, provided they can be found. Without a plugin the naming of the VC with the crop ratio applied is a straight way to achieve that.
    IF the wish is to get new crops automatically added. (See my answers 2+3)
    IF the wish is to creat static collections per crop ratio for a certain set of images, I'd go as follows:
    1. Select all images you want to have cropped in that way,.
    2. With this selection click on the + to add another collection and fill the dialog box like this:
    Then navigate into this newly created selection and perform the 4x6 crop - according to taste individually or by synchronizing the first crop.
    Cornelia

  • How can I make server use single class loader for several applications

    I have several web/ejb applications. These applications use some common libraries and should share instances of classes from those libraries.
    But applications are being deployed independently thus packaging all them to EAR is not acceptable.
    I suppose the problem is that each application uses separate class loader.
    How can I make AS use single class loader for a set of applications?
    Different applications depend on different libraries so I need a way that will not share library for all applications on the domain but only for some exact applications.
    When I placed common jar to *%domain%/lib* - all works. But that jar is shared between all applications on the domain.
    When I tried to place common jar to *%domain%/lib/applibs* and specified --libraries* attribute on deploying I got exception
    java.lang.ClassCastException: a.FirstDao cannot be cast to a.FirstDaoHere http://download.oracle.com/docs/cd/E19879-01/820-4336/6nfqd2b1t/index.html I read:
    If multiple applications or modules refer to the same libraries, classes in those libraries are automatically shared.
    This can reduce the memory footprint and allow sharing of static information.Does it mean that classes should be able to be casted ?

    You didn't specify which version of the application server you are using, but the config is similar as long as you know what to look for. Basically, you need to change the classloader delegation. Here's how it is done in 8.2
    http://download.oracle.com/docs/cd/E19830-01/819-4721/beagb/index.html

  • How can we make disable a Field of a FORM at run-time?

    Hi to everybody,
    I want to know that how can we make a filed DISABLE at runtime <whenever we run a FORM>.
    I know about SET-ITEM-INSTANCE-PROPERTY but don't know how to use it,
    please make it clear.
    I will be gratefull to all of you
    Thanking you in advance.

    There's no property values for enabled or disabled in SET_ITEM_INSTANCE_PROPERTY.
    Instead what you can do is set INSERT_ALLOWED, UPDATE_ALLOWED and NAVIGABLE to FALSE which basically what a disabled item behaves like.
    Regards,
    Tony

  • How can I make iTunes sort on the first word by default, even though that word is "The" or "A"?

    How can I make iTunes sort on the first word by default, even though that word is "The" or "A"?
    I myself think that (for instance) "A tribe called Quest" should be sorted under "A", not "T".
    Now I can edit the sort options manually per track and/or per selection, but I would really like to just kill this "iTunes-knows-how-you-should-sort"-feature in iTunes.
    Anyone any suggestion on how to do that?
    Thanks

    Here is a modified version of one of Doug's Scripts. My modification was to add Sort Name to the list of tags that could be changed. I tried it on a single track and it worked. I recommend backing up your library first. Select the tracks you want to change (or all tracks) and run the script from the Applescript Editor.  If it works as intended, save it so you can apply it to newly imported tracks.  And, yes, I know this isn't the exact answer to your question, you want to change a preference setting in iTunes (if there is such a setting).
    Original script can be forund at http://dougscripts.com/itunes/scripts/ss.php?sp=thistagthattag
    Modified script is below. Start up Applescript Editor, paste it into a new window.  Start up iTunes and select the tracks to modify.  Click Run in the Applescript Editor.  Follow the instructions.
    (* Put This In That
    v2.0 april 22 2008
    - runs as universal binary
    - adds "Show" tag
    - consolidated code
    - saved as script bundle
    v1.7 October 3, 2006
    - adds "Album Artist" as option
    v1.6 October 28, 2004
    - works around iTunes 4.7 selection bug
    v1.5 ('04/1)-- adds "grouping" tag
    Get more free AppleScripts and info on writing your own
    at Doug's AppleScripts for iTunes
    http://dougscripts.com/itunes/
    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
    Get a copy of the GNU General Public License by writing to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    or visit http://www.gnu.org/copyleft/gpl.html
    -- CONSTANTS
    property allOptions : {"Song Name", "Artist", "Album", "Album Artist", "Composer", "Genre", "Comments", "Show", "Grouping", "Sort Name"}
    property my_title : "Put This In That"
    global thisTag, thatTag, theNewTags, theOriginalTags, yn
    tell application "iTunes"
              if selection is not {} then -- if tracks are selected...
                        set sel to selection
                        set numTracks to (length of sel)
                        set s to "s"
                        if numTracks is 1 then set s to ""
                        display dialog "The data from one tag REPLACES the data in another tag in all the selected tracks, with option to delete data in first tag." & return & return & (numTracks & " track" & s & " selected.") buttons {"Cancel", "Continue"} default button 2 with title my_title giving up after 30
                        if gave up of result is true then return
                        my choose_this_tag()
                        my choose_that_tag()
                        set yn to (button returned of (display dialog "Delete data in " & thisTag & " afterwards?" buttons {"Yes", "No"} default button 2 with title my_title giving up after 45) is "Yes")
                        set oldfi to fixed indexing
                        set fixed indexing to true
                        repeat with t from 1 to numTracks
                                  tell contents of item t of sel
                                            set theOriginalTags to {get name, get artist, get album, get album artist, get composer, get genre, get comment, get show, get grouping, get sort name}
                                            set theNewTags to theOriginalTags
                                            my do_put()
                                            set {name, artist, album, album artist, composer, genre, comment, show, grouping, sort name} to theNewTags
                                  end tell
                        end repeat
                        set fixed indexing to oldfi
              else
      display dialog "No tracks have been selected." buttons {"Cancel"} default button 1 with icon 0 giving up after 30
              end if -- no selection
    end tell
    to choose_this_tag()
              tell application "iTunes"
                        set n to (choose from list allOptions with prompt ("Select a tag to get data from:") with title my_title)
                        if n is false then error number -128
                        set thisTag to (n as text)
              end tell
    end choose_this_tag
    to choose_that_tag()
              set o to {}
              repeat with t in allOptions
                        if (t as text) is not thisTag then copy t to end of o
              end repeat
              tell application "iTunes"
                        set n to choose from list o with prompt ("Use data from the " & thisTag & " tag to REPLACE data in...") with title my_title
                        if n is false then error number -128
                        set thatTag to n as text
              end tell
    end choose_that_tag
    to do_put()
              try
                        repeat with i from 1 to (length of allOptions)
                                  if thisTag is (item i of allOptions) then
                                            set thisTag_sto to (item i of theOriginalTags)
                                            exit repeat
                                  end if
                        end repeat
                        repeat with i from 1 to (length of allOptions)
                                  if thatTag is (item i of allOptions) then
                                            set (item i of theNewTags) to thisTag_sto
                                            exit repeat
                                  end if
                        end repeat
                        if yn then
                                  repeat with i from 1 to (length of allOptions)
                                            if thisTag is (item i of allOptions) then
                                                      set (item i of theNewTags) to ""
                                                      exit repeat
                                            end if
                                  end repeat
                        end if
              end try
    end do_put

  • How do I make an instance of another class??

    How do I make an instance of a class, (eg. the name of the class is oldJava.class and have a constructor that takes 3 parameters)in a new class. and send paramaters to the oldJava.class constructor. I also want to recive the result from oldJava.class in my new class.
    ??I would be really glad if I could get some code example.....
    //HA

    oldJava o = new oldJava(..., ..., ...); // your arguments here
    o.method1(); // you can call methods on this object now
    // If the method returns anything back, you can keep a reference to it
    int result = o.sum(2, 5);

  • How can I make a button that on press the object appears and on second press the object to disappear

    Hello,
    I'm quite new to flash programing, and I don't know how can I make a button that will make the object appear and disappear.Till now I have this code for the appear:
    on (press)
        _root.top1.gotoAndStop(2);
        _root.topp.gotoAndStop(2);
        _root.mm1.gotoAndStop(2);
              _root.m1.gotoAndStop(2);
    but from here I'm stuck.
    Thank you for your help

    What you can do is use the _visible property of the object to make it appear and disappear, or more correctly, use the opoosite of the _visible property.  You should not put code "on" objects, keep it in the timeline.
    If "object" is the instance name of the object you want to toggle, then in the timeline code you can use...
    object._visible = false;  // start with the object being invisible
    yourButtonName.onRelease = function(){
        object._visible = !object._visible;
    That one line in the function sets the object's _visible property to be the opposite of what it currently is.

  • How can we make  H-Tree?

    can anyone guide me how can we make H-Tree and how can we call module by using H-Tree?
    waiting for prompt answer.
    thanks in advance
    sarah
    Edited by: user652484 on Aug 2, 2009 3:43 AM
    Edited by: user652484 on Aug 2, 2009 3:45 AM

    Dear,
    Creating a Hierarchical Tree based on database table required a table with self-joined column like scott's emp table where column empno refered by mgr, a Data Query with PRIOR clause and a procedure call from the Form Level When-New-Form-Instance trigger.
    There are many ways to make Hierarchical Tree. I am describing one of them bellow. Please follow the steps:
    01. Create the following table
    CREATE TABLE EMPLOYEE(
    EMPLOYEE_ID NUMBER(4),
    EMPLOYEE_NAME VARCHAR2(50),
    MANAGER_ID NUMBER(4),
    CONSTRAINT EMPLOYEE_PK PRIMARY KEY(EMPLOYEE_ID),
    CONSTRAINT EMPLOYEE_FK FOREIGN KEY(MANAGER_ID)
    REFERENCES EMPLOYEE(EMPLOYEE_ID)
    02. Insert some data on it
    03. Create a form module and name it HTREE_DEMO
    04. Create a Data Block on this form and name it CONTROL.
    05. Create a Hierarchical Tree Item on it and name it EMP_TREE. Hierarchical Tree must be single item on single block.
    05. Write the following query on Data Query of the EMP_TREE Item
    SELECT 1, LEVEL, EMPLOYEE_NAME, NULL, EMPLOYEE_ID
    FROM EMPLOYEE
    CONNECT BY PRIOR EMPLOYEE_ID = MANAGER_ID
    START WITH MANAGER_ID IS NULL
    06. Add the following line of code on the Form Level When-New-Form-Instance Trigger
    FTREE.POPULATE_TREE('CONTROL.EMP_TREE);
    07. Run the form
    08. Enjoy!

  • How can I make GRID view the default view? The icons for view that used to be located in the upper right top of the page near the 'search library' are gone.

    How can I make GRID view the default view? The icons for view that used to be located in the upper right top of the page near the 'search library' are gone.

    99jon wrote:
    Perhaps it’s a design feature to speed up the Organizer launch.
    I am sure it is.
    - The normal use of the Organizer is not the folder view, it's the thumbnail view with an organization based on categories and folder. That way you should forget completely where your pictures are stored. Anyway, the folder view in the Explorer is not a map of the location of the different bits of your file, it's only a logical representation. That's easy to see when you are doing a defragmentation.
    - The folder view is useful even for those using normally the thumbnail view, but that is only for rare cases when you must change the folder organization, for instance moving files to another drive. The folder view is here to prevent you from changing things from the explorer and outside of the Organizer.
    - The new folder list view, which you find 'funny' is there to help better organizing using tags. Its huge advantage is that such a view is created extremely quickly by extracting the last subfolder in the media table : it's the way the database sees the folders, based on its own content,  totally ignoring the complex folder organization of your disk with media files or any unrelated other kind of data. You should use it in many cases, the main purpose being assigning tags when you have assigned descriptive folder names. I had suggested such a solution to prevent the long standing bugs in the folder view of previous versions.
    So yes, the purpose is:
    - to speed up switching modes
    - to help folder organization fans to migrate to tags organization
    - to hopefully get rid of the old folder organization bugs

  • How can I make my program Run forever?

    I would like to know how can I make my program execute some method while the GUI still open. I have something like this.
      public static void main(String args[]) {
        System.out.println("****************************");
        System.out.println("    PACKET READER CONSOLE   ");
        System.out.println("****************************");
        IPDetector window = new IPDetector(); // IPDetector is the JFrame
        window.setTitle("IPDetector Analyzer");
        window.pack();
        window.show();
        PortListener pl = new PortListener();// Is my portlistener class
        PacketReader c = new PacketReader();
        while(JFrame still open){// I dont know how to put a statemente here
          pl.start();// this method reads from a port and returns a string
          String cc = pl.data;// gets the string from the port listener
          while(!cc.equals("")){
            c.portWriter(cc);// writes the string into a file
      }I want that my portlistener keeps reading all the time, and if is something in the socket information.
    Should I use a thread? Any ideas? thanks.
    Chris

    I still not understanding how to make it thread. My main class is this one IPDetector. and it looks like this.
    public class IPDetector extends JFrame {
      // Declaration of the instance variables
      private static ArrayofDisplay  ad = new ArrayofDisplay();
      private ArrayofCreators database = new ArrayofCreators();
      JLabel sourceLabel;//etc..
      public IPDetector() {
        IPDetectorLayout customLayout = new IPDetectorLayout();
        getContentPane().setFont(new Font("Helvetica", Font.PLAIN, 12));
        getContentPane().setLayout(customLayout);
        sourceLabel = new JLabel("Source IP Add.");
        getContentPane().add(sourceLabel); 
        addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
            System.exit(0);
      // I get confused here...
      private boolean alive; // Do I need to declared here?
      public void setAlive(boolean val) { // This one also?
        alive = val;
      // IPDetector Methods...
      public void displayCaller(ArrayofDisplay aD){  }
      public void setAndReplace(String text)  {    }
      public void refresh(){ }
      public boolean action(Event evt, Object arg){ }
      //etc...
      public static void main(String args[]) {
        System.out.println("***********************************************");
        IPDetector window = new IPDetector();
        window.setTitle("IPDetector");
        window.pack();
        window.show();
        PortListener pl = new PortListener();
        PacketReader c = new PacketReader();
        while (alive) {// Is this correct here?
          pl.start();
          String cc = pl.data;
          while(!cc.equals("")){
            c.portWriter(cc);
            window.refresh();
            cc = "";
    class IPDetectorLayout implements LayoutManager {
      public IPDetectorLayout() {  }
      public void addLayoutComponent(String name, Component comp) {  }
      public void layoutContainer(Container parent) {  }
    }

Maybe you are looking for

  • Error logs message " HTTP3090: Failed to create logging thread " ?

    hi, i need your help. i have "sjs web6.1sp8" on hp-ux machine below message suddenly appear at load testing. [Jul/2010:03:01:52] failure ( 6477): HTTP3090: Failed to create logging thread (Insufficient resources) [Jul/2010:03:04:53] failure ( 6477):

  • Please help, running CS2, Education Version-legal copy, on Mac 10.5.8. PS keeps quitting randomly.

    Have not installed any new software. Illustrator CS2 also quits randomly, although not as often. Here is the report from the last PS quit: Any help would be greatly appreciated since below code is greek to me! Process:         Adobe Photoshop CS2 [50

  • Syncing Calendars with iPhone via iTunes

    On my iPhone I have calendars from my MobileMe Account and calendars from the sync function in iTunes. This has given my duplicates in many instances. So now I've gone into iTunes to check my settings and see that iCal calendars are only to be synced

  • Regardibg double byte data type in Xi(japanese character)

    hi am giving japanese character(double byte) as a input data types, will you please tell me how to give whether as a string or constant ..etc. and please give information generally about double byte data type regards, S.K.Karthikeyan.

  • Snow Leopard Disk Utility not showing Disk

    Heya, before anyone jumps to conclusion that the disk is just dead, please read the following info. Background: Basically I'm upgrading to Snow Leopard and I had a striped RAID that I wanted to break and format. They held my Leopard install and I kno