chnFind - to find the value of chnnel

Hi all

According to DIadem help, SMC determines first index specifies the channel line, the second index specifies the channel by the channel name or the number of the channel.

for example: ChnFind ("Ch (2) > 300", 250) line worth > 300 250 searches and gives the line number in the first column. Assume that answer is 4225 4225 online sense we find chnvalue > 300 in channel 2.

But if I want to recover the value of column 4 (instead of 1st column) in the result according to the 2nd channel condition, which command, I can use?

For more details,

I enclose a dat file and an incomplete script.

All the details I mentioned in the script only as comments.

Hello

Well, you already now the command: his coronary disease or Chdx (faster).

Here, I have your script:

Option Explicit  ' force explicit declaration of all variables in a script.
Dim Row, FilePath
Dim intMyResult

Call Data.Root.Clear

Call DataFileLoad (AutoActPath & "CHEST of C100225-1. "DAT", "DAT', 'Load') '... DataFilename, FileImportFilter, ImportAction

"differentiate these two channels.
Call ChnDifferentiate("[1]/000000000000TI00","[1]/000000000000DS0D","/DifferentiatedX","/DifferentiatedY") '... XW, Y, E, E

' Search for what is the value of differentiated Y channel at 300 mm in channel 2.
intMyResult = ChnFind ("Ch (" ' C100225-1 CHEST/000000000000DS0D "'") > 300', 250 ")

Call MsgBox (ChDx(intMyResult,4))

When you run this code, you get the value of Channel 4 online 6225. This works if you want to get the same line (obviously )

Hope that helps, RMathews

Tags: NI Software

Similar Questions

  • How to find the value closest in the table?

    Hi all

    I just want to find the value closest from the string table. That I joined herer as an image.

    Now, if I want to find the value of 350 of the string table and that's not in the table in the output array there should be more close 350 display value...

    Thank you for the support

    Vinal Gandhi

    Hi G Vinal,

    something like the joint comes to my mind.

    It may be useful

    Mike

  • Look for the logic find the value of m and c of this equation y = mx + c.

    Hello

    I have 4 points for example = 3.38276, 0.375866 xi

    Yi = 3.37749, 0.281924

    using this tip, I want to find the value of m and c.

    You please suggest me some logic to solve this equation using labview programming.

    I tried with one solution, but in this case I do not have the correct answer. Here as an attachment, there is vi help I tried to solve my equation, but in this case the value that never got as a response it is dissatisfied with the equation, means if I replace the value of m and c eqation then it must be L.H.S = R.H.S, but I don't have the right solution.

    You please guide me.

    Thank you very much.

    Why do you think that the results are incorrect? I put your numbers in your code and the result on a XY Chart Wescott, I then bunk which with more than 20 values with a value ranging from 0.6 to 3.2 x and use factors calculated in your code to generate values of Y. The two overlap almost exactly...

    Mike...

    BTW: There is a linear adjustment integrated into LV VI

  • How to find the value max and min for each column in a table 2d?

    How to find the value max and min for each column in a table 2d?

    For example, in the table max/min for the first three columns would be 45/23, 14/10, 80/67.

    Thank you

    Chuck,

    With color on your bars, you should have enough experience to understand this.

    You're a loop in the table already.  Now you just need a function like table Max and min. loop.  And you may need to transpose the table 2D.

  • Where can I find the value of ss_nm_jvm_startup_properties?

    Hello

    I am trying to reset the password for the user weblogic using the document Doc-ID 1949675.1

    I am stuck at step 4

    B. start AdminServer:

    Java $ < s_nm_jvm_startup_properties > - Dweblogic.system.StoreBootIdentity = true - Dweblogic.Name = AdminServer weblogic. Server

    Where:

    < s_nm_jvm_startup_properties > is the same as the variable value of context ss_nm_jvm_startup_properties

    Where can I find the value of s_nm_jvm_startup_properties.

    I searched the support site and google it without any result.

    I'm new in EBS and try to upgrade the EBS 12.2.0 to 12.2.4

    Thank you

    Salman

    Hello

    Application contextfile $INST_TOP/appl/admin find the setting "nm_jvm_startup_properties".

    grep nm_jvm_startup_properties context_file.xml

    Thank you

    A H E E R X

  • How to find the value dated the same day in the last year

    I want to know how to find the value dated the same day in the last year.

    I use now, there is the function with the year and the result is

    Year Rev There are Rev
    20113000
    201240003000
    201320004000
    201450002000

    It works but it's not that I want. I'm trying to add the column date (Ex.20140101) in my report but it'snot work.

    I want to show:

    Date Rev There are Rev
    20110112200
    20120112100200
    20130112300100
    20140112500300

    If use (< degree >, < time_dim >. < date >, 365), it works but does not correct 100%

    Please help me...

    Thank you very much

    Check this link cool - bi.com

  • To find the value of a dynamic element to session state,

    Hi all

    Is it possible to find the value of an item in the session state, but the name of the element is stored in a variable
    as

    APEX_UTIL. GET_SESSION_STATE (v_variable)

    where v_variable would be the name of the element?

    Thanks in advance,
    RD

    You describe the default feature?
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDEJEJE

    DECLARE
      v_variable  VARCHAR2(20) := 'P1_ITEM';
      v_value     VARCHAR2(255);
    BEGIN
      v_value := APEX_UTIL.GET_SESSION_STATE (p_item => v_variable);
    END;
    

    I missed something?

  • Find the value of the item required using getVariableData

    Hi all

    I have a bpel in which the variableentree is of type anyType. So, I'll get any XML as input to any schema. In all the XMLs, I have a common element called XMLname which is of type string. Now I want to find the value contained in this element XMLname, using getVariableData.

    I assigned the payload of the variableentree to OriginalXML called bpel variable that is still of type anyType. This is my requirement that data type be anyType.

    Now if I try to use getVariableData, I wonder to give the partname and the locationpath. I don't know the pattern or the XPath to achieve the XMLname. Because for each xml, it would be different.

    Kindly help me in this regard.

    Thank you
    Sabarisri. N

    Hello

    You can access the exact item (XMLname) using a predicate in your XPath




    Good luck!

    Melvin

  • Find the value of MessageStyledText

    Hello

    I have a field (Dates of expenditure) typed MessageStyledText and the value of this files is 29/04/2011 - 29/04/2011 i.e. ' expense date 29/04/2011-29/04/2011.

    I need to remove "-29/04/2011"because the date is written twice in that filed and client wants the date filed only once in that. " So I have to delete the other date. I am dointg the same substring function but cannot get the value of messagStyledText bean.

    In the controller, I wrote-


    OAMessageStyledTextBean MessageStyledTextBean = (OAMessageStyledTextBean) webBean.findChildRecursive ("ExpenseDates");

    String ValueMessageStyledText1 = (String) MessageStyledTextBean.getValue (pageContext);

    String ValueMessageStyledText = MessageStyledTextBean.getText (pageContext);

    But I have not been messageStyledText.

    I am unable to file viewattribute on this page and Jdeveloper so that I can get the value of messagestyledtext through VO.

    Y at - it a function to find the value of messsagestyledtext for that I make my requirement fruther.

    Thank you
    Amit Jaitly

    Another way, I can suggest is to make the existing bean made false and create a new bean MessageStyledText and check the logic seeds while to get 1 one and together these in extended controller.

    Thank you
    -Anil
    http://oracleanil.blogspot.com/

  • find the value relative to another column

    Find the value column B in the column 'sparent. Let me explain the few cases:
    Suppose that we receive the 1000 kg of quantity for Jack, Jack then transferred this 1000 kg to Robin and Robin transferred once again this amount to Parkins and so on. A column named Type records the entry type, either it's a receipt or transfer operation. His entry would be recorded in my table like:

    QTY_ A_ B_ Type_
    Reception of 1000 Jack
    1000 jack Robin transfer
    Transfer of 1000 Robin Parkins

    So, with this information, you find the parent of Parkins, Jack, receipt of Type?
    with t as (select 1000 qty,null a,'jack' b,'receipt' type from dual
                 union all
                   select 1000,'jack','robin','transfer' from dual
                   union all
                   select 1000,'robin','','transfer' from dual
                   union all
                   select 1000,'parkins','jack','transfer' from dual)
        select *
          from t
          where connect_by_isleaf = 1
          and a is null
          connect by nocycle b = prior a
         start with b = 'jack' ;
    
           QTY A       B     TYPE
    ---------- ------- ----- --------
          1000         jack  receipt
    1 row selected.
    

    Good bye
    DPT

  • Formula to find the value of the channel

    Hi all

    Support: Dat file containing the value of time and acceleration. Now, there are only two Channels.  Channel 1 is time. Channel 2's acceleration.

    Step 1: Create more than two channels. Channel 3 and channel 4

    Step 2: go to the analysis and acceleration channel research where its value is reached xxxxxxxx 1.

    Step 3: where it has reached 1. XXXXXXXX in the process of accelerating from this point in the channel 3 and 4, paste all the values STD. STD values in the attached excel file.

    How can I do this? What is the formula or the script to do this?

    Thanks in advance.

    Hi Rash.patel,

    You didn't yet tell me where to find the Excel file, so I assumed it would be in the same folder as the VBScript script.  I used the DIAdem Excel Import Wizard to create an *.stp file that can be passed as parameter in the ExcelImport() command to load these curves 2 envelopes by program.  I also added a file dialog box, then you can select the *. DAT to deal with file.

    I think that's

    Brad Turpin

    Tiara Product Support Engineer
    National Instruments

  • SQL query to find the value of a column as well!

    Hi all

    I have to write a query that needs to retrieve the value of a column in table B if the column value is Null in the Table A. Please find below the sample table.

    Table A:
    *******
    EmpNumber ID
    ------------------------------
    1 12345
    2
    3 14789
    4
    5 74563

    Table B:
    *******
    EmpNumber ID
    -----------------------------
    1 12345
    2 78451
    3 14789
    4 12212
    5 74563

    In the table a second and third rows have value for EmpNumber. The query should look for table B for EmpNumber value. Please advise me to make this request.

    Thank you

    This?

    select      a.id,
         nvl(a.empnumber,b.empnumber) empnumber
    from tabA a, tabB b
    where a.id = b.id;
    
  • How to find the value duplicate of each column.

    I have it here are four columns,
    How can I find the duplicate of each columns value.

    with All_files like)
    Select ' 1000 'like BILL, "2000" AS DELIVERYNOTE, CANDELINVOICE ' 3000', '4000' CANDELIVERYNOTE of all union double
    Select ' 5000 ', ' 6000', ' 7000 ', ' 8000' Union double all the
    Select '9000 ', '1000', '1100',' 1200' from dual union all
    Select ' 1200 ', ' 3400', ' 6700 ', ' 8790' Union double all the
    Select ' 1000 ', ' 2000', ' 3000 ', ' 9000' Union double all the
    Select '1230', '2340', ' 3450 ', ' 4560' double
    )
    SELECT * from All_files


    Output should be as shown below.

    1000 2000 3000 4000
    9000 1000 1100 1200
    1200 3400 6700 8790
    1000 2000 3000 9000

    Required to check uniqueness columns.

    Thank you.

    Hello

    If you are not too concerned about performance, this should give you the desired result:

    SELECT distinct INVOICE, DELIVERYNOTE, CANDELINVOICE, CANDELIVERYNOTE
    FROM (
      SELECT a.*,
             count(*) over(partition by t.column_value) cnt
      FROM All_files a,
           table(
             sys.odcivarchar2list( a.INVOICE
                                 , a.DELIVERYNOTE
                                 , a.CANDELINVOICE
                                 , a.CANDELIVERYNOTE ) ) t
    )
    WHERE cnt > 1
    ;
    
  • How to find the value?

    How to calculate the value of 2.50e + 2 in the analysis of string function when the %f format string is selected?

    the format may be stung a control

  • Widget Dev error: could not find the value for option: paging [in the param LIST]

    Hey, widget and other people, I'm working on a widget, but I get an error message whenever I try to select an option in a drop-down list of options, I created.

    This is the setting in the mucow xml file:

    (Tab is to facilitate troubleshooting; I normally follow each line.)

      <list name="pagingOption" label="Pagination" defaultValue="&quot;pagingType&quot;: &quot;simple&quot; ,">
    
          <value name="&quot;pagingType&quot;: &quot;simple&quot; ,"
              label="Simple"
              toolTip="PREVIOUS and NEXT buttons only"
          />
          <value name="&quot;pagingType&quot;: &quot;simple_numbers&quot; ," 
              label="Simple Numbers" 
              toolTip="PREVIOUS and NEXT buttons, plus page numbers"
          />
          <value name="&quot;pagingType&quot;: &quot;full&quot; ,"
              label="Full"
              toolTip="FIRST, PREVIOUS, NEXT and LAST buttons"
          />
          <value name="&quot;pagingType&quot;: &quot;full_numbers&quot; ,"
              label="Full Numbers"
              toolTip="FIRST, PREVIOUS, NEXT and LAST buttons, plus page numbers."
          />
    
        </list>
    

    I converted the name attribute of each value HTML entities to better manage the necessary quotes. Depending on your selection in the list, the values above should run end as one of the following (including the EOL commas):

    "pagingType": "simple" ,
    

    or

    "pagingType": "simple_numbers" ,
    

    or

    "pagingType": "full" ,
    

    or

    "pagingType": "full_numbers" ,
    

    ,

    When I try to select one of the options, I get the following error:

    widget paging error.png

    then... help?  What Miss me? :-/

    I would like to remove the 'features of your option values. They can be confused Muse.

    I would the value of these simple options, simple_numbers, complete and the full_numbers. Then change your HTML code to have something like:

    "pagingType": "{param_pagingOption}".

Maybe you are looking for

  • Trying to update apps and here ask me to pay for updates

    They ask me to pay for updating my apps on my iPhone 6pis 9 "iOS 9.3.1

  • Yoga clock speed 900

    Hello I'm looking in the "Performance" of the Task Manager tab and see that the CPU runs at ranging from 2.98 to 3.1 GHz clock speeds. Usage is not high, just the speed of the CPU. Y at - it a reason for this and can it be fixed so the speed decrease

  • You can dynamically disable or enable screws?

    Hey guys,. I have a colleague trying to troubleshoot some problems because of licensing issues remotely. Remote environment has been installed with a few exclusive toolkits for LabVIEW. We want to help out and to run the code to our local environment

  • sound effects not synchronized with the graphics

    When playing poker online, sound effects are not synchronized with the graphics.  I have been instructed to uninstall realtek high definition audio, and then restart the computer.  I heard that this device will be restored during the computer startup

  • User account problem.

    I tried to create a second user account, but it does not, he will go so far then go straight to a blue screen, then I have to Ctrl + alt + delete and then go and delete the account, I really need to understand this, because I really need a second acc