How to allow a user to select an instrument from a group and use that VI?

Hi All,
In a previous application I wrote using Agilent VEE I created a Configure Equipment and Initialise Panel for the user to select for example a signal generator from a drop down list of different types, and when initialised the functions for that item would loaded into a generic library called Signal Generator into my main program. I could then call these functions in my main program
When I wrote the instrument drivers I named each function the same for each type of signal generator I could offer the user. e.g. Set_Frequency (would be in all instrument drivers)
I would like to do this in LabVIEW and am struggling to find out how to do it.
Does anyone have any suggestions? And I hope what I have said above makes sense.
TIA
Martin

Hi Martin,
With regards to communicating with hardware
from other manufacturers, yes you are able to do this using LabVIEW
provided the drivers are available from National Instruments, or
sometimes the manufacturers themselves provide LabVIEW VIs to use with
their instruments.
To configure the device it may be worth
implementing some form of popup dialog box to input the values for your
particular configuration. This can be done by creating a SubVI where
you are able to input the values and once a button is pressed the
dialog box closes (as in the example I have attached)
Just to
mention also, VI Libraries are mainly for organization purposes, and
grouping VIs together. It also allows you to protect your VIs by
setting them to private, which means they are only able to communicate
with other VIs within that particular library.
Hope this Helps,
Steve
Attachments:
Popup Example.vi ‏16 KB

