Switch the output of a workflow parameter to another workflow as input parameter?

Hi all

I have created a list of resources and want to add a virtual machine in this resource pool. There are two workflow, 1. Pool of resources & 2 creation. Cloning a VM. I'm creating a different workflow and by adding this two workflow. I don't know how to pass the value of the output parameter of the first stream of work performed as input to another workflow running. Can anyone help? Can anyone attach the workflow example?

Thanks in advance.

Hello

You must create workflow attributes (in the "General tab" of your workflow) and link out of the first workflow settings that you call to them. You can then link the same attributes as parameters to the second.

Watch this video (and all others in the www.vmwarelearning.com/orchestratorseries) for an explanation: http://vmwarelearning.com/2nB/understanding-variables-and-variable-binding-overview/

See you soon,.

Joerg

Tags: VMware

Similar Questions

  • Capture the output of a workflow in a different workflow

    I'm calling a WF1 workflow from another workflow WF2. I am able to do and WF1 is running perfectly in the background and the desired output via a return number. Newspapers of WF1 to verify that.

    But I want to capture the output (table/integer) to WF1 by WF2. I can't pass the exit (snapshots) WF2.

    I enclose the code and the journal of WF2. I enclose the code and WF1 journal as well.

    Well, well, you seem to met a strange problem... It was me frustrating because your code resembles a re-work of my code here:

    How to retrieve the details of Workflow

    ... If I run MY library workflow that checks the chips of workflow, the output, but all the variations, I tried to get out of the current token element has ended in the same result as what you had: null.

    So, as executions of audit workflow worked rather than the active token, wait until the workflow has completed, and then loop through the workflow runs until you find the one with the matching id of the token you just ran... once that you find, parse the output.

    Given two workflows you set in the last post, replace your task Scriptable text in the 'test' WF follows him with and run it (feel free to delete the code useless, I left all my code test in place in there something of another case may be useful):

    var inputParameters = new Properties();
    inputParameters.put("name", name);
    System.log("name '" +name);
    System.log("hostResource '" +hostResource);
    var curToken = wf.execute(inputParameters); //,"root","vmware");
    while (curToken.state == "running"){
        System.log(".. still running ..");
        System.sleep(1000);
    }
    var tokens = wf.executions;
    // Each execution is a "workflowToken" object
    for each (token in tokens){
        if (token.id == curToken.id && token.isStillValid){
            System.log("");
            System.log("=============== Checking token ===============");
            System.log("Token ID: "+token.id);
            System.log("Start Date: "+token.startDate);
            if(token.endDate != null){
                System.log("End Date: "+token.endDate);
            }
            System.log("Business State: "+token.businessState); // Indicates the business state as defined by the workflow dev in each of the elements of the workflow (not always specified)
            System.log("State: "+token.state); // Indicates the system state of this workflow
            /* State values are likely to be one of the following:
            waiting <- waiting for user input
            failed <- an exception was thrown to cause the workflow to fail
            completed <- workflow competed running successfully
            canceled <- user right-clicked and canceled the workflow
            running <- workflow is still processing
            */
            System.log("");
            System.log("==== Token Inputs ====");
            var inputParams = token.getInputParameters();
            if (inputParams != null){
                for each (key in inputParams.keys){
                    var value = inputParams.get(key);
                    System.log(key + ": " + value + " ("+System.getObjectType(value)+")");
                }
            }
            System.log("");
            System.log("==== Token Attributes ====");
            var attributes = token.getAttributes();
            if(attributes != null){
                for each (key in attributes.keys){
                    var value = attributes.get(key);
                    System.log(key + ": " + value + " ("+System.getObjectType(value)+")");
                }
            }
    
            System.log("");
            System.log("==== Token Outputs ====");
            var outputParams = token.getOutputParameters();
            if (outputParams != null){
                for each (key in outputParams.keys){
                    var value = outputParams.get(key);
                    System.log(key + ": " + value + " ("+System.getObjectType(value)+")");
                }
            }
    
            System.log("");
            System.log("==== Token Log Events ====");
            var logEvents = new Array();
            logEvents = token.logEvents;
            var eventCount = logEvents.length;
            System.log("Event Count: "+eventCount);
            for (i=eventCount-1; i>-1; i--){
                var logEvent = logEvents[i];
                System.log("");
                System.log(" == EVENT ENTRY "+(eventCount - i)+" == ");
                System.log("logTimeStamp: "+logEvent.logTimeStamp);
                System.log("longDescription: "+logEvent.longDescription);
                System.log("originatorId: "+logEvent.originatorId);
                System.log("originatorUri: "+logEvent.originarorUri);
                System.log("originatorUserName: "+logEvent.originatorUserName);
                System.log("severity: "+logEvent.severity);
                System.log("shortDescription: "+logEvent.shortDescription);
            }
        }
    }
    

    And to get an idea of the output, my tab newspapers looked like this:

    [2014-08-01 16:29:25.632] [I] name 'demo
    [2014-08-01 16:29:25.632] [I] hostResource 'null
    [2014-08-01 16:29:26.351] [I] .. still running ..
    [2014-08-01 16:29:27.365] [I]
    [2014-08-01 16:29:27.365] [I] =============== Checking token ===============
    [2014-08-01 16:29:27.365] [I] Token ID: ff80808146af57140147934349c10567
    [2014-08-01 16:29:27.365] [I] Start Date: 2014-08-01 16:29:26
    [2014-08-01 16:29:27.365] [I] End Date: 2014-08-01 16:29:26
    [2014-08-01 16:29:27.365] [I] Business State: null
    [2014-08-01 16:29:27.367] [I] State: completed
    [2014-08-01 16:29:27.367] [I]
    [2014-08-01 16:29:27.367] [I] ==== Token Inputs ====
    [2014-08-01 16:29:27.371] [I] name: demo (string)
    [2014-08-01 16:29:27.371] [I]
    [2014-08-01 16:29:27.371] [I] ==== Token Attributes ====
    [2014-08-01 16:29:27.374] [I] restOperation: null (null)
    [2014-08-01 16:29:27.374] [I] statusCodeAttribute: null (null)
    [2014-08-01 16:29:27.374] [I] snapshotids: null (null)
    [2014-08-01 16:29:27.374] [I] RESTHost: null (null)
    [2014-08-01 16:29:27.375] [I] hostResource: null (null)
    [2014-08-01 16:29:27.375] [I] errorCode:  (string)
    [2014-08-01 16:29:27.375] [I]
    [2014-08-01 16:29:27.375] [I] ==== Token Outputs ====
    [2014-08-01 16:29:27.378] [I] snapshots: 1966,2262,2555,2927,3272,3586,3895,3903,3909,3987,4041,4430,4734,5048 (Array)
    [2014-08-01 16:29:27.378] [I]
    [2014-08-01 16:29:27.378] [I] ==== Token Log Events ====
    [2014-08-01 16:29:27.423] [I] Event Count: 2
    [2014-08-01 16:29:27.423] [I]
    [2014-08-01 16:29:27.423] [I]  == EVENT ENTRY 1 ==
    [2014-08-01 16:29:27.423] [I] logTimeStamp: 2014-08-01 16:29:26.364
    [2014-08-01 16:29:27.423] [I] longDescription: Workflow has started
    [2014-08-01 16:29:27.423] [I] originatorId: a4e950d3-c575-4ddd-8b7f-dd838cdf7b2e
    [2014-08-01 16:29:27.423] [I] originatorUri: undefined
    [2014-08-01 16:29:27.423] [I] originatorUserName: bazbill
    [2014-08-01 16:29:27.424] [I] severity: 0
    [2014-08-01 16:29:27.424] [I] shortDescription: Workflow has started
    [2014-08-01 16:29:27.424] [I]
    [2014-08-01 16:29:27.424] [I]  == EVENT ENTRY 2 ==
    [2014-08-01 16:29:27.424] [I] logTimeStamp: 2014-08-01 16:29:26.401
    [2014-08-01 16:29:27.424] [I] longDescription: Workflow is completed
    [2014-08-01 16:29:27.424] [I] originatorId: a4e950d3-c575-4ddd-8b7f-dd838cdf7b2e
    [2014-08-01 16:29:27.424] [I] originatorUri: undefined
    [2014-08-01 16:29:27.425] [I] originatorUserName: bazbill
    [2014-08-01 16:29:27.425] [I] severity: 0
    [2014-08-01 16:29:27.425] [I] shortDescription: Workflow is completed
    
  • Displaying the output in a workflow in a provisioned VM

    I try to determine a way to show return the content of a variable of an entity of the VM once the machine is built, preferably in the tab 'Machine' of the details of the article. I don't seem to be able to find a way to do it (I tried to update the value of "__Notes", but appears not to pass to the Portal). Basically, we generate a temporary password for the end user, and we want to show in the portal, rather than by e-mail.

    Can someone tell me if there is a way to display data in the portal once commissioning is complete, outside the person a Manager and viewing the properties directly? If not, is it possible to display data by using a custom action of resource?

    Thanks for all the ideas.

    Thus, the easiest way (I think) would update the description field of the virtual machine. Who is be a property of the entity of the virtual machine within the IaaS API, so that you'd run the workflow of update a vCAC model entity under library-vCloud Automation Center-> Infrastructure Management >. This workflow must have two specific entries:

    (1) the entity: that can be gained when the heel is launched as an entry in the heel

    (2) the input properties to update... This one gets a little more fun. You can do this with a very simple action / scriptable job. The task / action will have an entry (for this example) passwordattribute, which is the temporary password configured and an output for an attribute properties in the workflow called (for this example) vCACModelProperties. The code block, you would use would look like this:

    var p = new Properties ();
    if (password) { p.put("Notes","The password for your virtual machine is: ".concat(password)); }
    vCACModelProperties = p;
    

    After this scriptable task / action outputs Properties, you should be able to feed in the workflow of update, and the value appears in the item once it is filled with the completion of the workflow state.

  • Cannot use the output of javascript function in the scriptlet

    Hi I am using the listboxes in a jsp page. There are 2 drop-down lists.
    Once I click on a particular value in listbox1, the listbox2 is filled according to value in listbox1.

    which means I want to use the value in the list box as parameter 1 to fill the listbox2.

    Note: the values to listbox1 are filled with the values from the table to the oracle database.

    Here is the code I tried to frame.

    I have a listbox with the following code 1

    < select size = "5" cols = "30" name = "view_label" onclick = "testSelect (this.form)" > "

    < SCRIPT >
    function testSelect (form)
    {
    var multipleVar = form.view_label.options [form.view_label.selectedIndex] .value
    If (form.comments.value == "")
    {
    Form.comments.Value = multipleVar + "\n";
    }
    ElseIf (form.comments.value! = "")
    {
    var insertedMultipleVar = form.comments.value;
    Form.comments.Value = insertedMultipleVar + multipleVar + '\n '.
    Form.comments.Value = multipleVar
    }

    }

    < /script >


    It's listbox 2 which is based on option 1 OnClick of the listbox

    < select size = "5" cols = "30" name = "applications" >

    < %
    ResultSet rsetlovp = lovbean.getAllQueries (/ * Function testSelect output * /);
    While (rsetlovp.next ())
    {
    out.println ("< option value =" + rsetlovp.getString ("query_position") + ">" +)
    rsetlovp.getString("query_position") + ' < / option > ");
    } % >
    < / select >


    How can I switch the output of javascript function to getAllQueries() method?

    Please can someone help on this...?

    Thank you
    Ramakrishna

    Published by: user1064313 on July 22, 2009 05:33

    Published by: user1064313 on July 22, 2009 05:42

    It's really a bit difficult to answer your question without a little more information. What version of JDeveloper are you using? What is your technology environment?

    In the case of JDeveloper 11 g + +, with the Fusion technology stack, you can use a technique similar to that described here:
    http://Groundside.com/blog/GrantRonald.php?title=jdeveloper_11_business_services_cascadin&more=1&c=1&TB=1&pb=1

    JDeveloper 10.1.3 with the default Web technology stack, check here:
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#62

    If, as looks, it is really a question about generic (no JSF) JSPs, you could actually have a little more success on a generic JSP forum - using scriptlets was not really practical copies within JDev since... Well, since JSTL became available, really. It was a number of years.

    As I said, there is really no direct way to use Javascript in a scriptlet - unless you mean something like store the output of Javascript in a hidden field and using the value in a scriptlet on the next request. But at the point where Javascript executes, a scriptlet for the current request will be already performed.

  • Get the output parameter of workflow using soap in PHP

    Hi all, I have a question on how to print the output in php parameter using the soap Protocol. I create the workflow with 1 single task scriptable with variable name of virtual machines as output like that.

    var sdkConnections = VcPlugin.allSdkConnections;
    vms = new Array();
    for (var i in sdkConnections) {
      var host = sdkConnections[i];
      var found;
      if (host.isInventoryServiceAvailable()) {
      found = host.getAllVirtualMachines();
      }
      for (var j in found) {
      vms.push(found[j]);
      System.log(vms);
      }
    }
    

    And my php, source code

    <?php
    
    include ("parameters.inc");
    $vco = new SoapClient('https://' . $vco_server . ':8281/vmware-vmo-webcontrol/webservice?WSDL');
    $workflowid = "f73f2521-0e6b-48e8-81b9-388b13fc3fea";
    $param = array(workflowId=>$workflowid,username=>$vco_user,password=>$vco_pass);
    echo '<br>';
    
    $result3 = $vco->executeWorkflow($param);
    print_r($result3);
    echo '<br>';
    
    foreach ($result3 as $token)
    {
            $tokenID = $token->id;
    }
    
    $param2 = array(workflowTokenId=>$tokenID,username=>$vco_user,password=>$vco_pass);
    $wftokenstatus = $vco->getWorkflowTokenStatus($param2);
    print_r($wftokenstatus);
    echo '<br>';
    
    $wftokenresult = $vco->getWorkflowTokenResult($param2);
    print_r($wftokenresult);
    echo '<br>';
    ?>
    

    When I try the same, executed release in web

    stdClass Object ( [executeWorkflowReturn] => stdClass Object ( [id] => ff808081440b6eb90144316de4bc04fe [title] => Copy of Get virtual machines by name [workflowId] => f73f2521-0e6b-48e8-81b9-388b13fc3fea [currentItemName] => __item-undefined__ [currentItemState] => running [globalState] => running [businessState] => [startDate] => 20140215002449+0700 [endDate] => [xmlContent] =>         ) )
    stdClass Object ( [getWorkflowTokenStatusReturn] => )
    stdClass Object ( [getWorkflowTokenResultReturn] => stdClass Object ( [name] => vms [type] => VC:VirtualMachine [value] => ) )
    

    I see in customer orchestrator, my workflow work well and in the logs tab I see all my VM appear, but I'm trying to print all components of table in my php script using print_r(), the value of the object always null, only can get name and type as above... No idea how to get the value of the output parameter?... Thanks before

    Change this code to your:

    for (var j in found) {
      vms.push(found[j]);
      System.log(vms);
      }
    

    To do this:

    for (var j in found) {
      vms.push(found[j].name);
      System.log(vms);
      }
    

    In this code, j is a VC:VirtualMachine object, instead of pushing the entire object in your table, just push the virtual machine to .name property. Additionally, make sure that your output variable is of type: Array of Strings

  • Some of my F keys on my laptop no longer work. Fixing of the F keys would be great, but at least it is another way to switch the video output?

    Original title: screen toggle main F

    Some of my F keys on my laptop no longer work. Therefore, I can't turn my screen to another monitor (IE. TV.)  Fixing of the F keys would be great, but at least it is another way to switch the video output?

    Hello

    Have you made changes on the computer before this problem?

    Step 1: Check if you are able to use on-screen keyboard function keys and send back the same.

    Step 2: The following article can help you in the selection of the display.

    How to configure and use multiple monitors in Windows XP
    http://support.Microsoft.com/kb/307873

  • Impossible to activate and deactivate the button "submit" all keeping the condition on the output parameter

    Hello

    I try to enable and disable the submit button based on the status of output parameter that I call in lov.

    Concerning

    Asia.


    Hi AJ,.

    Thanks for the reply

    I tried the method above, but it does not work.

    I am trying to enable and disable the submit button based on two input parameters and an output parameter.

    Based on two input parameters, I'm able to get the output parameter, and if the output parameter is "S" then iam allowing the submit button.

    on the other

    disable the submit button.

    Here is my code:

    IAM calling this co

    OASubmitButtonBean submitbean = (OASubmitButtonBean) webBean.findChildRecursive ("Submit");

    String crreason = pageContext.getParameter ("Reason")';

    Invnum string = pageContext.getParameter ("InvoiceNumber");

    String status = "";

    String ValidationDesc ="";

    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl) getTransaction ();

    Try

    {

    String sql_qry = "BEGIN WEPIS_CM_DM_PKG. WEPIS_CM_RAISE_VALIDATION (P_CM_REASON =>: 1, P_INVOICE =>: 2, P_VALDIDATION_S "+)

    "(TS =>: 3, P_VALDIDATION_DESC =>: 4); END; « ;

    OracleCallableStatement sqlstmt = (OracleCallableStatement) oadbtransactionimpl.createCallableStatement (sql_qry,-1);

    sqlstmt.setString(1,crreason);

    sqlstmt.setString(2,invnum);

    sqlstmt.registerOutParameter(3,Types.CHAR);

    sqlstmt.registerOutParameter(4,Types.VARCHAR);

    sqlstmt. Execute();

    status = sqlstmt.getString (3);

    ValidationDesc = sqlstmt.getString (4);

    If ("S".equals (status))

    {

    submitbean.setRendered (true);

    }

    on the other

    {

    submitbean.setRendered (false);

    }

    }

    catch (SQLException sqlexception)

    {

    throw OAException.wrapperException (sqlexception);

    }

    catch (System.Exception Exception)

    {

    throw OAException.wrapperException (exception);

    }

    Concerning

    S.Asia

  • Is the version of the output parameter 32 bits 12.1.0.2 Oracle ODBC driver truncating values a known issue?

    We test 12.1.0.2 Oracle and ODBC see problems with the stored procedure being cut output parameter values and Associates when we use the 12.1.0.2 driver (we use the 32-bit version). We see a function sequence error every time that happens, too.

    For example, a stored procedure takes a NVARCHAR2 name and it out as a separate NVARCHAR2 output parameter. Using the 12.1.0.2 of the ODBC driver, if we "Basketball", the output can be "Basketball" (with a function sequence error).

    What is happening to many of our stored procedures. We do not get the errors of sequence of function or output truncated if parameters we use the 12.1.0.1 version of the ODBC driver to connect to our 12.1.0.2 database, or if we use the version 11.2.0.4 or 11.2.0.2 ODBC driver.

    Is this a known problem in the 12.1.0.2 ODBC driver?

    Thank you

    Daniel Meyer

    to submit a bug report to MOS

  • the output parameter mapping

    How can pass us values as output parameters that never I assign it says that it is limited and cannot be done.

    What values we can pass as output parameters. for a mapping of the output parameters.

    Thanks in advance.

    Hello

    You can use the function that you created in the process flow and set its result in a variable (or bind the output parameter of mapping a process flow variable), the variable can then be tested in conditions of transition, conditions, etc. in loop.

    See you soon
    David

  • What equipment I need another for the purposes of the on/off switch, adapt output voltage/current using labview program

    This is my first time to use labview, I want to use the program to control the DC power for the start/stop it or set the output to program automatically.

    Now I had the (supply) instrument, got a computer with labview. I know that I have to buy a GPIB cable, making a connection between the instrument and the computer. But I do not know what to buy? Cable GPIB or GPIB controller. Confused.

    Thank you

    A GPIB cable, by itself, will do nothing. You need a GPIB controller connected to your pc. With the NI USB-GPIB-HS controller, you can connect directly to a single instrument and no need for a separate cable. If you go with an internal controller to a pc (i.e. PCIe), you need a cable to connect the controller to the instrument.

    You can also check if the power supply has other options such as Ethernet or USB remote control.

  • Insert the output of a refcursor procedure into a table

    Hello

    I met a scenario in which I need to put the insert records returned by a procedure using refcursor, at a table.

    I followed the instructions in PL/SQL 101: understanding Refcursor (PL/SQL 101: understanding Ref Cursor am unfortunately still not able to do so.)

    Here is my sample codes. (Copied here as advised by the new Member)
    create or replace PROCEDURE TEST_PROCEDURE1 ( p_cursor OUT SYS_REFCURSOR)
    AS
    BEGIN
    OPEN p_cursor FOR
    SELECT C1,C2
    FROM TEST_USER.test_table4procedure;
    END;
    I check the result using the following statement, which gives results.
    variable rc refcursor;
    exec TEST_USER.TEST_PROCEDURE1 (:rc)
    print rc;
    Now, I want to be able to use the output and insert the data into a table. That's how I came across this thread.

    I created the types and function...
    create or replace type test_user.type_table1 as object(var1 varchar2(50),var2 varchar2(50));
    create or replace type test_user.type_table2 as table of test_user.type_table1;
    
    create or replace function test_user.test_function1 (rc in sys_refcursor )
    return test_user.type_table2 is
    v_emptype test_user.type_table2 := test_user.type_table2(); -- Declare a local table structure and initialize it
    v_cnt number := 0;
    v_rc sys_refcursor;
    v_var1 varchar2(20);
    v_var2 varchar2(20);
    begin
    v_rc := rc;
    loop
    fetch v_rc into v_var1, v_var2;
    exit when v_rc%NOTFOUND;
    v_emptype.extend;
    v_cnt := v_cnt + 1;
    v_emptype(v_cnt) := test_user.type_table1(v_var1, v_var2);
    end loop;
    close v_rc;
    return v_emptype;
    end;
    After that, I want to be able to view the records by using the function... so I used the instructions below...
    variable rc refcursor;
    exec TEST_USER.TEST_PROCEDURE1 (:rc)
    SELECT * FROM TABLE(test_user.test_function1(:rc));   
    However, it fails with the error

    Error from line 3 in order:
    SELECT * FROM TABLE (test_user.test_function1 (:rc))
    Error report:
    SQL error: Missing a setting IN or OUT to index: 1

    Help, please...

    Your code does not work for a simple reason. SYS_REFCURSOR parameters must be in IN OUT mode. Check if the RC is open when he switched mode:

    create or replace type type_table1 as object(var1 varchar2(50),var2 varchar2(50))
    /
    create or replace type type_table2 as table of type_table1
    /
    create or replace PROCEDURE TEST_PROCEDURE1 (p_cursor IN OUT SYS_REFCURSOR)
    AS
    BEGIN
    OPEN p_cursor FOR
    SELECT ENAME,JOB FROM EMP;
    END;
    /
    create or replace function test_function1 (rc in sys_refcursor )
    return type_table2 is
    v_emptype type_table2 := type_table2(); -- Declare a local table structure and initialize it
    v_cnt number := 0;
    v_var1 varchar2(20);
    v_var2 varchar2(20);
    begin
    if rc%isopen
      then
        dbms_output.put_line('rc is open');
      else
        dbms_output.put_line('rc is not open');
     end if;
    loop
    fetch rc into v_var1, v_var2;
    exit when rc%NOTFOUND;
    v_emptype.extend;
    v_cnt := v_cnt + 1;
    v_emptype(v_cnt) := type_table1(v_var1, v_var2);
    end loop;
    close rc;
    return v_emptype;
    end;
    /
    variable rc refcursor
    exec TEST_PROCEDURE1(:rc)
    set serveroutput on
    SELECT * FROM TABLE(test_function1(:rc))
    /
    SELECT * FROM TABLE(test_function1(:rc))
                        *
    ERROR at line 1:
    ORA-01001: invalid cursor
    ORA-06512: at "SCOTT.TEST_FUNCTION1", line 15
    
    rc is not open
    SQL> 
    

    Now IN OUT parameter edit mode:

    set serveroutput off
    create or replace function test_function1 (rc in out sys_refcursor )
    return type_table2 is
    v_emptype type_table2 := type_table2(); -- Declare a local table structure and initialize it
    v_cnt number := 0;
    v_var1 varchar2(20);
    v_var2 varchar2(20);
    begin
    if rc%isopen
      then
        dbms_output.put_line('rc is open');
      else
        dbms_output.put_line('rc is not open');
     end if;
    loop
    fetch rc into v_var1, v_var2;
    exit when rc%NOTFOUND;
    v_emptype.extend;
    v_cnt := v_cnt + 1;
    v_emptype(v_cnt) := type_table1(v_var1, v_var2);
    end loop;
    close rc;
    return v_emptype;
    end;
    /
    variable rc refcursor
    exec TEST_PROCEDURE1(:rc)
    set serveroutput on
    declare
    v_emptype type_table2 := type_table2();
    begin
    v_emptype := test_function1(:rc);
    end;
    /
    rc is open
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    

    Problem is that you can't call the procedure/function with parameters in/out OUT of SQL.

    SY.

  • Basic measures and the output impedance of the change with PXI-4461?

    Hello

    I am required to build an audio station with platform PXI OR test.

    It is my first experience with Renault. So I don't really know a lot...

    The PXI-4461 is a replacement of a former HP audio Analyzer. The measure is quite simple:

    1 generate fixed freq signal and measure AC RMS power

    2 measure THD (total distortion harmic) at frequency fixed

    3 measure SNR (signal to noise) at frequency fixed

    4 generate and measure DC signals

    5. change the output impedance of 50 ohms and 600 ohms.

    If I have a good feeling on which tasks 1 to 4 are feasible. I would like to ask if the task 5 (change the output impedance) problem possible?

    If this isn't a work around?

    As for tasks 1 to 4, it is possible with out doing 'a sound vibration' Toolkit?

    How helpful the Toolbox will be for the tasks listed above (humble).

    What should be my starting point learn to manage these measurement with Labview?

    Thanks in advance

    Hi Hazkel,

    Sound and Vibration toolkit will help a lot with steps 1 through 3.  This without the Toolbox would require a very high level of knowledge with LabVIEW and you will probably run again for complications.  In response to the fifth step, I tried to adapt the output impedance and am not able to do so programmtically.  However, you can still do this in hardware by adding a shunt resistor and potentially switch between if necessary impedances.  We have an article that deals with impedance matching and a circuit configuration to set the impedance if you are interested:

    Impedance and impedance matching

    http://www.NI.com/white-paper/3475/en/

    I recommend starting with examples that we have already built in LabVIEW to familiarize yourself with the concepts.  You will find them by clicking on help-> find examples-> search, then search for your application. Please let me know if you have any other questions.

    Thank you

  • PXI-4110 deactivation and activation of the output

    I'm programmming power CC PXI-4110. I want to activate and deactivate the outputs. I use niDCPower_Disable() to disable the outputs. and the use of niDCPower_Initiate() to activate the outputs. Problem is after I have activate the outputs with niDCPower_Disable() and with niDCPower_Initiate() that I lose all my settings as the output voltage. What I so niDCPower_ConfigureVoltageLevel() and niDCPower_ConfigureCurrentLimit() call before calling niDCPower_Initiate() then outputs are put to the required voltage.

    I want to do is turn on and off just like pushing a button on a Panel.

    For example, I call niDCPower_Disable() to open the relay switch.

    It seems to me like there is a function niDCPower_Enable() which would close this switching relay and not reset all my voltage and current limit settings.

    Any help on the best way to proceed would be appreciated.

    Figured it out using:

    status = niDCPower_ConfigureOutputEnabled (vi_4110_0, channel0Name, VI_FALSE);

    to turn off and then I start with

    status = niDCPower_Initiate (vi_4110_0);

    In this way, my diet is ready to go, but my relay is open.

    When I'm ready to close the relay I follow these steps:
    status = niDCPower_ConfigureOutputEnabled (vi_4110_0, channel0Name, VI_TRUE);

    Then later I want to open the relay call again I have only this:

    status = niDCPower_ConfigureOutputEnabled (vi_4110_0, channel0Name, VI_FALSE);

    Problem solved.

  • How to configure the outputs voltage NI 9477

    Hello

    I'm trying to control a motor using a cRIO 9074 with the NI 9477 module. I would like to configure the output voltage of the module and if I understand correctly, they vary between 5 to 60 v.

    How can I have a 24 v output?

    Thank you.

    JaneDoe94 wrote:

    So if I understand correctly, I can use an exit as a switch?

    If I choose resistance pull-up so the current stay under 1A, would this work?

    For example, I am using R = 20 kOhm and DC = 24V. I need to stay below 5mA current.

    9477 module is basically a relay to connect to the Earth.  But beware of your voltage and current limits.  The maximum current that can flow is 0.625 A by line.  So make sure that you stay below that.

  • inhibit the output always active

    On axis 2 of a UMI-7764, inhibition of is constantly active, disabling third party motor driver.  I have 1 configured identically axis in MAX and it works very well with identical equipment.  I traced the problem back at the UMI, otherwise the card controller PCI-7330.  INHOUT2 is constantly on - either high or low according to the polarity switch.  MAX will always the UMI generate command for step and Direction pulses as long as it believes that the axis is not killed.  I do not use of encoders or limit switches at the moment.

    Parameters are the following:

    Enabled, no feedback, step & direction, active high polarity, with disabilities limit output filters and switches, off limits software and available to inhibit the output active high.

    Axis 1 has the same parameters and works very well.

    Cable problem was a PIN that was not connect... resolved.

