X-CAN sample project problem

Hey guys,
I´m getting started with the myRIO-1900 and try to connect it with my car via X-CAN module with OBD-II BD9 cable to collect and record data from my car.
I've installed Labview 2014, X-CAN, realtime module in my computer without any problem.
When I connected myRIO 1900 and X-CAN module with my Mercedes, launched "X-CAN for myRIO" under "sample project", it worked successfully and I can read data from Labview.
Question 1: What do all the data read mean in the labview, eg. what does identifier means and what does payload means? At first I thought they might be PID codes, but after browsing all the info online, I felt the data are not PID codes because they should start with P01 or P02. Is there a manual for me to review and learn?
Question 2: Do you guys know how can I record all the data that read from my vehicle and export them to Excel file? I tried to add "File I/O" and "Measure to write" followed by the instructio online, but there was not excel file generated after the run. Any suggestions?
Here is a snapshot of the project result. Appreciate for the help.

There is TONS of documentation on CAN buses.  From various hardware and software implementations and a bunch of other variations that can make working with it difficult.  
On the surface everything is easy, you just read and write frames, as described here
http://en.wikipedia.org/wiki/CAN_bus
Frames are just raw data that you can then do things with.  A frame consistes of an ID which identifies the message and also does things like sets priority of the message.  Then the payload is 0-8 bytes (excluding CAN-FD).  These 0-8 bytes are the usable parts of the message.  Protocols have been written to support multi frames, and request reply, among several other features not supported in the hardware.  
Basically you have a lot of reading to do.  Find all the documentation you can on CAN and how it works knowing that it starts at the frame level which is what you get.  You might even get something out of the first few slides of a recent presentation I did on CAN and XNET.
https://decibel.ni.com/content/docs/DOC-41749
As for recording the data.  The most common way is to format it into a 2D array of string, and then use the write measurements to file, or write spreadsheet to create a CSV file that Excel can open.  There are other options that are usually more messy, but can be done.
EDIT:  Oh and you might get better support from CAN related questions over on the Automotive subforum.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Similar Messages

  • X-can sample project

    Hey guys,
    I´m getting started with the myRIO-1900 and try to connect it with my car via X-CAN module with OBD-II BD9 cable to collect and record data from my car.
    I've installed Labview 2014, X-CAN, realtime module in my computer without any problem.
    When I connected myRIO 1900 and X-CAN module with my Mercedes, launched "X-CAN for myRIO" under "sample project", it worked successfully and I can read data from Labview.
    Question: What do all the data read mean in the labview, eg. what does identifier means and what does payload means? At first I thought they might be PID codes, but after browsing all the info online, I felt the data are not PID codes because they should start with P01 or P02. Is there a manual for me to review and learn? Or is there a weblink that can tell and translate these codes? 
    Here is a snapshot of the result. Appreciate for the help.

    HI lichlich1,
    I'm glad that you were able to get the example to run and read in values! That indicates that your NI hardware, drivers, and your program are working. 
    The identifier is an ID from the device you are interacting with. In this case, it's probably the car's ODB controller. As for the payload, that is the actual data sent by the car to your program. It looks like it's displayed in hex.
    As for the meaning of this data, that might rely on Mercedes. I would recommend looking for ODB codes. A quick search turned up this page as well as this more specific page of codes.
    Hope this helps,
    Andrew
    Andrew T.
    Application Engineer

  • Video Playback Problem with Developer Walkthrough of the Continuous Measurement and Logging Sample Project

    Hi!
    I have serious problems playing the video Developer Walkthrough of the Continuous Measurement and Logging Sample Project.
    As the video pauses every few seconds for buffering. I am not able to watch it. Just wanted to check if you can playback the video:
    http://zone.ni.com/wv/app/doc/p/id/wv-3401
    This happens on any browser (chrome, ie, firefox). I am using Win XP and the latest Adobe Flash Player. About 2 weeks ago NI Germany confirmed the problem and promised to contact NI USA as they are responsible for these videos. So far nothing happened. In the meantime I received an e-mail that the problem could not be confirmed although they had confirmed it before...
    Thank you for any feedback.
    Regards,
    Anguel

    Hello ctVolFan,
    As indicated in the "support" section of the SPOT, you should get in touch with self-paced-training(at)ni(dot)com.  I don't believe that team monitors these forums directly.
    Regards,
    Tom L.

  • Can someone send me sample project specifications pls ?

    Hello,
    I need to write the specs of an IDM project. However, I don't know the best formalism to follow on how to describe workflow, events, rights, resources adapters events...
    I know how to do it for other worklfow projects but I want to be sure to stick to SUN philosophy
    If someone can send me a sample project specifications, it would help me greatly
    Here is my email:
    b_ye_ny@yahoo<<NoSpamPls>>.com
    (pls remove <<NoSpamPls>> from the email)
    Thanks you very much
    Regards

    Are there any project specifications availiable at the Sun Partner program?
    Would be interested too in that!
    But in my opinion all the Sun Partner sites (like iForce and so on) and all the Sun internet sites are "a little" confusing and hard to find usable information in it!
    No SSO in my opinion!

  • How can we share knowledge such as sample projects and OPA standards?

    Is there a place for the community to share things? For instance, we have been working on OPA standards, etc. It might be nice for other people to be able to comment on or reuse what we have created.
    We also have example projects we are creating to prove concepts. As an example, we created a project to demonstrate temporal reasoning. This project answers questions such as "How do we make corrections to mistakes put into production for rate tables or temporal rules?" "How are general additions, subtractions, and modifications of rules handled when the rules are temporal?" "How do you unit test temporal rules to make sure they will not break at some point in the future?"
    These questions were not easy to answer, so it would be nice to share our solutions and see what the community thinks.

    Is the rule exchange down? http://www.ruleexchange.com/
    I had time today and wanted to upload a sample "OPA Standards and Guidelines" document for the group's feedback... It is a rough draft, but feedback would help improve the quality of our work.
    If I can manage it, I also wanted to upload a sample project that explains and demos temporal reasoning as we understand it. In light of some recent conversations on date usage, it seemed appropriate.

  • HOW CAN I GET ORACLE DEMO PROJECT, SAMPLE PROJECTS.....

    how can i get oracle sample projects on forms and reports...........
    give me the link so i can download it and look at it how it works
    thanks

    You're looking for Microsoft Access. Try www.microsoft.com.
    Using Oracle Forms requires an Oracle database instance. It is client-server architecture. It is not a matter of merely downloading example-install.exe, installing it, and being on your way looking at "how everything works".
    That is what you are seemingly expecting. And in that case, you do not want to use Oracle. You want to use a mickey mouse little file based database tool like MS Access.

  • Problem in uploading Online store sample project script

    I am not able to upload "online store" sample project script. The Appex (3.0.1) I am using flashes a message that the script size is exceeding the limit.
    Anybody, please help me.
    Jayashree.
    Message was edited by:
    user589027

    Are you 'uploading' it as a script? It is an export file and needs to be imported.
    1. Unzip and extract all files
    2. Access your target Workspace
    3. Select the Application Builder
    4. Click [Import >]
    5. Browse and locate the installer file, online_store_installer_0.9.sql
    6. When prompted, select to install supporting objects
    -- Sharon

  • XMII v12 Sample Project in SDN Downloads

    I downloaded and installed the xMII v12 Sample Project from SDN.   Hoping to use it to gain a better understanding of the workbench.
    I followed the instructions provided and was able to successfully import the project, and setup the required datasources.  However I began getting errors such as 'Template not found'.  After some digging I was able to figure out the problem.
    The project installs as 'Sample', with all files deployed under the 'Sample' root.  Unfortunately when the root is referenced within the htm, irpt etc... files it is spelled out as 'Samples' causing the template not found errors.
    Here's some html from OrdersSPC.htm, notice VALUE="Samples/SPC/Ord..."
    <APPLET NAME="SPCChart" CODEBASE="/XMII/Classes" CODE="iSPCChart" ARCHIVE="illum8.zip" WIDTH="760" HEIGHT="460" MAYSCRIPT>
    <PARAM NAME="QueryTemplate" VALUE="Samples/SPC/OrdersSPCQuery">
    <PARAM NAME="DisplayTemplate" VALUE="Samples/SPC/OrdersSPCChart">
    </APPLET>
    Although changing all the 'Samples' to 'Sample' did give me some time to better understand the workbench, it just made me wish for a global find and replace function. 
    Is there something I'm missing?  Would there have been a better way to fix this?
    So the intent of my post is to bring this to someones attention so it can be fixed, and provide a resolution to anyone having the same difficulty.
    Regards,
    Rod Hoffman

    From the URL
    [https://www.sdn.sap.com/irj/sdn/manufacturing-tools]
    Select xMII 12.0 Sample Projects and Tools,  under that I had difficulty with the sample project specfically.  I don't see an author, it just states "SAP Evaluation Software".
    Here is the full URL for the specific download.
    [v12 Sample Project|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/c0f4027d-b180-2a10-8daf-e0a78c7a9735 [original link is broken]]
    Rod

  • Updated libs for the CI sample projects

    Hi
    I am still having problems with the headless integration. It started working on my CI server, when we stopped using xvfb and used xvnc instead. However it just worked for a simple build but timed out when i tried it in a build that was calling multiple scripts.
    So I deceided to upgrade to the latest antask jar, and that worked fine locally but not on my CI server.
    I am getting a bit worried that the libs I am using don't work in the correct way with each other, so I was wondering if the CI sample project could be updated with the latest stable libs (ant task, ci listener, FU4).

    Hey Leo,
    We are working on getting our own CI setup for the FlexUnit project 
    working right now.  Once we have that in place it will be much easier 
    to make sure we have the updated projects and a good example together 
    on how it can run.
    Stay tuned.
    Simeon

  • Error in compiling Photoshop CC 2014 sample project

    Hi,
    I am trying to compile SDK sample project "outbound". but it is showing errors, as "Parse Issue: Unknown type name 'DialogPtr' " in DialogUtilities.h .
    DialogUtilities.h file is in "Adobe Photoshop CC 2014:photoshopsdk:pluginsdk:samplecode:common:includes".
    even if I add this path in project  settings it still shows the errors.
    how can I make this work?
    I am using Photoshop CC 2014 and Xcode version is 4.6.3 (4H1503)
    If you have any idea regarding project settings then please let me know.
    Thanks and regards,
    Priyanka.

    Are you using the CC 2014 release of the SDK?
    The DialogUtilities.h for mac do not work. They are the old Carbon API's. See the Dissolve example for an Objective-C UI.
    I would comment out the DialogUtilities.h include and other associated headers for Carbon UI. Some Carbon calls still work that are unrelated to UI.

  • Error in compiling sample project of Indesign CC 2014

    Hi,
    I am trying to compile sample project of Indesign CC 2014 using VC++ 2013. but it is showing me following error:
    "error C2039: 'assert_not_arg' : is not a member of 'boost::mpl' (..\..\..\source\sdksamples\basicmenu\BscMnuSuiteLayoutCSB.cpp)    D:\Adobe InDesign CC 2014 SDK\external\dva\third_party\boost_libraries\boost\iterator\detail\facade_iterator_catego ry.hpp"
    Build result is also showing "Unknown compiler version - please run the configure tests and report the results".
    I have added following path in "Project properties->VC++ directories->Include directories"
    D:\Adobe InDesign CC 2014 SDK\external\dva\third_party\boost_libraries
    D:\Adobe InDesign CC 2014 SDK\external\dva\third_party\adobe_source_lib
    Please let me know if any kind of settings I need to change in VC++ 2013.
    I am using application Indesign CC 2014 and VC++ 2013 and OS is Windows 8
    Thanks in advance,
    Priyanka

    You probably need to post this over in the InDesign SDK forum, but I'm not sure that's even the right place. Can you explain in plain language what this "project" is?

  • Mobile WebDynpro Sample Application Problem

    Hi,
    Iam new to MI Technology, I have couple of doubts.
    I have a application which is already developed using Java Webdynpro, now i want to view the application in the mobile. What should i do in-order to show it in a blacl-berry device. If so what all configurations need to done in SAP netweaver Studio. Is any softwares needs to be installed , I am using SAP Netweaver Portal 7.0 SP10. Also could anyone help in create a sample project(Step By Step ) .

    Hi Sankar,
    Any webdydnpro application can be viewed in the black berry emulator (UI elemnts rendering will be different though)
    You need to have MDS and blackberry emulator installed on your system.
    Run the webdynpro application make note on the URL and type the same URL in the blackberry browser.
    Check the following Wikis:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/mobile/mobileWebDynpro-Alwaysconnected+client

  • Please help me about samples project with COM UI DI

    I run sample project
    C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI DI\VB.NET\AddColumn
    but i can't test becoz i don't know screen b1 matching with oForm.TypeEx = "65270"
    Please tell me about screen b1 for test this code

    I don't know the answer right away, but:
    - take a look into the FAQ in the Wiki (https://www.sdn.sap.com/irj/sdn/wiki?path=/display//b1/faq)
    - there go to "UI Forms"
    ...and find these links (mid-term we want of course more information directly available in the Wiki...):
    List of form IDs:
    /people/lutz.morrien3/blog/2004/10/01/all-sap-business-one-formtypes-at-one-look
    Update: https://weblogs.sdn.sap.com/cs/user/view/cs_msg/14059
    The hints in the update will help you to get the title of the form - and thus will give you a hint where to look for the form. For your convenience I have copied the "relevant code here:
    Dim Info As FormInfo = Application.ResourceData.GetFormInfo("65270")
    FormInfo.Title
    ...gives you the title of the form

  • How to convert sample project using EF4, ObjectContext -- to EF5 DBcontext?

    I have been working with (wrestling with) trying to create a copy a small sample project -- that is actually 3 project -- a class library containing an ADO.Net Entity Data Model (EF4) which uses ObjectContext, a WCF service application project (that
    connects to the Entity Data Model), and a WPF client which consumes the (data?).  This sample was created in VS2010.  I am trying to create a copy of this sample project in VS2012 (with EF5 and DBContext). The VS2010 sample works fine.  A .zip
    of the sample project (the sample I'm working on -- which I have removed a few additional projects that were included in the original sample project) can be downloaded
    here
    The .zip also contains the sample database (called SkiResultDB, mdf & ldf -- which I recreated the sample database from the original because the name was too long and had too many periods in the original -- but hey, everything still works in
    this sample). 
    The sample project also uses
    [assembly: EdmSchemaAttribute()]
    attribute in the .edmx ...Designer.cs
      It looks like this:
    [assembly: EdmSchemaAttribute()]
    #region EDM Relationship Metadata
    [assembly: EdmRelationshipAttribute("myDataBindingModel", "FK_Competitor_Event", "Event", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(SkiResult.Data.Event), "Competitor", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(SkiResult.Data.Competitor), true)]
    #endregion
    "myDataBindingModel" is used 25 times through the designer.cs and the .edmx xml file (I renamed that bindingModel to myDataBindingModel -- to see if it would still work, and it did).
    here is what the designer.cs looks like (at a glance)
    When I try to create an ADO.Net Entity Data Model from the template list -- I just get bare bones --   ... : DBContext and none of the stuff that the original .edmx ... Designer.cs had.  But in the EF5 entity data model I do get
    ...edmx...context.tt which contains ...context.cs, but does not contain any of the methods in the original .edmx. 
    My request is if someone could explain -- just the class library part of this sample project for now -- how I could create an ADO.Net Entity Data Model like the original but in VS2012 (EF5) which does everything that the original ADO.Net Entity
    Data model does, the attribute decorators (did the author do that -- or was that generated by VS2010 or some other tool?).  Note:  I got this sample project from
    http://www.software-architects.com/devblog/2010/09/10/MVVM-Tutorial-from-Start-to-Finish
    which includes 8 (short) videos, very concise tutorial (the original sample project also included a Silverlight client and a unit test -- which I removed for simplicity  from my sample).  In the first video, the author specifically states
    that THIS tutorial is not about entity framework and thus did not explain much.  The first video just shows him selecting an ADO.Net Entity Data Model from the template collection and just clicking on the wizard.  I suspect that Entity
    framework was the "Fundamental" part of this sample project. 
    Any Suggestions appreciated.
    Rich P

    Hello Rich ,
    >>My request is if someone could explain -- just the class library part of this sample project for now…
    With the release  of the Entity Framework 5, the team uses the DbContext API installed of ObjectContext and the DbContext is recommended. In your case, since the project already uses the ObjectContext, I think it might be not easy to change
    it to work with the DbContext, you could follow steps as below to make the project still work with the ObjectContext AP:
    1. It still needs you to create the ADO.Net Entity Data Model in VS2012
    2. After you created the model, delete the XXX.Context.tt and XXX.tt files, they are used to work with the DbContext.
    3. In the designer windows, right click and select the properties, change Code Generation Strategy to Default/Legacy Object Context and save the designer windows.
    It would generate the entities are similar with the one you show in the image.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • YOUR PC CAN'T PROJECT TO ANOTHER SCREENS

    Earlier i have installed a windows 8.1 (32bit) opertiang system then i was able to use another monitor just by using a VGA cable with HDMI connector and it was perfectly working fine. Then i have installed the same OS of 64 bit now even i have installed all the drivers still not able to use the monitor each time this give error " your pc can't project to another screen" i have also installed the driver of graphics card then i cam to know through various sources that i need to update the graphics driver then i have downloded the latest graphics driver directly from the site of nvidia but still this problem persists. Please help as i have invested a lot of hours to resolve this issue but unable to do anything.

    Hi @anurag_bito9912
    Welcome to the HP Support Community! I see that you are having some issue connecting your notebook to another monitor. That is a very odd issue. Where did you get Windows 8.1 32-bit to begin with, as there are no 32 bit drivers for your model? What was your original operating system?
    I would recommend that you use the graphics drivers from HP instead of those from Nvidia as you have switchable graphics and they are configured by manufacturer of the notebook not the manufacturer of the notebook.
    Intel High-Definition Graphics Driver
    NVIDIA High-Definition Graphics Drivers
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

Maybe you are looking for

  • ALV with ABAP objects

    Hi all, How to use ABAP objects. I have created a program in se38 and how to call this function. ehat is the function call name. What are the uses.

  • Connect Benq projector to early Macbook Air

    Model Benq projector MX518 will not connect to MacBook Air 11" early model using adaptor as suggested by my Mac Dealer with DB9 cord connecting to computer No.2 /or Number one, only signal received is desktop imge and tht image is one which was the o

  • Scheduling agreement for service procurement

    Hi All, Am trying to create Scheduling Agreement for Services to Maintain Validity period for a longer time and do service entry sheet and invoice manually. But am not able to do service entry sheet , is there any option to do SES Other Side I did fr

  • "too many redirects"

    I can't read my gmail by way of mail.google.com.  It goes to my inbox for a split second then goes to a page that says "Safari can't open the page" followed by "Too many redirects occurred trying to open--.". This happens whether I go to mail.google.

  • Change Popup LOV template to put more spacing between rows

    I am trying to change the popup lov template to include a bit more spacing between the rows in the result set. So instead of seeing Test 1 Test 2 I want to see Test 1 Test 2 Looking at the html produced the rows are returned from a bit of javascript