Multiple instrument control

Hi,
Is it possible to use listbox to control multiple instruments, in which, I would like click on a instrument I want to control and it will bring up front control panel for particular one I selected? Thank you very much for your help.

It is possible to control mulitple instruments on some buses (like GPIB). As for bringing up a GUI for each instrument, this is something that should be done in the programming language.
Randy Solomonson
Application Engineer
National Instruments

Similar Messages

  • 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

  • Can I use my Maschine knobs to control multiple instruments "smart controls" in LPX independently?

    Can I use 1 hardware contoller to control multiple instruments "smart controls" in LPX?  For example....if I mapped 1 instrument's smart controls to my maschine contoller would it overwrite them if I mapped another instruments smart controls to them?  I'm wondering if I can switch between mapping's based on which instrument/track I have selected. I know I can do this with quick learn feature....problem is you can only use 1 knob with it.

    Thank you for your help, my example is working.  Please look the my revised example and let me know if I'm making it more complicated than necessary.  In order for it to work,
    1.  I created a cluster on my front panel to hold the control group reference numbers,
    2.  Converted it to typedef,
    3.  Used bundle with name to stuff the control reference numbers into my RefCluster,
    4.  Used the RefCluster typedef in my subVI,
    5.  In the subVI, I had to add a variant to data command before using the data.
    I also extended the example to actually change values on the front panel to verify that it worked as I intended.
    Ken
    Attachments:
    typedefexample2.zip ‏28 KB

  • How to use multiple data controls in a single JSF page

    Hi,
    I am using Essbase Data Control to in my project to get Essbase Cube data into ADF table/Pivot Table.
    Suppose if [Item] dimension has this hierarchy [category] -> [Segment] -> [Brand] -> - [Item]
    I need to display Category in one column and Segment in the next Column and [Brand] in the another column.
    Different types of Category, Segment and Brands should display as table data(data values).
    Using MDX query I can not print [Item] hierarchy in different columns..so I am planning to use multiple data controls.
    Could any body help me to get the solution.

    Hi,
    sounds like you want to try the Pivot table
    http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e12418/tagdoc/dvt_pivotTable.html
    I don't think that multiple Data Controls is the solution to the problem
    Frank

  • Problem with register event callback in use of instrument control

    now, i use the register event callback to register a value change of a boolean control on the front panel, and wire the cluster's ref of the instrument control parameters to the user parameter input, then create the callback vi. In the callback vi, i select the pump-control subvi, and pass the user parameter to the subvi. The problem is that,  when i press the boolean control, the instrument (here is pump) can act, but immediately, the code crashes.
    I use labview 8.6
    Attachments:
    callback vi.png ‏8 KB
    register event callback.png ‏8 KB

    You would wire the event registration wire that comes out of the Register for Events node into an event structure.  You will need to right click on the event structure and check off "Show Dynamic Event Terminals" and it into that.  Then you can create a new Event Case that uses the dynamic event.  You can place your subVI in that event in whatever way you want.  (Just drop the subVI in or do a Call by Reference there, or whatever.)  Look in the Example Finder for "Dynamically Register for Events.vi".

  • 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.

  • How to include multiple attachment control's in single info-path form

    Hello Everyone,
    I am using SharePoint online with info-path form 2013. for one sharepoint list form i would like to include multiple attachment control's. please suggest a possible solution.

    Hi Venkat,
    Per my knowledge, when we edit the list form in InfoPath, the attachment control cannot be accessed.
    And  InfoPath form templates of types (compatibility) "SharePoint List Form" and "Workflow Form" are by Microsoft design (or under-mis-design) locked, non-modifiable and do not permit client custom code (from InfoPath
    Designer in VSTA, Visual Studio for Applications).
    So we cannot add more attachment control in InfoPath form for SharePoint list.
    As a workaround, I recommend to use Multiple line of text field to store the attachments instead.
    Best regards,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • User-specified DAQ interruptions, instrument control through serial communication

    I'm working on an instrument control program, and I've run into a structural problem that I cannot figure out.
    The instrument in question is effectively a thermostat.
    The program has two functions:
    1.)  Background sampling to record temperature in a log over time.
    2.)  Adjust temperature according to user input
    The issue is that the instrument uses EIA-232 serial communication to talk to the PC.
    This prohibits simultaneous execution.  Attempting to send a command while the program is taking a sample will result in serial blockage errors.
    So the program must interrupt background sampling until the specified command has been completed.
    I can't figure out how to do this.
    My best idea was to create a manual pause control.  If the user wants to adjust the temperature, he hits a switch to pause the sampling, sends the appropriate command, then hits the switch again to reinitiate sampling.  This method will suffice, but is not ideal.
    Beyond that, I really have no idea how to prevent the two functions from running into each other.
    Help structuring this program would be greatly appreciated,
    Thank you

    Look into Semaphores (icons with traffic light glyphs)
    Set up a Semaphore resource to the COM port that is wired to two parallel structures.
    One structure would do the background polling, the other would handle setting changes.
    Prior to background poll, lock the resource, then unlock it after the poll. Likewise for the setting change command.
    When a resource is locked, the other process cannot access it until it is unlocked. Be sure to dispose of the Semaphore when ending the program.
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    Attachments:
    SempahoreExample.jpg ‏256 KB

  • Can I download the instrument Control and Data Aquisition Device Driver CD for 7.1?

    Greetings,
    Can I download the instrument Control and Data Aquisition Device Driver CD for 7.1?
    I'm trying to find out if I can download
    the instrument Control and Data Aquisition Device Driver CD for 7.1. Instead of downloading all the upgrades?
    Is there a link to the image file for this CD?
    TIA

    Sam,
    Unfortunately, the Device Driver CD is not available for download. However, your Technical Sales Representative should be able to send it to you (Contact Information).
    Spencer S.

  • Instrument control fundamentals

    Hi,
          I need some help regarding instrument control.I want to control instruments uing labVIEW8.6.I'm new to the job.can
    anybody tell me what are all the requirements(like installing instrument divers, labview 8.6) inorder to control an
    instrument programatically?
                                              In short what do I need to install before writing code to control insruments.can you give me
    step by step procedure right from scratch to control an instrument?
    Thanks
    kiranmayi

    Hi,
    for R&S CMS54 LabVIEW drivers are available at http://www2.rohde-schwarz.com/file/rscms54_lv7_2_0.zip, the R&S NRT driver is available at http://www2.rohde-schwarz.com/file/rsnrt_lv8_1_6.zip.
    A brief instroduction into driver is available at http://www2.rohde-schwarz.com/en/service_and_support/Downloads/Drivers?rckb=1&type=25&downid=5343
    Hope that helps?
    Regards Juergen
    Message Edited by juergenstraub on 07-08-2009 03:57 PM

  • Multiple credit control areas for 1 company code

    Hi experts,
    My client is using ECC6 version and they activated credit control area, as I know that 1 company code can have 1 credit control area and 1 credit control can be assigned with multiple company codes,. but in one of my client company code is assigned to 4 credit control area through
    u201CFinancial Accounting (New)- Accounts Receivable and Accounts Payable-Credit Management-Credit Control Account-Assign Permitted Credit Control Areas to Company Codeu201D-
    Can anyone let me know how this functionality will work? Any additional impact will be there when compare to 1:1 scenario? And what are the details we need to update in FD32 when we assign multiple credit controls for 1 company code.
    Regards
    babu

    Hi,
    The multiple assignemnet of credit control allows you to use multiple credit control for customers. Thus in FD32 you can use these assigned different credit control area and maintain the credit limit for each area.
    Regards
    Milind Sonalkar

  • Multiple Instruments with Live Monitoring?

    I am using Logic 9 for live performance + multitrack recording. I have just used a single virtual instrument on its own channel strip; Superior Drummer receiving midi channel 10. I select the channel strip in the Arrange window, with Record enabled, and voila .... live monitoring of the drums.
    But, now I am adding a second virtual instrument on another channels strip; WIVI Band receiving on midi channel 11, 12, and 13.
    The problem is that I am only able to live monitor the output from one of the instrument channel strips at a time (the one that is selected in the Arrange window. How do I live monitor both (multiple) instruments? I want to do this regardless of whether the transport is moving or not....
    Thanks in advance...

    Settings/Recording...
    Enable:  Auto Demix By Channel
    Tracks have to be record enabled otherwise only the selected track will play.
    To add to this... each virtual instrument will need to be on it's own MIDI channel plus your Master keyboard needs to be able to switch output channels to hear each instrument.
    Note: Logic's Settings are on a per song/project basis.
    Logic's Preferences are Global and will not change for each project.
    pancenter-

  • Multiple instruments; same test. Best plan of attack?

    I'm looking for some information on design structure dealing with multiple instruments that do the same thing but require different command sets. Specifically I have an application running tests via VISA GPIB using an Agilent PNA. My current application uses a queued state machine with two loops; one taking care of the GUI and another taking care of the states; works like a champ and is easy to add new tests. But I have been asked to migrate the current tests to different flavors of network analyzer specifically old school HP8510 and some non-hp gear. Some tests are very complicated and have a couple dozen steps with numerous sub vi's to take care of all the commands and data formatting. We do not want separate applications; I have to identify what is connected and sequence the test accordingly to attain the correct results. 
    I'm looking for links, suggestions, or recommended reading to deal with such things and to maintain maintainability.
    What I have been able to find is hit and miss with some reading pointing towards using a separate state-loop for each instrument and others just added more and more states to existing state machine.
    All opinions / ideas welcome.
    -Chris

    F1_Fan wrote:
    Good suggestions.
    SCPI is great but some of the instruments are 20 years old and things like getting bandwith numbers are more complicated in the older equipment. I'm still fighting with people to stop using low level GPIB commands and just use VISA.
    My understanding of the replies lies in writing a subset of vi's for each piece of equipment while reusing the common commands (Like writing an overloaded function in .NET land?).
    A simple flow diagram of what would occur would be as below if I'm understanding the suggestions -
    - Front panel for user to select required test.
    - Query what instruments are connected and decide if hardware is available to run such test.
    - Using VI's libraries I will create to perform each test; select the proper set and run the test. (I would still use a QSM type design to easily facilitate changes down the road).
    - Everything would be invisable to the end user; they are just selecting a test; all front panels will be standard regardless of instrument. They would only differ by the selected test.
    Am I on the right track? I'm a VB.NET transplant trying to not get on the "wall of shame" of labview code. LOL.
    -Chris
    Hi Chris,
    This is similar to a Q posted on LAVA earlier this week that can befound here. In that thread Aristos Queue (father of VLOOP LV OOP) outlined some classes to utilize Dynamic Dispatching (choose the sub-VI to run based on the class selected). Conciering your background, that thread may work for you.
    Have fun,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • 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?

  • Multiple mitigation controls assignment through CUP

    Dear All,
    We have implemented CUP 5.3 and under SP9.
    We have multiple controls addressing same risk where in we are supposed to assign multiple controls to the users. When the manager is assigning multple controls, the old one is getting replaced with the new one for the same risk.
    Is there any configuration change to be made to assign multiple mitigation controls to the same user for the same risk using CUP.
    Thanks and Best Regards,
    Srihari.K

    Ben,
       This is how CUP works. There is no configuration which allows you to ignore SOD violaton even if there is mitigation. You will have to live with this for now.
    Regards,
    Alpesh

Maybe you are looking for