Maybe you are looking for

  • HP Envy Phoenix h9-1330: No. IDT pilot = no sound in Windows 10

    Hello Currently I am fuming with frustration because last night I noticed my Audio Beats Panel was missing and when I searched for it in the menu start he says that the shortcut has been lost. I searched these forums very and advice provided to compl

  • I want to share my internet with Xbox

    Original title: I need help I need to enter my network so I can change the settings, if I can share my intenet with my xbox, I asked xbox an i followed there instructions but nothing happened please help I want to share my network IE my intenet with

  • Cisco agent desktop compatibility

    Hi all, there I want to ask is there a date when 10 windows will be supported in the matrix of cisco agent desktop For now, when I'm right cisco compatible windows 8.1 as the higher windows operating system, correct me if I'm wrong. Thanks in advance

  • Cursor is hops. Cannot find the controls for the look in Control Panel under Windows 7.

    My cursor jumps around. I can't find where tapping the Touchpad can be disabled (if it is a help). I'll be typing and next thing I noticed, the cursor is passed. Where in the Panel I can ahold of the problem?

  • Guest of Windows 8, Windows 7 host settings Menu Glitches

    When I go into the "change PC settings" in my guest of Windows 8, I get all sorts of glitches. The buttons and menus will overlap and will be almost impossible to click. Is this a known issue? Is it possible to fix this? I use Windows 8 Pro x 64 on t