Unexplained "function conflict"

LV2013 SP1,  Win 7
The basic question is... why is this wire broken, and what can I do to fix it?
See this JING: < http://www.screencast.com/t/U3h0MMGe >
I have a record, called an ADDON CONTROLLER RECORD.
The record contains a reference to a VI called an ADDON.
It also contains a reference to a VI called an ADDON CONTROLLER.
The ADDON vi has one terminal, which is an ADDON CONTROLLER RECORD.
My intent here is to open up a copy of the ADDON, and store the reference in the record, which seems to go OK.
I also want to open a copy of the ADDON CONTROLLER, and store the reference in the record, but that results in a broken wire.
The JING shows that, even if I create a new control for the VI RefNum, and paste it into the TypeDef, it still complains of a "function conflict".
Since I just created the refnum type, how can there be a conflict?
I suspect it has something to do with recursion: the VI has a terminal with a cluster, the cluster has a VI RefNum, the RefNum describes a VI with a terminal, the terminal has a cluster, the cluster has a VI Refnum, the RefNum describes a VI with a cluster, etc., etc., etc,
You can see that the help window is screwed up, showing several levels of this.
But how does that result in a "function conflict"?
Can I resolve this, or do I have to keep the Controller RefNums separately?
What are the rules?
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks

CoastalMaineBird wrote:
Can I resolve this, or do I have to keep the Controller RefNums separately?
What are the rules?
I wouldn't worry so much about the rules (I would have expected LV to either freeze or disallow it in the first place) and just avoid recursive data types. If this is the data type you need, keep the VI reference in a non-strict format and cast it to the strict type when you need it. I haven't tried this specifically, but a quick test indicates that you can't use To More Specific Class or Type Cast, but Variant to Data seems to work.
Try to take over the world!

