The second frame lost in CAN communication when use NI PCI-CAN/XS2 card

I got a trouble on CAN communication recently.
 I need to commmunicate a Cluster with CAN BUS,the baud rate is 500kBPS,the CAN card is NI PCI-CAN/XS2. The operating system is Windows XP.
normally,the PC send a command to Cluster,then read back a frame of data from the Cluster,but for some commands,the Cluster will return two frames of data,and the programe on PC cannot receive the Seconds frame,it lost.
I searched the forum,most of the reslut is the error about CAN BUS overflow,which make the CAN frame lost,but there is not any error report on my programe,and the baud rate is no that fast,I also use another port of NI PCI- CAN/XS2 to monitor the CAN bus,the second data frame never appear,when I replace NI CAN card with Vector CanCaseXL(CAN card) ,and call CanCaseXL's DLL in labVIEW,it can get the second CAN frame,the monitor of Vector CanCaseXL can get the second data frame too.
so,is there some software/hardware configuration need to be done to get the second data frame?
the attached pictures are NI-CAN/Vector CAN monitor and CAN init/write&read in my programe.
Any reply is appreciate!!! thanks
帖子被iwanttofly014在 12-12-2009 07:41 PM
时编辑过了
帖子被iwanttofly014在 12-12-2009 07:43 PM
时编辑过了
Flying...
www.vihome.com.cn 虚拟仪器家园
Solved!
Go to Solution.
Attachments:
NI CAN monitor.jpg ‏165 KB
Vector CAN monitor.jpg ‏58 KB
CAN init.jpg ‏80 KB

Thanks your code.
I try the code you posted, It still no work, I found you has improved the "Get data.vi",It works better,but the second frame still no shown.
I used the  NI CAN monitor in MAX to monitor the CAN bus,there is no second frame shown in the monitor,See attach pictures.but It shown in the Vector CAN monitor and the code call the Vector DLL.
Have a great day.
帖子被iwanttofly014在 12-16-2009 08:02 PM
时编辑过了
Flying...
www.vihome.com.cn 虚拟仪器家园
Attachments:
LabVIEW VS Monitor(Vector CAN).JPG ‏70 KB
LabVIEW VS Monitor(NI CAN).JPG ‏40 KB