Similar Messages

  • How to allow the user to upload a file from their desktop to MII Server?

    Hi,
    Is there a way for the user to specify a file on their local computer to upload to the MII server for processing?  We have a method that works for uploading from a shared network drive, but now the need/desire is to allow the user to upload a file from their desktop.
    Ideally, this would be a file browser that the user would click on to browse their local desktop and select the file and click "Upload" but not sure what's possible?
    This is using 12.1 SP4.
    Thanks for the help.
    Kerby

    [Uploading Documents|Uploading Documents]

  • Is there a way to make a form that allows the user to select multiple answers from a dropdown?

    Hi,
    I work for a school that is building a form right now, and one thing we would like to do is have a list of teachers that can be selected from a drop down menu, effectively allowing the user to choose four or five from a list of twelve. Is there a way to do this? I see checkboxes, but that doesn't seem like a good answer for something that has twelve choices. I rolled through the other examples, and they all were single choice.
    Thanks,
    Lee

    Hi Ariel,
    Thanks for responding. I've added the list box, but I'm not sure how to select two options that aren't right on top of each other. Is it possible to add check boxes? I've also added a scroll bar to make it easier to browse. I've included a screenshot to show what it looks like. 
    Thanks for being patient. I'm new at this!
    https://www.evernote.com/shard/s33/sh/804fbf7c-c4e5-4f34-a094-fdaedf67b020/5c0a42f59890ba7 49e4e945b703b5d58

  • Help:allow the user to select which 3 waveforms he want and plot in one graph

    Hi all
    I have a question and  I am kind of lost. I used block diagram to generate 5 Waveform and I want to give the user the ability to pick up three waveform in plot it in one graph.
    I tried to to do in formula node but as I know I can't wire it together .
    can any one tell me how to fo it
    thanks

    never get own wrote:
    thanks for ur respond
    i will be generating the waveform from block diagram. my only questions how can i plot them together in one graph or chart.
    lets say i have sin, triangle, square waveform and need to plot them all in one graph.
    Use an array. Please look at the examples that ship with LabVIEW. They show you how to use the chart, waveform graph, and XY graph. If you turn on Context Help and place the cursor on the graph's terminal on the block diagram you will also get a short review of how to send data to the chart/graph.

  • JFileChooser, how can you allow the user to select MORE than 1 file?

    Hello everyone.
    I want to allow the user to select multiple files from a directory, not just 1, but not just the whole directory.
    Currently I see these 2 options from looking at the sun's JFileChooser demo:
    //Create a file chooser
            fc = new JFileChooser();
            //Uncomment one of the following lines to try a different
            //file selection mode.  The first allows just directories
            //to be selected (and, at least in the Java look and feel,
            //shown).  The second allows both files and directories
            //to be selected.  If you leave these lines commented out,
            //then the default mode (FILES_ONLY) will be used.
            //fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
            fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);but both don't allow the selection of more than 1 file.
    When I say, select more than 1 file I mean the user can hold in SHIFT or CTRL and select files.
    Any ideas how to do this?
    Thanks!

    http://java.sun.com/javase/6/docs/api/javax/swing/JFileChooser.html#setMultiSelectionEnabled(boolean)
    Cheers,
    Laird

  • How can I move my old iPhoto library into a Referenced Library format and use that as my default?

    Hi, I have been using iPhoto for photo management where all the jpegs have been living, in organized events by date and subject for some time. I recently upgraded to aperture and am using the same iPhoto library. The issue I have is that I use Carbonite for my cloud back up and I am able to look at the pictures I have on my PC with the same folder organization I have them on my PC hard drive. This is apparently not possible for iPhoto library. The only way to access a picture on the iPhoto library in the cloud is to go through the master and hope you can find the specific picture since they are not organized in a comprehensible manner (like events or folders) in there.
    So the only solution I can think of is to move the current iPhoto library to a referenced image library and use that as my default library from now on. This way I get cloud access and the events will hopefully turn into folders with dates and subjects that I can continue to keep organized to satisfy my OCD tendencies.
    So the question I have is that:
    1. How can I make a reference Library for Aperture/iPhoto?
    2. How do I move the current library to the Referenced Library in an Organized manner? My wish list would be a series of folders labeled with the date and the subject, like I have in my iPhoto library right now.
    3. If there is any alternative, your suggestions and recommendations would be much appreciated.
    My computer: Mac Mini (Mid 2012), Lion, 16GB RAM.
    Thank you kindly,

    Or is there a way to go through aperture to make a new reference library that I can move the masters into later?
    you do not move the masters into a references library - you turn your current library into a referenced library.  As Terence Devlin said:
    File -> Relocate Masters
    What you should set up:
    Select a folder, where you want to store your referenced files - probably on an external drive.
    Decide on a hierarchical folder structure inside this folder - that is completely up to you.
    Select a project from your library and use the command "File -> Relocate Masters/Originals" to move the original image files to the folder where you want to go them to. Only take care not to send two projects to the same folder.
    Alternatively, if you do not care about the folder structure Aperture will use, select all images at once from the "Photos" view and let Aperture decide how to assing the folders - in the "Relocate Originals" dialoge you can specify a subfolder format.
    Regards
    Léonie

  • Is it possible not to allow the user to select radio button based on condi

    Hello All,
    I have two radio buttons ( Relation value 1 default , famid value 0 )
    can i create a situation where in the user cannnot select the famid radio based on some condition.
    The conditioin is that , the user should have selected atleast one item from three list controls then only i should allow the user to select famid radio else not ?
    thanks/kumar

    Hi,
    You can use javaScript to enable disable radio button. Call the javaScript from your select list onChange event.
    Hope this helps,
    Regards,
    Tajuddin
    web: http://tajuddin.whitepagesbd.com

  • How to make users to select the date from calendar control my making the date field read only in date time control in external list in sharepoint 2010

    How to make users to select the date from calendar control only, by my making the date text field read only (don't want to let users type the date) in date time control in external list in sharepoint 2010. I am looking for a solution which can
    be done through sharepoint desginer / out of the box.
    thanks.

    Congratulate you got the solution by yourself. I am new to a
    WinForms calendar component, I feel so helpless on many problems even I'd read many tutorials. This question on the
    calendar date selection did me a great favor. Cheers.

  • Allowing a user to select a Date

    what is the best option which can be used to allow a user to select date from the user interface on a JFrame? Is there any tool available which can be used directly for this? (eg. like we can use javascript component in web-pages).

    visit this one
    http://in.geocities.com/onlyjava2003/index.html

  • DateField: Restrict user to select date only from the calender control ??

    How can I restrict user to select date only by using the Calender control, not by typing.
    Abhinav

    Hi,
    This is working perfectly but user can enter or delete date into the text_item >>>through keyboard i want to restrict that they can only select date from calendarSet Insert allowed to 'NO' in property pallete of item ENTRY_DATE.
    In ON-ERROR Trigger::
    BEGIN
    DECLARE
    err_code CONSTANT NUMBER := error_code;
    err_type CONSTANT VARCHAR2(3) := error_type;
    BEGIN
    IF (err_type = 'FRM'
    AND err_code IN (40200)) THEN
    Message('Updates Not allowed, Please Select Your Date from Calendar');
    Message(' ');
    ELSE
    NULL;
    END IF;
    END;
    END;
    Thanks,
    Bhujendra

  • How do i select a clip from one project and enter it into another?

    how do I select a clip from one project and enter it in another?

    This doesn't seem to relate to Adobe Reader. Please let us know the product you are using so we may redirect you or refer to the list of forums at http://forums.adobe.com/

  • How can i call the certificate selection dialog box from source code?

    How can i call the certificate selection dialog box from source code?
    NB: Of course if i have more than one certificate in the Microsoft Keystore 'My'.
    Thank You in advance

    I found an example of the "TestStand UI Expression Control.ctl" and it works just the way I need it. (check the link)
    Proper use of "TestStand UI ExpressionEdit Control" in LabVIEW http://forums.ni.com/ni/board/message?board.id=330&requireLogin=False&thread.id=10609 
    The "Expression Browser Dialog Box Button" F(x) stays disable while editing the VI, however it become available when the VI is called from TestStand.
    Thank you,
    Hecuba
    Mfg. Test Engineer
    Certified LabVIEW Associate Developer

  • How not allow music start when conect the iphone5 to other device by using Bluetooth?

    How not allow music start when conect the iphone5 to other device by using Bluetooth?

    Hi Ralph,
    Ty for answer. I connect my iPhone5 to my car audio system by Bluetooth. I can listen sounds from any app installed on my iPhone. The music app starts immediatly, without any command, when the connection via Bluetooth is done. It disturbs me because I want to hear sound from another application. At this moment I do not want to listen to music. I stop the music but it return again and again every time the other app stop momentarily to talk. (This is a navigation app)
    I would like to know how to configure my iPhone5 to avoid this.
    Kind regards
    Edilson

  • Easy Question:Select many rows from a table and execute BAPI for these rows

    Hi Experts,
    I have created one WD project. The WD project fetches some records of backend using BAPI and displays in a table. I have to select some rows from the table and then execute BAPI for selected rows.
    How I can select multiple records from the table and then execute another BAPI for selected rows.
    Regards,
    Gary

    Hi,
    In the Node which you binded to the table create one more attribute of type boolean.
    For example your node is as below:
    //Table Node
    TableNode
    > Att1
    > Att2
    > isSelected(boolean) - Newly created attribute for this requirement.
    //Result Node contains the elements selected in TableNode
    ResultNode
    >Att1
    >Att2
    Now in the table create one more Column with Checkbox as tablecell editor. Now bind this boolean attribute to that check box.
    Now in the code you can get the selected rows by user as below:
    for(int i=0;i<TableNode().size();i++)
      if(wdContext.nodeTableNode().getTableNodeElementAt(i).getIsSelected()==true)
        IPrivateTestView.IResultNode element=wdContext.createResultNodeElement();
        element.setAtt1(wdContext.nodeTableNode().getTableNodeElementAt(i).getAtt1());
        element.setAtt2(wdContext.nodeTableNode().getTableNodeElementAt(i).getAtt2());
       wdContext.nodeResultNode().addElement(element);
    Regards,
    Charan

  • Iphone4 would not restore Error -50. I have tried to restore and it restored it to the point that it created after 5.0 was installed. How can I get it an older restore point from my backups and restore it on another computer? The phone has been wiped out.

    Iphone would not restore---- Error -50. I have tried to restore, and it restored it to the new point that it created after 5.0 was installed. How can I get it an older restore point from my backups and restore it on another computer? The phone has been wiped out. I can see earlier backups in my C:\Documents and Settings\user\Application Data\Apple Computer\MobileSync\Backup folder. There are four subfolders in this address. I need my contacts, photos, and messages back. I know this is a common error but I can not figure it out. I have ran the other troublshoot items in the error steps for 13 and 14 like apple says. Is there a way to call apple and get a step by step of how to restore from another restore point? Does anybody have a solution????

    It tells you to go to Error 13 and 14 if you receive error (-50).
    Here is what I have tried...
    Error 13 and 14: These errors are typically resolved by performing one or more of the steps listed below:
    Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting. I have moved it around to different ports.
    Put a USB 2.0 hub between the device and the computer. Didn't change anything.
    Try a different USB 30-pin dock-connector cable.
    Eliminate third-party security software conflicts. Removed all virus protection and firewall.
    There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. Your default packet size being set incorrectly can cause this error. Contact the manufacturer of the software that installed the packet-size modification for assistance. Or, follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) to reset the packet size back to the default for Windows.Used the Microsoft fix it.
    Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online. Doesn't matter.
    Try to restore from another known-good computer and network. I do not know how to do this or how to find the correct/full/complete restore point. There should be more information for this.