Similar Messages

  • Wire: Function Conflict, Static VI Reference

    Hello Community,
    Sorry if this has already been answered before, but I have spent an hour searching. I am trying to learn a little about using subVIs to clean up my code.
    I'm trying to connect a static VI reference of a Gaussian function that I made to the Nonlinear Curve Fit.vi, but I get a broken wire which says "function conflict".
    When I create constants for the output of my Gaussian VI and the input of the Nonlinear Curve Fit.vi, they are clearly different classes.
    Could someone show me how to edit my Gaussian VI to match the class properly? I'd greatly appreciate it.
    Thanks,
    -Patrick
    Solved!
    Go to Solution.
    Attachments:
    pat_gaussian_fit.vi ‏24 KB
    pat_gaussian_fit.vi ‏24 KB

    Your model subvi needs a connector pattern that is identical to the template. Start with the template mentioned in the help and only modify the code, not the existing controls and indicators. Simply leave unused terminals disconnect, don't delete them.
    LabVIEW Champion . Do more with less code and in less time .

  • Constrained optimization - function conflict and error 91?

    I am a fresh hand on Labview. I tried to use the constrained optimization approach for curve fitting, which unformately leads to the following errors.
    1. "error 91".
    I build the objective function (subvi1.vi) using "cno_objective function template.vit". When I tried to run it, an error message "error 91" pups up.
    2. "function conflict"
    When I tried to link the objective function (subvi1.vi) to the constrained nonlinear optimization block, the link is always broken, saying "function conflict".
    Any help and comments are appreciated. Thanks!
    Attachments:
    subvi1.vi ‏21 KB
    main1.vi ‏24 KB

    Hey guest,
    I checked your VIs and might have a few suggestions for you in using the constrained optimization.  First of all error 91 is usually a variant error.  It has the following text: "The data type of the variant is not compatible with the data type wired to the type input."  I believe you get this error since you don't have any data in the variant in the subVI, so it doesn't know how to translate that into a cluster.
    The broken wire you are seeing is due to there not being any connections made on the Connector Pane.  To link inputs and outputs of subVIs you need to first configure the Connector Pane by right-clicking on the icon and selecting Show Connector and then wiring the controls and indicators to terminals there.  I would suggest checking out the example for this VI, which you can then use for your application.  If you open the context help (Ctrl+H) and then hover over the VI you want and then click the detailed help link.  This will bring up the help file for this VI.  At the bottom there should be a button for Open Example. You could also find it in the Example Finder (Help >> Find Examples)
    You mentioned that you are fairly new at LabVIEW, so I wanted to point you toward a good tutorial for beginners called Learn LabVIEW in 6 Hours.  This should give you a good general overview of what LabVIEW can do.  Please let me know if you have any further questions!
    Thanks!
    Andy F.
    National Instruments

  • Win SDK function conflict with CVI library function

    I do not have  SDK_CONFLICT_PRIORITY defined.  Is this new to CVI 2009?
    The following code gives me an error  "11, 58   Too many arguments to `CVI_WriteFile'."
    #include <windows.h> 
    #include <formatio.h>  
    void function (void) {
        HANDLE hHandle = INVALID_HANDLE_VALUE;
        char buffer [1000] = {'\0'};
        DWORD dwWriteCount;
      if (!WriteFile (hHandle, buffer, 5, &dwWriteCount, NULL)) {
    I have included  <windows.h>   before   <formatio.h>  but CVI still wants to use the formatio version of WriteFile - it appears to have been renamed   CVI_WriteFile  ?!?!?
    If I eliminate the #include <formatio.h>  it compiles OK.
    Message Edited by menchar on 03-06-2010 04:00 PM

    Well, the complete source for formatio.h I reported before is this one:
    #ifdef _NI_mswin32_
    extern int CVIFUNC      cviprefix(CloseFile)(int handle);
    extern int CVIFUNC      cviprefix(OpenFile)(const char *filename,int rd_wrt, int action, int bin_ascii);
    extern int CVIFUNC      cviprefix(ReadFile)(int handle, char *buf, int count);
    extern int CVIFUNC      cviprefix(WriteFile)(int handle, const char *buf, int count);
    extern int CVIFUNC      cviprefix(SetCommitMode)(int commit);
    #define CloseFile       cviprefix(CloseFile)
    #define OpenFile        cviprefix(OpenFile)
    #define ReadFile        cviprefix(ReadFile)
    #define WriteFile       cviprefix(WriteFile)
    #define SetCommitMode   cviprefix(SetCommitMode)
    #else
    In the header this warning is present:
    /* This header must be included after any Windows SDK header or any header */
    /* that directly or indirectly includes a Windows SDK header.              */
    /* Some of the function names conflict with Windows SDK functions.         */
    As far as I can understand (but I'm not an expert on these very technical and tricky aspects of C) first of all CVI functions are renamed CVI_xxx, after it a call to WriteFile or any other function in that group is defined to be translated to CVI_WriteFile, so when you call WriteFile the preprocessor actually translates it in the CVI version of the function and SDK one is superseded.
    My understandment is that if you undefine WriteFile, you can actually use both functions if you want: native CVI one by calling CVI_WriteFile and SDK one by simply calling WriteFile.
    ...or I can be missing some other hint, which can surely be possible!
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Unexplained Ownership conflict with Coherence 3.5.2

    Hi all,
    We are using Coherence 3.5.2 quite happily for a while.
    Now we've start using it for a new project.
    Basically we have a cache with 36000 object updated concurrently through EntryProcessors.
    All this is running in 8 application nodes (java 1.6).
    After running for a while (93% of our objects updated), the entire cluster starts hanging with unexplained errors.
    The first error is a Ownership conflict error.
    I googled that error and saw that it has been resolved with a patch in 3.5.1. So normally it should be fixed also in 3.5.2.
    So my question:
    Under which exact conditions can we expect to face that error?
    Many thanks
    Harry,
    logs:
    11:35:52,251|WARN|Logger@9247854 3.5.2/463||||2010-05-06 11:35:52.250/1684.780 Oracle Coherence GE 3.5.2/463 <Warning> (thread=DistributedCache:UnlimitedDistributedAppScheme, member=1): 5> Ownership conflict for partition 129 with member 66 (49!=0)|Coherence
    11:35:52,264|WARN|Logger@9247854 3.5.2/463||||2010-05-06 11:35:52.252/1684.782 Oracle Coherence GE 3.5.2/463 <Warning> (thread=DistributedCache:UnlimitedDistributedAppScheme, member=1): 5> Ownership conflict for partition 114 with member 54 (66!=0)|Coherence
    11:35:52,381|WARN|Logger@9247854 3.5.2/463||||2010-05-06 11:35:52.380/1684.910 Oracle Coherence GE 3.5.2/463 <Warning> (thread=DistributedCache:UnlimitedDistributedAppScheme, member=1): 5> Ownership conflict for partition 234 with member 16 (54!=0)|Coherence
    11:35:52,391|WARN|Logger@9247854 3.5.2/463||||2010-05-06 11:35:52.391/1684.921 Oracle Coherence GE 3.5.2/463 <Warning> (thread=DistributedCache:UnlimitedDistributedAppScheme, member=1): 5> Ownership conflict for partition 115 with member 42 (16!=0)|Coherence
    11:35:52,403|WARN|Logger@9247854 3.5.2/463||||2010-05-06 11:35:52.391/1684.921 Oracle Coherence GE 3.5.2/463 <Warning> (thread=DistributedCache:UnlimitedDistributedAppScheme, member=1): 5> Ownership conflict for partition 116 with member 42 (16!=0)|Coherence
    11:35:52,413|WARN|Logger@9247854 3.5.2/463||||2010-05-06 11:35:52.391/1684.921 Oracle Coherence GE 3.5.2/463 <Warning> (thread=DistributedCache:UnlimitedDistributedAppScheme, member=1): 5> Ownership conflict for partition 117 with member 42 (16!=0)|Coherence

    Hi ggleyzer,
    yes that's the manisfestation.
    We start having those errors (Ownership conflict) for a short period and after that the DistributedCache service associated to our cache starts giving up (executing "InvokeFilterRequest" for more than 9 minutes).
    Then the service is stopped and members are removed from the cluster ("Removed missing member" error).
    But actually the Ownership conflict message is logged at WARN level.
    Regards
    Harry
    InvokeFilterRequest log
    ================
    WARN|Logger@9240084 3.5.2/463||||2010-05-06 11:43:35.437/1242.324 Oracle Coherence GE 3.5.2/463 <Warning> (thread=Recovery Thread, member=1): A worker thread has been executing task: Message "InvokeFilterRequest"
    FromMember=Member(Id=11, Timestamp=2010-05-06 11:29:42.623, Address=**.*.**.***:8093, MachineId=16170, Location=site:xxxx,process:MyProcess_Client,member:MyProcess_Client_11, Role=MyProcess_Client runner)
    FromMessageId=373341
    Internal=false
    MessagePartCount=1
    PendingCount=0
    MessageType=29
    ToPollId=0
    Poll=null
    Packets
    [000]=Directed{PacketType=0x0DDF00D5, ToId=1, FromId=11, Direction=Incoming, ReceivedMillis=11:34:35.522, ToMemberSet=null, ServiceId=2, MessageType=29, FromMessageId=373341, ToMessageId=36817, MessagePartCount=1, MessagePartIndex=0, NackInProgress=false, ResendScheduled=none, Timeout=none, PendingResendSkips=0, DeliveryState=unsent, Body=0x000041BD01000B01286D29F507000B01286D29F5040097CC9FD28DCA8001010101020000000000000000000000000000000000000000000000007FFFFFC00000000000000000000000010A27636F6D2E74616E676F736F6C2E7574696C2E66696C7465722E436F6E7461696E7346696C7465720A2F636F6D2E74616E676F736F..., Body.length=1394}
    Service=DistributedCache{Name=UnlimitedDistributedAppScheme, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=26, BackupPartitions=25}
    ToMemberSet=MemberSet(Size=1, BitSetCount=2
    Member(Id=1, Timestamp=2010-05-06 11:23:08.003, Address=**.*.**.***:8089, MachineId=16170, Location=xxx,process:MyProcess_Server,member:MyProcess_Server_12, Role=MyProcess_Server Engine)
    NotifySent=false
    } for 539882ms and appears to be stuck; attempting to interrupt: UnlimitedDistributedAppSchemeWorker:0|Coherence
    2010-05-06 11:43:35,962|INFO|Logger@9240084 3.5.2/463||||2010-05-06 11:43:35.955/1242.842 Oracle Coherence GE 3.5.2/463 <Info> (thread=pool-1-thread-3, member=1): Restarting NamedCache: MyProcess-cache|Coherence
    2010-05-06 11:43:35,962|INFO|Logger@9240084 3.5.2/463||||2010-05-06 11:43:35.955/1242.842 Oracle Coherence GE 3.5.2/463 <Info> (thread=pool-1-thread-3, member=1): Restarting Service: UnlimitedDistributedAppScheme|Coherence
    Removed missing membe log
    ====================
    ERROR|Logger@9242415 3.5.2/463||||2010-05-06 18:53:07.289/4414.752 Oracle Coherence GE 3.5.2/463 <Error> (thread=DistributedCache:UnlimitedDistributedAppScheme, member=6): validatePolls: Removed missing member Member(Id=63, Timestamp=2010-05-06 17:39:46.382, Address=**.***.***.**:8088, MachineId=40700, Location=machine:xxx,process:MyProcess_Server,member:MyProcess_Server_64, Role=MyProcess_Server Engine) from poll: Poll

  • .Mac sync does not function, conflicts inaccessible

    UpGrade and found it valuable, BUT using my .mac accout I get some sync conflicts and when I open conflict solving, there is no window and solving conflicts is inaccessible - simply no way to get to the conflicts. Where is the window gone?

    Never found out why.

  • Regarding Shortdump "CALL FUNCTION 'RSAU_READ_FILE"

    hey..
    I am trying to use this below functional module.
    It goest to shortdump <b>"CALL FUNCTION CONFLICT _LENG"</b>
    even i cant check whether sy-subrc is <> 0 or not.
    How to stop this SHORTDUMP.
    could somebody help me here..
    (Situation used is : When auditfile is not found in directory it gives short dump or else it works fine.)
    CALL FUNCTION 'RSAU_READ_FILE'
               EXPORTING
                 SELECTION       = TA
                 SELECTION_AUDIT = AUDIT_SELECT
                 FILE_NO_OLD     = FILE_NO
               TABLES
                 SYSLOG_IN_TABLE = ENTRIESTAB
                 AUDIT_FILE_STAT = AUDIT_FILE_STAT.
    if sy-subrc <> 0.
    write: 'no file here at RSAUREADFILE'.
    exit.
    endif.
    Message was edited by: ambi chan

    Hey,
    sorry i closed this thread before solving completely.
    i have still problem with this FM.
    In 4.6B it works, but in 620 it generates SHORTDUMP.
    i declared TA as
    DATA: BEGIN OF TA.
            INCLUDE STRUCTURE RSLGSEL.
    DATA: END OF TA.
    and
    DATA: FILE_NO LIKE RSLGETAB-FILE_NO.
    DATA : BEGIN OF ENTRIESTAB OCCURS 500.
            INCLUDE STRUCTURE RSLGETAB.
    DATA:  END OF ENTRIESTAB.
    DATA: BEGIN OF AUDIT_FILE_STAT OCCURS 100.
            INCLUDE STRUCTURE RSAUFINFO.
    DATA: END OF AUDIT_FILE_STAT.
    CALL FUNCTION 'RSAU_SELINFO_INIT'
    CHANGING
    AUDIT_SELECTION = AUDIT_SELECT.
    TA-WHICHLOG = 'L'.
    FILE_NO = 1.
    CALL FUNCTION RSAU READ_FILE
    EXPORTING
    SELECTION = TA
    SELECTION_AUDIT = AUDIT_SELECT
    FILE_NO_OLD = FILE_NO
    TABLES
    SYSLOG_IN_TABLE = ENTRIESTAB
    AUDIT_FILE_STAT = AUDIT_FILE_STAT.
    But above SHort dump exists and shows error in FM.
    If my parameter declaration is wrong pls correct me..
    ambichan
    Message was edited by: ambi chan
    Message was edited by: ambi chan

  • Kanban authorization checks (SU24, PK13N, PK*)

    Hi,
    Does anyone know why the Kanban transactions (PK*) have mostly disabled authorization check indicators in SU24?
    In PK13N, for example, there is functionality to do a goods receipt (MIGO GR) and also functionality to create POs (and maybe more that I have not looked into yet).
    However, the related auth objects in SU24 are not enabled (check indicator = do not check).  This seems strange for these authorization objects.
    Especially in light of SoD.  Users could create POs or do Goods Receipt via PK13 without proper auth check and these 2 functions conflict already (using default GRC ruleset).
    But that's beside the point.  The question is: Is there a good reason why these are disabled and how is this NOT a secuty risk?
    Now, there is one object that is enabled: C_KANBAN
    But, I feel that this is insufficient to really secure the goods receipt action and the PO creation action.
    For reference, a list of disabled auth objects:
    C_STUE_WRK CS BOM Plant (Plant Assignments)
    C_TCLS_MNT Authorization for Characteristics of Org. Area
    F_BKPF_KOA Accounting Document: Authorization for Account Types
    F_FICA_CTR Funds Management Funds Center
    F_FICA_FTR Funds Management FM Account Assignment
    F_FICB_FKR Cash Budget Management/Funds Management FM Area
    F_FICB_FPS Cash Budget Management/Funds Management Commitment Item
    F_LFA1_APP Vendor: Application Authorization
    F_SKA1_BUK G/L Account: Authorization for Company Codes
    L_BWLVS Movement Type in the Warehouse Management System
    L_LGNUM Warehouse Number / Storage Type
    M_BANF_BSA Document Type in Purchase Requisition
    M_BANF_EKG Purchasing Group in Purchase Requisition
    M_BANF_EKO Purchasing Organization in Purchase Requisition
    M_BANF_WRK Plant in Purchase Requisition
    M_BEST_BSA Document Type in Purchase Order
    M_BEST_EKG Purchasing Group in Purchase Order
    M_BEST_EKO Purchasing Organization in Purchase Order
    M_BEST_WRK Plant in Purchase Order
    M_LPET_EKO Purchasing Org. in Scheduling Agreement Delivery Schedule
    M_MRES_BWA Reservations: Movement Type
    M_MRES_WWA Reservations: Plant
    M_MSEG_BWA Goods Movements: Movement Type
    M_MSEG_BWE Goods Receipt for Purchase Order: Movement Type
    M_MSEG_BWF Goods Receipt for Production Order: Movement Type
    M_MSEG_LGO Goods Movements: Storage Location
    M_MSEG_WMB Material Documents: Plant
    M_MSEG_WWA Goods Movements: Plant
    M_MSEG_WWE Goods Receipt for Purchase Order: Plant
    M_MSEG_WWF Goods Receipt for Production Order: Plant
    M_RAHM_BSA Document Type in Outline Agreement
    M_RAHM_EKG Purchasing Group in Outline Agreement
    M_RAHM_EKO Purchasing Organization in Outline Agreement

    Hi Steven
    Normally, when I submit OSS messages about security gaps the response is "working as designed", so I thought I'd try SCN first... perhaps it REALLY IS working as designed and there is a good reason why no auth checks should happen in this case.
    Unfortunately this is all too common. However, I have found a lot of the times it is a Level 1 Support person in SMP advising you of this. With perseverance and escalation to a the next level the chance of a fix is greater (still not a guarantee)
    It's a pity if working as per design they could explain why.
    MIGO can be used in display mode only. If PK13 and PK13N are meant to be display transaction and the SU24 allows you to perform change (i.e. none of the underlying auths are checked for change) then I would refuse to close the customer incident until SAP responds further. At the end of the day, if a display transaction allows modification then it isn't a display transaction
    I get the impression SU24 and some other security (e.g. authority check on '' instead of dummy) has been allowed to exist as customers give up and change the values themselves instead of getting SAP to fix their solution.
    You could also look at SE97 if call transaction can be switched to yes so users cannot jump from PK13N to MIGO (assuming the code was a CALL TRANSACTION)
    Regards
    Colleen
    P.s. - understand the comment with stale thread but take note of timezone and if you raise it on a Friday people may not see it until the following week. Although you did consider this, a lot of people on SCN put urgent in their question and then within the same day respond to their thread to "bump it" on the list

  • For GRC 5.3 can I use the SAP GRC 5.2 rule set

    We are going for an upgrade to GRC 5.3,  I have a small concern here....
    Can I use the same ruleset what I used in GRC 5.2 to SAP GRC5.3 ...?
    because when I checked ruleset at permission level in GRC 5.2 it displays first object of an action from one function conflicting with first object of an action from another function, where as in GRC 5.3 it displays all objects of an action from one function vs all objects of an action from another function....
    How will it impact analysis in GRC 5.3 with old rule set...?
    appreciate your response & thanks in advance.

    Hi,
    Here you will find the documentation to get Upgrade/Configuration Guides.
    [https://websmp103.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000718172&]
    SAP BusinessObjects Governance --> Access Control ---> SAP GRC Access Control 5.3
    There you will find a Upgrade guideline.
    Cheers,
    Martin

  • Active x and event callback in Labview

    I have an active x written by Aanderaa Instruments (makes
    weather and hydrology sensors), it contain various methods and events to get
    the next line of records from a sensory scanning unit. The connection is
    through the COM1, so far i have wired it up only using the methods to get next
    record level, but then I have found that sometimes it does not get the complete
    record from the COM port. So to solve that I have to use an event in the active
    x to check for new record available. So what I want to do is send the event
    (when complete record available) to VI that uses the get next record method to
    pick up the data from the COM1 port and then send the data back to the main VI
    for processing, plotting and writing.
    My problem is that when I connect the output from the GetNextRecord method to a
    indicator that I then wire on the connector pane to be an output from this
    VI  get an error that there is a wire function conflict. I have tried to
    explain a bit better in the attached pdf file with diagrams.
    The reason why I want to export the data back in the main VI is because it runs
    continuously collecting data every 2 min and I plot them on a graph and write
    them to a file so it will no work to have all that done in the event callback
    VI that will only run ever 2 min, then it will reset the graph the whole time
    and I want continuous data plotting for 10 days of historic data records. I
    also have a few other sensors that come in through a connector board that are
    written o the same file.
    hope somebody can give me some hints
    Attachments:
    labview question.pdf ‏721 KB

    Duplicate post, click here for the original: http://forums.ni.com/ni/board/message?board.id=170&message.id=135639#M135639
    LabVIEW Champion . Do more with less code and in less time .

  • Event callback with active x in labview

    I have an active x written by Aanderaa Instruments (makes
    weather and hydrology sensors), it contain various methods and events to get
    the next line of records from a sensory scanning unit. The connection is
    through the COM1, so far i have wired it up only using the methods to get next
    record level, but then I have found that sometimes it does not get the complete
    record from the COM port. So to solve that I have to use an event in the active
    x to check for new record available. So what I want to do is send the event
    (when complete record available) to VI that uses the get next record method to
    pick up the data from the COM1 port and then send the data back to the main VI
    for processing, plotting and writing.
    My problem is that when I connect the output from the GetNextRecord method to a
    indicator that I then wire on the connector pane to be an output from this
    VI  get an error that there is a wire function conflict. I have tried to
    explain a bit better in the attached pdf file with diagrams.
    The reason why I want to export the data back in the main VI is because it runs
    continuously collecting data every 2 min and I plot them on a graph and write
    them to a file so it will no work to have all that done in the event callback
    VI that will only run ever 2 min, then it will reset the graph the whole time
    and I want continuous data plotting for 10 days of historic data records. I
    also have a few other sensors that come in through a connector board that are
    written o the same file.
    hope somebody can give me some hints 
    Attachments:
    labview question.pdf ‏721 KB

    Hello!
    I checked the PDF file with snippets of your code and it looks alright, no issues or comments regarding that from my side. However it is really difficult for us to troubleshoot when we don’t have the ActiveX control available and even though we had access to the control it would still be quite tricky to find the cause of the problems you are experiencing since we don’t have the hardware and so on.
    I found one link only that mentioned wire conflicts when talking about COM objects and ActiveX and you can find it here:
    http://digital.ni.com/public.nsf/websearch/0CED780​C5D5EDCD5862569D9005AE1FA?OpenDocument
    Regards,
    Jimmie A.
    Applications Engineer, National Instruments
    Regards,
    Jimmie Adolph
    Systems Engineer Manager, National Instruments Northern Region
    Bring Me The Horizon - Sempiternal

  • Nonlinear Curve Fit and using static data

    I am trying to fit data to a 2D function using the Nonlinear Curve Fit VI in Labview 8.2.1, but I would like to also include 2 parameters that I don't want to be optimized.  I cannot directly use constants since every time I run the fitting I need to change the 2 parameter values.  I tried to modify the example by Altenbach according to my own application in the link below. 
    http://forums.ni.com/ni/board/message?board.id=170&message.id=230831
    I think the problem is that I don't completely understand how to use the static VI reference with the Nonlinear Curve Fit VI?  It looks like there is a static data control that I could use to add additional parameters, but I am not sure?  I can get Altenbach's code to work if I change the function to something different, and even if I change the number of inital fitted parameters.  I just can't figure out how I can add parameters using a control that will not be optimized.  I can attach an example, but it is very similar to Altenbach's code except the function is different, and I am trying to add additional parameters that are not optimized.  Thanks for any help.
    Kevin Baker 

    Thanks Trey.  I am sorry I didn't make it clear what I was talking about before.  I am attaching an example that will hopefully clarify what I would like to do.  When I try to pass the static reference to the Nonlinear Fit VI it says gives me a broken wire and says "function conflict".  I am assuming the problem is that I inserted another control to the VI when I wasn't supposed to.  I just don't know of any other way to pass data into the VI, and still have the Nonlinear Fit VI still work?  What is the "data" control in the Nonlinear Fit VI used for anyway?  It seems that that it was want I need, but I don't know how to use it?  Thanks again for any help.
    Attachments:
    Fit equation.vi ‏15 KB
    general lorentzian.vi ‏26 KB

  • Type conflict when calling a function module (field length)

    Dear All,
                I am getting this following error while executing:  Type conflict when calling a function module (field length)
    This is piece of coding i have writern in my action button.
    method SEARCH_MATERIAL .
      data:
            node_mat_input TYPE REF TO  if_wd_context_node,
            node_mat_output TYPE REF TO if_wd_context_node,
            material TYPE BAPIMATDET-MATERIAL,
            itab TYPE TABLE OF BAPIMATDOA.
      node_mat_input = wd_context->get_child_node( 'NODE_MAT_INPUT' ).
      node_mat_output = wd_context->get_child_node( 'NODE_MAT_OUTPUT' ).
      node_mat_input->get_attribute( EXPORTING name = 'MATERIAL'
                                     IMPORTING value = material ).
      CALL FUNCTION 'BAPI_MATERIAL_GET_DETAIL'
        EXPORTING
          material                    = material
        PLANT                       = plant
        VALUATIONAREA               =
        VALUATIONTYPE               =
        MATERIAL_EVG                =
       IMPORTING
         MATERIAL_GENERAL_DATA       = itab
        RETURN                      =
        MATERIALPLANTDATA           =
        MATERIALVALUATIONDATA       =
      node_mat_output->bind_table( itab ).
    endmethod.
    Attributes are:
    Node name = INPUT its structure is BAPIMATDET
    INPUT attributes = MATERIAL of type BAPIMATDET-MATERIAL
    Thanks,
    Gopi.

    Hi Amit,
               I have used service call to fetch records from that bapi..
    The following is the code generated by service call:-
    METHOD execute_bapi_material_get_deta .
    declarations for context navigation
      DATA:
        node_bapi_material_get_de   TYPE REF TO if_wd_context_node,
         node_exporting   TYPE REF TO if_wd_context_node,
         node_material_general_dat   TYPE REF TO if_wd_context_node,
         node_importing   TYPE REF TO if_wd_context_node,
          lri_element    TYPE REF TO if_wd_context_element.
    declarations for fuba parameters
      data:
        stru_c_material_general_dat    TYPE if_componentcontroller=>element_material_general_dat.
      DATA:
        attr_material    TYPE bapimatdet-material,
        attr_plant    TYPE bapimatall-plant.
    get all involved child nodes
      node_bapi_material_get_de = wd_context->get_child_node( `BAPI_MATERIAL_GET_DE` ).
      node_exporting = node_bapi_material_get_de->get_child_node( `EXPORTING` ).
      node_material_general_dat = node_exporting->get_child_node( `MATERIAL_GENERAL_DAT` ).
      node_importing = node_bapi_material_get_de->get_child_node( `IMPORTING` ).
    get input from context
      node_importing->get_attribute(    EXPORTING      name = `MATERIAL`
                                                         IMPORTING      value = attr_material ).
      node_importing->get_attribute(  EXPORTING       name = `PLANT`
                                                              IMPORTING       value = attr_plant ).
    the invocation - errors are always fatal !!!
      CALL FUNCTION 'BAPI_MATERIAL_GET_DETAIL'
        EXPORTING
          material =                        attr_material
          plant =                           attr_plant
    "      valuationarea =                   wd_This->Valuationarea
    "      valuationtype =                   wd_This->Valuationtype
    "      material_Evg =                    wd_This->Material_Evg
        IMPORTING
          material_general_data =           stru_c_material_general_dat
    "      return =                          wd_This->Return
    "      materialplantdata =               wd_This->Materialplantdata
    "      materialvaluationdata =           wd_This->Materialvaluationdat
      node_material_general_dat->bind_structure( stru_c_material_general_dat[] ).
    ENDMETHOD.
                                 but the problem is I  am getting the following error while compiling...
    " stru_c_materialplantdata " is not an internal table - the " OCCOURS n"  specification is missing.
    Thanks,
    Gopi.
    Edited by: Yegalaivan on Nov 18, 2009 8:30 AM

  • ERROR: -Type conflict when calling a function module

    hi to all,
    when iam executing the program in browser   Type conflict when calling a function module  error is showing, i have bind all the attribute correctly still iam getting error, WHEN I  CLICK ON THE SEARCH BUTTON DATA IS NOT COMING  TO MY TABLE ITAB1 plz help me....
      DATA:
          NODE_IP_SELECTION                   TYPE REF TO IF_WD_CONTEXT_NODE,
          ELEM_IP_SELECTION                   TYPE REF TO IF_WD_CONTEXT_ELEMENT,
          STRU_IP_SELECTION                   TYPE IF_PLANNING_HISTORY=>ELEMENT_IP_SELECTION ,
          ITAB TYPE TABLE OF ZSL_PL_UPDATE1,
          WA TYPE ZSL_PL_UPDATE1.
      navigate from <CONTEXT> to <IP_SELECTION> via lead selection
        NODE_IP_SELECTION = WD_CONTEXT->GET_CHILD_NODE( NAME = `IP_SELECTION` ).
      get element via lead selection
        ELEM_IP_SELECTION = NODE_IP_SELECTION->GET_ELEMENT(  ).
      get all declared attributes
        ELEM_IP_SELECTION->GET_STATIC_ATTRIBUTES(
          IMPORTING
            STATIC_ATTRIBUTES = STRU_IP_SELECTION ).
    CALL FUNCTION 'ZBAPI_PL_UPDATE'
            EXPORTING
              GV_LIFNR           =  STRU_IP_SELECTION-LIFNR
              GV_MATNR           = STRU_IP_SELECTION-LIFNR
              GV_GJAHR           = ' '
            GV_WEEK_LOW        =   STRU_IP_SELECTION-FROM_WEEK
             GV_WEEK_HIGH       =  STRU_IP_SELECTION-TO_WEEK
          IMPORTING
            RETURN             =
            TABLES
              GT_PL_UPDATE       = ITAB
             DATA:
               NODE_PLANN_NODE                     TYPE REF TO IF_WD_CONTEXT_NODE,
               ELEM_PLANN_NODE                     TYPE REF TO IF_WD_CONTEXT_ELEMENT,
               STRU_PLANN_NODE                     TYPE IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE,
               WA1 TYPE IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE,
               ITAB1 TYPE TABLE OF IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE.
              LOOP AT ITAB INTO WA.
               MOVE-CORRESPONDING WA TO WA1.
               APPEND WA1 TO ITAB1.
              ENDLOOP.
           navigate from <CONTEXT> to <PLANN_NODE> via lead selection
             NODE_PLANN_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = `PLANN_NODE` ).
             CALL METHOD NODE_PLANN_NODE->BIND_TABLE
               EXPORTING
                 NEW_ITEMS            = ITAB1
                SET_INITIAL_ELEMENTS = ABAP_TRUE
                INDEX                =
    ENDMETHOD.

    CALL FUNCTION 'ZBAPI_PL_UPDATE'
    EXPORTING
    GV_LIFNR = STRU_IP_SELECTION-LIFNR
    GV_MATNR = STRU_IP_SELECTION-LIFNR
    GV_GJAHR = ' '
    GV_WEEK_LOW = STRU_IP_SELECTION-FROM_WEEK
    GV_WEEK_HIGH = STRU_IP_SELECTION-TO_WEEK
    IMPORTING
    RETURN =
    TABLES
    GT_PL_UPDATE = ITAB
    Problem is here
    check out the type GV_GJAHR whether it accepts string type.
    thanks
    sarbjeet singh

  • Error:Type conflict when calling a function module RFC_ERROR_SYSTEM_Failure

    Hi Experts,
    When I run my Application in Portal, i am getting the following error.
    Type conflict when calling a function module., error key: RFC_ERROR_SYSTEM_FAILURE
    When I execute the BAPI, it is getting executed.
    My Bapi Strucute:
    Import Parameters
    IM_MAT_Search --> ZPTIP_MAT --> Import Parameters
    Tables
    IT_INFO_REC --> ZMM_GET_ITEM --> Output Parameters
    When I import the model, i am getting the structure like this
    BAPI_Name > ZMM_BAPI_Input> IM_MAT_Search(respective Parameters) , Output (respective Tables and their parameters)
                        > ZMM_Input1> Parameters
    This is the way, how i am executing in webdynpro java
    Zmm_Bapi_Ptip_Search_Input eleInput = new Zmm_Bapi_Ptip_Search_Input();
    wdContext.nodeZmm_Bapi_Ptip_Search_Input().bind(eleInput);
    Zptip_Asset eleInputAsset = new Zptip_Asset();
    eleInputAsset.setSearch("ACRS");
    wdContext.nodeZptip_Asset().bind(eleInputAsset);
    eleInput.setIm_Ast_Search(eleInputAsset);
    wdContext.nodeZmm_Bapi_Ptip_Search_Input().bind(eleInput);
    wdContext.nodeZmm_Bapi_Ptip_Search_Input().currentZmm_Bapi_Ptip_Search_InputElement().modelObject().execute();
    wdContext.nodeOutput().invalidate();
    Please let me know, how to do the same.
    Thanks in advance.
    Regards,
    Palani

    Hi David,
    I checked for the Parameter of setIm_Ast_Search, it is of Zptip_Asset.
    Hi Saleem,
    When I changed the same, i am getting the Type conflict error,
    Type conflict when calling a function module., error key: RFC_ERROR_SYSTEM_FAILURE
    Please let me know,what can be done in this regard to solve the problem.
    My BAPI Structure when imported as model
    SearchBAPI
    --> ZMM_BAPI_SEARCH_INPUT
    > IM_AST_SEARCH(zPTIP_ASSET)
    >Zptip_Asset
    >Search (Parameter)
    > OutPut(ZMM_BAPI_Search_Output)
    >IT_Asser_Rec(ZMM_Asset)
    >ZMM_Asset
    >TXT100 (output Parameter)
    --> ZMM_BAPI_SEARACH_OUTPUT
    --> ZPTIP_ASSET
    >Search (Parameter)
    Thanks & Regards,
    Palani
    Edited by: Palani Appan on Nov 11, 2009 5:31 PM

Maybe you are looking for

  • My cursor is not working on the top of every page i opens with firefox .reply soon

    I am not able to click on top portion of every web page.I have been facing this problem since yesterday. first thought came to me was that it might be hardware problem but it is not since other browsers are working quite well.

  • Wireless printing no longer working after installing HP 2.7 update

    I have been using wireless printing from my Macbook Pro (running Lion OSx 10.7.2) fine until yesterday when it just stopped working out of nowhere. From looking on the forums it appears that this is probably a result of the HP 2.7 update (which I als

  • Is there any way I could undo the restore or get my pictures back?

    I backed up my old iPhone to my computer so I could get my old pictures and when I restored my new iPhone all of the pictures I had taken on my new phone were gone. Is there any way I could undo the restore or get my pictures back?

  • ECL Viewer - Open Local File

    If I open a tiff image using cv03n and display it in the ECL Viewer. Then I save as a local file. Is there a way to re-open the local file using "open local file" - that option is greyed out. Is this controlled by an authorization object or something

  • Missing table creation options in OEM10g

    (1) Log in to OEM10G dbsonsole as system. (2) Navigate to Administration then Tables. (3) Click create to create a new table. The OEM10G docs say there are four choices: Standard IOT Clustered External But only standard and IOT are listed. Is OEM10g