Input and output parameter for subpanels

Hi,
i'm creating a measurement configuration tool within LabVIEW and i want
to use subpanels for the several inputs/outputs (analog, digital...).
The configuration data is hold within a data storage (variant) and
contains all needed configuration parameters. Now i placed a subpanel
control and needed stuff inside the block diagram of the wizard and i'm
able to run it. Changes i made in that subpanels are lost currently
because i'm not able to retrieve the output (connector) of the selected
subpanel.
Is there a way to exchange data over the connectors of the vi or do i
have to use global variables in such a case? I hope i can avoid this.
Thanks
Henrik

See the example in this recent posting. To get data from a subpanel, use Get Control Value or Get Control Value [Variant].

Similar Messages

  • SSIS: How to use one Variable as Input and Output Parameter in an Execute SQL Task

    Hello,
    i need your help,I'm working on this issue since yesterday and have no idea how to deal with it.
    As I already said in the tilte i want to start a stored procedure via a Execute SQL Task which has around 15 prameters. 10 of these should be used as input AND output value.
    As an example:
    i have three  Variable:
    var1    int        2
    var2    int     100
    var3    int     200
    the stroed procedure:
       sp_test
          @var1 int
          @var2 int output
          @var3 int output
       AS
       BEGIN
            SET @var2 = @var2 * @var1
            SET @var3 = @var3 + @var1
       END
    So in the Execute SQL Task i call the Stored Procedure as follwos:
        Exec sp_test  @var1 = ?, @var2 = ? output, @var3 = ? output
    (I use an OLE DB Connection)
    The parameter mapping is as follows:
    User::Var1        input                   numeric              0                 -1
    User::Var2        input/output         numeric              1                 -1
    User::Var3        input/output         numeric              2                 -1
    Now my problem. If i set  Var2 and Var3 as Input parameter the values are still the same after running the package. If i set them to a output value the are both Null because the procedure doesnt get any values.
    I already tried to list them a second time - like
        User::Var2        input                  numeric              1                 -1
        User::Var2        output                 numeric              1                 -1
    or i use a new variable
        User::Var2                  input                  numeric              1                 -1
        User::Var2Return        output                 numeric              1                 -1
    but i alwas get the error
    "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done."
    Has anybody an idea how I can solve this problem?
    Thanks a lot.
    Kind Regards,
    Alice

    Hi Alain,
    thx for your answer.
    I have around 15 procedures called one after the other to calculated and modify my values. Each procedure is responsible for an other but overlapping set of variables. So i thought it would be a good idea to call them one after the other with the needed variables via a execute sql task.
    So if i use a result set, how i get my stored procedure to return 10 values? I would have to use a Function instead of a procedure, wouldn't i?
    As if i have 15 procedures this would be a lot of work.
    But thanks a lot for the idea. I think an other idea would be to create one function which calls all stored procedures and returns all the calculated values as a result set, wouldn't it?.
    Kind Regards.
    Alice

  • Custom action with XML type input and output parameter.

    Hi,
    I want to develop custom action with xml type input and/or output parameter.
    Is there sample code for java side. How is the definition of input and/or output parameter and set/get methods?
    does it need special .jar file to develop custom action like this?
    Thanks.

    Cemil - yes, you can use XML data types.  Use the class
    com.sap.lhcommon.xml.XMLDataType
    for your parameter type.  Here is a snippet from a custom action we use to log XML (instead of just returning the #text node like the default logger does):
    public class XMLLogger extends ActionReflectionBase
        private String source;
        private String eventType;
        private String textMessage;
        private XMLDataType xmlMessage;
        public XMLLogger()
            log = new Logger("UserLog");
            source = DEFAULT_SOURCE;
            eventType = TYPE_INFO;
            textMessage = "";
            xmlMessage = new XMLDataType();
        public XMLDataType getXmlMessage()
            return xmlMessage;
        public void setXmlMessage(XMLDataType xmlMessage)
            this.xmlMessage = xmlMessage;
        public void Invoke(Transaction transaction, ILog ilog)
            StringBuffer sb = new StringBuffer();
            sb.append('[');
            sb.append(source);
            sb.append("] ");
            sb.append(textMessage);
            sb.append(XMLUtils.convertXmlToString(xmlMessage));
    XMLUtils is a helper class we wrote - it's just a bunch of standard Java XML boilerplate code.  The important part you need to know is XMLDataType.getDocument() will return an org.w3c.dom.Document.
    I hope that was enough information to help.
    -tim

  • Input and output arguments for NXT Block

    Hello,
    Is there a solution to passing arguments when, with direct command Start, we activate a program (block transfered on NXT) from LV ?
    (block created with the NXT library, with a command on a input).
    Idem in output, can we read the response of a sensor by example ?
    Thanks
    T.R.

    See the example in this recent posting. To get data from a subpanel, use Get Control Value or Get Control Value [Variant].

  • Selecting separate input and output devices!

    hi, i have logic pro 8 and cant find out how to select separate devises for input and output!
    for my output (and input when recording drums) i use a alesis multimix 16 (16 track firewire desc) but for recording guitars and bass and poss vocals i would like to use my line 6 x3 live as my input devise but still using the alesis for monitoring.
    is this possible? cant figure how to do it.
    any help is great help! cheers, Dan

    In Logic 9 you can easily select different input and output devices in the Preferences Devices area. In Logic 8 you must create an aggregate device -
    http://support.apple.com/kb/HT1215
    JG

  • How can I use a different driver for audio input and output?

    I did a search of course, and came up with something about an aggregate. I have no idea what this is, how to do it, or if it would even work for me.
    What I am trying to do is:
    1) Record into Logic Express using my Tascam US-122.
    2) Have playback come out of my computer sound system, not the Tascam.
    If I go over to the Audio setup window, I can only record when the driver is set to Tascam US-122. Likewise, I can only listen to sound when my Built-In Audio is selected. It gets rather annoying going between the two.
    So, would this aggregate thing solve my problem? If so, how do I do it? Thanks for any help!
    -allen

    Yes it should do what you want.
    Go to "Audio Midi Setup", and go to the Audio menu and click "Open Aggregate Device Editor". The interface is pretty simple but if you do get stuck, just use the help function in Audio Midi Setup, as it has a step by step guide.
    Then when you return to logic, go to the Preferences>Audio>Drivers section and select Aggregate Device as the new driver rather than either the built in sound or the tascam. Then the inputs and outputs will apply to BOTH devices.

  • How can I make Apple Earphones be the Input and Output for Audio

    I have some older headphones and they aren't compatible with a Mid 2010 (Intel Core i3) 21.5 Inch iMac
    Is there some way to make Apple Earphones be the Input and Output for Audio in the iMac
    This is a problem for me personally as when I am talking to someone on Skype the iMac picks up the In-built Microphone audio, and yes the headphones I'm using do work straight from the iMac as audio output
    Any help is appreciated

    you can connect the headset to something like this
    http://www.ebay.com/itm/NEW-MaelineA-3-5mm-Female-to-2-Male-Gold-Plated-Headphon e-Mic-Audio-Y-Splitter-/381100440348
    and then connect the mic to the input and the headset to the headset port

  • How to use a bluetooth cellphone for audio input and output

    Hello, I was wondering how to set-up my Mac Book so that I can use my bluetooth cellphone for audio in and audio out. Ideally, I would like to use my handset for talking on iChat and Skype. Has anyone had any luck doing this? When I bond my cellphone these optiosn do not appear. I know that this is easy to do on a Windows machine but I am not sure about how to do it on my Mac Book.
    Thanks!

    Yes it should do what you want.
    Go to "Audio Midi Setup", and go to the Audio menu and click "Open Aggregate Device Editor". The interface is pretty simple but if you do get stuck, just use the help function in Audio Midi Setup, as it has a step by step guide.
    Then when you return to logic, go to the Preferences>Audio>Drivers section and select Aggregate Device as the new driver rather than either the built in sound or the tascam. Then the inputs and outputs will apply to BOTH devices.

  • I have on;y one audio port can i use it for input and output at the same time?

    i have the new macbook pro 13 in and i want to connect aguitar as input and output on an amp but i have only one audio port

    You can't use the jack as an input and output simultaneously. The solution is to look for a USB or Firewire interface to get your guitar sound into the computer.

  • (Input and) output formats from Photoshop Elements 6 for Mac

    I noticed that (until midnight PT, anyway) Amazon has Photoshop Elements for the Mac at a lower price than usual.  This brings up a question for me: What output formats can Photoshop Elements 6 produce?  In particular, can it produce PNG?  Also, can it accept PNG as input?

    I think that all the formats like .bmp, camera RAW, EPS,PICT, TIFF, Filmstripn, IFF, JPEG, Photoshop pdf, Photoshop RAW,PNG etc are supported for both input and output.

  • SIngle reference for PXI 6509 Input and Output

    Hi ,
    I am using 96 channel PXI 6509 as a DIO, In this 96 channels i need to assign 1st port for input, 2nd port for output  and 4th and 5th for input so on. its is not a big deal using labview but labview creates seperate reference( Task in) for input and ouput.
    I need to have a single reference for both input and output ( like we have in NI DCpower for SMU)
    Can any one suggest me how i can achive this?
    Thanks and best regards,

    I would accomplish this with an Action Engine that handles all of your tasks.  Alternatively, make a class that handles all of the tasks.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • When you set up tracks what is best to pick for the input and output?

    When you set up tracks what is best to pick for the input and output? also what is the buss output? Thanks

    First part of the question I don't understand, so could you elaborate please?
    Second part: bus output is used for submixes, for example, let's say you want the same EQ to be applied to all guitars in the song, so instead of using same EQ plug-in on all guitar tracks, you feed the output from these tracks to a bus track and use the effect just once on this bus submix.

  • I'm trying to record in Adobe Audition and it keeps saying my the sample rates for my input and output devices do not match.  How do I correct this?

    I'm trying to record in Audition and it keeps saying my sample rates for the input and output devices don't match.  How do I fix this?

    I finally have communication between the ISA One and Audition. I moved the optic cable to another SPDIF on the computer and from the SPDIF to ADAT on the ISA One and it finally agreed that the communication was at the same clock speed. The audio was not intelligible so I moved the optic cable back to the original configuration and I can record voice that is clean.          

  • How to control (the input and output) EXE file after I call it using exec?

    Hi,
    I knew that I can use runtime.exec() to call one EXE file, and this works. But this EXE has two characteristics:
    1. After this exe starts, it asks user to input number such as 1 or 2 onto computer screen, then press return. Then the exe will start the calculation.
    2. after it starts calculation, it prints 3 columns of numbers onto the screen.
    My two questions are:
    1. How to use java to input the number such as 1 or 2 automatically? this EXE can not work like this in DOS command line:
    C:> file.exe parameter
    The parameter is the number such as 1 or 2 that I wanna input.
    2. how to redirect the 3 columns of numbers from computer screen to txt file?
    My colleague can solve these two questions using Mathematica. So I know that definitely there is at least one solution for it. I just can not do it using Java. This wierd exe file bothered me a lot and I really wish that I can get help from someone in java community.
    Thank you!
    Tony

    When you call Runtime.exec, you get a Process object. (I presume something similar happens when you use ProcessBuilder.) Process has methods with names getOutput, getInput, and getError. These correspond to the standard input, standard output, and standard error streams of the spawned process.
    You can read and write to the process on the streams corresponding to input and output that the process writes to the console.
    [add]
    In fact, you should be grabbing and reading the output/error streams anyway, because of the points raised by the Traps article. Google "Java Runtime exec traps" and you'll probably get a link to this JavaWorld article, which describes common Runtime.exec problems and how to solve them.
    Edited by: paulcw on Jun 15, 2010 4:09 PM

  • Can't restart our input and output frs

    Hi,
    last month we used our AT BOXI system to help restore a folder's worth of reports that an unfortunate user had deleted in production. In the course of the restore the AT BOXI CMS and input and output frs were pointed at the restored databases.
    I've now tried to repoint the CMS and frs's back to the original databases and though the CMS restarts ok the frs's refuse to restart.
    The shared drive with the frs on it was 'unshared' for a while according to our server guy who helped with the restore but he says he's put it back now just as it was (though I believe the old name was atboxifrs and it's now ATboxifrs). He also says all the access rights to the share are the same.
    What could be preventing the frs from restarting?
    We have BOXIr2 SP4 on a Windows server.
    thanks
    Keith

    I added the -trace parameter and created a log file, the file shows the following problem:
    [Thu Oct 29 10:17:59 2009]     4628     8280     Log: level=0 cat=28 msg=35600 p=Failed to setup the root directory
    sdorsf004\ATboxifrs\boxi_frs\input\ for use. Please make sure permissions are correct and there is no sharing violation.
    [Thu Oct 29 10:17:59 2009]     4628     8280     Log: level=0 cat=28 msg=35600 p=Failed to setup the root directory
    sdorsf004\ATboxifrs\boxi_frs\input\ for use. Please make sure permissions are correct and there is no sharing violation.
    [Thu Oct 29 10:17:59 2009]     4628     8280     Log: level=0 cat=14 msg=35101 p=The root server reported an error Internal Error. (Reason: Fail to initialize file system.  Please see event log for details.).
    [Thu Oct 29 10:17:59 2009]     4628     8280     trace message: SIServerController:run: Fail to initialize or uninitialize.  Reason is The root server reported an error Internal Error. (Reason: Fail to initialize file system.  Please see event log for details.).:
    My server guy reckons that the account we are using has the correct permissions (though I've asked him to check that again). Is there anyway of checking for myself, or is there anything else this error message could be teeling me that I'm missing?
    thanks
    Keith

Maybe you are looking for

  • BAPI to add Vendor Bank Details

    Hi, Here i am trying to add bank details for Vendor(updating table LFBK)... Currently i am using BAPI_BUPA_BANKDETAIL_ADD, but its giving a return message that the businesspartner(Vendor) does not exists.  Please let me know if there is any other BAP

  • How to secure video recording?

    I have a ColdFusion app server connecting to a separate FMS server (both different machines). To get to the code that displays the object/embed tags to show the SWF to record, one has to enter their username/password. However, essentially, after one

  • Waiting for activation message and face time

    done all the trouble shooting there is and still waiting for activation,,,ive always used imessege and face time in my privious iphones ,,,this is happening since i bought the iphone ,,,,18 days ago

  • Asm disk showing as former after dropping disk groups

    I used the excellent note by Vincent Chaun on installing RAC 10g on vmware and I got the RAC working. Exploring RAC, I dropped the disk groups and when I went to create it through dbca, it is only showing as former and not provisioned. Can anyone hel

  • Getting a used iPhone with AT&T

    I am planning on getting a used 2G iPhone. I currently have an account with AT&T, and I have a SIM card with them. I don't have any of the required data plans, and I heard that you couldn't just slip in your SIM card, so my question is if I put my SI