Automotive Diagnostic Command Set & kwp2000 Read/Write Memory By Address

I used NI Automotive Diagnostic Command Set 1.0 Read/Write EEPEOM By Address of ECU base VW TP2.0  KWP2000 diagnostic protocol . I used NI example ReadWrite Memory.vi but not successful. I know must use below step. 
Description
The usual procedure for getting a security access to the ECU is as follows:
Request a seed from the ECU using RequestSeed.vi with access mode = n.
From the seed, compute a key for the ECU on the host.
Send the key to the ECU using SendKey.vi with access mode = n + 1.
The security access is granted if the ECU validates the key sent. Otherwise, an error is returned.
Who has used NI Automotive Diagnostic Command Set 1.0 and know VW TP2.0 KWP2000 protocol. Please support some suggest and example VI.
Thanks

I modify NI example Read/Write Memory lool at attached files.
Now I know how to calculate the key and successful.But sometimes ok and sometimes no ok. The best luck is pass three error.
Attachments:
pho0.JPG ‏99 KB
ReadWrite ECU.vi ‏66 KB
seedaddkey.vi ‏12 KB

Similar Messages

  • What do the NI Automotive Diagnostic Command Set & ECU Measurement software packages really bring?

    I am looking at doing some CAN programming for the J1939 and J1708/1587 protocols.  Would the NI Automotive Diagnostic Command Set & ECU Measurement software modules even be necessary?
    What are the benefits of both modules?

    Just for reference, look here for comments on the J1939 and J1708/1587 protocols.
    The ECU Measurement and Calibration Toolkit provides a helpful API for interfacing and designing an ECU. In particular, it provides high-level, easy-to-use functions based on the Universal
    Measurement and Calibration Protocol (XCP) and CAN Calibration Protocol
    (CCP). A more detailed explanation of what is included and when it should be used can be found in Chapter 1 of the ECU Measurement and Calibration Toolkit User Manual.
    Automotive Diagnostic Command Set
    From the overview section of the product page: "NI ADCS is suitable for a range of automotive diagnostic applications
    that typically involve reading and writing parameters, accessing
    diagnostic trouble codes (DTCs), flashing ECU firmware, and initiating
    ECU diagnostic test modes... ADCS benefits applications such as ECU firmware flashing tools, DTC
    reading and logging, ECU diagnostic mode interfacing, and live
    diagnostic variable monitoring and logging for on-road tests."
    Hope this helps...
    Peter Flores
    Applications Engineer

  • NI Automotive Diagnostic Command Set

    I want to comunicate with ECU via cRio using NI Automotive Diagnostic Command Set but encounter with below error..
    im using NI-XNET 1.7 and NI9862 c series module... 
    also what different between NI Automotive Diagnostic Command Set and ECU Measurement and Callibration Toolkit?
    please advice the best method how to read data from ECU (CAN BUS - OBD ll)
    thank you
    Attachments:
    Error_1.png ‏31 KB

    How to install diagnostic command set via MAX. I have go through a forum. They said I need RIO I/O Scan to install diagnostic command set to cRIO. I already have this software but still unable to to install diagnostic command set to cRIO. Do you have other method to install diagnostic command set to cRIO?
    Thank you.

  • NI automotive Diagnostic Command Set and LV Real-Time

    Hello world !!
    I'd like to have some informations about the support of NI automotive Diagnostic Command Set under LV-RT.
    Is the API fully supported ?
    Is there a plan in the roadmap to support these tools with cRIO CAN modules ?
    Thanks for your help.
    Best regards,
    Pierre R...
    Certified LabVIEW Developer

    Hello Dirk,
    I just have a new question, I think the response is YES, but I prefer to confirm my mind.
    Could you confirm that the ADCS permits us to fully implement the UDS standard in our LV RT apllication ?
    Best regards,
    Pierre R...
    Certified LabVIEW Developer

  • Automotive diagnostic command set

    Hello Everyone,
    I started to use "Automotive Diagnostic Command Set" for LabView with NI USB CAN 8473 and I have a fundamental problem: I can not see the answers of the ECU.
    The messages are properly sent and my ECU responds (see him with another tool that acts as a sniffer on the network), but are not able to review the responses of the ECU
    What I'm doing wrong?
    In attachment the screenshot of my very elementary project
    thank you very much
    monica
    Solved!
    Go to Solution.
    Attachments:
    DIAG.jpg ‏141 KB

    Hello Monica,
    You can check the example in Labview "Transmit Receive same port.vi"
    I think it shows exactly what you would like to do.
    Antonios
    Attachments:
    Transmit Receive same Port.vi ‏27 KB
    Transmit Receive Same Port.txt ‏1 KB

  • Automotive diagnostic command set Api DLL File

    Hello,
    I'm new in this Community and have just a simple question. 
    I've installed the NI Automotive Diagnostic Command Set and activated it online.
    I need to some funktions in .NET Framework and therefore I need the NIdiagCS.dll but i can't find it. Can someone tell me where I can find this data?
    Thanks for your help
    Regards
    Solved!
    Go to Solution.

    Should be installed in the Windows System folder

  • Automotive diagnostic command set and periodic messages on same can port - CVI

    Hello everybody,
    Is it possible, using Labwindows / CVI, to use NI AutomotiveDiagnostic Command Set to communicate with a MCU with KWP2000 protocol and simultaneously  send periodic CAN messages on the SAME CAN interface (CAN0 or else ) and also using this port port to do some CCP communication ?
    Thank for your support.

    Hi,
    I find myself also in this position.  My current project only has LabVIEW 2009 and the ADCS from a few years back available to use.
    We want to be able to:
     - read in a CANDB file (.dbc) into the Channel API, to send general CAN messages (note you cannot use the Frame API to read in the dbc files unfortunately)
     - using the same CAN interface, use the ADCS to perform diagnostics activities
    Can you please elaborate on some of the hoops, and how long it might take?  If its too much of a hack, a third CAN port might be the easier option.
    Any light shed would be appreciated.
    Christopher Farmer
    Certified LabVIEW Architect
    Certified TestStand Developer
    http://wiredinsoftware.com.au

  • Not allowed to move (only copy) files within Shared Folder (yes, permissions are set to Read/Write)

    I have moved my media (Music, Movies, Pictures) to the Users/Shared folder.  As I'm doing some cleanup in these folders, I am trying to move several folders/files at once, all within the same Shared folder.  I have confirmed that the permissions settings under "Get Info" are set to "Read/Write" and I have verified and repaired permissions with Disk Utility.  However, every move I try to do is a copy.  I have tried the Command-Drag method, but I'm still left with the green plus sign indicating a copy.
    On smaller files/folders, this wouldn't matter so much as I would copy, then just delete the original.  But I'm dealing with many, many gigs of music and my HD doesn't have space for holding copies, even if the originals will be deleted.
    Very frustrating to have to spend so much time to figure out what would seem to be a very basic file management feature.
    I've searched and read and searched some more, but I'm stuck.  Thanks to any who can help. 

    Do have file sharing and remote login checked
    When on Betty's computer, Sign into Bob's computer with Bob's username & Bob's Password, instead of Betty's.
    BINGO!!!!  Problem solved.  Many thanks!!!

  • ..Primavera\Project Management\PM.ini cannot be set to read-write status

    I have installed Primavera P6.1 in a laptop under Administrator Login.
    After that, when I log in to the laptop with my user Id, primavera fails to start and gives the following message:
    C:\Program Files\Primavera\Project Management\PM.ini cannot be set to read-write status.
    Kindly let me know how to fix this problem.
    Regards

    Please tell your IT Admin to fix as following:
    The following is a summary of the minimum system requirements Primavera 6.2.X requires for users to be able to access and run components of the
    software :
    Window Folders:
     C:\Windows\System32\
    dbexpsda30.dll
    dbexpint.dll
    dbexpoda30.dll
    DbExpPrC.dll
    dbexpsda.dll
    Read&Execute/Read permission for Borland DBExpress drivers
     C:\Program Files\Common Files\Borland Shared\DBExpress\DBXConnections.ini
    C:\Program Files\Common Files\Borland Shared\DBExpress\DBXDrivers.ini
    Read&Execute/Read/Write permissions to create and modify database alias connections
     C:\Program Files\Primavera
    Read&Execute\Read permission to access files needed to run applications
     C:\Program Files\Primavera\Project Management\pm.ini
    C:\Program Files\Primavera\Methodology Management\mm.ini
    Read&Execute/Read/Write permission to access the ini file - required to log into the applications
     C:\Program Files\Common Files\Primavera Common
    Read&Execute/Read permission to access files needed to run applications
     C:\Program Files\Common Files\Primavera Common\Java\BREBootstrap.xml
    Read&Execute/Read/Write permission to change connection parameters for Claim Digger or API
    (If user does not have WRITE access the Database Configuration Setup utility (C:\Program Files\Common Files\Primavera
    Common\Java\dbconfig.cmd) for claim digger / API DOES connect to the database and read the configurations and will create a new configuration if
    entered, but displays error "error writing to bootstrap file" and BREBootstrap.xml file will not be updated with the proper database connection information.
     Output directory for File > Export , Job Services output files and Log output files
    Read&Execute/Read/Write to create and write output files
    Registry Keys:
     HKEY_LOCAL_MACHINE\Software\Borland
    READ
     HKEY_LOCAL_MACHINE\Software\Primavera
    READ
    Note: For the functions Claimdigger, Update Baselines, and Schedule Comparisons the key is opened in Read/Write/Delete mode.
     HKEY_LOCAL_MACHINE\Software\Primavera\Databases\[MM/PM]\Aliases
    NOTE: By default, users have FULL CONTROL to their HKEY_CURRENT_USER\SOFTWARE registry keys
    If a user does not have FULL CONTROL permission to these keys, when they create a new alias it will be stored under
    HKEY_CURRENT_USER\Software\Primavera\Databases\[MM/PM]\Aliases and will be displayed and available to ONLY the user account on the
    workstation that created the alias.
    If user does have FULL CONTROL permission to to these keys, when they create a new alias it will be stored
    under HKEY_LOCAL_MACHINE\Software\Primavera\Databases\[MM/PM]\Aliases and will be displayed and available to ALL user accounts on the
    workstation.
    Jawad
    Novo Rail, Sydney
    P6 Project Controls Co-ordinator and Administrator

  • Automotive diagnostic command toolset

    Hi all! I am using LV 8.5.1 with the automotive diagnostic command toolset  (ADCT). I have a couple of questions. Is it possible to change the transmitting CAN ID during a communication with an ECU device? How could one implant this with ADCT?  In my case, I have to change the CAN ID, if my device is going to send a multi-frame message! (Changing from functional to physical addressing for the flow control frame)
    Does  ADCT support flow control frames for ISO 15765-5?
      How can I use ADCT when I have two ECU's? I can only specify one receiving CAN ID!
    Thx
    BiPa

    Hi,
    The change of address IDs is not supported and actualy not mentioned within ISO 15765-2, which is implemented with our ADCS Toolkit.
    It could be that I am missing something here. Could you send me some more details about what you would like to do. Please send me a EMail to [email protected]
    For two ECUs you could just call the open diagnostics twice, but you have to use different Ids for both.
    DirkW

  • LK6.5 Modbus read/write to many addresses at once

    LK6.5 Modbus read/write to many addresses at once. What happens as example; I have address 100 to 150 and 180-200. Addresses in between doesn't exist. Not all are connected. The modbus (Ethernet master) driver reads in a single command (in order to optimize) address 100-190.
    That is a nice feature, but the result is a reply like "not existing" because between 150-180 are not existing. No error is shown in lookout (communication works OK).
    I know I can do a workaround by setting maximum value per message to 1 or 2, but the project has 140 modbus objects with a total of around 4000 connections. I would like to use a big range in one command, but no addresses that are not existing. Beside of that, it looks like this is a problem that let the driver and/or lookout crash.
    Any one knows a fast solution? Is there another updated modbus driver?

    more inputs:
    The response from Modbus device actually doesn't specify which address has the problem if you read a range.
    When you read a range, and a certain address in this range doesn't exist, do you get no data in lookout?
    It depends on the Modbus device whether lookout gets error response or the good response. I don't see detailed definition in the Modbus specification. So, if a certain address in a range doesn't exist, the device may either return error or good response. But the problem is that the error reponse is just an error code. Lookout doesn't know which address has the problem. It may be a problem that you don't see alarm in Lookout.
    I don't see a way on lookout side to get a better behaviour. Maybe you can consult the device provider for any advice, such as what should the modbus master do, is the range read expected?
    Ryan Shi
    National Instruments

  • Internal drive wont let me set to Read & Write

    Ok story here is, I had Mac OS X 10.4.8 running on the stock 30GB Maxtor and had a 80GB Seagate running as storage for a while. I decieded "I have enough space on the 80GB for Mac OS why not use it? I upgraded to a 80B Seagate Barracuda hard drive, so i used disk utility's restore button to swap everything over from the stock 30GB Maxtor drive and after that i wanted to move some of the files to folder's such as the Movies folder Documents folder and so on. But when I move the files to those folder's or anywhere else but the hard drive it wants to copy all the files. I looked at the hard drive's accessibility and the Onwership & permissions is grayed out so I cant even change it. What do I do?

    I looked at the hard drive's accessibility and the Onwership & permissions is grayed out so I cant even change it.
    You shouldn't change the ownership or permission settings on the Mac OS X startup disk; doing so may cause the disk to disappear and the computer to fail to start up properly. An administrator account should be able to move files and folders out of that folder that they are the owner of; to move other items out of the top level of the hard disk, press the Command key while dragging the file, click Authenticate if a dialog box appears, and type your administrator password.
    (21107)

  • Read/write memory popups while using easydms

    hi experts!
    we actually get more and more windowserrors(in explorer.exe) while working with easydms.
    so we decided to use windbg to locate the source of the problems...
    cause we dont have the source code of easydms i hope somebody here can help us?
    our last errorlog was: (problem occurs while logging in)
    (de0.8c): Access violation - code c0000005 (!!! second chance !!!)
    eax=035a3730 ebx=00000000 ecx=035a3730 edx=035ccfa0 esi=034585b0 edi=034585b8
    eip=00000000 esp=0170b4e0 ebp=0170b50c iopl=0         nv up ei ng nz na pe nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000286
    Missing image name, possible paged-out or corrupt data.
    Missing image name, possible paged-out or corrupt data.
    Missing image name, possible paged-out or corrupt data.
    Missing image name, possible paged-out or corrupt data.
    Missing image name, possible paged-out or corrupt data.
    00000000 ??              ???
    0:022> k
    ChildEBP RetAddr 
    WARNING: Frame IP not in any known module. Following frames may be wrong.
    0170b4dc 01e61328 0x0
    0170b4e4 01e61742 EasyDmsExplorer!ATL::CStringData::Release+0x19
    0170b50c 01e65642 EasyDmsExplorer!ATL::CStringT<wchar_t,StrTraitMFC<wchar_t,ATL::ChTraitsCRT<wchar_t> > >::~CStringT<wchar_t,StrTraitMFC<wchar_t,ATL::ChTraitsCRT<wchar_t> > >+0x1d
    0170b544 01e73ca3 EasyDmsExplorer!CRfcFunctionInfo::~CRfcFunctionInfo+0xab
    0170b774 00700061 EasyDmsExplorer!CRfcCaller::OnLogon+0x956
    0170b780 0031005f <Unloaded_hsip.dll>+0x6fffa0
    0170b784 00000000 <Unloaded_hsip.dll>+0x30ff9e
    any ideas what that can be ?
    best regards
    harald wiesinger
    Edited by: Harald Wiesinger on Feb 2, 2010 2:17 PM

    There might be issues here with addin.dll. Is the SAP note 1370364 implemented while makning rfc call in addin.dll? This is required. More over please reset RFC cache and see if your issue is still happening.
    we need to reset cache only if
    1.Change in function signature related to the functions in EasyDMS or change in the definition of parameters/fields (including nested fields) used in the respective functions.
    2.Change in structures/tables used by EasyDMS(including nested/linked structures/tables)
    3.Addition/activation/deactivation/renaming of new/alternate function modules/BAdI method implementation w.r.t EasyDMS.
    There needs to be an RFC reset only if there is a change in function signatures/structures/tables w.r.t EasyDMS/DMS in the respective system. There is no need to reset the RFC cache if notes ate implemented which involves only an implementation logic change.
    Someone has to manually reset the RFC cache. This can be also done  centrally by executing EASYDMS_RESET_RFC_CACHE after the changes.
    Data that is cached for RFC :Tables and structures and data related to function signatures (parameters/fields (including nested fields) ) associated with EasyDMS. Also the cache stores the list of active functions used by EasyDMS.
    Advatages of RFC cache:- Fast execution.

  • Read/write access on external drive set to none; can't see drive to change

    I was learning about profiles and permissions and set the Read/write access on my external drive to none. I wanted to protect my guests from accidentally viewing private files. I thought I was doing it for that profile only, but now I can't see the drive to change it back. I have already tried using the disk utitility and re mounting the drive, but still cannot see the drive icon on the desktop or anywhere. I know the drive is okay because I can see it in disk utility but disk utility says the read/write access is none.
    thanks for anyone that can advise me. I'm more of a PC expert, than a Mac expert.
    Gary

    Follow the instructions in this FAQ which are relevant to your situation; logging in as root is not needed.
    (18945)

  • Transportable tablespace (metadata export with READ WRITE tablespace set)

    Is it possible to use transportable tablespace backup for import if data files for tablespace set has been copied when tablespaces were READ ONLY but the metadata export (or a part of it) is taken after tablespaces has been set to READ WRITE?

    Actually the size of datafile(s) are too huge so unable to test the same on test box with TTS export backup.
    But my question is if there were no structural changes (DML might be there on tablespace objects) even after making tablespaces to READ WRITE till the time metadata export is completed(data files are copied to staging location already before tablespaces has been set READ WRITE), Shall I use these backup for import?

Maybe you are looking for

  • G510 install Win 8.1 on a smaller SSD. What files to copy.

    Yesterday I got a new G510. The HD is not in good condition after dropping it. I wanted to swap the 1TB HD 5200 rpm  anyways for my 120 GB SSD. I can still get at the files on the original HD. What files and/or partitions do I need to copy to the SSD

  • Why doesn't my web cam work

    I bought my HP netbook about the 27th Nov 2011, the web cam worked a treat, but during the x-mas week it started playing up and now doesn't work at all. Can you give me some info as to what to do about this problem. I have reset the computer to the o

  • Final cut will not share file

    I have just completed a file. (1.3 hours long)  I am using an Lacie external work from and save to.  I can not share this file in order to make a DVD.  One frame is saved not the entire file... Sugestions please.  I've put in many hours to comeplete 

  • HT4854 What size does the recovery partition need to be for Lion or Mt Lion?

    What size does the recovery partition need to be for Lion or Mt Lion?

  • Why won't a Windows 7 client connect to my web server?

    I've got 5 Mac clients that can connect to my Snow Leopard server. They use file sharing, iCal, and web services. We're trying to put a Windows 7 client on the network to use just file sharing and web services. Unfortunately, I can't get the Windows