Mixed message lengths on CAN Bus using USB-8473 Device

I am attempting to use the Frame API functions for LabVIEW
and send both 11-bit and 29-bit headers over a bus that uses both address lengths.  I am currently successfully sending 11-bit
packets but the 29-bit packets are having their addressing truncated to the 11-bit
length when put on the bus.   
As far as I can see I should have to set the standard
comparator to 0xCFFFFFFFF and then send messages.  I am using a NI USB-8473 CAN Device for doing
this.  Is there anything else I need to
change for extended addressing?

You need to OR your Extended ID with the 0x20000000 before giving it to the NCwriteNet.vi.
This is the way that the underlying CAN driver and hardware know that is it an extended ID you are trying to send.
The ID on the CAN bus will NOT have the ORed ID but only your ID. The driver/hardware filter the 0x20000000 from the ID.
This is the same for reading an extended ID on the CAN bus. 
Before using the ArbitrationId, you need to AND the ArbitrationId with 0x1FFFFFFF to filter the extended flag out. 

Similar Messages

  • NI-DNET or NI-CAN driver using USB-8473 to get a Devicenet communication

    Hi.
    I have a doubt regarding the proper driver to get a link between a Beckhoff BK5220 header and Labview, using USB-8473 interface.
    For this purpose, we are currently using a PCMCIA-CAN/2 card with NI-DNET1.41 driver and Labview 7.0, but our new laptops has been delivered without PCMCIA slot, so I have to find al alternative solution.
    I found the USB-8473 interface in NI Web. To operate with it We have to upgrade our Labview (it is not a problem) and upgrade at the same time the driver, but in the last version of NI-DNET driver, this hardware is still not supported.
    In the README of the last version of NI-CAN driver, it is supported, so, knowing that Devicenet protocol is actually a Can field bus protocol, and that we are currently using succesfully  a generic CAN PCMCIA card for this purpose,my question is:
    Could We use this hardware with this NI-CAN driver to get a link with a Beckhoff BK5220 using Devicenet protocol?
    Please let me know how I can solve it.
    Thanks in advance
    Best Regards
    Raul Gracia

    Hi Raul,
         You may find this KnowledgeBase interesting. Moreover, the following KB says "the user can implement DNET specifications using the NI-CAN Frame API". I encourage you to give a call to a National Instruments Internal Sales Engineer so that he can give you a hand with your hardware configuration .
         Regards,
    David Oña

  • Use USB GPS device in emulator

    Hello all,
    I would like to connect a real USB GPS device to the emulator running my code. Is there any way for my app running under the emulator to access the real usb gps device? I did a search on this and did not find any relevant discussions.
    Thanks,
    Danny

    Thank you for your reply. But I can not connect the property node which you suggest me in reply of my question because there is problem of connection. Here I am attaching my vi so can you please give me the solution of my question, How can I use USB RAW device in Interrupt transfer write mode??
    Attachments:
    project_basic1.vi ‏16 KB

  • When I use my IPhone 4S to view the Shaw Go Movie Central App when I am at home I only use WiFi which is automatic, I start watching a show and sometimes I will get a message like "you can not use your cellular for video playback" or something close to th

    When I use my IPhone 4S to view the Shaw Go Movie Central App when I am at home I only use WiFi which is automatic, I start watching a show and sometimes I will get a message like "you can not use your cellular for video playback" or something close to that. Then I received an email from Telus saying I had used my 3G instead of Wi-Fi  using 75% of my data. How can this happen when I'm on Wi-Fi at home? If it switched to 3G for some reason I should have been disconnected and not just transferred to 3G network using up my data. What is the fix for this??

    It doesn't have to be that complicated, Verizon iPhones come unlocked, just tell VZ you're going on Holiday/Traveling and suspend the service, no need to pay for service if you're not going to be using it. Pick up local SIM cards in the countries of your choosing, pop them in, re-activate iMessage and you're set!
    I recommend getting a SIM card from the Three network in England, they have great EU roaming rates and free like-home roaming in Italy.
    Set your phone's region to match the country you're in, it'll save from some headaches when calling local/international numbers.
    To answer your questions,
    1. If you choose not to have a local SIM card, it is good to keep your phone in Airplane mode to save battery.
    2. Make sure the two iPhones have different names to reduce sync/restore issues.
    3. If husband has an iPhone also, you can chat with iMessage/Facetime, just give him heads up about the new number you'll have. Otherwise, use Whatsapp if he's got an Android. You can activate Whatsapp with your American number or the international number if you choose to get a SIM in Europe.
    Also, Get the MagicJack app and/or Google Hangouts, both of those apps provide you with free calling to the USA and Canada using any internet connection. Google Voice is another good way to SMS across the seas.
    Let me know if you need any more tips for iPhoning across the pond.

  • I have updated to OS X 10.9 and now can't open Aperture, message reads You can't use this version of the application "Aperture" with this version of OS X. You have "Aperture" 3.2.3... all i need to know is how to get Aperture to work again..help !

    I have just updated to OS X 10.9 and now find that I can't open Aperture to access photos etc, message reads : You can't use this version of the application "Aperture" with this version of OS X. You have "Aperture" 3.2.3... whichj is not a lot of help, i have limited technical ability and all i need to know is how to get Aperture to work again...help !

    Software Update?

  • II  downloaded the OS X version 10.9 and my iPhoto version 9.2.3 will n.ot open.  I get a message that I can't use this version of the application I photo with this version of OSX.  What do I do now and how do I get the photos out of the old version?

    I downloaded the OS X version 10.9 and my Iphoto version 9.2.3 will not open.  I get a message that I can't use this version of the application I photo with this version of OS X.  How do I upgrade to a i photo that will run on 10.9.  Do I purchase a new program or can I do just an download?

    Check the "Purchases" page in the Mac App Store and see if there is a more recent version there already waiting for you.

  • I have just bought a 2011 iMac (2.5 ghz, 4gb) and logic express 9, and when i installed logic and tried to run it i had a message saying 'you can't use this version of the application logic express with this version of Mac OS X. How do i sort this out!?

    I have just bought a 2011 iMac (2.5 ghz, 4gb) and logic express 9, and when i installed logic and tried to run it i had a message saying 'you can't use this version of the application logic express with this version of Mac OS X. How do i sort this out!? It is very frustrating as the main reason i have bought  a mac is to use logic! Any help would be great as i am a complete novice when it comes to Macs!

    You're probably on OS X Lion?
    I had the same problem as you. I used Software Update to update Logic Express to the latest version, and then it ran without any problems.

  • How can I use USB interface in Labview?

    Hi.
    Does labview allow to USB interface?
    I have been seen allowing GPIB and RS232.
    I'm beginer at Labview and wanna use USB interface for my target system and pc.
    I wanna know how to labview interfaces from target system to pc.
    And if Labview doesn't provide USB interface module, how can I use USB?
    Is using a USB at Labview hard to beginer?
    Plz, answer to my quetion.
    sorry, my English is very poor.
    thx for reading my article.

    You can access devices connected to the USB port, but not in the same way as you would a GPIB or RS232 device. There are no USB drivers like there is VISA for GPIB or serial. Rather devices that plug into the USB appear to the systen as some sort of standard resource like a printer, disk drive or IO board. LabVIEW then interacts with these devices as it would any other device of the same type.Look at it this way, if you have a USB daq device you will access it through MAX the same as if it were a plugin card. Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Can't open mail and app store. I've tried to reinstall Maveriks using recovery but I get a message that I can install using my apple ID. Any help??

    Can't open mail and app store. I've tried to reinstall Maveriks using recovery but I get a message that I can install using my apple ID. Any help??

    Disable your antivirus and firewall, and try again.

  • Can I use USB 3G data Modem on my iPad MINI as wifi is not Available everywhere?

    Can I use USB 3G data Modem on my iPad MINI as wifi is not Available everywhere, I have just purchased one.

    You can't connect a USB 3G dongle to an iPad, it won't be recognised. You can use an iPhone as a personal hotspot for the iPad (if you phone carrier supports it), or you can get mifi devices which act as mobile hotspots

  • Can i use USB 2.00 or USB 3.00 with my laptop? How do I know which USB ports my laptop has? MacBookPro7,1 Processor Name:     Intel Core 2 D

    Can i use USB 2.00 or USB 3.00 with my laptop? How do I know which USB ports my laptop has? MacBookPro7,1 Processor Name:
    Intel Core 2 D

    MacBookPro7,1
    Your computer has USB 2.0 ports. You can use USB 3.0 devices with it, but at the speed of USB 2.0.
    (103917)

  • Can iPad 2 use hardwired ISP?  Can it use USB wi-fi boosters?

    Can iPad 2 use hardwired ISP instead of wi-fi?  Can I use USB wi-fi reception boosters on it?

    You cannot use Ethernet modem. You need wireless ADSL router.
    You can use Wireless Extender.
    http://www.aztech.com/sg/homeplug_hl110ew.html

  • Errors when using multiple USB-8473 devices

    I am trying to put together an application that uses five USB-8473 devices simultaneously on one PC. I can't seem to get more than two of them running without getting error -1074388956 (object handle invalid). Any two of them will run together, but when I go from two devices to three, I get the error every time. I have gone through and made sure that the object handles I am providing to ncReadNetMult are the same ones generated by ncOpen. Is there some limit to the number of these devices that can be run at the same time on one PC?
    It is not a USB issue (though they are all on the same powered hub) because I am only writing 4 frames/sec on each device and get the same issue without any modules attached.
    I need to run five at a time so I can talk to five modules with the same address at the same time.

    Marcus,
    Can you please clarify your comments regarding the USB hub? Specifically why you believe the hub is not part of the issue? I looked into the spec for the USB 8473 and these devices are rated at 250mA and 5VDC per module. Can you please check the rating of your hub? If you are trying to run 5 modules simultaneously, you will need the hub to output 1250mA to power all 5 modules. One of the common current output ratings is 500mA per hub - thus your ability to run only 2 modules.
    One way to eliminate the hub as the root cause is to try to connect multiple modules directly to your computer. I checked on my system and found that each of my 7 USB ports is rated at 500mA each. To check on your computer simply go to the Device Manager and expand USB Controllers. This will let you know how many internal "hubs" are on your system. When you right click on a hub, select "Properties", and click the "Power" tab, you will see the current rating of the ports assigned to that internal hub. If you have 3 (or more) available ports that meet the power requirements, then you should be able to test with three (or more) modules to see if the issue is present without the external powered hub.
    To me it sounds as though your hardware requires more current than the hub can supply.
    Kareem W.
    National Instruments
    Web Product Manager

  • Can I use a USB3 device on a IMAC27 from medio2010

    can I use a USB3 device on a IMAC27 from medio2010

    A 2010 iMac is USB 2.0, you can likely use the device connected via USB 3 however it will run at USB 2 speeds.

  • Can I use two different devices with different apple ID for backing up data on one machine without losing any data that was backed up with one device earlier?

    Can I use two different devices with different apple ID for backing up data on one machine without losing any data that was backed up with one device earlier?

    The link is to a discussion started on 12/18 in the FiOS Internet forum.  Here's the link I get now, however it is different than the link I pulled a few hours ago.  If this system changes the link again, it may not work.
    http://forums.verizon.com/t5/FiOS-Internet/Frustration-and-just-confused-with-internet-help-please/t...
    You can also look for the topic, "frustration and just confused" in the FiOS Internet forum.
    Here's a link that is in the thread that gives more detail.
    https://secure.dslreports.com/faq/15984
    Good Luck!
    P.S.  "Copper Contributor" is my "rank."  gs0b is my user name.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

