Error in the call of a DLL function

Hello,
I'm trying to control a Switch Matrix of Agilent (HP5250A) with LabView 6.1. The connections are realized with GPIB. In fact, I have some problems with the DLL called "hpe5250a_32.dll". If I try to start my VI, this error occurs:
"An exception occurred within the external code called by a Call Library Node. This may have corrupted LabVIEW's memory. You should save any work to a new location and restart LabVIEW. VI "hpe5250a Open List - modified.vi" was stopped at Call Library Function Node 0x844 of subVI "hpe5250a Open List - modified.vi" "
Must I install the DLL in a special location as C:\VXIpnp\WinNT\Bin? I have nothing about HP5250 instrument
here... and it is maybe the problem.
Thank you very much for your help.

Le problème a été résolu par mail directement.
Il était dû au fait que l'utilisateur n'avait pas l'habitude des "instrument handle" dans labview et voulait utiliser certaines fonctions directement sans passer par les étapes de configurations.
Cordialement
David D.
Ingénieur d'Applications
NI France

Similar Messages

  • Question on the parameter type of DLL functions

    Question on the parameter type of DLL functions
    I am trying to develop an interface to control a laser with LV8.2  I am planing to use the VI “Call Library Function Node” to call the DLL and set the exact same parameters of functions in the DLL.
    According to the DLL manual of the laser, there are six functions.  One of the prototypes is:  function getstatuspointer : pointer. I don't know how to set this parameter for the function. Is there anyone who can give some hints? Thanks!
    BTW :The following is a description of the function:
    This function returns a 32 bit pointer to the STATUS data structure (Tstatusrec). In the 32 bit DLL, every application is using its own copy of the data structure (local
    memory). The data structure is a packed structure. "packed" means that the fields in the structure are not aligned on word or double-word boundaries.
    Tstatusrec = packed record
                            size : word;
                            initstat : byte;
                            queuefill : byte;
                            anzapp16 : word; (not used)
                            anzapp32 : word;
                            anzdock16 : word; (not used)
                            anzdock32 : word;
                            dll16ver : tchararray; (not used)
                            dll32ver : tchararray;
                            excimerver : tchararray;
                            excimer : TExcimerStatus;
                      end;

    Hi Jack,
    This is a good starting point when using Call Library Function node. Check out this Help Page
    Van L
    NI Applications Engineer

  • Error getting the server-side naming service functionality

    Hi all,
    we are currently setting up the CTS+ activity based transport scenario. Everything seems to be working fine, however, we have to import each transport twice...
    Before I go into detail in the error we get I will first describe our landscape. All the configuration we did was done in debate with SAP.
    We use the SAP Solution manager (ehp1 SP 4) as the CTS+ server as recommended by SAP and have an NWDI system of which we only use the components DTR and CBS (since CMS is not used anymore in the activity based transport). We have defined three logical ports/RFCs. CTSCONFIG points to the NWDI system. CTSDEPLOY is running on the java stack of the solution manager and is only used for portal content (=epa) transports. CTSDEPLOY_DI is pointing to the NWDI system and is used for all NWDI (=dip) changes. The NWDI is running ehp1 SP3.
    In STMS I defined all the non-abap systems (and configured them to use CTSDEPLOY_DI) and created the following transport route:
    upload system (IMP) -> DEV -> ACC -> QAS -> PRD
    I first attached the used dependencies in a transport request (SAP_BUILDT, EP_BUILDT, etc) these imported just fine. Then I did the SCA files which contain our custom code. I extracted these from the assemble step on our current NWDI system which will be removed as soon as we switch to the new CTS+ environment.
    When we import the transport into the runtime systems then we see the DTR and CBS be filled sucesfully for this specific system. However, the transport request itself always fails with errorcode 12 and the error is:
    Error during export service registration: Error getting the server-side naming service functionality during getInitialContext opera
    tion. com.sap.engine.services.jndi.persistent.exceptions.NamingException: Error getting the server-side naming service functionality during getInitialContext operation.
    Error in execution of Web services CTSDEPLOY_DI , exception is cx_cts_file_import_failed
    File import canceled
    When we then reimport the same transport it will go the second time fine. This is no problem during the setup but will not be workable when we go live ofcourse. Is there anyone who had this issue before as well and have a solution for it?
    Kind Regards,
    Nico van der Linden...

    Hello Nico,
    I would need the java trace files to get more info on this issue, but you can start troubleshooting this error with these notes:
    #1172252: CTS+, 'attach file': Troubleshooting Guide;
    #1003674: Enhancement for non-ABAP systems in CTS;
    #1155884: CTS+, configuration 'close coupling': Troubleshooting guide;
    Pay special attention to parameter  NON_ABAP_WBO_CLIENT, whether it's correctly set on your CTS+ system(s).
    Note #1003674 is a must for any CTS+ systems to work properly, as well as having an updated version of the transport programs (tp and R3trans).
    Lastly, note #1155884 goes through some JCoException exceptions that commonly take place during CTS+ transports. But again, you need to check the underlying trace files to find the root cause of your issue.
    I hope this information helps.
    Best regards,
    Tomas Black

  • CLIENT_CREATE_FAILED error in the Call Adapter pipeline

    Hi, all.
      i think i've almost done the configuration of XI 3.0(CI + 2 DIs).
      SXI_CACHE, SLDCHECK, import of IR, ID objects ...etc. are O.K.
      But when i really run some scenarios of,
      File Adapter --> XI --> ABAP Proxy or
      ABAP Proxy --> XI --> Java Proxy, messages always got error in the "Call Adapter" pipeline of IS with the following message.
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">CLIENT_CREATE_FAILED</SAP:Code>
      <SAP:P1>1</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Cannot register HTTP Client(Exception 1)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
      Any advice appreciated.
      Best Regards.

    Thanks, guys. Let me update my situation.
    i checked and rechecked dest:// ABAP Proxy : Error in Call Adapter step!
    For the error message of #3, i already attached message in my previous email.
    And following is the error message of #2. Please HELP!!!
    - Help
    !http://BSDEA03.darwin.denka.co.jp:50000/sap/public/icman/img/theme.jpg|alt=SAP|width=122 height=61 border=0 |src=http://BSDEA03.darwin.denka.co.jp:50000/sap/public/icman/img/theme.jpg!
    500 Internal Server Error
    Internal Server Error(-1)
    Error:
    -1
    Version:
    6040
    Component:
    ICM
    Date/Time:
    Tue Jul 26 15:40:19 2005
    Module:
    icxxthrio.c
    Line:
    538
    Server:
    BSDEA03_PDX_00
    Detail:
    internal error occured
    © 2001-2003, SAP AG
    </FONT></td></tr></table></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when receiving by HTTP (error code: 405, error text: ICM_HTTP_INTERNAL_ERROR)</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
    Any advice appreciated.
    Best Regards.

  • LabVIEW call Win32 API DLL function from third party

    Hi everyone,
    I'm trying to build a LabVIEW 2010 interface on 32-bit Window XP system to configurate and communicate to an Anglient laser head through its USB expansion box. I contacted the vendor and they shared a win32 API with some dll files. I started with a function called "A55292Find", but the CLF node always pop up error 1097.I checked the MSDN to get the corresponding LabVIEW data type for CLF.
    My question is: Do I need to initialize those arguments? (How can I know the values of them if initialization is needed?)
    Could anyone help me figure out what's the problem?
    Here is what I have from API documents about this function:
    The A55292Find function returns lists of handles and board types for all the 55292 USB
    Expansion Modules connected to the system.
    A55292RC __cdecl A55292Find(
    HANDLE hBoxes[], // List of handles for the boxes found. (as Unsigned 32-bit integer numeric)
    BOARDTYPE PortABrdType[], // List of board types for slot A boards (as Unsigned 16-bit integer numeric)
    BOARDTYPE PortBBrdType[], // List of board types for slot B boards (as Unsigned 16-bit integer numeric)
    WORD *spMaxBoxes); // dimension for all of the passed arrays. (as Unsigned 16-bit integer array data pointer)
    // (function return type as Unsigned 32-bit integer numeric)
    Parameters
    HBoxes[] Array that will receive the list of HANDLES for all the 55292 boxes connected.
    PortABrdType[] An array that will receive Slot ‘A’ board type information for each 55292 box.
    PortBBrdType[] An array that will receive Slot ‘B’ board type information for each 55292 box.
    spMxBoxes Passes the maximum number of values that can be held in hBoxes, PortABrdType, and PortBBoardType arrays to the A55292Find routine and returns the actual number of boxes found
    The return value will be one of the following A55292RC return codes:
    Value Meaning
    A55292_NO_ERROR No error
    A55292_TIMEOUT Timeout accessing a shared memory
    Remarks
    This routine must be called to obtain handles and board type information used in calling all the other routines. If there are significantly more array elements than boxes, the routine will take longer to complete.
    These are the definitions: 
    typedef DWORD A55292RC; enum{A55292_NO_ERROR, A55292_HANDLE_ERROR,...}
    typeder WORD BOARDTYPE; enum{A55292_PCAL_BOARD, A55292_NO_BOARD, ...}
    Thanks a lot,
    Kang
    Solved!
    Go to Solution.
    Attachments:
    call A55292Find.vi ‏10 KB

    nkang11 wrote:
    Hi Mr. Kalbermatter,
    As you told me, I should try to use the defined enumeration words as control and indicator.
    For the previous CLF node, it successfully returned the hardware configuration (I have only connected a board at slot A):
    But I really want to see a string return as "A55292_PCAL_BOARD" which is defined by "typedef WORD BOARDTYPE; enumeration {...}; Does that mean I need to change the data type or do something like "converter"? Or initialize the array first, then convert it to string type?
    Right now, I'm trying to open the laser card by using "A55292PcalOpen(HANDLE hDev, SLOTSELECT SlotSelector);" function which requires to use the enumeration constants from " typedef WORD SLOTSELECT; enum {A55292_PORT_A, A55292_PORT_B};" but I'm confused to shot an constant control to a new CLF node.
    Since almost all of the arguments in dll function are typedefined as WORD, short and struct et al, I hope you could give me some hints on it.
    Thank you very much sincerely!
    Kang
    Depending on the actual C implementation you can simply create a LabVIEW enum with the according item names or use a ring control instead. Teh enum requires the numeric values of the items to be in consecutive order without any gaps in between. This is a given if the C definition never assigns a specific number to the item. If the C enum is not consecutive you need to go with a ring control instead.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Error message: The wireless radio is not functioning.

    I spent 2 hrs on HP support chat last night, trying to get an answer to whether this is a fixable problem, and finally was disconnected from chat.
    The printer is a Photosmart 7460 and it recognizes the network and I could get to its IP addres online. But it printed out its own error message saying that the radio "failed."
    Can anyone tell me if this is something I can fix or if I just need to trash the machine and start over?
    thanks in advance for your help!
    Elizabeth

    I have a C309a that all of a sudden stopped communicating
    The wireless radio is not functioning. Contact HP support
    Wireless on  PASS
    Wireless working  FAIL
    USB communication works
    Is there a reset or is the wireless trashed?

  • Enable the "calling WebIDL constructors as functions" on the web

    Hi,
    I am developing a web application using php and python. After updating the Firefox to the latest version 30.0, some functions on my app do not work anymore. I checked the change logs of Firefox and found out this change: "Disallow calling WebIDL constructors as functions on the web" caused the issue on my tool.
    So how can I fix this on the browser side since I cannot change the codes immediately right now?
    Also a suggestion: Please reverse this change on the next update of this browser since this will affect my users or else I have to greatly change the codes.
    Thanks

    Please check out where this is fixed and the Site Compatibility list in the last portion of the bug [https://bugzilla.mozilla.org/show_bug.cgi?id=916644]

  • Error in the caller ID

    Why does not appear my Skype when receiving my calls Every time an international number appears not

    I've done some more testing. it's the @ character in the caller id number field. I've worked around it in my switch...

  • Calling Window's Dll Functions from Java

    Hello Audience,
    Is there a way to call Win32/64 based Dynamic-Link-Library functions from Java?
    Thanks,
    GenKabuki

    Yes.
    In general, if you are trying to call functions in an existing dll, you will have to write a "wrapper" dll that meets the java jni interface requires. There are tools around wich purport to generate these for you. Do a google serach; among other tools, you should turn up JACE.

  • Is it possible to get the caller object in a function call hierarchy ?

    Hi,
    I have a problem in hand for adding a new functionality to an existing code with MINIMAL code change. For this I need to get some extra information in a function call from its caller. And for this I do not want to change the signature of the method, as it requires a lot of code change. So I need to have a programming facility by which I can get the object from which the function was invoked. Some thing like "{code}this.CALLEROBJECT{code}".
    Please let me know whether we can achieve this in JAVA. I wonder if such a facility exists in any programming language...
    Thanks in advance.
    Regards
    Joby

    No.
    Youd have to buy it Germany or see if an Apple Authrorized reseller in Singapore could order you the keyboard.

  • Error during the execution of a planning function in BI 7

    Dear All,
    I created an input ready query and took it into a workbook.
    I have to execute a planning function (by a button) which calculates some new data but I get the following error after I clicked on the button message:
        Error when inserting or changing in a sorted table
    And the BW server closes the connection.  
    Any help?
    Thanks in Advance,
    Dezso

    You seem to be having a multi-mapping involved.
    The operation mapping has to produce at least the start and end tag.....even if the entire message is not present
    Ex:
    <SRC>
    <First>
    <Middle>
    <Last>
    </SRC>
    If above is the structure, then it should be ensured that at least <SRC></SRC> is created by your mapping program....however in your case this is not happening....the tags that you see Messages and Message1 are due to the multi-mapping program and your message should be more than this.
    if you say that occurence is 0..1 then what you can do is map this 0..1 node (root) with at least a blank Constant.
    Unless you create a message (even though empty) you will continue to receive the error message.
    Regards,
    Abhishek.

  • Help regarding the calling of a oracle function from the OTL.

    Hi,
    I created a Oracle function like get_employee_id() which will return the employee id if the name and department exists.
    If not exists it will insert the record and return the emp_id.
    get_employee_id(name,department)
    if name and department exists id will be returned
    else record will be inserted and emp id will be returned.
    emp_id is a sequence which will be triggered to auto increment.
    Problem is::
    Not getting a correct way to access get_employee_id() from OTL interface.
    I am trying like
    query << "BEGIN :3<int> := get_employee_id(:1<char[128]>,:2<char[1024]>); END;" ;
    otl_stream oos(1, query.str().c_str(), db());
    oos << emp_name ;
    oos << emp_dept ;
    while(true){
    oos >> emp_id ;
    if(!oos) break ;
    Please let me know what is the correct way of accessing this.Thanks for the help in advance.

    Sorry, I posted this on another forum. C++ Call Interface (OCCI)
    Thanks,
    Jagdish.

  • TestStand internal mechanism: call sequence/ architecture c++ code module adapter, .dll functions

    I would like to know more about this particular aspect of TestStand's architecture:
    What exactly happens "internally" (class/seq diagram ?)when a c/c++ dll code module adapter step invokes/ calls an exported .dll function (testStand sequence executed from sequenceEditor) ?
    My guess (wrong/correct ?) is that:
    I execute
    SeqEdit.exe
    which hosts
    teengn.dll
    which hosts
    cppAdp.dll
    which hosts
    "myDllWithExportedFunctions.dll"
    and (finally) directly calls exported functions of "myDllWithExportedFunctions.dll"

    Christoph -
    Your binary file presentation at a high level is correct.
    The object relationship is:
    - The Sequence Editor is just a client of the TestStand engine.
    - The Engine is the creator of all TestStand objects.
    - The Engine creates the Sequence File object for the Sequence Editor.
    - The Sequence File has a reference to a Sequence object, i.e. RunState.SequenceFile.Data.Seq["MainSequence"]
    - The Sequence has a reference to a Step object, i.e. RunState.SequenceFile.Data.Seq["MainSequence"].Main["Action"]
    - The Step has a Module object, i.e. RunState.SequenceFile.Data.Seq["MainSequence"].Main["Action"].TS.SData
    - The Module object uses its associated Adapter class to Load/Run code modules.
    - The DLL handle and function pointer are stored
    in the Module object.
    - The Module object with the Adapters help knows how to call the function in the DLL.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • 10.2.1 OS error on photo contact and name of the caller

    Hi,
    I just instaled on my Z10 the new 10.2.1 OS update.
    Till now I faced 3 errors:
    1. the call register doesn't allways show me the name of the caller, just the number;
    2. after syncronizing with facebook, contact photo imported from facebook dissapear after 1 day.
    3. when I am in calls menu and I search for a person, I dont recive the search results (I write the name and nothing happens).
    I hope you will take in consideration this remark for the next update of 10 OS.
    Thanks!

    Yep, known issue (at least by some of us users) and I am not completely sure if BlackBerry knows.
    *edit* oops, I see now you're posting in regard to BES activated devices. It works in the same manner for non-BES devices as well.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Can Ora_ffi call ActiveX DLL function???

    Hi, Can I call an ActiveX DLL function using ora_ffi or by any other means? Ora_ffi documentation says that it can call C dll functions.Can I call VB dll functions from forms PL/SQL.

    Hi, I don't have any experience in calling DLLs, but you may want to give this a try.
    report zrich_0001.
    data: path type string.
    path = 'C:WINDOWS<the_file_Name>.dll'.
    call method cl_gui_frontend_services=>execute
       exporting
         application            = path
      exceptions
        cntl_error             = 1
        error_no_gui           = 2
        bad_parameter          = 3
        file_not_found         = 4
        path_not_found         = 5
        file_extension_unknown = 6
        error_execute_failed   = 7
        others                 = 8.
    Regards
    Rich Heilman

Maybe you are looking for

  • Navbar DOWN image is not  working

    I will test the Navbar and created two pages Test_index.html and Test_index.html. With my Navbar I will move from one page to an other. It works fine but I would like to highlight the button in the res. Page. Will say the button 1 has to be highlight

  • Roles for disabeling structure changes in excel

    Hello togehter, I have got a excel sheet which I can open by the "Analyzer-AddIn." If the users have to change some data, there is an embedded save-button. But if they use the normal excel save button, it could be that the excell will be destroyed. A

  • How to burn a slide show to a dvd to watch on tv?

    I have a slide show set up in Aperature. I am needing to burn it onto a dvd, so friends are able to play it in a dvd and watch on their TV.  What program works best for this?  I have the Adobe -  Creative Cloud if there is a program that would be sim

  • How to make input parameter with multiple values in function module?

    Dear Experts, I want to add BUKRS as import field to a FM, what is the best way of of making it accept multiple enteries. Regards, Kiran

  • Looking for a POP mail checker for xfce4?

    Hi, Is there any pop mail checker for xfce4? Something like mail notification ( http://www.nongnu.org/mailnotify/ )? Oh, and I don't want to install gnome or kde stuff! Thanks.