First call function problem

hello there,
i am using labview's first call function inside a for loop, inside a sequence structure. inside the for loop the function works fine activating a true/false structure, however, when i attempt to do the same thing outside the for loop i get a broken arrow. It says that the the tunnel of the case structure, to which i have wired the first call function, is missing an assignment to it. Cant understand why it is fine in one part and not in the other. Perhaps somebody has encountered this before? I have atttached the relevant code
Thank you
Dave
Attachments:
forum.vi ‏467 KB

Stranger, I think if you will look closely at the case statement you will see that you have inadvertently added an output tunnel. Either delete the case and redo it or just click on the input tunnel and move it down enough to see and delete the unwired output tunnel.
goldie

Similar Messages

  • Call function problem

    Hello
    I'm calling a remote function:
    CALL FUNCTION 'Z_RFC_TEST' DESTINATION i_rfc-host
    At first it worked. But now I always get the error: "FUNCTION MODULE Z_RFC_TEST not found.
    Any idea what this could be?
    Greets.

    Hi,
      You have to check out two main things as follows:
      1. Check whether the function module exists in the remote system or not. If it exists just go the properties and check whether the remote enabled option have selected or not.If the function module is not exist just create it as a remote enabled function module. Also there might be some problem with the function group where the function module is resided. So just activate the function group.
      2. Just check out the RFC destination name. I think you are passing the RFC destination name to the variable as i_rfc-host.
    Just make sure the destination name.
    Regards,
    Sankar.

  • Calling function problem

    Hi,
    I have created a class file in actionscript2.0
    class test
    public function test ()
    trace("This is constructor")
    public function fun_1 ()
    trace("This is first function")
    fun_2()
    public function fun_2 ()
    trace("This is second function")
    And this is the actionscript in fla
    var myObj = new test()
    myObj.fun_1()
    My problem is i am calling fun_2() in fun_1() but it is not
    executing can, any one help me out from this problem.
    Thanks,
    Sridhar B

    As far as I know, that structure worked in at least 8.0 and possibly earlier. I actually saw something similar in production code on that version of Oracle. The actual function took several parameters, and using those paramters did a series of statements along the lines of:
    BEGIN
       SELECT 1 INTO l_var
       FROM table1
       WHERE <predicates>
    EXCEPTION
       WHEN NO_DATA_FOUND THEN
          RAISE APPLICATION_ERROR (-20001, 'Error');
       WHEN TOO_MANY_ROWS THEN
          RAISE APPLICATION_ERROR (-20002, 'Error');
    END;
    BEGIN
       SELECT 1 INTO l_var
       FROM table2
       WHERE <predicates>
    EXCEPTION
       WHEN NO_DATA_FOUND THEN
          RAISE APPLICATION_ERROR (-20003, 'Error');
       WHEN TOO_MANY_ROWS THEN
          RAISE APPLICATION_ERROR (-20004, 'Error');
    END;
    -- About 4 or 5 more tables checked
    RETURN 1;and the caller looked kind of like:
    DECLARE
       NO_ROWS_TABLE1 EXCEPTION;
       DUP_ROWS_TABLE1 EXCEPTION;
       NO_ROWS_TABLE2 EXCEPTION;
       DUP_ROWS_TABLE2 EXCEPTION;
       PRAGMA EXCEPTION_INIT (NO_ROWS_TABLE1, -20001);
       PRAGMA EXCEPTION_INIT (DUP_ROWS_TABLE1, -20002);
       PRAGMA EXCEPTION_INIT (NO_ROWS_TABLE2, -20003);
       PRAGMA EXCEPTION_INIT (DUP_ROWS_TABLE2, -20004);
       l_v NUMBER;
    BEGIN
       BEGIN
          l_v := test_tables(<parameters>);
       EXCEPTION
          WHEN NO_ROWS_TABLE1 THEN
             <do something about it>
          WHEN DUP_ROWS_TABLE1 THEN
             <do something about it>
          WHEN NO_ROWS_TABLE2 THEN
             <do something about it>
          WHEN DUP_ROWS_TABLE2 THEN
             <do something about it>
       END;
       <Continue normal processing>
    END;and, yes, <Continue normal processing> occasionally failed for mysterious reasons when more than one of the checks would have failed had the function got to them, and l_v was never ever used.
    This was one of the clevererbits of code in that app.
    John

  • First call is always true

    I want to set the value of a numeric slider every time a sertain mode is set. I would suspect the "first call' would be the obvius solution. But for some reson it is always
    'true"
    Is there a nother good way of solving this problem, or am I doing somthing wrong?
    /REO
    Attachments:
    Rhino interface.vi ‏290 KB

    Hai,
    The first call function will always return TRUE in your case the reason is as follows:  When a VI runs for the first time this fuction returns TRUE and this VI should remain in memory (in execution mode) so that when it is called the next time it will give FALSE.  But the vi does not stay in memory i.e. when you press run button it executes and unloads from memory when execution completes.
    One Workaround is keep the VI in memory or put a while loop with unintialized shift register and should run only once! Look at the VI that i have attached.
    Hope this helps.
    With regards,
    JK
    (Certified LabVIEW Developer)
    Give Kudos for Good Answers, and Mark it a solution if your problem is solved.
    Attachments:
    Rhino interface1.vi ‏129 KB

  • Make a subVI do something on first call

    Hello,
    I have a SubVI I made and I want it to do one thing the first time it's called and then as long as the program is running it should do another thing.  Right now I have a  "First Call" function wired to it, and that passes it a tru the first time my SubVI is ecounterd and a flase every other time... this works... but I was wondering if there is a way to do this from within the subVI itself?
    Thanks!
    Solved!
    Go to Solution.

    Why don't you place the "first call?" primitive inside the subVI?
    LabVIEW Champion . Do more with less code and in less time .

  • Has anyone had a problem with TapMedia File Manage on iPhone 5. I reported a WIFI functionality problem to the developer and asked for support. Instead they have been very unprofessional by name calling me instead of logically evaluate and troubleshoot th

    Has anyone had a problem with TapMedia File Manage installed on iPhone 5? I reported a WIFI functionality problem to the developer and asked for support. Instead the company has been very unprofessional by name calling me instead of logically evaluate and troubleshoot the problem

    Hi AKE1919,
    Welcome to the Support Communities!
    The following information should help you with this:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/HT1933?viewlocale=en_US
    Cheers,
    Judy

  • When receiving an call waiting can't push the hold and answer button.Because: it will put on hold the first caller, answer to the second, but you can't hear the second until you end the first call !!! Anyone has the same problem ? Did anyone know why ?

    When receiving an call waiting can't push the hold and answer button.Because: it will put on hold the first caller, answer to the second, but you can't hear the second until you end the first call !!! Anyone has the same problem ? Did anyone know why ?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Problem with call function close_form

    Hello ,
    I have a problem with function module close_form.I dont know if I am doing something wrong but please help me.
    the issue is
    declarations:
    data: gt_itcpp type table of itcpp,
             gt_otfdat type table of itcoo.
    CALL FUNCTION 'CLOSE_FORM
    EXPORTING
       RESULT  = gt_itcpp
    TABLES
       otfdata = gt_otfdat
    EXCEPTIONS
       OTHERS  = 1.
    DUMP: FUNCTION PARAMETER RESULT IS UNKNOWN.
    THANKS

    My point was that there are actually two problems with the original code: the one that you pointed out and the one that abapuser pointed out.
    Although both were very helpful individually, I don't think either one actually solved the problem.
    It would be misleading to anyone searching the forum looking for posts that solved a problem similar to theirs and only implemented half the solution.
    In fact abapuser's answer is the one that answers the question that was actually asked.
    Rob

  • Hey my iphone 4 has a problem regarding carrier. Its always showing searching mode and wifi-address N/A and Bluetooth address 00:00:00:00:00 and call function is disable

    hey my iphone 4 has a problem regarding carrier. Its always showing searching mode and wifi-address N/A and Bluetooth address 00:00:00:00:00 and call function is disable. Please help me. I have tried every thing ..like restore from DFU mode with out sucess.

    Refer to  Note 98458 - SAPMSSY1, CALL_FUNCTION_NOT_FOUND

  • Call function with select options problem

    Hi there dear SDN community members.
    I have got an strange ABAP problem wich function call.
    Code1
    CLEAR ls_selec .
    ls_selec-iobjnm = '9AMATNR' .
    ls_selec-sign   = 'I' .                                    
    ls_selec-option = 'EQ' .
    ls_selec-low    = '0000000000000000000000000000000000017714' .
    APPEND ls_selec TO lt_selec .
    CLEAR ls_selec .
    ls_selec-iobjnm = '9AMATNR' .
    ls_selec-sign   = 'I' .
    ls_selec-option = 'EQ' .
    ls_selec-low    = '0000000000000000000000000000000010079409' .
    APPEND ls_selec TO lt_selec .
    CALL FUNCTION '/SAPAPO/TS_PLOB_LIST_GET'
      EXPORTING
        iv_bas_plobid  = 'Z_DP_POS'
        it_selection   = lt_selec
        it_group_by    = lt_group
      IMPORTING
        et_plob_values = lt_plobs .
    Function returns data in lt_plobs itab only for the last product which was appended to the selection table lt_selec.
    Whilst
    Code2
    CLEAR ls_selec .
    ls_selec-iobjnm = '9AMATNR' .
    ls_selec-sign   = 'I' .
    ls_selec-option = 'BT' .
    ls_selec-low    = '0000000000000000000000000000000000017714' .
    ls_selec-high   = '0000000000000000000000000000000010079409' .
    APPEND ls_selec TO lt_selec .
    Returns data in lt_plobs for all products included in selection tab lt_selec.
    What am I doing wrong in case of Code1? Why function does not return data for both products included in selection tab lt_selec?
    Will be thankful for help. Regards. P.

    I am very sorry to take your time unnecessarily.
    The problem was caused by data inconsistency in our sandbox system I was developing in.
    Be understanding, please.
    Kind regards. P.
    Ps. 
    Vinod Nair
    The 'Loop' solution has slowed the performance down very much.

  • Facing problem in call function starting new task taskname

    Hi all,
    when i call a function module using starting new task, it is failing with sy-subrc 3. can anyone guide me in this.
    see the code :
      DATA   lv_taskname(7) TYPE c VALUE 'PEM_EXE'.
        CALL FUNCTION 'PEM_SCHEDULE'  STARTING NEW TASK lv_taskname
             EXPORTING
                  iv_packid             = gv_packid
                  iv_pebid              = ls_alv_out-peb_id
             EXCEPTIONS
                  invalid_state_request = 1
                  database_error        = 2
                  OTHERS                = 3.
    Thanks in advance.
    Best Regards,
    Prashant

    when i change the function module from normal to remote, it gives me a error that the "generic types are not allowed in RFC", but i have not given any generic type in the parameters.
    see the signature of the function module.
    *"  IMPORTING
    *"     VALUE(IV_PACKID) TYPE  CNVMBTPACK-PACKID
    *"     VALUE(IV_PEBID) TYPE  CNVMBTPEB-PEB_ID
    *"  EXPORTING
    *"     VALUE(EV_ERROR_DETECTED) TYPE  C
    *"     VALUE(EV_STOP) TYPE  C
    *"  EXCEPTIONS
    *"      INVALID_STATE_REQUEST
    *"      DATABASE_ERROR
    *"      FORIEGN_LOCK
    Can u please check it and find out the problem
    Thanks,
    Prasanth

  • [svn] 4741: Fix to RTE problem when calling captureEndValues() without having first called captureStartValues().

    Revision: 4741
    Author: [email protected]
    Date: 2009-01-29 13:43:53 -0800 (Thu, 29 Jan 2009)
    Log Message:
    Fix to RTE problem when calling captureEndValues() without having first called captureStartValues(). outcome of a patch submission, although this fix is different than the one suggested in the patch.
    QE Notes: None
    Doc Notes: None
    Bugs: patch sdk-17060, bug sdk-16452
    Reviewer: Jason
    tests: checkintests, Mustella: tests/Effects tests/ListDataEffects
    Ticket Links:
    http://bugs.adobe.com/jira/browse/sdk-17060
    http://bugs.adobe.com/jira/browse/sdk-16452
    Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/effects/Effect.as

    Look for the "contact us" on the verizon pages.  http://www22.verizon.com/content/contactus/
    Almost all of the forums here are peer to peer.  Some verizon admins will occasionaly step in and try to get you help.  These admins are usually not able to solve problems for you themselves, but can sometimes give advise or get you in contact with someone who can.

  • Lync 2013 : two problems 1) quicked off from meeting when presenter change 2) Freeze when leaving first call of day

    Hello,
    I have two problems with Microsoft Lync 2013 (see level in screenshot). The first one appeared after May Windows updates and is so annoying that I decided myself to open a post in this forum, with the second one. The first problem is the most important for
    me (see why when reading) and the second one is the cherry on the cake if solved, but is minor.
    1) I'm kicked off from meetings when presenters change
    In an online meeting, when presenters change, I'm kick off since last May updates (very clear since it didn't happen before). I'm unable to specify if it occurs when I'm presenter or just attendee, but that could influence. I will try to report if/when I
    notice a difference.
    THIS IS REALLY IMPORTANT, Please help me solve this !
    2) Lync freezes for approx. 30' to 1min. when leaving first call of day
    I reboot my PC every day. I always notice that after leaving voice call from my first meeting of the day, Lync freezes (doesn't respond message) for 30' to 1min. This is when I leave audio, not meeting window. This never occurs again in the course of the
    day. Windows goes into hourglass, then it works again.
    Does anyone know about this ? Any action to help diagnose or solve this ?
    Again this is less important than first problem
    Thanks for help
    -Pierre

    The steps to remove the update:
    Open Control Panel, click Programs, and then, under Programs and Features, clicking View installed updates.
    Click the update that you want to remove, and then click Uninstall.
    For Lync 2013 May 2014 update, it is KB2880980.
    You can check the following website about the drivers:
    http://www.driverscape.com/download/plantronics-c320-m
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
    sure that you completely understand the risk before retrieving any suggestions from the above link.
    Lisa Zheng
    TechNet Community Support

  • Problem with sender name CALL FUNCTION 'SO_DOCUMENT_SEND_API1'

    Hi All ,
    I am using below function module to send a mail to external email Id's  , Everything is working perfectly  .
    But  in the sender address I have passed text as 'infomation '  , In email which i am recieving sender address is like text and '@xyz.com' .
    Any idea from where this @xyz.com is picking  ? .
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = gd_doc_data
                put_in_outbox              = 'X'
                sender_address             =  'Information'
                sender_address_type        = 'INT'
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = gd_sent_all
           TABLES
                packing_list               = it_packing_list
                contents_bin               = it_attachment
                contents_txt               = it_message
                receivers                  = it_receivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.

    Hi All ,
    I am using below function module to send a mail to external email Id's  , Everything is working perfectly  .
    But  in the sender address I have passed text as 'infomation '  , In email which i am recieving sender address is like text and '@xyz.com' .
    Any idea from where this @xyz.com is picking  ? .
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = gd_doc_data
                put_in_outbox              = 'X'
                sender_address             =  'Information'
                sender_address_type        = 'INT'
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = gd_sent_all
           TABLES
                packing_list               = it_packing_list
                contents_bin               = it_attachment
                contents_txt               = it_message
                receivers                  = it_receivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.

  • Problem in  CALL FUNCTION 'GET_JOB_RUNTIME_INFO'

    While working in PDF attachment I am using
    Function 'GET_JOB_RUNTIME_INFO' as bellow
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
        IMPORTING
          eventid                 = gd_eventid
          eventparm               = gd_eventparm
          external_program_active = gd_external_program_active
          jobcount                = gd_jobcount
          jobname                 = gd_jobname
          stepcount               = gd_stepcount
        EXCEPTIONS
          no_runtime_info         = 1
          OTHERS                  = 2.
    But I am getting gd_jobname, gd_jobcount,gd_stepcount blanck
    So please help...

    Try this.....
    PARAMETERS: V_EVTID     LIKE TBTCM-EVENTID,
                V_EVTPRM    LIKE TBTCM-EVENTPARM,
                V_JOBNAM    LIKE TBTCM-JOBNAME.
    CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
    IMPORTING
    EVENTID         = V_EVTID
    EVENTPARM       = V_EVTPRM
    JOBNAME         = V_JOBNAM
    EXCEPTIONS
    NO_RUNTIME_INFO = 1
    OTHERS          = 2.
    IF SY-SUBRC NE 0.
          WRITE:/'ERROR IN FUNCTION'.
    ELSE.
          WRITE:/ 'JOB', V_JOBNAM, 'STARTED WITH EVENT', V_EVTID, 'AND PARAMETER', V_EVTPRM.
    ENDIF.
    Regards
    Ajit

Maybe you are looking for

  • IPod Touch not recognised by Windows 8 or iTunes whilst in Recovery mode.

    Hello! I recently updated my iTunes account and during the update on syncing my iPod touch (5th gen) my iPod put itself in to recovery mode and now both iTunes and my computer (in Windows 8) wont recognise my iPod. I've followed the steps here> https

  • Nokia Charging Stand NFC does not work on 920

    I just received my Nokia Charging Stand DT-910 to go with my ATT Nokia 920. 1) I ordered the black stand.  The stand and proprietary cord are black, but that huge AC charger is actually white.  I can't believe that they didn't match the color on such

  • Ldap security provider leads in 401 errors in WL 12.1.3

    I'm facing a migration from 10.3.2 to 12.1.3. The configuration is almost the same (I'll bet that config.xml is more or lest the same from previos version). In my environment, the user's authentication and authorization is made using an external (not

  • Buttons are missing

    I'm running iPhoto 4.0.3 on a Powerbook G4 with Mac OS 10.3.9. I recently had to reinstall the operating system, and when I did, I lost both my Adjust buttons and the ability to reduce red eye in iPhoto. What happened? Did the updates the gave me the

  • Ipod shuffle won't stay connected in itunes

    I have an old ipod shuffle, the kind that's white and looks like a flash drive.  I just got a new Windows 7 laptop, and installed itunes on it.  I spent a few hours transferring all of my music over to itunes on the new laptop.  Then, when I plugged