How to hold the output % 3F

Hello

I need to hold my output for a while for example of 10 sec. My result is boolean. I have attached a VI to collect my problem. When X or Z is true it has to hold for 10 sec. It is not applicable for Y. Please give me an idea how to do this.

Rgrds-

Taslim.

Hi Manon,.

the attachment shows the quick & dirty...

Tags: NI Software

Similar Questions

  • How to install the output in bridge CC module using an apple OSX 10.9.5 and a miss apple OSX 10.11 this point completely in CC bridge!

    How to install the output in bridge CC module using an apple OSX 10.9.5 and a miss apple OSX 10.11 this point completely in CC bridge!

    Hi abev41080082

    Greetings.

    Concerning

    Rohit

  • How to make the output of the task are an entry in another task

    How to connect the output of a task for I can use it as input for another task?  See this screen below: the task "Invoke the Script" run a PowerShell Script.  The task 'Send E-mail' send an email.  The two tasks work separately.  How can I get the results of my powerShell script that I can use them as content of the task 'Send Email'?

    workflow.jpg

    On the script invoke task you set the attributes of output containing the results of powershell.

    to do this, select the output tab and use an object name that was put in place in powershell results as in the data

    You may need to format, this results in a recognized VMware object I guess in your case it is a string type.

    and then select the e-mail task, select the task from email, click on the small eye looking for icon "view details".

    Select the Visual link

    Select the attributes you setup from the output of the previous task and hang it in the input parameters of the task to email.

    fact

  • How to store the output of a statement select * statement in a file?

    How to store the output of a statement select * / statement of dsc in a file?

    As user sys:

    CREATE OR REPLACE DIRECTORY TEST_DIR AS '\tmp\myfiles'
    /
    GRANT READ, WRITE ON DIRECTORY TEST_DIR TO myuser
    /
    

    As myuser:

    CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2
                                         ,p_dir IN VARCHAR2
                                         ,p_header_file IN VARCHAR2
                                         ,p_data_file IN VARCHAR2 := NULL) IS
      v_finaltxt  VARCHAR2(4000);
      v_v_val     VARCHAR2(4000);
      v_n_val     NUMBER;
      v_d_val     DATE;
      v_ret       NUMBER;
      c           NUMBER;
      d           NUMBER;
      col_cnt     INTEGER;
      f           BOOLEAN;
      rec_tab     DBMS_SQL.DESC_TAB;
      col_num     NUMBER;
      v_fh        UTL_FILE.FILE_TYPE;
      v_samefile  BOOLEAN := (NVL(p_data_file,p_header_file) = p_header_file);
    BEGIN
      c := DBMS_SQL.OPEN_CURSOR;
      DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
      d := DBMS_SQL.EXECUTE(c);
      DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
      FOR j in 1..col_cnt
      LOOP
        CASE rec_tab(j).col_type
          WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
          WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val);
          WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val);
        ELSE
          DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
        END CASE;
      END LOOP;
      -- This part outputs the HEADER
      v_fh := UTL_FILE.FOPEN(upper(p_dir),p_header_file,'w',32767);
      FOR j in 1..col_cnt
      LOOP
        v_finaltxt := ltrim(v_finaltxt||','||lower(rec_tab(j).col_name),',');
      END LOOP;
      --  DBMS_OUTPUT.PUT_LINE(v_finaltxt);
      UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
      IF NOT v_samefile THEN
        UTL_FILE.FCLOSE(v_fh);
      END IF;
      --
      -- This part outputs the DATA
      IF NOT v_samefile THEN
        v_fh := UTL_FILE.FOPEN(upper(p_dir),p_data_file,'w',32767);
      END IF;
      LOOP
        v_ret := DBMS_SQL.FETCH_ROWS(c);
        EXIT WHEN v_ret = 0;
        v_finaltxt := NULL;
        FOR j in 1..col_cnt
        LOOP
          CASE rec_tab(j).col_type
            WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
                        v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
            WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val);
                        v_finaltxt := ltrim(v_finaltxt||','||v_n_val,',');
            WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val);
                        v_finaltxt := ltrim(v_finaltxt||','||to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'),',');
          ELSE
            v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
          END CASE;
        END LOOP;
      --  DBMS_OUTPUT.PUT_LINE(v_finaltxt);
        UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
      END LOOP;
      UTL_FILE.FCLOSE(v_fh);
      DBMS_SQL.CLOSE_CURSOR(c);
    END;
    

    This allows the header line and the data to write into files separate if necessary.

    for example

    SQL> exec run_query('select * from emp','TEST_DIR','output.txt');
    
    PL/SQL procedure successfully completed.
    

    Output.txt file contains:

    empno,ename,job,mgr,hiredate,sal,comm,deptno
    7369,"SMITH","CLERK",7902,17/12/1980 00:00:00,800,,20
    7499,"ALLEN","SALESMAN",7698,20/02/1981 00:00:00,1600,300,30
    7521,"WARD","SALESMAN",7698,22/02/1981 00:00:00,1250,500,30
    7566,"JONES","MANAGER",7839,02/04/1981 00:00:00,2975,,20
    7654,"MARTIN","SALESMAN",7698,28/09/1981 00:00:00,1250,1400,30
    7698,"BLAKE","MANAGER",7839,01/05/1981 00:00:00,2850,,30
    7782,"CLARK","MANAGER",7839,09/06/1981 00:00:00,2450,,10
    7788,"SCOTT","ANALYST",7566,19/04/1987 00:00:00,3000,,20
    7839,"KING","PRESIDENT",,17/11/1981 00:00:00,5000,,10
    7844,"TURNER","SALESMAN",7698,08/09/1981 00:00:00,1500,0,30
    7876,"ADAMS","CLERK",7788,23/05/1987 00:00:00,1100,,20
    7900,"JAMES","CLERK",7698,03/12/1981 00:00:00,950,,30
    7902,"FORD","ANALYST",7566,03/12/1981 00:00:00,3000,,20
    7934,"MILLER","CLERK",7782,23/01/1982 00:00:00,1300,,10
    

    The procedure allows for the header and the data to separate files if necessary. Just by specifying the file name "header" will put the header and the data in a single file.

  • How to set the output meter channel to generate a signal pulse using DAQ6008

    Hello there I am generating a pulse signal of 100 Hz and a duty of 20% of the 6008 data acquisition cycle using visual studio 2013. I have code that needs to generate this but I'm not sure on how to set the channel output meter. When I run this NI MMAX and my vb error code indicates that the physical channel is not supported. I am a user of data acquisition were first and would appreciate any help offered.

    If you look at the USB-6008/6009 User Guide and specifications, you will see that the counter in these devices cannot rely as edges of entry. It cannot generate a pulse.

    Lynn

  • How to control the output voltage?

    Good time after some time can get the output voltage, but this value is alwayscontinuous. How to control the voltage output through a Boolean? In

    in order to get this tension when I want to.

    Greetings.
    Hugo Santos

    Hi Hugo,.

    If you use a LabVIEW project, you must set the time of sampling in the properties of the node (see SamplingInterval.png). But this time to refresh the data should be high enough. If you take into account this update of time trying to control your way out.

    Kind regards

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

  • How to hold the pick is or the Valley?

    Dear all,

    I have a wave sampled, then I want to detect the peak of points (or points of the Valley) and hold the point until the next Summit points (or points of Valley) will appear.

    Now I can use the example of 'Pic Detector.vi' to get the points that I want to.

    But I don't know how to put the data in the chart. The attached picture shows the idea that I want.

    If you need more information to solve my problem, please tell me, thank you very much!

    Hello

    Here's a way

    detection of all indexes of photos to build the parts of the table with each min/max value then assemble

    tell if it works

    Concerning

    Tinnitus

  • How to select the output device HDMI as audio playback for Windows Media Center device

    Output audio media center units

    Hello

    I'm trying to set up my media center from windows to windows media center of output through a separate audio device audio device by default.

    In this case, I have hdmi output that I want to be the output for windows media center and my realtek analog to be the default for all the rest.

    So my overall question is how I make windows media center requires is not the default audio device.

    Thank you

    Andrew

    Method 1 is useless. Does that change the audio device by default in the system, what the user seeks specifically not to do.

    Method 2 has no effect at all on Media Center.
    The answer seems to be no, Media Center only works with the audio output device by default.
  • How to truncate the output of the field in the column "LONG".

    Hi all

    I have been asked to retrieve all records from a table with a column that has been initially formatted with the format "LONG".

    How can I truncate the output of this area without having to show the Junk characters?

    Very appreciated

    JR

    Wrong forum!

    This forum is ONLY for questions/problems on Sql Developer and your question has NOTHING to do with this product.

    Please mark the thread ANSWERED and repost it in the SQL/PL/SQL forum.

    SQL and PL/SQL

    When you repost you must SHOW an example of what you are wanting to do. You should also explain what you mean by 'LONG Format' - I have never heard such a thing.

  • How to generate the output xls by a button in oracle apps

    Hello world

    I have a report that gives me xls output when I run the program at the same time.

    I have a custom form that has a button to call the program contributing to print the report.

    I realized this from here

    But this code works just fine if the report output format is pdf.
    If the report output format xls this code generates pdf output

    but my requirement is to generate the output as xls.
    Please any one help how to achieve this.

    I use EBS - 12.1.3
    Oracle made and reports 10g

    Concerning
    Paul

    >
    If the report output format xls this code generates pdf output
    >
    Looks like that pdf is out by default in the template definition in the xml editor RESP

    so for r12 use FND_REQUEST. ADD_LAYOUT as example

    ...
    v_request_id   number;
    xml_layout boolean;
    ...
    xml_layout := FND_REQUEST.ADD_LAYOUT('XXCUSTOM','XXCONCNAME','en','00','EXCEL');
    v_request_id := fnd_request.submit_request(application => 'XXCUSTOM',
                                               program     => 'XXCONCNAME',
                                               description => NULL,
                                               start_time  => NULL,
                                               sub_request => FALSE,
                                               argument1   => p_date
                                               );
    

    See also http://andyblg.wordpress.com/2012/08/23/run-concurrent-program-twice-with-different-layout-r12/

  • How to remove the output of a SELECT on the page out of the Script

    Hello

    I'm running a particular piece of SQL with bind variables. The goal is to get the execution
    plan using DBMX_XPLAN. DISPLAY_CURSOR.

    To get the variables and bind the values of the variables in make them work, I found that I have to select
    instructions in the worksheet, and then press F5.

    It's working very well, but the question I have, is that this SQL data returns more 60 000 rows.

    I don't want to see the lines, and in addition there are limits on the number of rows can be displayed
    in SQL developer.

    Is there a way I can delete the results of the SQL query that appears in the output window of the Script?

    I tried:

    termout off Set
    Set autotrace traceonly
    set pagesize 0

    But nothing makes no difference. Surely I can stop behaving this way? Any suggestions?

    I use SQL Developer 3.2.09

    Thank you!

    Paul Stuart

    Hi Paul,.

    I don't believe it. Same queue the result of a query (whether inline or embedded via @.sql) does not output to the spreadsheet results pane. And internally, to explain the Plan and auto-trace, Developer SQL uses dbms_xplan.display instead of display_cursor.

    Probably your best bet is to reduce total output via Tools | Preferences | Database | Worksheet | Max lines to print in a script. That the setting does not affect the SQL sent to the database, it just limits how the SQL Developer result set that bothers to display when you run Script. Any information you get from display_cursor should be affected. Of course, the worksheet sends many other SQL to the database, that you don't see, so based on the default behavior of 'Look the last cursor' will not work. I assume that you have already taken into account for this.

    Kind regards
    Gary
    SQL development team

  • How to display the output of query clause?

    Hello. I use Forms Developer 10g. I have a datablock that uses a from_clause_query. In my from_clause_query, I used a WITH AS SELECT.
    I try to view the output of this query in my forms but the first column, V_CUTOFF_TO not displayed, probably because it is not a database element. It was a result of my initial query WITH AS SELECT month. How can I view this with the release of my from_clause_query. Thanks in advance for the help. Moreover, I am trying to post the contents of my from_clause_query here, but it says sorry, this content is not allowed. I don't know why?

    I was able to solve the problem by creating a stored procedure. I insert the records in a table in the procedure, and then I query the table. Thanks for your help.

  • How to save the output of the Agent in the Local disk in OBIEE 11 g

    Hello

    I'm usnig OBIEE 11 g
    I want to predict some reports which will be run at night everyday and the output to save in my local disk
    I read what he question in obiee 10g
    Unable to save the file to the local drive through iBot - OBIEE

    But I want to know how to do in obiee 11g
    Y at - it another way easy/direct
    PS: I think that the path where save us the java script custom in obiee 10 g is different from obiee 11g.

    Please help me

    Thanks in advance

    some of the entries-
    http://obiee1000.blogspot.in/2012/01/actions-in-agents-part-1.html

    Carole Laure-

  • How to see the output of the varray

    Hello
    How can I see the output of the varray type;
    declare
    TYPE test_cas_ary IS VARRAY(2000) OF dept.deptno%TYPE;
    v_cas_ary test_cas_ary;
    begin
     dbms_output.put_line('dept_no(1) is '||v_cas_ary(1));
    end;
    The code above throws me error
    Reference to uninitialized collection
    Thank you
    SQL> set serveroutput on
    SQL> declare
    TYPE test_cas_ary IS VARRAY(2000) OF dept.deptno%TYPE;
    v_cas_ary test_cas_ary:=test_cas_ary(1,2);
    begin
     dbms_output.put_line('dept_no(1) is '||v_cas_ary(1));
    end;
     /
    dept_no(1) is 1
    
    PL/SQL procedure successfully completed.
    

Maybe you are looking for