What is ths maximum PDO read buffer size using the Series 2 CAN cards?

Does anyone know the maximum size for the PDO read buffer when using a Series 2 PCI NI-CAN card?

Hi
The maximum size for a single PDO does not depent on the series of your board it is depending on what else you are doing with the CANopen Library.
The board uses a specific shared memory to transfer messages between driver and hardware. The size of this memory fits nearly 350 messages.
The CANopen Config takes 100 messages for different services like NMT. That means the maximum size for a single PDO would be approx. 250 messages.
Or for 5 different PDOs 50 each. But normaly you can leave the buffer size to zero, thus the PDO Read would allways read the newest data.
This calculation is true for the board. That means you have 350 messages per board and 2 ports whould need to share the memory.
DirkW

Similar Messages

  • Network Stream Error -314340 due to buffer size on the writer endpoint

    Hello everyone,
    I just wanted to share a somewhat odd experience we had with the network stream VIs.  We found this problem in LV2014 but aren't aware if it is new or not.  I searched for a while on the network stream endpoint creation error -314340 and couldn't come up with any useful links to our problem.  The good news is that we have fixed our problem but I wanted to explain it a little more in case anyone else has a similar problem.
    The specific network stream error -314340 should seemingly occur if you are attempting to connect to a network stream endpoint that is already connected to another endpoint or in which the URL points to a different endpoint than the one trying to connect. 
    We ran into this issue on attempting to connect to a remote PXI chassis (PXIe-8135) running LabVIEW real-time from an HMI machine, both of which have three NICs and access different networks.  We have a class that wraps the network stream VIs and we have deployed this class across four machines (Windows and RT) to establish over 30 network streams between these machines.  The class can distinguish between messaging streams that handle clusters of control and status information and also data streams that contain a cluster with a timestamp and 24 I16s.  It was on the data network streams that we ran into the issue. 
    The symptoms of the problem were that we if would attempt to use the HMI computer with a reader endpoint specifying the URL of the writer endpoint on the real-time PXI, the reader endpoint would return with an error of -314340, indicating the writer endpoint was pointing to a third location.  Leaving the URL blank on the writer endpoint blank and running in real-time interactive or startup VI made no difference.   However, the writer endpoint would return without error and eventually catch a remote endpoint destroyed.  To make things more interesting, if you specified the URL on the writer endpoint instead of the reader endpoint, the connection would be made as expected. 
    Ultimately through experimenting with it, we found that the buffer size of the create writer endpoint  for the data stream was causing the problem and that we had fat fingered the constants for this buffer size.   Also, pre-allocating or allocating the buffer on the fly made no difference.  We imagine that it may be due to the fact we are using a complex data type with a cluster with an array inside of it and it can be difficult to allocate a buffer for this data type.  We guess that the issue may be that by the reader endpoint establishing the connection to a writer with a large buffer size specified, the writer endpoint ultimately times out somewhere in the handshaking routine that is hidden below the surface. 
    I just wanted to post this so others would have a reference if they run into a similar situation and again for reference we found this in LV2014 but are not aware if it is a problem in earlier versions.
    Thanks,
    Curtiss

    Hi Curtiss!
    Thank you for your post!  Would it be possible for you to add some steps that others can use to reproduce/resolve the issue?
    Regards,
    Kelly B.
    Applications Engineering
    National Instruments

  • How to tell what version of Acrobat or Reader was last used to save a PDF

    How can I tell what version of Acrobat or Reader was last used to save a PDF file? My users are using fillable forms from grants.gov. We want them to use Adobe Reader 8.1.3 to fill these forms, but some accidentally use the Pro version of Acrobat. They need this to make PDFs from Word & other apps, but Pro will corrupt the fillable forms.
    When I open a saved form in Reader 8.1.3 and click File > Properties it says Acrobat 7.x even though I know it was saved with 8.1.3.
    Is there a way to know which version number and type (Reader or Pro) last saved a PDF?

    But it won't tell you what was used last. It just gives the original information.
    It also won't differentiate between Pro and Standard and of course won't mention Reader at all.

  • Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files but still have them on the TC for future reference..

    Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files on iMac 20inch but still have them on the TC for future reference..eg some movies on iTunes. I want to directly save them on the drive so I can delete them from iTunes and gain some storage. (Ps on iMac 20 inch (it's almost full - 320 GB) when I enter time machine, a tab comes up on finder which reads "Time Machine backups" it's able to be ejected like a disc or a connected device. On the iMac 20 inch, I dragged some files onto there as if using it like a hard drive. Is this the correct method? Then I went to my 27inch iMac and saw the "Time Machine Backups" hoping to see the files I dragged from the 20inch iMac. But the files were not there except a folder that said "Backups.backupdb". Can someone help me?

    It's not a good idea to use a network disk for both Time Machine backups and other things.  By design Time Machine will eventually consume all the space on its output disk, which will then cause problem for your other files.  I'd store those other files on an external disk connected to the Time Capsule.  The problem with that is that Time Machine will only back up files that are local to your Mac.  That means that you'll only have one copy of the files on or attached to your Time Capsule.
    By the way, you've been misled by poor field labeling on this forum into typing a large part of your message into the field intended for the subject.  In the future just type a short summary of your post into that field and type the whole message into the field below that.

  • I have a question about the new version of itunes. in the old version at the bottom of the sceen it display the total number of media and the size of the files. how can i get the new version to diplay this?

    in the old version at the bottom of the sceen it displayed the total number of media and the size of the files. how can i get the new version to diplay this?

    You're welcome. It was frustrating for me as well until I stumbled across "the fix"

  • I have an ipad mini that won't power on. It was turned off to charge overnight. In the morning it was warm and now won't turn on no matter what I do. I've tried resetting using the power / home button combination and nothing works.

    I have an ipad mini that won't power on. It was turned off to charge overnight. In the morning it was warm and now won't turn on no matter what I do. I've tried resetting using the power / home button combination and nothing works.

    If you have owned the device, as in purchased from Apple, less than a year then there will be no charge to repair, or most likely, replace the device. If you have had the device more than a year you will be charged an out of warranty cost for replacement ($219 I think) and that is much cheaper than a new device. If you have Applecare+ then you have an additional year of coverage and the replacement will be $49 or $79 depending on when you got the Applecare.

  • Reducing apps size using the "strip" command

    Hello,
    I'm trying to create a Terminal script to reduce all my apps size, using the "strip" command.
    Therefore, I have to look up into all the .app packages of my hard drive to find all the exec files, and then apply the strip command to them.
    The thing is I am a complete newbie, and all I come up with is : (without the ")
    "find . -name "exec" -exec strip '{}' \;"
    But it doesn't seem to work at all...
    I think this is due to the name reference.
    -> How do I find Unix executable files (even inside the .app packages) using the "find" command?
    -> And how do I correctly apply the "strip" command to them?
    thanks for your help!

    wykazox wrote:
    "find . -name "exec" -exec strip '{}' \;"
    I think that you need to check the -perm option of find.
    Mihalis.

  • HT4101 Why won't my iPad mini allow my gopro 32gb SD card to transfer video using the lightening to SD card camera reader?

    Why won't my iPad mini allow my gopro 32gb SD card to transfer video using the lightening to SD card camera reader?
    The gopro transfer worked with my original iPad. Is it the lightening technology?

    If you've gone through all that and it's the right kind of SD card, right naming convention etc. try giving your iPad a reset. Sometimes that port gets turned off (for lack of a better term) and a reset turns it back on. Hold down the sleep and home keys until you see the silver apple. Let it reboot and try again.
    If it still doesn't work, if you have access to another iPad try the reader on that. THere are some defective ones out there. If it works on another iPad then there's something going on with yours. If it doesn't work on another iPad then you may want to take that reader back and exchange it because it may be bad.

  • Not sure what happened I down loaded lion and now at the bottom I can see the lio logo and it says paused does anyone know what went wrong or what that means

    not sure what happened I down loaded lion and now at the bottom I can see the lio logo and it says paused does anyone know what went wrong or what that means

    http://support.apple.com/kb/HT4485 here, this should help

  • HttpServer error in reading buffer size via keyboard input - HELP

    I've written a simple HttpServer program that reads keyboard input to construct a buffer to copy the requested file into the socket's output stream. I've done the string-to-integer conversion using BufferedReader and parse.Int. However, when I go to use the int later in the program, I keep getting the message "variable b may not have been initialized." Can anyone tell me what's missing from the code below? Thanks.
    private static void sendBytes(FileInputStream fis, OutputStream os)throws Exception
         //Construct a buffer via console input
         BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         String str;
         int b;
              System.out.println("Enter desired buffer size or CTRL-C to break.");
         //Convert entry to an integer
         do
              str = br.readLine();
                 try
                   b = Integer.parseInt(str);
              catch(NumberFormatException e)
                   System.out.println("Invalid entry.");
         while((str=br.readLine())!=null);
         //Construct a buffer
         byte[] buffer = new byte;
         int bytes = 0;
         //Begin timing HTML page delivery
         long start, end;
              System.out.println("Timing for Web page delivery");
         start = System.currentTimeMillis();
         //Copy requested file into the socket's output stream
              while((bytes = fis.read(buffer)) != -1)
              os.write(buffer, 0, bytes);

    As the message suggests, what is missing is code to initialize the variable b. The first mention ("int b;") does not initialize it. The second mention ("b = Integer.parseInt(str);") only initializes it if no exception is thrown. So it's possible for b to be uninitialized when you actually try to use it.
    What do you need to change? First you need to decide what's to be done if the keyboard input isn't a valid integer. Do you have a default value in mind? If so, put that where you declare the variable ("int b = 42;"). If not, just initialize the variable to zero ("int b = 0;").

  • FMS3 - Read buffer size

    Hello,
    I'm currently testing my custom file plugin, and I've noticed
    that FMS uses rather small
    buffer sizes when reading files (256K at most, sometimes only
    reading 1 or 2 bytes at a time).
    Is there a way to increase the buffer sizes? 1MB reads would
    be much more efficient.
    I've also noticed that every time a read takes place, the
    server opens, reads and then promptly
    closes the file after reading just one chunk, resulting in
    thousands of open/read/close cycles
    for a single session. (Very inefficient) Is there a reason
    for that behavior?
    Thanks,
    Gilad

    Of course I don't know why this happens, but given that what you expect as a message length seems not to be quite random, but rather some text in English, tells me that certain things are shifted in your buffers. Maybe the buffers are sometimes build incorrectly or read incorrectly. You see, the probability of assembling "icy-" out of 4 bytes is about 1 in 4 millions. I would assume this is a piece of text that is wrongly assumed to be the mesage length.

  • Want to know the buffer size on the 5SD mk3...

    ... and/or the number of full res raw files it can hold. Wondering if I usually shoot a max of six shot bursts, does the card write speed even matter?
    Solved!
    Go to Solution.

    dbltapp wrote:
    ... and/or the number of full res raw files it can hold. Wondering if I usually shoot a max of six shot bursts, does the card write speed even matter?
    At 6 shots it doesn't matter.
    See:  http://www.learn.usa.canon.com/resources/articles/2012/eos_understanding_burst_rates.htmlp
    The conservative estimate for the buffer size (in RAW mode) is that the buffer will hold about 13 shots before the camera has to wait for data to write out in order to clear enough buffer space for another shot.   I've actually tested this with my 5D III and have found that in practice the number is a bit higher -- having about 18 shots before it slowed down due to buffer limits.
    Tim Campbell
    5D II, 5D III, 60Da

  • Pls, Determine what file's encoding when read a file use NIO

    Hi every body,
    When I use NIO (New I/O JDK1.4) to read a file's content.
    How can I know exactly file's encoding (example: UTF-8, Cp1252, shift-jis ...) to choose right decoder to decode the file??
    Thanks
    Best regards.
    Hung, Nguyen Thanh.

    I think there's no way to do that except...
    If you are sure your files are all in japanese,
    you can use JISAutoDetect encoding.

  • I am trying to decide what gig i need. I want to use the Ipad for my books for college.

    I need to know what gig to get... I want to use the ipad for my college textbooks to take them to class on it. How many etextbooks would the ipad hold?

    Caveat to the above: books that have a lot of pictures or graphics can be quite large; many megabytes. If you can find out from your college program what books you'll need, check to see if 1) they're available; many textbook publishers have yet to provide textbooks as e-books and 2) if they are available (from one of the e-book providers; you can use Kindle, Nook and Google books on your iPad in addition to Apple's iBooks) how large they are. Then you can add the sizes up, figure out what else you might want on your iPad (movies, for instance, take up a lot of space) and determine what capacity you'll need. When it doubt, buy more capacity than you think you'll need; an iPad can't be expanded later if you run short.
    Regards.

  • HT3819 I've always been aware of Home Sharing but haven't been able to get it to work for YEARS!!!  What am I doing wrong?  I'm using the same apple id on all my devices!  Help.

    How can I get Home Sharing to work?  I've know of this feature for years but have never got it to work.  I'm using the same apple id on my devices, which is [email protected]  What am I doing wrong?  Please help.

    http://support.apple.com/kb/HT3819 homesharing
    http://support.apple.com/kb/TS2972 troubleshooting home sharing.
    i <3 Homesharing. I enabled it at home, and where I work I use a mac so I enabled it on that computer as well so I can listen to my own music library while on breaks/lunch =)

Maybe you are looking for

  • Win2003 SP2 VM won't boot to safe mode

    I have a Windows Server 2003 SP2 VM set up in Hyper-V on my Windows Server 2008 R2 server.  The VM was created as an export from AppAssure 5 export to Hyper-V Virtual Standby.  This particular server won't complete the boot but "sits" at the Windows

  • Connecting external monitor to G4 at higher resolution than 1024x768

    Is this possible? I believe someone told me that there is a way since the graphics card can support higher resolution, just not at the LCD. I am doing web design and that resolution is becoming cumbersome to work with and my external monitor can go u

  • FBRA - how to identify if document is reset ONLY

    Hi Gurus, Would there be any indication in the document that the clearing document was only reset but was not reversed? I have tried looking into fields in tables BSIK/BSID (Open Items): Document Status (BSTAT) Indicator: Clearing was reversed (XRAGL

  • Material cost  loading

    I am stock transferring a material from plant to plant; I am using two modes of transport. I want to load transportation cost of both to the material at receiving plant. how shall I configure shipment type for sucha case? Shruti

  • Trial won't end even after purchase of subscription

    I began using PDF online as a trial.  I then purchased a subscription.  However, every time I try to use the Online PDF conversion, it indicates it is still a trial and I have used my 5 trial PDF conversions.  I have searched the website looking for