NI CAN + CanOpen Library limitations (same as Copley?) - explanation?

I've been reading that LabVIEW CANOpen Library and NI CAN cards have a 50-object limit and up to 300 can message buffer limit, in which if these limits are reached, error messages will insue.
Does this hold true for using the Copley CMO?  Instead of creating my own PDOs and transmitting SDOs, Copley offers an object library which does many of these thinigs for you while the user picks actions from a drop down menu (relative move, absolute move, etc). 
Does the above limitation hold true for ANY Can hardware used by LabVIEW?  If we do not use Labview's CANOpen Library but use a different vendor CANOpen library (but a Ni CAN card), do we still see these limitations?
Also, I had a chance to create 50 nodes (objects) and was able to repleatedly send commands to about 6 simultaneously with an issue.  Would I have not reached my object limit in this case? 

These two limitations apply whenever you use NI-CAN boards with the NI CAnopen Library. But it sounds worse then it actually is.
You can use the NI Spy to see when the Library uses an object. It configures something like CANX:TDY where X is the CANport number and Y is the ID.
The library uses objects for all periodic or unique tasks, like NMT(one Object), RTR PDOs(one object per PDO), SDO(two objects), Error management(one object per option), Sync(one object).  The 300 messages issue only applies if you use the PDO buffer which is not often the case because most of the time you want to have the most recent data and therefore you would use the queue size 0.
DirkW
Message Edited by DirkW on 01-08-2008 08:08 AM