Maybe you are looking for

  • Solar chargers for 30G iPod Video

    Has anyone had any experience using any of the small solar chargers on the market that state they work with iPods. Most of them state that they are useable with iPods but I think they all are tested with the Nano or Mini only, and I'm wondering if th

  • Error in code, need help

    import javax.swing.*; import java.awt.*; import java.awt.event.*; public class CropProfit2 extends JApplet implements ActionListener private JTextField n1Text = new JTextField(); private JTextField n2Text = new JTextField(); private JTextField n3Text

  • Photoshop CS 6 can´t be opened

    I need help. I have downloaded CS 6 Trial for 30 days for testing. The installation was done correct. But CS 6 do not open. I get mistake warning from windows like my screenshot shows. To work on with the computer, I have to kill the process. CS 6 co

  • Phone keeps saying 'sim failure'... and getting no service.  any suggestions?

    phone keeps saying 'sim failure'....and getting No Service at the top.  any suggestions??

  • AME WON'T LOAD PREMIERE CS4 FILES

    Probably been answered somewhere ... but, I'm playing beat the clock (who isn't?) ... and gotta find a solution or work-around, and FAST. PREMIERE CS4 WON'T EXPORT TO ADOBE MEDIA ENCODER. It goes through the motions; but never actually loads the elem