Similar Messages

  • Hi, using iphoto 6, i suddenly lost albums: they are still in the directory, but no pictures in some albums.Using finder, I can locate the pictures and even get preview. But impossible to import them. Anyone can help? thanks

    Hi, using iphoto 6, i suddenly lost albums: they are still in the directory, but no pictures in some albums.Using finder, I can locate the pictures and even get preview. But impossible to import them. Anyone can help? thanks

    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library allowing it to overwrite the damaged file.
    2. Download <a href="http://www.fatcatsoftware.com/iplm/"><b><u>iPhoto Library Manager</b></u></a> and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 6* library:
    Note this will give you a working library with the same Rolls and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library on your desktop and find the Originals folder. From the Originals folder drag the individual Roll Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.

  • Firefox crashes the second I purchase on Ebay. When Firefox reopens, it brings me to the purchase page again making me think the transaction did not go through. Later I find out the transaction did go through.

    Crashes the second I purchase on Ebay. When Firefox reopens, it brings me to the purchase page again making me think the transaction did not go through. Later I find out the transaction did go through.

    This is all very confusing and frustrating. You recommended that I install the latest updates for:
    1. Shockwave Flash security (but do not tell me the number for the latest update)
    2. Java Plug-In version 1.6.0_07
    3. Flash version 10.0
    However, you do not tell me how install these. I also woke up early so I could access your Chat service from 6:00 - 7:00 am Pacific time but it is not available. I have also not been able to find a contact phone number to get my problem resolved. I regularly purchase on ebay and have had this problem for all 3 purchases I made in the last week. I need to purchase several other items in the next few weeks before I leave the country for 2 months. I need to get this problem resolved immediately. If someone can call me, my phone number is 720-***-****.
    Thank you.
    Susan Bells

  • I cannot paste into the body a a Gmail message when using FFox but can di so using IE.altho

    I cannot paste into the body a a Gmail message when using Firefox but can do so using IE
    Occasionally when I paste only portion of the text appears but now I cannot paste any text at ll

    Hello ymda, '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
    Restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    Thank you

  • Drop down menus on iPad, the first selection in the drop down will not load as a selection when using safari, what can I do?

    Drop down menus on iPad, the first selection in the drop down will not load as a selection when using safari, what can I do?  I use this for my mobile, on-site auto repair business and not being able to call up repair and diagnostic info and reference for some cars is troublesome for sure. It works fine on the computer and I have installed a remote desktop app as a workaround but it is unreliable because the desktop is not business dedicated and may be off or in use at the time. So is there a known fix for this?
    Let me paint a more descriptive picture, visualize 4 drop down selection menus, first one is for year, next one is for make, 3rd one is model and the last one is for engine size/type. If I wanted to choose a 2012 vehicle it wont work because it is the top selection on the list. This can be forced by selecting any other year and then coming back to 2012. Ok fine, but then let's say I wanted to choose Acura as the make, well it won't take it because again it's the top selection. Again you work around it be selecting any other make and coming back to Acura. Ok now select the model, same trend follows. But now since most Acura vehicles come with dedicated engines and no optional engines I have only 1 selection in that final drop down menu and it will not take my selection and therefore never let me proceed to the info I need.
    This is also true when ordering parts from my wholesaler's website, they use drop downs and I can only get to that last drop down and then I'm stuck. This is blindingly frustrating, what options do I have. I'm not opposed to any avenue at this point.

    Did you ever figure this out? I bought my iPad last week to use in my business as well. I assume you are trying to use alldata? That is where I noticed this same issue. I had problems with identifix working with safari but downloaded a different browser and that works fine. Alldata does not work with either browser. The main difference is that on identifix if there is only one engine selection, it automatically selects the only option and continues to the home page. With alldata you have to make the selection manually even if there is only one option. Honestly if I can't get this to work I am going to return the iPad as it looses a significant amount of usefulness to men

  • HT204266 I was trying to buy an app from the apple store, it asked for confirmation , when I re-entered my credit card details, got the message that your payment method is not valid!!!! How can I fix this problem?

    I was trying to buy an app from the apple store, it asked for confirmation , when I re-entered my credit card details, got the message that your payment method is not valid!!!! How can I fix this problem?

    Is this a pre-paid card thing? Or different billing address than your iTS account?

  • I can't seem to use the 'Check seats' link on Delta when I use Firefox but Safari works fine. I get the message 'not available at this time' when using Firefox but when I go to Safari it works fine.

    I can't seem to use the 'Check seats' link on the Delta Airlines site when I use Firefox but Safari works fine. I get the message 'not available at this time' when using Firefox but when I go to Safari it works fine. I love Firefox but this sucks!

    That issue can be caused by corrupted cookies.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox > Preferences > Privacy > Cookies: "Show Cookies"
    *http://kb.mozillazine.org/Cookies

  • When using iphoto I can view the photos but when I double click on a photo it becomes a black box with a white circle on the screen

    When using iphoto, I can view the photos but when I double click on 1 specific photo it enlarges to a black box with a large white circle in it...doesn't matter which photo I click on the end result is the same...black box with a white circle.

    Hello michelefox17
    It's sounds like you may need to rebuild your iPhoto Library. The article below has the steps on how do that.
    iPhoto 6 and later: Rebuilding the iPhoto library
    http://support.apple.com/kb/ht2638
    If your issues persist then you may want to contact Apple Support
    Contact Apple Support
    http://www.apple.com/support/contact/
    Hope that help,
    -Griff W.

  • When using Firefox I can no long get the two finger enlargement to work on my Apple. The same site will enlarge using Safari, so I assume it has to do with Firefox

    When using Firefox I can no long get the two finger enlargement to work on my Apple. The same site will enlarge using Safari, so I assume it has to do with Firefox

    Some gestures have been removed in Firefox 4 and later.
    You can restore the zoom feature by changing the values of the related prefs on the <b>about:config</b> page.
    browser.gesture.pinch.in -> <b>cmd_fullZoomReduce</b>
    browser.gesture.pinch.in.shift -> <b>cmd_fullZoomReset</b>
    browser.gesture.pinch.out -> <b>cmd_fullZoomEnlarge</b>
    browser.gesture.pinch.out.shift -> <b>cmd_fullZoomReset</b>
    browser.gesture.pinch.latched -> <b>false</b>
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold(user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • How to execute the second data block in master child form using lov

    Hi All,
    i am developed a new custom master child form using stacked canvas.Here i am taking two frames with diffrent data blocks.my point is i am enter the value from the lov in first frame automatically execute the second frame data block without button.
    example:
    fisrtdatablock:dept no(dept table).
    second datablock:employee information(emp table).
    select the dept value from lov automatically execute the second data block emp information.
    can help me any one.
    Regards,
    sekhar.
    Edited by: 994418 on 17 Mar, 2013 10:40 PM

    994418 wrote:
    Hi All,
    i am developed a new custom master child form using stacked canvas.Here i am taking two frames with diffrent data blocks.my point is i am enter the value from the lov in first frame automatically execute the second frame data block without button.
    example:
    fisrtdatablock:dept no(dept table).
    second datablock:employee information(emp table).
    select the dept value from lov automatically execute the second data block emp information.
    can help me any one.
    Hi, sekhar.
    Welcome to the Oracle Forums. Please take a few minutes to review the following:
    <ul>
    <li>Oracle Forums FAQ
    <li>Before posting on this forum please read
    <li>10 Commandments for the OTN Forums Member
    <li>How to ask questions the smart way
    </ul>
    Following these simple guidelines will ensure you have a positive experience in any forum; not just this one!
    >
    Your forms mode isn't clear. Is it in enter-query mode or insert mode.
    what can you do ?
    use a timer in post-change or when-validate-item trigger at deptno item at first data block. because go_block isn't supported by p-c or w-v-t trigger.
    and at when timer expire, write your code to go second block and insert/query the associate date from emp table.
    Hope you understand.
    Hamid
    If someone's response is helpful or correct, please mark it accordingly.*

  • I recently upgraded to the latest version of FF and now when using a webmail client I am routinely logged out when I try to search e-mail. Why? I go to IE and it works... but, I hate IE.

    I recently upgraded to the latest version of FF and now when using a webmail client I am routinely logged out when I try to search e-mail. It works in IE, but I don't like or want to use IE.
    == This happened ==
    Every time Firefox opened
    == Today

    Unstable means it can vary in stability day by day as it can be crash prone to being stable. Features can be a work in progress for a while. The May 24 Nighty build was crash prone for a lot of testers for example.

  • HT202213 When using home sharing, can you copy music permanently from an iTunes library to an iPod touch?

    When using home sharing, can you copy music prmanently from a iTunes library to an iPod touch? Is it possible when home sharing music from my Mac to an iPod touch, can you copy the shard music on the ipod touch in to the ipods library?

    Not that I have found via a Google search

  • I have a mac 10.6 system when using firefox, I can no longer open attachments or downloads. I deleted firefox and reinstalled and it still doesn't work.

    When using firefox, I can no longer open attachments, pdf or downloads. A new window will open and it is blank. The only way to open an attachment or pdf is to shut down firefox and use safari. Everything works with safari so I can't understand what went wrong with firefox. I even download adobe reader thinking that would help. I then deleted my original firefox and re downloaded firefox again. It still doesn't work.
    I am using a 10.6 operating system on my Mac.

    Try to disable the Adobe Reader plugin in Firefox (Tools > Add-ons > Plugins) and use the external Adobe Reader application or Preview application instead.
    *Firefox > Preferences > Applications > Adobe PDF document : Use Adobe Reader
    PDF files may also be found under another entry like Portable document.
    *https://support.mozilla.org/kb/change-firefox-behavior-when-open-file

  • When using Mavericks, how can I automatically replace 'i' with 'I' when typing?

    When using Mavericks, how can I automatically replace 'i' with 'I' when typing?
    It was easy to do prior to mavericks using system preferences (language and text), but now I can only submit a 2 letter word to replace, not a 1 letter word. I have tried using a space but it doesn't allow that. I would assume that most people would love to be able to type quickly without having to make uppercase I all the time (first world problem i know), so I can't understand why apple have removed this feature.

    There is the shift key, or text replacement approach, providing you have enabled two things:
    Edit > Substitution > √ Text Replacement
    System Preferences > Keyboard > TextClick + to add a replacement
    Replaceii[spacebar]
    With
    I[spacebar]
    Press return
    Quit System Preferences
    Now, when you type ii, you will see a pop-up offering I.
    In the OS X App Store, search for WordService. This free collection of Services will enable you to just type your content, select it, and then choose the Service item, “Initial Caps of Sentences.” It does what it says.

  • [svn:bz-4.x] 16147: Fix a few more regression tests on the 4. x branch that were failing when using Spring integration.

    Revision: 16147
    Revision: 16147
    Author:   [email protected]
    Date:     2010-05-17 06:18:38 -0700 (Mon, 17 May 2010)
    Log Message:
    Fix a few more regression tests on the 4.x branch that were failing when using Spring integration.
    Modified Paths:
        blazeds/branches/4.x/qa/apps/qa-regress/WEB-INF/src/runtimeconfig/remoteobjects/ROMessage Destination.java
        blazeds/branches/4.x/qa/apps/qa-regress/WEB-INF/src/runtimeconfig/remoteobjects/RuntimeCo nfigurator.java
        blazeds/branches/4.x/qa/resources/webtier/flex_sdk_4/flex-config.xml

    Well heres my story. I tried kde4 from extra the last 3 weeks and I like it. I have used xfce for the past 3 years, previous to that gnome. Tried kde but never really liked it. Now I am only using workspace, base, mutimedia and graphics.
    Here is what I like.
    1- Dolphin, awesome I have used thunar a while and it is great but I love splitview, and fish for ssh (which has been around a while I know), and the ability to mount other partitions on my hdd with a click no fstab entry or nothin'.
    2-Pretty, I've used xfce with built in compositor an love the snappiness. But I like desktop grid with kde4 and flipswitch. Compiz-fusion is cool but I prefer not to use I'll take what the DE gives. Plasmoid are cool too.
    3- Gwenview is nice too. Use to use gqview, but thumnails are nice.
    Looking forward to or lacking
    1- Keyboard shortcuts, Yes xbindkeys is there but if I have a DE I want it to do it. They just don't work now.
    2- kde4 has windows specific settings, but I can't set the opacity for particular windows , doesn't work.
    3- Ram of course is much higher in kde4, but maybe I'm getting old I just don't care as much.

Maybe you are looking for

  • Laserjet 2100 will only print one page at a time.

    I recently acquired a second hand Laserjet 2100 Series. Installation was fine but it will only print one page at a time, I have to keep pressing the 'Go' button, which is very frustrating. The manual tells me that it is in 'Manual' mode but not how t

  • Oracle 9i on linux 9.0

    Hi all i try to install oracle 9i on redhat linux 9.0 when i run ./runinstaller it ask me all information but it showing some error while creating java Environment ( Link Pending)

  • Going over to MAC.

    I have CC apps on subscription. If I swap over to MAC from Windows. Can I just download them again?

  • Can't open Keynote files from aliased folder

    I am unable to open Keynote 3 files from aliased folders (I had the same problem with Keynote 2). 1) Do other have the same problem? 2) Can this problem be fixed. Thanks. Bob

  • Change in mutual fund face value

    Dear All,    face value of one of mutual fund got changed now it is from 10 to 100 so i want to execute this transaction in tresury module kindly give your suggest how can i reduce my units & in which t- code. Regards Pramod