Multiple windows of various instrument controls

Howdy folks,
I'm trying to create a program that allows you to add/delete devices by using a customized run-time menu. For example if I need to control 3 power supplies, I want to be able to go to Instruments->>Power Supply and enter 3. When I do that, I want to see 3 windows appear so that I can configure each power supply differently. However, I need the execution to not take much processing speed because I still need to acquire signals that are time dependant. I'm using LabVIEW 7, any suggestions? I saw some posts on VI servers, would that be the long term solution? Also, this is going to grow into a bigger program where I should be able to add other devices and have them run simultinously. Should I switch from LabVIEW to something else?

Hi,
You can use LabVIEW’s VI Server functionality to dynamically load and run different instrument control VIs as you need them. Dynamically launching VIs will not load the VI into memory until they are called and can save program space and memory usage. I have attached an example program below that demonstrates how to dynamically launch and run VIs using VI Server. A top-level “loader.vi” uses VI Server to load and run three different VIs.
Also, in case you will need to load and run the same VI for different instruments, I would suggest you use VI templates instead of VIs. This will cause a new VI instance to be created every time the VI template is called. Therefore, you can have multiple separate instances of the same VI when dynamically launch a VI template. There is a good KB discussing how this done.
KB 2QKDG7DW : Differences Between Reentrant VIs, VI Templates, and Dynamic VIs
Hope this helps. Best of luck!
Kileen

