Generic calculations with changing number of channels

Hello,
I would like to make some basic calculations with a flexible number of channels. The point is that I get an error if I specify channels which are not existing in my calculations. For example :
CCh("[1]/CNV",2)-CCh("[2]/CNV",2)+CCh("[3]/CNV",2)-...
I think it should be possible to do it by using a script, but do you have any idea how to do it only with the calculator?
Thank you in advance
Jérémy
Solved!
Go to Solution.

You can do easily by using Recoding mode for VBScript described in the following KB:
http://digital.ni.com/public.nsf/allkb/B769AE10EDB656D28625692D00583166?OpenDocument
Paolo_P
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
Travaux Pratiques d'initiation à LabVIEW et à la mesure
Du 2 au 23 octobre, partout en France

Similar Messages

  • Error while changing BOM with change number

    Hi ALL, Please help me with followed error message, I am using ECM. I created ECR and converted to ECO and then released.
    Object management record cannot be generated
    Message no. 29046
    Diagnosis
    You want to change the BOM with the entered change number.
    One of the following situations triggered this error message:
    1. The indicator that allows automatic generation is not set for object type BOM in the change master.
    2. The indicator generation only on initial creation is set for object type BOM
    3. You are processing a change request.
    System response
    The system checks whether the indicator object management record will be generated is set in the change master.
    If the indicator generation only on initial creation is set, the system checks whether the BOM exists in the system.
    Procedure
    If you are authorized to change the change master, execute the following steps:
    For 1.)
    Set this indicator for object type BOM or create the control record in the change master.
    For 2.)
    If the BOM already exists in the system and the generation only on initial creation indicator is set, the system can no longer generate the control record automatically.
    In this case you have to add the object control record to the change master first, then you can change the BOM in relation to the change number.
    For 3.)
    You cannot generate any object control records for a change request.

    Hi
    With your question regarding changing BOM with change number  it looks lke there may be problem in defining the Object types,objects.Moreover whenever converted to ECO you need to enter into cs02 tcode for changing the bom with relevant change number and valid from date.
    Hope this gives you a clear idea.let me know if you need anyfurther inputs.
    Regards
    Praveen

  • Mass change of Recipe with Change Number for Future

    Hi ,
    I would like to do a Mass change of Recipes with Change Number for Future Plan,
    is there any way I can do that? or Transaction where I can get that info as I have to do it for lot of recipes,
    Regards,
    Paartha

    Rajesha,
    MM12 will get the change Number From CC01, where we define the Change Number for various things Like Mat master, BOM, Document etc,But I would like to Provude the ECN number when ever I change for example MM12(Mat master), CS02(BOM),CA02(ROUTING),C201(RECIPE), every time I can enter the same ECN number obtained from CC01 create change Master,you can see ECN number field on C202 screen also,
    so Now I would like to change Recipes by giving this ECN number for Mass change of one Filed called LAbor Hours inside C201,
    is there any way I can do mass change instead(avoid) of Process ,,,,,,,,, go to  C201 -enter ECN number--go in side change Labor hours for each and every recipe .
    Hope you understood,,, Looking for Reply from you and SDN Gurus
    Regards
    Paartha

  • BOM mapping with change number error during IDoc process

    Hi all,
    i am creating BOM using IDoc BOMMAT04.i have checked this IDoc will use FM IDOC_INPUT_BOMMAT inside.
    in this function module, it is using FM CSAP_MAT_BOM_CREATE and CSAP_MAT_BOM_MAINTAIN to create and change.
    currently, creation and deletion is success. but when change, if the change number passed as an input parameter, the IDoc process error saying that the BOM header not allowed to update for read-only field.
    if i not pass the change number, the change will be success, but no change number displayed in the item. that is not the user expected.
    and if i delete the bom with change number, create a new BOM for the same material is not aloowed, saying that BOM already existing.
    it seems that CSAP_MAT_BOM_CREATE and CSAP_MAT_BOM_MAINTAIN cannot support much. it is limited.
    can anyone have any good solutions? thanks!

    yeah, for the change, i have solved it.
    but currently, if i delete the existing BOM with a change number, the re-creation is not allowed by the IDoc saying that the BOM already existing.
    if i delete in CS02 without change number, it deleted from DB and can be re-create.
    but if delete in IDoc without change number, it failed saying that local BOM can not be deleted by ALE.
    do you have any solution? i want to implment in IDoc: delete existing BOM and create a new one for the same material with change number. (currently the standard IDoc FM not support BOM group)

  • ECM-Problem with Change number in CS01 and CS02 Transactions

    Hi Experts,
    I am creating or changing BOM's using above transactions. I am entering the change number while creation and changing the BOM to track the changes.Here my problem is these transactions are not validating the ECM number.
    If you enter any value in the change number filed system is allowing me to create a BOM.
    I am assuming that becasue of patches applied to system,I am getting this.
    kindly help me out on this issue.
    Thanks in Advance,
    Regards,
    Rakesh J
    Edited by: J.Rakesh on Apr 22, 2009 10:26 PM

    Dear Mangalraj,
    Thanks for your reply.
    We are not using CC01 transaction to create Change number. Z transaction is there to create change number.
    My change number contain alpha numreic charectors Eg : 341793ABCXYZ
    Yes, in CS01 system is accepeting any value that we enter :Eg: asddfgh. The value is not there in AENR table.
    I observed one thing If I am going to chnage a material using MM02, there its not accepeting any value,its accepeting the values which are there in AENR table otherwise its giving error :Change Number XXXXXXXX does not exist.
    My question is same thing should function in CS01 and CS02, why its not happening for these transactions.
    Regards,
    Rakesh J

  • Dynamicall​y Changing Number of Channels in Chart

    Hi,
    I have a simple question about a labview programming issue. I am
    trying to modify an NI Example program for demonstrational purposes.
    I am using the Multi-plot real-time chart example program (link below)
    from the NI website. I have changed your example for the chart to
    display the data in the stacked plot mode. How could I modify it to
    vary the number of traces dynamically. Is this possible? My goal
    would be to use a series or radio buttons to control viewing 4, 8 or
    16 channels, in real time. All of the code and programs I have seen
    have channel display statically in the begining setup. Is there a
    property node of the chart that controls this?
    Thanks
    John
    http://zone.ni.com/devzone/explprog.nsf/6c163
    603265406328625682a006ed37d/5ac3fd88cb3815f0862566​57007542ee?OpenDocument

    Mark,
    I would appreciate if i could see some code. Would you please email
    it to my hotmail address.
    Thanks
    John
    On Mon, 4 Feb 2002 07:40:27 -0800 (PST), markwysong
    wrote:
    >There's not really a property node. I've done this before, but it's
    >not exactly straight forward. If you stretch the window that shows
    >the trace names and colors, you can show more trace names and colors.
    >Make sure that this is big enough to handle the max number of traces
    >that you'll need.
    >
    >Next, in your code, make a property node for the chart. You'll need
    >to set all the trace colors to transparent to begin with, then change
    >them to a predefined color depending on how many traces you have. You
    >do this by using the property node, setting the active plot, then
    >
    changing the color (and name, too). Then you just wire the plots to
    >the chart, and it should display it. I can show you some of my code
    >that performs these functions if need be.
    >
    >Mark

  • Dynamically Changing Number of Channels in Chart

    Hi,
    I have a simple question about a labview programming issue. I am
    trying to modify an NI Example program for demonstrational purposes.
    I am using the Multi-plot real-time chart example program (link below)
    from the NI website. I have changed your example for the chart to
    display the data in the stacked plot mode. How could I modify it to
    vary the number of traces dynamically. Is this possible? My goal
    would be to use a series or radio buttons to control viewing 4, 8 or
    16 channels, in real time. All of the code and programs I have seen
    have channel display statically in the begining setup. Is there a
    property node of the chart that controls this?
    Thanks
    John
    http://zone.ni.com/devzone/explprog.nsf/6c163603
    265406328625682a006ed37d/5ac3fd88cb3815f086256657007542ee?OpenDocument

    To accomplish your goal, the example VI needs to be modified a little bit. I've made one such modification and attached the modified file. I hope it helps. Please note that nothing shows on the Front Panel Until you press one of the control buttons.
    Attachments:
    Modified_Multi-plot_real-time_chart.vi ‏138 KB

  • Any way to get the Mail icon with changing number for incoming mail in ...

    Toolbar, the big one across the top of my screen. I have a lot of other handy little items in there, Mozy, Growl Plaxo, world clock, ical, in addition to the Mac stuff. If I could see how many mails I have up there, I wouldn't need to check my dock or open Mail.

    Look for something at VersionTracker or MacUpdate.

  • How to set change number is prerequisite when change BOM?

    Dear SAP Experts,
    I have actived EC management  in BOM control data in IMG. But when i changed
    BOM ( the code  CS02 )  with change number blank, system had not given an error message. SO,how to set change number is prerequisite when change BOMs?
    Thanks...
    Regards,
    Joey.

    Just a guess: Transaction os27 and change the number range to external.
    Matthias

  • Error in change Number ..pls Help Me..urjent

    <b>Hi all..
    when i run a transaaction ( Zasd) in PRD with change number 11784  the report works fine. But when i enter
    change number 11929 . iwill get error change order not found. but  when i use CC03 transactoin with this change number i saw the details for this number..
    pls suggest me what i do..i think  report is ok.is it right ????  what i do..pls help me..
    thanks in advance...
    the selection sereen is below....
    PARAMETERS: p_chgnr TYPE aennr.
    PARAMETERS: p_width TYPE int4 DEFAULT cv_maxmodels.
    PARAMETERS: p_anego TYPE c AS CHECKBOX DEFAULT co_true.
    get all engineering change details
      CREATE OBJECT go_engchange EXPORTING changeorder = p_chgnr.</b>

    Hello Papai
    In order to track down the problem I would suggest two things you should check with change number 11929:
    (1) Does your report actually pass the CREATE OBJECT statement or do the other select-parameters prevent that this change number is found?
    (2) If the class used for go_engchange can be publicly instantiated, then call the class builder (SE24) with the class and test it. In test mode you can create an instance using your change number as input.
    (3) If instantiation fails then repeat it in debugging mode. Sooner or later you must find the error source.
    Regards
      Uwe

  • Change number that are not created earlier accepted for change of BOM

    Hi,
    When i am going to change BOM it gives warning message "Enter change number, BOM has history requirement"
    But my problem is when i put any number in field of change number it is allowing me to change the BOM.
    It should not be accept any number that are not created earlier in the system. It must have to accept change number that is created for the history requirement for perticular material. kindly give your input on this issue.
    Atul

    Hi Atul,
    Please refer the thread ECM-Problem with Change number in CS01 and CS02 Transactions
    Thanks,
    Rakesh J

  • Cancel ECN in BOM & remove change number in Routing

    Dear Gurus,
            I have 2 questions about ECN , pls. help .
    1> If we made a wrong ECN in BOM with change number, pls. advise how to cancel this ECN in BOM.I tried to delete the change record in CC02 but it's not allowed since BOM has been changed already.If I made a new change in BOM with new change number, in BOM it will show a new change number, but I don't want to show these change numbers because it should be no changes happen, pls. advise how to recall the change and remove the change number in BOM .
    2> We use change number when we change routing ( CA02) in the past, now due to some internal issue, we want to remove all change numbers in routing, I can't find any option in CC02 or CA02, pls. advise is it possible to remove existing change number?
    Thanks & best regards,
    Tina

    Dear Tina,
    In my understanding you may not be able to delete the change number assignment made in BOM or routing.
    But you can define an alternative date for the made changes and set the valid from date as say 31.12.5555.
    Check and revert.
    Regards
    Mangalraj.S

  • Edit or Change a Change Number in BOM

    Good Day
    Dear All
    Please can anyone can tell me is any process is there to Edit or change the CHANGE NO in BOM

    Hi Radhakrishna,
    Masters like BOM and Routing can be created and changed with change number. Accordingly changes can be tracked with respect to the change numbers. For Eg BOM created wit hqty 10 with change number X , then BOM changed to 12 with change number Y, then system will display the reports on BOM changes with respect to change numbers. Historial data you can track.
    You can create new change number in CC01 with different validity date and make changes to BOM. You cannot edit the change number once its is created.
    Have a look on the below doc posted by me on usage of revision level with change numbers.
    Usage of Revision Level for PP Masters -BOM and Routing
    Thanks & Regards,
    Ramagiri

  • Entering Change NUmber in CS02

    gRETINGS..
                     I want to chaneg  my BOM  with change number ..now system asking for entering change numeber ...
    - what number range i should use.?
    - where we define this numebr range (path)?
    - can system take internal number range ?
    - Wht else setting i have to do for change number record ???

    Dear SAP PP,
    You can create the number Ranges for the Change number using the T Code OS53--->under this click on change
    intervals--->Click on Insert Interval(Shift+F1),enter the from and To Number range and under this if you include the check box for
    external means external number definition is allowed.
    So say if you have defined a number range 1 to 50000,and during internal number range definition,while creating the change
    number in CC01,the system checks the last created number and it proposes the next running number automatically.Say if the last
    number was 25000,today if you create a change number using CC01,after saving the data the system says change number
    25001 has been created successfully.It does not mean the system creates a change automatically in the case of internal number
    range defined.
    In the case of external number definition,in the input screen of CC01 itself you can enter any number falling within this number
    range and then save the data.
    Always try to use internal number range.
    This change number will be used in the T Codes CS01/CS01 for creation or BOM modification.
    Check and revert back with your further queries.
    Regards
    Mangalraj.S

  • Enginering Change Number (ECN)&  alternative date

    Hi
    We have a scenario like this:
    We are having ECN effective in our system.
    Now we want to use the alternative date functionality for some objects.
    Ex:- we have a BOM with change number for which valid from date say" X".
    Already change is effective  from "X" date.
    If we  change valid from date of "X" to altrnate date say "Y"for this object, & if we  want to change this object with reference to this change number , the system is automatically changing the earlier changes also new valid from date "Y".
    I want to know is there any method to avoid this.
    Any suggestion advnce thnks.
    Regards
    Rao

    Hi Rao
      actually alternative date functionality is used like if you have BOM, task list created with reference to an ECn with a validity date and suppose you wish to activate the Bom to a different validity date with same ECN. then BOm will be active from the alternative date whereas the tasklist will be active from the validity data of the ECN.
    procedure
      in CC01 or CC02
      verify objects are assigned to the ECN ( BOM, TL etc) by selecting the object assginment button if not assigned then assign  the same.
      create the ECN with alternatedatekay and alternate dates by presssing the altrnate date button.
    after creating the altrnate dates
    from the same screen select the alternate date and then press the object assignement button
    Now select the appropriate object and then press assignobject. now press the details key you can see the alternate date assigned
    Just save it
    thats all everything is fine
    regards
    Sk
    Reward your points

Maybe you are looking for

  • Why my subscription is not showing up in my Androi...

    I bought a Skype Unlimited World premium subscription few days ago, it's showing up via my computer/web browser login, but when I logged onto the same Skype account on my Galaxy Note 3, the subscription did not show up there, and I can't make calls. 

  • Anonymous vs session-based static content

    I am running the 7.0 Portal and I am running into a problem where all my static content is being served from within a session context, or not anonymously. This is causing MAJOR performance hits. Eventually, when this app hits production, all static c

  • Problem seeing the BI Admin Cockpit in the Portal

    Hello Gurus,    I hope you may be able to help me. I would like to be able to see the BI Administration cockpit in the Portal. The Stats technical content, has been activated, ie cubes multiproviders, process chains etc and stats data collected in th

  • My MacBook screen won't stay lit

    I came in to find that my cat had knocked my MacBook on the floor and now I can't get my screen to stay lit. It will flicker for a split second when I run my finger across the trackpad and then it goes dark.

  • What kind of modem do i need and the price

    what is the best modem i can buy i have the keyboard and the mont ijust need the moden that goes to my home page ...now... instead of having to wait. i am new to the computer age Solved! Go to Solution.