Retrieve error description from PCI-7334 board with VB

Even with the examples provided by NI I get the error "Compile error. By Ref argument type mismatch" on argument "errordescription of function "flex_get_error_description".
Try it with the "One-Axis Move with Position Monitor.vbp" project. Select an axis that don't exist eg "axis 7" and you get the error in "Public Function nimcDisplayError(ByVal errorCode As Long, ByVal commandID As Integer, ByVal resourceID As Integer) As Integer" of module "NIMCExample.bas".
In VB the variable "errordescription" is declared as string. According to the help file that argument is an array of ASCII characters. So what should it be??
The examples where installed from the "Motion Control Version 6.1.2" CD.
Does someone have a working e
xample of how to retrieve the error description with VB ???

With the modifications described in thread "flex_initialize_controller", this problem is also solved.

Similar Messages

  • LV acquire the print information from the embed board with Linux system through serial port

    I want to acquire the print information by LV from the embed board with Linux system through serial port, like the window hyperterminal tool?
    I try to use VISA serial config function to achieve it ,but lost and prompt that is error like attachment.
    I can't sure that my idea is reasonable.
    help me
    thanks a lot!

    I ended up finding the answer to my problem. After pointing a client directly at one of the DPS systems, I saw the following error in the logs:
    [27/Jul/2009:17:11:47 -0400] - OPERATION  - INFO  - conn=3688 op=4 BIND RESPONSE err=12 msg="The server is not configured to pass through control 1.3.6.1.4.1.42.2.27.8.5.1" etime=0After adding that control OID to the allowed-ldap-controls, I could login via password auth. Adding this control also allowed for password changes to work from a client system.

  • Runtime Error-Description of Exception in Moni with Checked Flag

    Hi Floks,
    I am working on one interface ABAP proxy to File.While Executing the interface i am getting checked Flag in the Moni but when i double clicked on it.Its Displaying an error message.The error message is displaying like *Runtime Error-Description of Exception*
    *Under that the Short text is The Current application Triggered a termination with a Short Dump*.But I am getting the proper Out put.
    Please do needfull help on this.
    Regards,
    sai

    Hi,
    In error analysis iam getting this can u
    Error analysis
        Short text of error message:
        Control Framework : Error processing control
        Long text of error message:
         Diagnosis
             An error occurred when the system tried to process the comma
             from the Automation Queue on the presentation server.
             There are several possible reasons for this:
             - The installation of the SAP GUI on the presentation server
             faulty or obsolete.
             - There is an error in the application program
             - There is an error in the SAPGUI or an integrated control
         Procedure
             1. Make sure that you have imported the appropriate Support
             Package, the current kernel, and GUI patch for the release o
             system
             2. Check whether the error occurs locally on one or a few PC
             generally on all PCs. Note whether the error only occurs for
             users, for example because of a specific Customizing setting
             If it only occurs locally, this suggests an installation pro
             with the PC. Check the installation; if necessary, reinstall
             software. In the dump, search for the SY-MSGLI field, since
             point to the cause of the error.
             3. Activate the Automation Trace (in accordance with SAP Not
             158985).
             4.Start the transaction and continue until the screen immedi
             before the dump.
             5. From the System -> Utilities menu, choose Autom. Queue,
                      Synchronous Processing.
             The status bar of the GUI displays the text:
                "Automation synchron flush mode on"
             6. If you now proceed with the application, the short dump will
             display the ABAP call that caused the error; the Automation Trace
             will contain the error on the presentation server.
             7. If necessary, load the short dump and trace files on to
             sapservX, so that SAP can analyze them.
        Technical information about the message:
        Message class....... "CNDP"
        Number.............. 006
        Variable 1.......... " "
        Variable 2.......... " "
        Variable 3.......... " "
        Variable 4.......... " "
    this message i am getting so can u plazzzzz

  • Retrieving error messages from lpxus.msg

    What methods must be invoked in order to retrieve the correct error codes.
    Eg 202 means 'file not found'.
    How would be retrieve this message from \mesg\lpxus.msg(using the C++ XML Parser)
    There are no examples in the samples.
    null

    Hi,
    This is explained in the readme and function documentation:
    Currently, the only message file is in English although message files for
    other languages may be supplied in future releases. You should set the
    environment variable <tt>ORA_XML_MESG</tt> to point to the <b>absolute
    path</b> of the <tt>mesg/</tt> subdirectory. Alternately, if you have an
    <tt>$ORACLE_HOME</tt> installed, you may copy the contents of the
    <tt>mesg/</tt> subdirectory to the <tt>$ORACLE_HOME/oracore/mesg directory</tt>.
    The function documentation for xmlinit() explains the msghldr parameter that can
    be used to process error messages (or they are printed to stderr if msghdlr not
    supplied).
    Thanks,
    Oracle XML Team
    null

  • Retrieve short description from the table field

    Hi all.
    I got this system table called TBTCO. Inside the table, there is this field JOBCOUNT. How can i retrieve the short description from the table for this particular field? Any fm can be use?
    thks

    Hi
    u can retrive the short text u want by writing simple query from the table DD03T:DD: Texts for fields (language dependent)  there u can give table name fieldname and language then u can get the short text u want
    plzz reward if i am usefull to u in any way..
    for any further quiries u can contact me on [email protected]

  • Add error description from sxmb_moni in alerts in 7.1

    Hi Gurus,
    My requirement is to add short description from sxmb_moni i.e. from ABAP stack in alert.
    I already have check many blogs and marketplace but could not find this.
    As per the link Creating Alert Categories - Process Integration Monitoring - SAP Library we can extract this info from adapter engine using SXMS_TO_ADAPTER_ERRTXT but how to achieve this for I.E.
    Please let me know if this is possible in any other way around.
    Hope my requirement is clear, i just want the description from moni for the failed message in my alerts.
    Thanks and Regards
    Jitender Gusain

    Hi Jitender
    We can use following container variables to populate the text inside the alert message
    These are more than enough for debugging the message in MONI.
    However if you want to add the payload information in the alert message, then u need to use the function module SALERT_CREATE
    You can call this function module inside message mapping using RFC look up or via UDF.

  • How to retrieve error information from an exception handler?

    I have an Embedded PL/SQL block in a Pro*C
    application that uses something like the following to catch exceptions and fill a host variable with diagnostic information.
    It then re-raises the exception so that
    the global error handler specified with a
    WHENEVER SQLERROR DO ... can log the error and determine the appropriate action.
    EXCEPTION
    WHEN OTHERS THEN
    :zerrtext := 'Failure occurred at ' &#0124; &#0124; mylocator;
    RAISE;
    According to all the Oracle docs this should work; but it does not. Re-Raising the exception within PL/SQL appears to negate the assignment of the string data to the host variable. When the global error handler runs, the host variable is empty.
    The assignment works if the 'RAISE' is commenting out; but then the detailed Oracle exception data is lost, and the global error handler never gets an opportunity to run.
    Does anyone know why re-raising the exception voids the assignment within the PL/SQL exception handler; and how to prevent this from happening?

    Have you tried getting the value from 'sqlerrm'? In PL/SQL this is a built-in placeholder for the ORA-xxxx code and message when trapping exceptions.
    Hope this helps,
    - Alex
    null

  • Is it possible to retrieve photos/video from a smashed iphone, with only the motherboard intact?

    My iphone 5 was smashed today, basically to smitherines. The hard drive/motherboard is still intact though. Is it possible to take this to apple and have them hook it up somehow and have them put my photos on a CD or something? if apple doesn't offer this, would a cell phone repair shop or computer repair shop possibly be able to do this?? I have extremely important photos and video on there, and I'd like to get them if possibe..
    Answers appreciated, I'm in such distress right now.

    Hi Elitegate,
    Do you know of any 3rd party programs to get the info off the hardrive of the phone. Basically, i have smashed the phone as well but the screen is broken, the phone is on and i can hear all of my calls/ txts etc come through only thing is i can see and use the touch screen. So i have taken this to apple and they said even through the phone is still on they cant retrieve the photos.
    Now when i plug the phone into itunes i cant do a back up because i cant put my passcode in and when i plug the phone into the pc it recognises it as a USB device and it shows that i have used 14 GB of my phone memory but when i click into the folder there is nothing there so i cant iomport thephots etc
    I them went online and had a chat conversation with a bguy at apple and he directed my here as he sadi that he has used a file that can retrieve the files but obviously could say what it was because he worked for apple.
    Any heklp would be greatly appreciated as there are 2,500 phots including my engagment
    Thanks
    Greg

  • Function to retrieve LOV description from sql

    Hello,
    Is there an inbuilt function in apex to retrieve a LOV description?

    Yes, take a look at the docs for the APEX_ITEM package http://download.oracle.com/docs/cd/E14373_01/apirefs.32/e13369/apex_item.htm#insertedID19
    HTH
    Chris

  • Inserting and retrieving Word docs from a custom table with LOB column

    Hi,
    I'm sure I'm not looking around in the right place for some docs on this.
    Basically I need to build a custom interface in Web PL/SQL to allow a MS Word doc to be uploaded for a user's browser and also a mechanism to retrieve the doc.
    Not sure what is the 'best' column datatype to use for this either.
    Portal Forms are out of the question due to inflexibility of application.
    Cheers,
    John

    bumping to the top!

  • How to retrieve lost data from trash recently deleted with in 10 days.

    My computer was recently hacked and they forwarded my mail for 2 days till I caught it. Also they had mail deleted after forwarding. Trash is empty. I want to see correspondence to protect my self. Thanks

    Basics of File Recovery
    Files in Trash
    If you simply put files in the Trash you can restore them by opening the Trash (left-click on the Trash icon) and drag the files from the Trash to your Desktop or other desired location.  OS X also provides a short-cut to undo the last item moved to the Trash -press COMMAND-Z.
    If you empty the Trash the files are gone. If a program does an immediate delete rather than moving files to the Trash, then the files are gone.  Recovery is possible but you must not allow any additional writes to the hard drive - shut it down. When files are deleted only the directory entries, not the files themselves, is modified. The space occupied by the files has been returned to the system as available for storage, but the files are still on the drive. Writing to the drive will then eventually overwrite the space once occupied by the deleted files in which case the files are lost permanently. Also if you save a file over an existing file of the same name, then the old file is overwritten and cannot be recovered.
    General File Recovery
    If you stop using the drive it's possible to recover deleted files that have not been overwritten by using recovery software such as Data Rescue II, File Salvage or TechTool Pro.  Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive.  Two free alternatives are Disk Drill and TestDisk.  Look for them and demos at MacUpdate or CNET Downloads.
    The longer the hard drive remains in use and data are written to it, the greater the risk your deleted files will be overwritten.
    Also visit The XLab FAQs and read the FAQ on Data Recovery.

  • I want to control servo value from PCI-7344+Flexmotion with 20 Hz Sine/Triangle wave as command and anlog feedback Help me in doing so

    Under Trajectory generation and Buffered programming section of Flexmotion i found that interval between 2 points is limited to minimum of 10 msec.To generate & control 20 Hz waveform any other alternative approach is available ?

    i have a problem:
    i have configured an axis for gearing and have its master be an ADC, when the analog input is more than 30Hz,the slave axis can't follow up the master,is there a method to solve the problem?

  • Retrieve xml data from a relational table(oracle) with datatype as xmltyp

    Hello Avijit, any resolution for this issue?

    hi .... I am trying to retrieve xml data from a relational table with datatype as xmltyp. The SQ is retrieving rows but the xml parser give transformation error . The transformation retrieve xml data from a relational table(oracle) with datatype as xmltyp returned a row error status on receiving an input row on group retrieve xml data from a relational table(oracle) with datatype as xmltyp.  ERROR : An XML document was truncated and thus not processed. Input row from SQ_XMLTYPE_TEST: Rowdata: ( RowType=0(insert) Src Rowid=5 Targ Rowid=5 DOCUMENT (DataInput:Char.64000:): "<?xml version='1.0' encoding='UTF-8'?><main><DATA_RECORD> <OFFER_ID>434345</OFFER_ID> <ADDR>sec -2 salt lake</ADDR> <CITY>kolkata</CITY> (DISPLAY TRUNCATED)(TRUNCATED)" )  thanks in advance Avijit

  • Problem updating the Firmware on a PCI-7334

    About me: I am pretty new to the Labview/NI landscape so I may be missing something here! That said im very technically aware in general and believe I understand what is going on here.
    Background: This NI PCI-7334 board has been taken from currently unused project stock so current physical condition of board is not really known (ie was not recently working) although it appears to be in good physical order.
    Attempting to setup a new Labview 7 Express development environment on new PC hardware with a clean build of Windows XP Pro SP1 along with 1 x IMAQ PCI-1411 and 1 x IMAQ PCI-1408.
    Attempting to update the PCI-7334 with the latest firmware in NI Motion 6.1.2. I select the option "Update All Firmware Sectors" f
    rom the firmware tree by right mouse clicking. It starts off with the buttonless (ie No Cancel Button) file transfer progress dialog box. But after about 30 seconds I keep getting the error "Error configuring the board for download. Please ensure that the board is in a reset state and that no other application is communicating with it."
    Existing Firmware versions are listed in NiMAX as:
    68331 - 6.00.3012
    DSP - 6.00.3008
    FPGA1 - [BLANK*]
    FPGA2 - [BLANK*]
    *Listed in tree without a version
    Unusually under the General listing I get "0" for the device serial number!
    When I go into the "Status" area and choose the "Reset Device" option I eventually get these status lights (red):
    Ready to Receive
    Power Up Reset
    Modal Error Message
    0x80 Move Complete Status
    I have tried removing all other cards from the PC to ensure there is not a compatability issue.
    At this stage it would appear that it is a hardware problem so I was wondering what options I have available to g
    et this card repaired. Is repair by NI economically viable or is a new puchase a better approach? IE are repairs done at a fixed price or based on materials and labour?
    Please advise!
    Thanks, Rod.
    Attachments:
    NI_PCI-7334_Firmware_Update_Error.zip ‏115 KB

    I agree with your diagnostics. It looks like something went wrong during the last firmware update. The only solution for this problem is to send the board for repair.
    NI has fixed prices for repairs which are much cheaper than buying a new board. Please contact your local NI branch for details.
    Best regards,
    Jochen Klier
    Applications Engineering Group Leader
    National Instruments Germany GmbH

  • PCI 4351 cjc with SCB-68

    Is it possible to enable cold junction compensation using a PCI 4351 board with a SCB-68 terminal block?
    I have searched around and tentatively concluded that it is not possible.  Under the "accessory" option in MAX SCB-68 is not an option, and TBX-68 does not have a checkbox for temperature compensation.

    Hello Craig,
    National Instruments recommends the following accessories that are designed to be used with the NI 435x for thermocouples/CJC: the cold-junction sensor is on analog channel 0 on the TC-2190, TBX-68T, and CB-68T accessories. Additionally, the NI TBX-68T (used with NI 435x devices only) is the correct acccesory which includes a built-in cold-junction compensation sensor and autozeroing circuitry (compared to TBX-68).
    Best regards,
    Ali M
    Applications Engineer
    National instruments

Maybe you are looking for