Similar Messages

  • CANOpen Library - Limited number of PDOs ?

    Hello,
    Here's my story :
            I have a CAN network grouping 13 CANOpen nodes ( motors, I/Os, pneumatic valves ) and a NI pcmcia adapter in my PC. I use LV 7.1 and the CANOpen library to build a nice application to automate all this.
            For each of 10 of this nodes, I declared ( and I need ) 2 RXPDOs and 3 TXPDOs.
            Actually, I am facing an error message ( PDO create from CANOpen library ) saying that I've reached the software/firmware memory limit ( of the pcmcia board I suppose ) and that I should reduce the size of the PDO queues or reduce the number of CANOpen objects... For each PDO, I set the buffer size at 2 frames which is not a lot in my point of view. I cannot reduce the number of CANOpen objects because I need them...
            What is the exact limit with my hardware ?
            Can my configuration handle 4 TPDOs and 4 RPDOs for each node ( in case I'd like to ) ?
    Another question :
             In my LV code, I created a cluster for each node storing a SDO handle ( CANOpen object ), 4 RPDO handles and 4 TPDO handles. I initialize them calling "create SDO" and "create PDO" at start up if I need them otherwise I let them to a default value (0). What do you think about this ? Can this be the source of the error message ?
    Thanks in advance for your answer

    Hi,
    The CANopen Library is based on the NI CAN driver. Because of the tight timing needs for SDO communication and the need to send periodic frames some library functions are using objects for communication. Objects are able run directly on the hardware, thus they can meet these strict timing issues. The bad thing is, they are limited in number to 50 per NI CAN device. That includes one per Port configuration, thus for a 2 port board , if you configure both ports there are 48 objects left for both ports together.
    The second limitation applies to the shared memory between board and driver. The driver can configure approx. 300 messages for queues for the board, shared between 2 ports if available.
    Now if you know this you can calculate the number of SDOs and PDOs you can configure until the mentioned error occurs.
    Ok , you are right, we need to know how many messages the particular functions configure for queues.
    Thats something we find from the NI SPY. The Tool gets installed with NI CAN and allows you to log all API Calls to certain drivers including NI CAN.
    The configuration api call tells us from the buffer page the size for Read and Write Queue configured with property 80000013 and 80000014. If you switch to AttrPtr. you can see the qeuesizes in hex at the same location.
    Now you can see that the CANopen Interface Create allocates 100 frames for the read Queue and 10 Frames for the Write Queue. This numbers are used to read all incoming frames and write all nonperiodic frames which are not configured with objects, like the NMT commands or RX PDOs.
    The SDO create takes internally 10 frames for the Read Queue only, because it needs to buffer the answers only.
    The TX PDO is created as an object but does per default not use any queue internally . But as you mentioned, you can configure a buffer size, which is the same queue.
    That means it is highly recommended to use one port devices or one port only for a 2 port device only, because you need 110 messages for the port configuration already.
    For SDOs i would recommend to close the handle if you have used the SDO and do not need it anymore. That frees the memory (10 messages ) for other operations.
    For PDOs i would recommend to use buffer size 0. That means you allways read the most recent value. I never needed a queue for my applications, but thats somewhat your decision. Within the configuration cluster you find the rx or tx PDO List control. This List triggers internally the COB ID you are using for the PDO. We configured four in each direction because it is likely that you canopen node uses these IDs which often are mapped by default.
    But if you need more then 4 PDOs you can use tx PDO 1 for example more then once, but you have to enter a valid COB ID by your own. That overwrites the default COB ID.
    See the attached example for LabVIEW, for details.
    But back to your problem: Lets calculate, which limit you reached first. 10 nodes with  3 Tx PDOs and 1 SDO. Here are the numbers: 60 messages and 30 Objects for the PDOs 100 messages and 10 objects for the SDOs and the Port configuration with 110 messages and 1 object.
    Thus you have 270 messages queue size and 41 objects.
    Thats not really the limity but it is near the limit and likely to cause the error with the next configuration step.
    I would  recommend the following:
    1. use one port only.
    2. close SDO handles after using them.
    3. use PDO buffer 0.
    Or use multiple boards . ;-)
    Hope that helps
    DirkW
    Attachments:
    Write and Read PDO Network Mapping71.llb ‏447 KB

  • I already have adobe digital editions on my mac pc and download books from the library to my android e-reader. Can I use the same digital editions on my ipad air, or do I need to load a different one onto my ipad?

    I already have adobe digital editions on my mac pc and download books from the library to my android e-reader. Can I use the same digital editions on my ipad air, or do I need to load a different one onto my ipad?

    Try following forum:
    Adobe Digital Editions

  • How can i get the same itunes library on 2 macs

    how can i get the same itunes library on two different macs, without having to pay for icloud please.

    Copy everything from one computer to the other.

  • I have a Ipod Nano and want to get another one , and use both. Can I use the same computer and library for both?

    I have a Ipod Nano and want to get another one , and use both. Can I use the same computer and library for both?

    Yes

  • When you have 1 itunes library.. and 2 ipods.. different names.. how can you share the same library???

    When you have 1 itunes library.. and 2 ipods.. different names.. how can you share the same library???  All of the songs that were put on there from a CD will sync, but the songs that were purchased.. "cannot be found"   How can we merge them?? or how can we share all songs.. purchased or not!

    When you have 1 itunes library.. and 2 ipods.. different names.. how can you share the same library???  All of the songs that were put on there from a CD will sync, but the songs that were purchased.. "cannot be found"   How can we merge them?? or how can we share all songs.. purchased or not!

  • Can I sync the same iTunes library on both my iMac and my MacBook Pro?

    Can I sync the same iTunes library on both my iMac and my MacBook Pro?  I've been connecting my iPhone to each and it's causing problems for me with them being different, despite my purchases always being under the same Apple ID.

    The easy way to do this is to keep the library on an external drive which you can plug into either computer.  Of course this isn't always the desirable solution.  You can try routinely copying the library from computer to computer though this gets tiresome. 
    Of possible relevance:
    Using iPhone, iPad, or iPod with multiple computers - http://support.apple.com/kb/HT1202 - You can manage your iPhone, iPad, or iPod with multiple computers as long as you have set the device to "Manually manage music."  -  e.g. adding music from a second computer to an i-device.

  • TS3683 Not enough space on my Mac HD to back up my iPad.   My iTunes library is on an external drive.  Can I use this same drive to Back yup my iPad?

    I don't have enough space on my Mac HD to back up my iPad.   Actually, my iTunes library is on an external drive.  Can I use this same drive to Back up my iPad?

    1. First make sure iPhoto is not running. If it is, quit it. Use the Finder to copy your iPhoto Library file to your external drive. Unless you've changed it, its located inside your Pictures folder and is named "iPhoto Library".
    2. After the copy is complete, start iPhoto while simultaneously holding down the option key. iPhoto will bring up a dialog box. The file in the list is your existing Library on your internal disk. Click the "Other Library" button and navigate to your external drive. Select your freshly copied iPhoto Library file and click "Open". iPhoto will from now on open and work with this library on the external drive.
    3. After you've confirmed iPhoto is working properly with the newly copied library you may wish to delete the original library in your Pictures folder to recover the disk space.
    Don't forget to keep a backup copy of your library on a separate disk. It's not a matter of "if" your external drive will fail but "when". You need to make regular backups or you'll be sorry someday.

  • Howto build CAN-devices with CANopen Library

    Hi
    We're two students working on a project to simulate CAN devices connected to a master. We have to "build" these devices in LabView. We've been working with the CANopen Library and the Channel API.
    We would prefer to use the CANopen Library, because it is easier that way to build the device's behaviour as it would be in "real-life". But the problem is, that the CANopen Library has been developed to build a CAN Master. Is there a way to bypass that. So that we could build the other side... a CAN device.
    We figured out, that we simply could alter the COB-IDs for de PDOs, that would do it. But the whole SDO and Sync part isn't that easy to bypass.
    Would be glad if we could get a tipp
    Thank you in advance
    Ranil Wijeyratne

    Hi,
    I'm a little confused on the master/slave terminology you're using, however, as CAN (also Canopen) is really a peer bus. Any device on the CAN bus can transmit and receive messages as described below (from the NI-CAN User Manual):
    "When a CAN device transmits data onto the network, an identifier that is unique throughout the network precedes the data. The identifier defines not only the content of the data, but also the priority. A CAN identifier, along with its associated data, is often referred to as a CAN Object. When a device transmits a message onto the CAN network, all other devices on the network receive that message
    . Each receiving device
    performs an acceptance test on the identifier to determine if the message is relevant to it. If the received identifier is not relevant to the device (such
    as RPM received by an air conditioning controller), the device ignores the message.
    When more than one CAN device transmits a message simultaneously, the identifier is used as a priority to determine which device gains access to the network. The lower the numerical value of the identifier, the higher its priority."
    As you can see, you can use our CAN interface "slave" to receive commands from any other device on the CAN bus "master".
    Also the Canopen Library is just the API for LabVIEW, both CAN and Canopen ends up in Bits which then will be send to the "Listeners"! They´re just on other Layers on the Programming. But both is really easy with LabVIEW
    Hope this helps.
    Alex Rudolph
    NI Switzerland

  • How can I use the same "I Tunes" on two different computers

    I’m using two different kinds of Personal Computer: One is Desktop PC And the other one is Notebook .
    In each computer there are the same songs and when I get the new ones to the Desktop I want them to be placed on the Notebook or reverse.
    Where does the I Tunes save the playlist on the hard drive ?
    I have prepared a playlist on my Notebook and want it to be seen on the Desktop but I dont want to fallow the steps File > Library > Export Playlist on the Notebook. Is there any other way to make this issue instead of the mentioned steps.
    How can I see the same Playlists and songs on two different computers ( notebook and desktop) including the updating processes.
    Operating systems of the computers:
    Desktop: XP Pro
    Notebook: Vista Bussiness

    I use SyncToy 2.0 to keep two instances of my library in sync. SyncToy's preview will show which files it is about to update giving you a chance to spot unexpected changes and during the run only the changed files will be copied saving lots of time.
    As long as I sync after making updates at one instance of the library before making any updates at the other then everything works just fine. I periodically run iTunes Folder Watch to check for any orphaned entries or new items that haven't been imported into the active library. If your machines are regularly networked together this process is fairly straightfoward. Mine are in disparate locations so I use one of the (physically) small WD My Passport host powered drives which I take between home & work, synchronising at either end. This gives me three complete copies of my library so I'm covering backup & synchronisation in the same operation.
    When connecting my iPod at either location iTunes recognises itself as the "home" library for the iPod so I'm able to use the sync with selected playlists option without getting warning messages about the iPod being synced with a different library.
    tt2

  • Can I use the same Apple ID for multiple devices

    Can I use the same Apple ID for multiple devices?

    Yes. Up to five devices can be authorized on a single computer using the same Apple ID. You can also use the same Apple ID on multiple devices is they are all going to use the same iTunes Library by the same user. But it's ill-advised if multiple users are involved who wish to keep their devices separate from the devices belonging to other users.
    How to use multiple iPhone, iPad, or iPod devices with one computer
    Using More than One iDevice on the Same Computer
    This applies mainly to couples who are adding another device and do not want their email, messages, etc. being duplicated on both devices. To begin read: How to use multiple iPhone, iPad, or iPod devices with one computer. You need to establish a separate Apple ID and password for whomever will use the new iDevice. See Apple - My Apple ID and Frequently asked questions about Apple ID. The easiest way is to do this on the computer using iTunes: iTunes- How to set up an Apple ID within iTunes.
    On the computer create a new user account for the person with the new iDevice. This will be the user account that person will always use. He/She will no longer use the other user account. This way that person will have a separate iTunes Library
    Start by transferring the new device(s) to a new account along with all your data.  Save any photo stream photos that you want to keep to your camera roll (unless they are already in the camera roll) by opening your Photos app, tap on Albums icon at the bottom. Now, tap on My Photo Stream album; tap Select; tap on the photos you want to select;, tap the share icon (box with upward facing arrow) in the lower left corner; then tap Save to Camera Roll.
    If you are syncing notes with iCloud that you want to keep then you need to open each of your notes and email them to yourself. Later you can copy and paste the text into new notes created in your new account.
    Tap on Settings > iCloud > Delete Account (only deletes it from this device, not from iCloud; the person keeping the current account will not be affected,) provide the password to turn off Find My Phone and choose Keep on My iDevice when prompted.  Sign in with a different Apple ID to create your new account. Choose Merge to upload your data.
    Once you are on separate accounts, you can each go to icloud.com and delete the other person's data from your account.
    Note: The essence of the above was created by user, randers4. I
    have made substantial changes to improve readability and syntax.

  • Multiple iphones each with an apple id - can i use the same laptop and itunes for back up, restore and updates?

    We have two iphones each with a different apple id - can i use the same laptop and itunes for back up, restore and updates without risking having my apps overwritten.  Basically does itunes keep the two iphones as two separate entities ?  Does iTunes differentiate between the two devices and keep two different SYNCs ?

    Yes, you can use the same computer for BACK UPS, RESTORING AND UPDATING. But that is it.
    You cannot, however, use it to sync the different devices. iTunes will only recognize one device to sync with and if you sync any other devices with that iTunes library, it will replace what is on the phone with whatever is in the library. It cannot differentiate between devices. At most, it will jsut recognize that the phone has been synced with a different iTunes library.
    So if you would like to use the same computer for backing up, restoring and updating, just make sure to turn of Automatic Syncing in your iTunes Preferences.

  • I now have 4 itouchs, 1 ipad mini, and three iphones for my own family members.  What's the bet way for me to setup itunes so that we can all share the same music, apps, movies, shows, etc?

    I now have 4 itouches, 1 ipad mini and 3 iphones in use by my direct family.  What's the best way for me to set things up so that we can all share the same music, apps, movies, shows etc?
    I would prefer to have one account to input dollars which allows all the users (my direct family) to share and buy things.
    Can we all have different user ID's however share the same account?

    I'll try to help a bit.
    ITunes match space is different to icloud space. With iTunes match you get storage for 25,000 non iTunes purchased tracks and other than a limit for individual file size, there is no memory limit.
    You can turn match on individuallyon each device (I have it turned off on my iPod but turned on on my iPad and iPhone). When you turn it on then you get access to all the tracks, and in my experience any playlists I create have transferred over very well. I understand that some people have had trouble with playlists though.
    I'm not quite clear with exactly what you mean regarding cleaning up your library, but be careful about using Match for this. There is no guarantee that matched songs will be exactly the same version as your own copy, due to some mismatches, so you could find some problems there. Personall, I am cleaning up my library before matching, but I am rather particular about keeping my library the way I want it. If you aren't as fussed then match could be the answer.
    Hope that helped.

  • Can I use the same iTunes folder on multiple pcs?

    Hello,
    I am using a hp laptop and desktop pc to stream (home sharing) to my Apple TV 3. My laptop is running windows 8 and the desktop is running XP Pro.
    Firstly, can I organise my iTunesw (video and audio) library to a western digital 'elements' external drive?
    Then, when I organise my desktop's iTunes  library on the hard dive , can I plug the same hdd on my laptop then play my iTunes movies on this.

    Hi there abjolm,
    You may find the information in the article below helpful.
    iTunes for Windows: Moving your iTunes Media folder
    http://support.apple.com/kb/ht1364
    -Griff W. 

  • My daughter has a ipodtouch that we have set up now i need to set up a ipod shuffle how do i do this can i use the same account or start another one

    my  daughter has a ipod touch now i need to add a ipod shuffle i have no idea how to get started can i use the same account i can't even figure out how to sync it  HELP

    yes you can have multiple devices on one account just not in the same library before you sync it create a new library by:
    If you are using Windows, hold down the Shift key and from the Start menu and choose All Programs > iTunes > iTunes.
    Then add the songs you want
    THen yuo can sync sync it by plugging in the usb cord the computer then plug in the ipod to the cord that it came with

Maybe you are looking for

  • BW query not working in portal

    Hello Experts, We have this issue when we have a BW query which is running well in RSRT but the query is not working in Portal. The error message we have is User when running the report is getting the error message "Error in File SMT-0454 - Contribut

  • Date data not showing in infocube

    dear experts, i am new to bw however i have been assigned by my organisation to try and produce some results,so i am in need of your help what i ve done this far is create rfc connections between bw and sap and install some of the ready infocubes in

  • HP Officejet Pro 8000 Will Not Print

    Hello, I have had a persistent problem with this printer which appears that it loses connectivity, however a diagnostic page revealed that it was connected to my wireless router and ready to go!  I don't know what to do and am getting extremely frust

  • Problem in task after upgrade to 7.4

    Hi, after upgrade from 7.1 to 7.4 now in UWL detail in some task there is the label: "Before you make a decision, you can display the attachments and objects which have been attached to the user decision. You can also create your own attachments. If

  • I keep losing files on my XServe

    I am having an issue with my application files that are stored on my G5 Xserve and hopefully someone has an answer. Currently on of our users will create a new application file, such as PDF, and place it in a folder that was created on our server. Th