Maybe you are looking for

  • Success with adding an external eSATA drive to a Verizon FIOS DVR

    August 4, 2012 - Success with adding an external eSATA drive to a Verizon FIOS DVR I just upgraded from a Comcast DVR to a Verizon FIOS DVR.   I upgraded because my old DVR was limited to 500GB (1/2 TB) on the internal drive and the new FIOS DVR allo

  • IMac Freezes and curser pinwheels

    iMac freezes with pinwheel several times a day. Have to force restart. Control/option/escape has no affect. Usually occurs when I am trying to open something in mail or trying to launch a video link. I am using an airport to connect to the internet.

  • How to make round borders on moving object

    what i'm trying to do is to make objects move randomly in a circle.... i found codes for rectangular boundary...but can't find anything with curves... hope you guys know how to deal with my problem..thanks!

  • Hook two monitors to MacBook Pro

    I'm new to this posting questions so please bare with me if you have seen my post before. I've have posted this question twice but can't find either post to see if someone has responded. I recently bought a MBP with 1 Firewire800 port; 1 Thunderbolt

  • I seem to be missing DAQmx VIs?

    I installed v 7.0, and then tried to run an example DAQmx VI from the developer zone. However, the VI can not start because a lot of DAQmx VIs seem to be missing. Doing a search on my Labview 7.0 directory, I do not find any VIs starting with DAQmx*.