Formula node_Integer Values

Hi everybody,
I want to make measurements in a frequency sweep range, so I take the range between 10^5 to 10^8 Hz. In this range I give 50 measuremnts to be done.
All ok so far but the values chosen in this range are not integer numbers. Is anybody knows what fromula should I give to have this 50 steps in frequency as integer values?

Hi Maj,
you can convert your floats into integers very easily!
Two ways to create an integer array with your values are depicted in the attached vi (LV8.2).
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Attachments:
genarray.vi ‏12 KB

Similar Messages

  • How to create Formula based value field in COPA

    Hi,
    I want to know how to create formula based  value field in COPA
    My Requirement is i want to collect some value in formula based value field and want to use in copa allocation cycle as a tracing
    factor.
    anybody give some light on the same topic or requirement ?
    Thanks
    Nilesh R

    The key figure you are creating in KE2K is not a value field, i.e. you can't post to it and you can't use it in a report. It is a caluculated value that can be used only in assessment and top-down-distribution.
    In Ke2K, enter a name for your key figure, then click on the the white sheet button to create it. Now the formular area is open for input. Input your formular (e.g. VV001 + VV002 - VV003 .... where VVXXX are the technical names of value fields).
    Now click the "check formuar"-button. Then save.
    Before you can use the key figure in assessment, execute TC KEUG.
    Now the key figure is available as any value field in the tracing factor selection of your assessment cycle.
    I hope this made it clearer.
    Regards
    Nikolas

  • Can be passed Formula Column value to Procedure/Function?

    Below cf_value is return after some calculation by using main query.
    Can be directly passed formula column value to procedure without assinged to placeorder?
    as below..
    f_convert(:cf_value,new_value);
    My Procedure is...
    PROCEDURE f_convert( val1 in number,val2 in out number) IS
    BEGIN
    val2 := val1 * 100;
    END;
    If anyone knows pls reply me....

    Actually, if there is any other calculations there (In Proceudre)
    Can I used is as below??
    PROCEDURE f_convert( val1 in number,val2 in out number) IS
    BEGIN
    val2 := val1 * 100;
    return (val2);
    END;
    ----A procedure cannot return a value, the return clause in my previous post was part of the function for formula column.
    Suppose you have a formula column say CF_2 then the function for it will be as:
    function cf_2formula return number
    is
    val1 number;
    val2 number;
    begin
    val2 := :cf_1 * 100; -- or val2 := val1 * 100 --parameters not allowed in formula column function
    -- All the other code that you need inclusive of calling function, procedure as in any PL/SQL block can be placed
    return (val2);
    end;So any other calculation can be used in the formula column function

  • Not able to clear out a formula field value when variables are equal to 0

    I am trying to calculate the difference between a formula field from a main report and a formula field from a subreport. When i run the report i get a correct difference calculation only when both formula fields have a value different than 0. When both values are 0 then the difference calculation shows the last item quantity from the formula field in the subreport that had different values than 0.  It looks like the difference calculation is not being clear out before jumping to the next value calculation.

    try to clear the variable values once done with calculation like
    whileprintingrecords;
    shared numbervar i:=0;
    regards,
    Raghavendra

  • Numbers formula, if value is greater

    Can somene tell me how to make the following formula:
    If sum of cells is greater than 59, add 30
    In different words
    If sum B2:B7 > 59, than +30
    Might be simple, but I tried so many options without success!

    SUMIF B2:B7,">59", + 30
    Select = for formulas
    Touch function on keypad
    From Numeric, Select SUMIF you should get the function filled in on the = line
    Touch test values (turns blue) and select the range
    Touch condition (turns blue), on the keypad touch "ABC" and enter your condition (>59) touch done
    Leave sum values you don't need them
    After the last bracket add + 30
    Hit the green arrow key, it will sum any number greater than 59 and add 30

  • Sheets to Go formulas display #value since 2.0 upgrade.

    Formulas that were fine in old OS now come up #value in sheets to go.  Simple ones like "=+a1". I'm using excel 2007. I have deleted the file on the PB and re-copied files, same problem. 

    Yes, its pretty much the same. I was going to take it back in, but what are they going to do?? ****, they made it sound like i was the first and only person to have any issues with 2.0. And, they didnt even really look at it, they just plugged it into a G4 , ran a report, and then gave me a new one. They didnt even look at the results of the report they had just ran. Seems like Apple really has not rolled out any info, on what the update does, how it works in the background, or what to do. I wish they would just publish a uninstall of 2.0. It would make everyones life much better till they can work out the bugs. I own a G4, Ipod, and Iphone, i have to say, this is really a pain when your trying to use the phone, and its slow, or locks up.

  • Numbers formulas and values

    I am trying to create an invoice template and when the dual taxes are applied I need to create a value in percentage for the letter G and P and GP so the right tax amount is applied
    can i create an if then formula or is there a way to assign a value to the letter?
    G=5%
    P=7%
    GP=12%

    If you set up a range:
    G 5
    GP 12
    P 7
    Then you can use VLOOKUP in the range instead of all the "IF" statements.
    Where this will really come in handy is when a tax rate changes. You simply go to the Tax Range and change the one rate, all of the calculations will be updated.
    Good thought, W.
    Add one more row to the table and handyman is ready for the change next July.
    H 12
    Place this between GP and P so the list remains in alphabetical order.
    Regards,
    Barry
    (For readers outside Canada, the letters stand for the federal Goods and Services Tax, Ontario's Provincial Sales Tax, and the Harmonized Sales Tax set to combine and replace the others next July.)

  • Formula column value not updating in table?

    Hi all,
    I create the sample for master/detail form. In detail for prdcode,rate,qty,amount is there. When select prdcode it fetching prdcode,rate in a record and if you type the qty the amout will come based on formula(property) :qty*:rate.
    It is available on screen. But when i store the data, in backend table the amount is be a null.
    What is the problem.
    Help me in this regards,
    kanish

    Hi kanish
    Regarding Nul...
    -u have to make sure that the formula is working fine and displaying the result in the form screen
    -then the item u r storing MUST be a db item >yes and has a column name
    -first of all select Help > display_error in the forms runtime may a db item error arais and the record is not correctly saved as u imagined.
    u have 2 choices for the solution , i had both before may be it's not very cute but it will work...
    1. In when-validate-item Trigger or related item triggers pls follow
    SELECT Nvl(( :qty*:rate ) ,0)
    INTO :UR_ITEM
    FROM DUAL;2.In Pre-Update,Pre-Insert & Pre-Delete Triggers Pls assign the result of ur formula column to the item u want to calc as supposing u r doing the calc of formula in non-db item , then put the following in triggers mentioned ...
    : item_name :=:qty*:rate;Hope this helps...
    Regards,
    Amatu Allah.

  • Report output order by formula column value? pls.urgent

    hi.
    i have one query select empno,ename, sal from emp. in report layout i created a formula column named as net_sal(in which am doing some calculation based on some criteria). now i want to print the report order by net_sal desc.
    how can i solve it? since the calculation is being done on runtime only/
    pls. help me. urgent

    Puedes hacer lo sigte.:
    En el SQL QUERY STAMENT
    select empno, ename, sal, :net_sal
    from emp
    order by 4 asc/desc

  • Can formula column values be used as parameters

    Post Author: vdm
    CA Forum: Formula
    Hi,
    I have various formula columns setup in my crystal report, these formula columns act as prompts when end users run the report. i am using crystal reports xi and sql server databse.
    Now I would like to use these formula columns to restrict my result set. basically, these should act as predicates (where clauses) to my query.
    Is there a way to pass formula columns as parameters to stored procedures or to commands or to simpy add them to a sql query ?
    thanks in advance

    Post Author: foghat
    CA Forum: Formula
    Have you tried adding the formula fields as a filter in the Record Selection Formula editor?So  Report --> Selection Formulas --> Recordand add: {database.field_a} = and {database.field_b} = and so on 

  • Selection formula no values

    Using:
    Crystal Reports XI SP5
    Windows XP Pro
    Dear Crystal Reports users,
    As been a Crystal Reports developer, I came across the following problem. I'm using a table that contains rows for the input and output processes. I want to limit this table to only show the input processes.
    The situation is as followed:
    A user creates a order, to this order the user adds products he wants. For this product there is a packing process, this packing process has a input and output process, this is 1 process number, but has different batch numbers for the input and output process. However, sometimes there are no input processes, because the product is prepacked, that is what this problem is about.
    The table is (re)named Processes_input
    Linking is as followed:
    Orders
    |---> Left outer join (Enforced from) ---> Processes
    |---> Left outer join (Enforced from) ---> Processes_input
    However, when I try to do this with the select expert, with the following code:
    {Proceses_input.Input_indicator} = 1
    The report doesn't return process rows, because there is no input process, but I do want to display the orderline data and process data for that row.
    I then tried to add Processes_input with an query
    SELECT proc_input.*
    FROM Processes proc_input
    WHERE proc_input.Input_indicator = 1
    Same linking as before only no selection formula.
    This works some times, but when the datasource changes, the report doesn't return any data but there is data on the input process...
    Does anyone know what to do, to get the correct data and still be able to switch dataconnections, since the report is used in a test enviroment and production enviroment.
    Hoping on your response.
    With kind regards,
    Cyrus

    Thanks for your help. I found out where the problem was.
    The problem was that I was using a query that didn't assign a custom name for the table, I think that is why Crystal Reports couldn't handle the database tables correctly. The problem was solved by using a custom name for the table.
    Wrong:
    SELECT *
    FROM Processes
    WHERE Input_process = 1
    Correct:
    SELECT Process_input.*
    FROM Processes Process_input
    WHERE Process_input.Input_process = 1
    Thanks for your help and I hope this will help others with the same problem.
    With kind regards,
    Cyrus
    Edited by: Cyrusje on Jan 15, 2010 8:19 AM

  • Creation of a new Formula Routine for condition base value calculation

    hello people,
    i am stuck up in a situation where SAP has itself said that nothing can be done.
    but i know you all can guide me to some way or the other
    see, the scenario is like this
    1. i have to calculate the base value for a pricing condition.
    which will follow the formula
    net value + excise duty + freight
    2. in standard routines two things are normally bieng used
    xkwert for the value that has to be finally calculated(taking reference of routine 004)
    komp-netwr for the net value
    3. i have to calculate the excise duty by adding up all the base values of existing pricing conditions like JMOP, JEC1 etc that i have which i saw in internal table
    XKOMV on debugging
    4. now freight is to be calculated from all the values of condition types that are in KOMP which is a structure and no internal table is defined in standard main program
    now ppl
    can you guide me by looking at the standard program
    what is this xkwert field and where it is assigning the value.
    how to get field from other structure and table.
    please guide as to how to approach the problem.
    thanks and regards
    Nitin

    HI,
    the scenario u r talking abt is condition based value formuls of VOFM transaction.
    here the data is retrieved as 'X' structures and will hold normal tables with respective names. and in this case all the pricing data is in KOMV ie XKOMV
    Final amount including tax
    form frm_kond_basis_004.
      xkwert = komp-netwr + komp-mwsbp.
    endform.
    always calulation is done in xkwert field and final value is stoerd in xkomv.
    *.................. text ............................................. *
    Condition base value formula to get the assessable value of the     *
    saleable material from j_1iassval. If the value is not maintained   *
    then the selling price will be taken as the base                    *
    TABLES: J_1IASSVAL.
    DATA XXKOMV LIKE KOMV .
    XXKOMV = XKOMV.
    SELECT SINGLE * FROM J_1IASSVAL WHERE J_1IWERKS = KOMP-WERKS AND
                                         J_1IMATNR = KOMP-MATNR.
    IF SY-SUBRC EQ 0.
        IF J_1IASSVAL-J_1IVALNDP NE 0.
        XKWERT = J_1IASSVAL-J_1IVALNDP * KOMP-MGLME / 1000.
        ENDIF.
        IF J_1IASSVAL-J_1IVALASS NE 0.
        XKWERT = J_1IASSVAL-J_1IVALASS * KOMP-MGLME / 1000.
        ENDIF.
    ELSE.
       XKWERT = XXKOMV-KAWRT .
    ENDIF .
    XKOMV = XXKOMV .
    ENDFORM.
    and as far as ur  req select allthe condition type data and sum and take the average value and pass it.

  • BEX formula.. How to know the row value in formulas dynamically

    Hi all,
    I just need to clarify a doubt..
    Requirement:
    COL1      -               COL2
    Y1            -               X
    Y2            -               X + 12
    Y3            -               X + 12 + 12
    YN           -               X + 12 + 12 + u2026 12(n)
    Y is dynamic from the source datau2026.. Itu2019s the year (2009,2008u2026 etc..)
    X value is from the user (i/p variable value). Some dummy valueu2026
    Now, the main logic I want to incorporate is like using a formula for COL2
    COL2 Formula looks like thisu2026.          X + (12 * N)             where N= 0 for the 1st row; 1 for the 2nd row; 2 for the 3rd row like thatu2026..
    How to dynamically allocate value for N based on the row count?
    Pls. let me know if you find somethingu2026.
    Thanks.
    Edited by: Arun Bala G on May 21, 2010 10:59 AM

    how abt this:
    This approach only valid for Workbboks..
    create COLUMN3 just type like this
    0
    12
    24
    and drag this upto end of Col1 and Col2 so it will poulate multiples of 12 then in Column 4 apply the C1-C2+C3..
    hope it helps
    Sorry Bhaskar,
    Hardcoding the formula is not relevant at all. May be you had not read this query properly. Its no way related to being dynamic right... If it was Excel workbook, anyone would have used a simple formula & moved values like cakewalk.
    So unfortunate! BEx has some limitations..
    All I need in my query is some counter like 1,2,3.... till the end of the last record. That's all.
    Pl. find the sample data
    COL1     COL2          
    2009     1.3          
    2008     13.3          Which is 1.3+12
    2007     25.3          Which is 1.3+12+12
    2006     37.3          Which is 1.3+12+12+12
    Do let me know if you have any clues?
    Thanks!
    Edited by: Arun Bala G on May 21, 2010 11:20 AM

  • Formula problem, sometimes don't add the value

    Hi everybody,
    I'm trying to learn manage this tool (crystal report) I use visual basic 2005 with the crystal for visual basic. Actually I've a problem with some formula fields. My report has several summarize columns (I sum the values) , not all the columns have values so not all the result fields has values. The problem becomes because I have to sum the result fields, and if i do a formula with this:
    + {@horasTinsitu} + {@ConvertirEnSegundosTreal} + {@ConvertirEnSegundosTtaller}
    But only works if the three formulas has values, if one formula is empty the result looks empty, I think the problem was in the value of the formulas and I tried to evaluate with u201Cisnullu201D but neither.
    Please, somebody has an idea.
    Thanks everybody
    Well my English it's bad but I think it's possible understand it.

    I finally do it, this is the code
    local numbervar InSitu;
    local numbervar Remote;
    local numbervar Taller;
    local numbervar Phone;
    if isnull({@T_insitu}) then  //{@T_insitu} is the formula to summarize details and add their values...
        InSitu:= 0
    else
        InSitu:= {@T_insitu};
    if isnull({@T_remoto}) then
        Remote:= 0
    else
        Remote:={@T_remoto} ;
    if isnull({@T_taller}) then
        Taller:= 0
    else
        Taller:= {@T_taller};
    if isnull({@T_telefono}) then
        Phone:= 0
    else
        Phone:={@T_telefono} ;
    InSituRemoteTallerPhone;
    Now looks easy but it's very diferent of the visual code I usually do.
    well  THANK YOU VERY MUCH EVERY BODY...
    Dani

  • To find percentage value in VOFM -Formulas

    Hi friends ,
    I have custom routine in VOFM - formula- condition value . When i calculate percentage of XKWERT , it is adding extra zeros in the result .. I have tried with many values .. after searching i found , it has to be divided by 10000, instead by 100 . but not working fine ..
    Please let me know if you know any other procedure to find percentage.
    Regardss,
    kani

    Hi,
    For few of the materials, if it is of BOM material, then though the ratio is with respect to the 1 material, when come into the real scenario, even if you enter 1 materials, based on the material type, it will be in the form of 10 or 100 units.
    i.e. For that product minimum of those many materials is required, hence it is considering those many amounts.
    Any how please check from your end again.
    Regards,
    Santhosh.

Maybe you are looking for

  • Weblogic Server cannot find Service accounts  in my MSAD via LDAP

    Hello, I've configured an LDAP security provider in my WebLogic server but it's only finding some of my users, not my "service account" users. The users are found in the following locations in the tree: OU=Users,OU=Accounts,DC=dev,DC=mtb,DC=com OU=Se

  • JDeveloper error when extending VO

    I have had problems yesterday and today attempting to create an extending VO with the "mandated" RowImpl class. When I click on the Finish button in the wizard, I get the following error: Error in updating the java files for component: AbcMyReqsVO Ex

  • Renaming photos/files

    After much struggle, I have managed to rename some photos in Aperture - but the names don't 'stick'. That is, when I open the folder they are in, the old names are still there. When I look in Aperture, the new names are there. I need step-by-step ins

  • Apple Hardware Test Problem!!!

    I've been having problems with my 4 month old G5 and so I ran the AHT.First I ran the extensive test and the whole thing froze after 3 minutes.I turned the computer off and on again.It started up like nothing hapened.I restarted,ran the short test an

  • Can not reach internet from vlan on 3560 switch but can from switch

    ISP provided me IP (207.70.170.42) and gateway address(207.70.170.41) connecting to  their router( meto E). I can ping outside the network when logged into the switch  through telnet but not when connected through a pc on the vlan. I can ping the IP