Similar Messages

  • Cannot find "Midi Destination" drop menu in External Instrument control window...

    I'm using Logic X Pro, and am attempting to use Sylenth as a VST. In order to do so, I watched this video tutorial...https://www.youtube.com/watch?v=4I-mNj-TLGM at minute mark 5:39, the External Instrument control window is displayed, and a drop down menu item titled "Midi Destination" is shown. I am not seeing that on my Logic.
    Can anyone please speak to this? Can you see this option in your window?
    Thanks so much.

    Hello there, ThatsMyGig.
    The following Knowledge Base article provides information for having that feature become available for you in Logic Pro X:
    Logic Pro X: MIDI Synchronization settings
    http://support.apple.com/kb/PH13383
    MIDI Synchronization settings are only available when Show Advanced Tools is selected in Advanced preferences.
    Thanks for reaching out to Apple Support Communities
    Cheers,
    Pedro.

  • ITunes setup on a NAS with multiple windows users - how?

    iTunes setup on a NAS with multiple windows users?
    I am very confused on what is the best way to handle this setup for my friends family.  Any help would be appreciated.  Sorry in advance as I know this is a long winded post - I have a feeling this will help others faced with the same issues or questions.
    CURRENT SETUP
    I have three new Windows 7 machines networked (two desktops and one laptop) that have four users on each - as busy family with children who need the computers for homework, projects, games, etc...  The goal of this setup is that any user can log onto any computer and have there documents available to them no matter computer was free to use.  I set this up using the library function in Windows 7 and seems to work pretty well.
    I have put a Buffalo Linkstation NAS on the system as well.  This was going to serve two purposes 1)  run some backup software to protect the computers and 2) consolidate the iTunes content in one place for all users.  There is also an iPad in the home that I should would be better served by accessing the content on the NAS without requiring any of the computers being on.  Dave is thinking about getting some other playback devices like Apple TV so thought a NAS would be a good way to go.
    CURRENT ITUNES SETUP - I have created a new iTunes library on the NAS by holding the SHIFT button down while starting iTunes and pointed to that folder on a Share on the NAS.  There was no music on the system at the time as we are planning to copy this over from an OLD machine that is now not being used.  I have also authorized all the computers and turned on the home sharing feature (although I am not sure what good that does).
    This “shift” button trick seesm to also point the default directory there without point to it in the advanced setup tab of iTunes.
    I then synced one of the iPods with purchased content on it and synced that to the library after asking me to do so before an update.  All the content showed up in the library and was playable - awesome.
    I then logged into each user on each machine (yikes) and installed iTunes  and used the “shift” trick to connect each users iTunes to the database on the NAS.  Everything seems to work - but I have not tested it thoroughly.
    SUMMARY
    3 new Windwos 7 networked machines
    4 identical users on each machine
    1 TB Buffalo linkstation
    iTunes setup with the folder on a SHARE
    all user’s itunes connected to the iTunes folder on the NAS
    all computers authorized with home sharing turned on.
    one iTunes user account signed in on each machine
    multiple iPods and one iPad in the system
    QUESTIONS/CONCERNS
    Is there a better way to do this on a NAS?
    Would home sharing be better in some way?
    I understand the NAS should show up under the shared section in iTunes - I assume that would mean that would mean each user has an iTunes library on their documents?
    I have read that there may be corruption issues if users on the different machines try to access iTunes at the same time.
    Will there be any issues syncing that various iPods with?
    Ugh - sorry for the long post and all the questions.  I am just trying to find the best way to do this.  I wish Apple would put out a best practices document for setups like this.  Thanks in advance.

    This is a user to user support forum. Your fellow users can offer solutions or workarounds based on their experience with the application. If you think it should work differently drop a line to iTunes Feedback.
    For reasons unknown Apple haven't chosen to allow iTunes to be suspended in one profile and active in another. My recollection is that this applies even if each profile has a different library, although it is some time since I've committed a personal test.
    I'm not sure why my suggestion make less sense that your current approach?. As I understand it currently everybody is either signed into their own account when they can do something other than work with iTunes, or they sign into the special iTunes account where they can't access any of their other stuff. You don't have to disable fast user switching. Follow exactly the same steps, but make sure everyone closes iTunes before turning the computer over to another user. Disabling fast user switching helps to enforce that action.
    tt2

  • I want to use my iTunes library with multiple Windows computers

    I want to put my entire iTunes library on a server and then allow any of the 4 - windows laptops, 1 - windows desktop, various iPods, an iPad 1, and a Samsung Tablet to gain access to use it.   3 of the laptops are Windows 8, the desktop and one laptop is Windows 7.      I don't mind having multiple iTunes accounts set up.  I just want to make sure that when a song is purchased or uploaded from a CD or whatever that it all goes into this central location so that everyone has access to it.   How do I make that happen?

    1. Yes you can do that.
    2. But you shouldn't.
    3. There's no need to anyway.
    This thread
    https://discussions.apple.com/thread/3062728?tstart=0
    Will tell you more on how, and why not, and why what you want to do is making more for for exactly zero extra capability.
    Or, put another way, maybe iPhoto is not the app for you.

  • How can I have multiple WINDOWS (NOT tabs) with INDEPENDENT content?

    How can I have multiple '''windows''' (''not ''tabs) with '''independent''' content?
    I used to be able to open separate windows with Firefox, and the content could be completely different in each window. No matter what I did in any window, no OTHER window open at the time, nor any of the content therein, was affected. This is no longer the case and it is extremely frustrating for me.
    I do ''not ''like tabs and do not use them. I prefer multiple windows plus I am so used to using them, for so many years now! But with v9.0.1 I suddenly can no longer do what I've always done with my browser without this aggravating problem constantly reminding me that I can't have what I want in firefox anymore.
    Or can I? Does anyone have a solution I don't realize exists?
    Thanks,
    Sowelu

    AppleScriptObjC can use pretty much everything in the Cocoa API, so yes, it is possible.
    Note that a view is not the same as a window, and a window can have multiple views. There are also many ways to implement "tabs";  take a look at some of Apple's applications - they use various mixtures of toolbars, checkboxes, and radio buttons, for example.  An application such as this will be a lot more involved than what you have done so far though, using custom classes and subclassing existing ones, so be prepared to do a lot of reading and researching.

  • Multiple windows of the same class with a different argument

    Suppose I have a main window with a list of users. If I click on any one user, the "chat window" should open with the argument as that "user".
    If i click on another, a similar "chat window" should open but with a different user.
    I can't have so many stages because I don't know how many users are there.
    How do I open multiple windows of the same class but with a different argument?

    Here is a sample (opens, at random locations, a bunch of child windows parameterized by color).
    Could be simpler, but hopefully you get the gist.
    import java.util.Random;
    import javafx.application.Application;
    import javafx.geometry.Rectangle2D;
    import javafx.scene.Scene;
    import javafx.scene.control.Label;
    import javafx.scene.layout.StackPane;
    import javafx.stage.*;
    public class ColoredStages extends Application {
      final String[] colors = { "firebrick", "palegreen", "azure", "chocolate", "goldenrod" };
      final Random random = new Random(42);
      Rectangle2D screenBounds;
      public static void main(String[] args) { launch(args); }
      @Override public void start(Stage stage) {
        screenBounds = Screen.getPrimary().getVisualBounds();
        stage.setTitle("Primary");
        stage.setScene(new ColoredScene("cornsilk"));
        stage.show();
        for (String color : colors) {
          Stage coloredStage = new ColoredStage(stage, color);
          coloredStage.show();
      class ColoredStage extends Stage {
        ColoredStage(Stage owner, String color) {
          super();
          initOwner(owner);
          initStyle(StageStyle.UTILITY);
          setX(screenBounds.getMinX() + random.nextInt((int) screenBounds.getWidth()));
          setY(screenBounds.getMinY() + random.nextInt((int) screenBounds.getHeight()));
          setScene(new ColoredScene(color));
      class ColoredScene extends Scene {
        ColoredScene(String color) {
          super(new StackPane());
          StackPane layout = (StackPane) getRoot();
          layout.getChildren().addAll(new Label(color));
          layout.setStyle("-fx-font-size: 20px; -fx-padding: 30px; -fx-background-color: " + color);
    }

  • Instrument Control Build Specifications

    Dear Sir:
          I am trying to build a working *.exe instrument control program.  This is a simple program which only queries my test instrument with a *IDN? command. 
          The program fails to call my instrument driver and the program also runs on boot up when (running under normal conditions) it should wait for me to input the GPIB address of my test instrument. 
          Let's begin with the failure of Labview to communicate with the instrument driver.   This is some background information.
           When I run the program as simple *.VI in the Labview environment, the program runs perfectly.    No issues.
           When I use Agilent Connection Expert or MAX to communicate to the test instrument, communication is established and there are no issues - I receive a reply, connectivity is established. 
            After I build the *.VI into a *.EXE program, this is where the program's issues arise. 
           The *.EXE program fails to initialize correctly and fails to establish connectivity with my test instrument.
            Here are some issues that I have noticed about the program running in *.EXE mode
    1)  The program runs on "boot up" when you click on the *.EXE program.   In *.VI mode, the program does not run on boot but waits for the user to input the GPIB address of the test instrument - program run is designed to be enabled by the user.
          I do not believe this is the source of the problem but only an incidental consequence of the problem.   If I stop the program and input the GPIB address, I receive a message about not being able to communicate to the driver. 
    2)  Once the *.EXE program runs, there is a condition whereby the operating system cannot close the program and WINDOWS itself cannot shut down itself unless I manually close all the programs associated with the *.EXE program in the WINDOWS operating environment. 
    3)  If the labview program and *.EXE program are closed but the operating system is still running,  Agilent Connection Expert and MAX can no longer communicate with the test instrument.   They no longer see the test instrument.
    It is obvious that the *.EXE program is making a change which is causing the operating system to "hang" on shutdown and is also preventing the other programs from operating as they should. 
    I believe the source of my problem may be how I programmed my build specifications.     In reply,  can you please tell me what are the minimum requirements for the build specification so that my test instrument can reply to a simple *IDN? query?   What files are normally required for a successful build?
    Other information as to the source of my issues are welcome as well.
    Thank you.
    Solved!
    Go to Solution.

    Thanks for you advice.
    I think this problem is a lot easier than you might think.   I just started using Labview and the *.VI is super simple.  I am away from my development computer right now so I can't post it.  
    The information I need to know right now are the typical files that are needed to be added in the build.  
    I found this quote that I found on a webpage to be interesting, (although I am not building an installer):
    "  Do I need to include NI-488.2 2.7.3 module if I use only basic GPIB Write.vi and GPIB Read.vis in my project?
    Yes, if you are making an installer ..."
    This is a link to the webpage:
    http://forums.ni.com/t5/LabVIEW/Uninstalling-LabVIEW-after-an-application-EXE-build/td-p/1553310
    My program involves only simple reads and writes using NI-488.2 calls to a test instrument.   A simple list of files specified with filename extensions to get me started would be appreciated.

  • Current Document Only -- AA wants to open up multiple windows

    This is fricken driving me crazy -- i want AA to open multiple docs in the SAME WINDOW
    I have unchecked "Current Document Only" and it still persists in opeing up multiple docs in multiple windows.
    this is what that command is supposed to control:
    "Current Document Only: Specifies whether or not the display is limited to a single PDF."
    NO -- i want them all opened in the SAME WINDOW.
    just like Firefox can open many TABS in the same window, i feel like i am stuck w/ IE again or worse that i am stuck w/ AA Reader, wherein i cannot get the windows reduced to just one (1) window featuring multiple open pdfs.
    What gives? anyone else have this problem? anyone have a solution?
    thanks.

    yes, you are correct, this is version 9 i was referring to.
    i guess i will need to revert back to my prev version, then.
    why do they mess up a god thing??

  • Modal alert with multiple windows?

    Has anyone been successful in building a modal alert when they have multiple windows opened? Is it possible?

    I have a flex application running multiple windows. I would like to show an alert which would prevent the user from doing anything in the application until the Alert is acknowledged. The mx.controls.Alert class can only be modal to a single window and not the entire application.
    I have found this, I am going to give it a shot and see how it goes: http://labs.flexperiments.nl/a-real-native-alert-for-flex-air/

  • Is there a way to un-minimize multiple windows in an app simultaneously?

    If I have multiple windows minimized in an application, it is tedious to have to click on each one to un-minimize them. Is there a short cut to un-minimize many files in one move?
    I'm in Snow Leopard.
    Thanks.

    Yes.
    Hold down the Option key while clicking one of them in the Dock.
    This is one of several variants of Option used in conjunction with window controls -
    Hold down Option while clicking the Close button, and all windows for that app will close. Applies to a bunch of Finder (folder) windows, too.
    Hold down Option while clicking the Minimize button, and all windows for that app will be minimized.
    Hold down Option while in one program and click the window of another app (desktop counts as Finder for this purpose). The windows for the first app will be hidden and focus will be moved to the second app. The first app can be unhidden by clicking its icon in the Dock.
    Hold down Option while clicking a folder in a Finder window, and the parent folder's window will be closed at the same time the second folder is opened.

  • Pxi-8176 controller to read data from an instrument controlled by another controller

    can i use pxi-8176 controller to read instrument data on the gpib bus from an instrument controlled by another pc gpib controller?

    Thanks.
    I understand what you're saying, but I'm also trying to understand why the following is not possible or is not more readily available:... Just as NI IO Trace (NI Spy) listens/eavesdrops to the GPIB real time, one would think that Labview would be able to do it also. One would think that just as NI IO Trace (NI Spy) publishes to a window/file/memory it shouldn't be impossible to publish to a string so that it can be processed real-time by some VI algorithm. If I think about NI IO Trace as a VI, I would think that it is already in a string format before it is published to the NI IO Trace window... why isn't that string available to Labview VIs block diagram?

  • Open/run Multiple Windows of the same VI

    Hi!
    In my current project I would like to have the user open multiple windows of the same VI.  I've made a re-entrant VI:
    This is, currently, a very simple VI that just has a numeric control, a loop, and a stop button.  I then have a VI that calls the re-entrant VI.  I'd like it so that each time the user presses the "Call Re-Entrant VI" button, a new window of this VI is spawned and run.
    The first time the button is pressed, the re-entrant VI opens and runs fine. The title of the VI in the title bar is "Re-Entrant.vi:1 (clone)" (as expected).  When I try to launch another instance I get this error:
    I'm running LabVIEW 2009.
    Thanks for your time.
    Solved!
    Go to Solution.

    Here we go.  The Close Reference VI was causing my re-entrant VI to stop execution.  What do you think of this:
    This appears to work.  I'd probably want to get the path of my referenced re-entrant VI outside of my loop (since this will remain constant throughout the programs execution).  My guess is the Auto Dispose Ref feature will mean that as these windows are closed by my user, their garbage will be collected properly....?
    Thanks for your help.
    Edit: how odd that my Error Cluster constant in the VI Snippet wasn't saved to the image properly.
    Message Edited by Nickerbocker on 10-08-2009 10:33 AM

  • How can I shut off spaces so I can have multiple windows on my desktop, how can I shut off spaces so I can have multiple windows on my desktop

    How can I shut off spaces so I can have multiple windows open on my desktop?

    Hi,
    Section #2 of the Printer Ststus report will tell you. Please try:
    Printer status report
    Use the printer status report to view current printer information and ink cartridge status. Also use the printer status report to help you troubleshoot problems with the printer.
    The printer status report also contains a log of recent events.
    If you need to call HP, it is often useful to print the printer status report before calling.
    To print the Printer Status Report
    1. From the printer control panel display, touch and slide your finger across the screen and then touch Setup.
    2. Touch Print Reports and then touch Printer Status Report.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to realize a multiple window OI by LabVIEW?

    I am a new user to the teststand, and I am trying to setup a multiple window user interface by LabVIEW, and I follow the instruction of the TeststandreferenceManual,
    It says that
    "the main window contains controls that enable the user to open sequence files. For each sequence file that you open, the application creates a Sequence File window that contains a SequenceFileView Manager control and a SequenceView control to which it connects. The application sets the SequenceFileViewMgr.UserData property to attach a handle, reference, or pointer that represents the window. "
    but if the main window doesn't have a sequence file view manager, how can it open a sequence file? also how to ask the application manager to open a window that has a sequence file viewmanager and sequence view control, aren't those created by drag and place and can be put by program dynamically?

    I want to make a Menu Bar that can let you choose from diferent levels of options
    For Example if I want to insert a word that says Created by to a letter the user will go to:
    Insert-->Autotext-->Header/Footer-->Created By:
    and the word "Created By:" will appear in the letter.
    Attachments:
    screenshot.bmp ‏543 KB

  • Itunes 11 multiple windows

    So far iTunes 11 seems decent, looks nice. However, previously I kept multiple windows open. For example one on the store to do searches, view categories, check for app updates, etc and one on my main library for playing music.
    To create a new window you used to double-click on the category in the left side navigation window. I.e. double click on store to get a store window.
    That doesn't work with iTunes 11. Nothing else seems to either (i,e. dragging the category from itunes 11, right clicking on it, etc. Nothing in the menus shows "new window" either.
    Any ideas? Thanks.

    I just "upgraded" to iTunes 11 and the first thing I tried to do was to get multiple windows.  I used them to get items copied from one playlist to another and it was very useful to see playlists side by side so they could be compared, e.g., comparing a "manual"-managed iPod playlist with what is on a laptop or desktop.  Not having this is VERY FRUSTRATING! ! ! ! !  This does not make sense to me either.  Definitely a step backwards!!!  If this functionality is not restored, then I will revert to iTunes 10.
    I also liked having the multiple speakers appear in a separate window.  Now, it is only available as a pop-up.  I really liked having that control in a separate window.  I could easily control the sounds in the house.  Now, it is a multi-step process, and I cannot readily see the settings---I now have to move my mouse, click on iTunes, and then click on the tiny icon for managing speakers.  Apple, please restore that functionality, too!

Maybe you are looking for

  • Mac Mini (server) 2011 not accepting 4 GB

    My Mac Mini Server (mid 2011) does not accept 4 GB of memory. It does boot succesfully with a 2 GB SODIMM in slot 0 or in slot 1, but when I insert 2 2GB SODIMMs in both slots, it does not boot. It does give the start up beep and then after a few sec

  • [CS3][CS4][VB] XML, Markup - bug or next "cool" feature ?

    hi could anybody please check how it works in JS or AS - what do you get in XML structure - what is tagged - when you try to MarkUp character containing InLine graphic ? or Text object containing only one "character" - InLine graphics something like

  • Mosaic Screensaver 'you must have an iphoto library to use this function'

    My mosaic screensaver option is not allowing me to make a mosaic screensaver even though I do have an itunes library. My version is Max OS X 10.6.8, i'm not sure if it's mountain lion or leopard? Does anyone know how to resolve this problem? Cheers

  • Flash/Air/Flash Builder development for ios?

    Hi guys, Does anyone know whether an application developed at iphone size, will automatically scale full screen to ipad if downloaded from the app store and if 'fullscreen' is set to true in the application descriptor file? Most of our graphics are v

  • Music app on iPad With iOS 5

    I updated my iPad to iOS 5 and when I went to the music app I couldn't find the shuffle button so I was wondering if their is one and if their is where is it