Why do I get such low bandwidth using buffered encoder reads?

I have a PXI system with 10 6115 A/D boards and a 6608 timing board. I can do a simultaneous buffered AI at 5 MHz across all 40 channels of the 6115's.
However, I can only do a single buffered encoder read at about 100 kHz.
Why such a huge difference in bandwidth?

I think the difference in bandwidth here is really due to size of the FIFO's present on each device. The 6115 has either a 16 or 32 Mega-Sample FIFO for analog input. If one of the 6115's isn't granted usage of the bus for a "large" amount of time, it can absorb this by backlogging the data into its FIFO until it is granted the bus, at which time the DMA controller will move the data to host memory before the FIFO overflows. The same is not true of the counters on the 6608. Each counter on the 6608 has an effective FIFO size of 2 Samples. This means at high sampling rates, the 6608 cannot withstand "large" amounts of time without being granted usage of the bus. How fast you can go before the counter FIFO overflows is going to be system dependent, but 200 KHz is in line with results I have observed. If you need to go faster, you can use two counter measurement methods, but you will sacrifice accuracy for speed. For example, by dividing down your input signal by 4, you will be able to go 4 times as fast, but your accuracy will also decrease by a factor of 4. You'll have to weigh the requirements of your application to determine if this type of trade off is acceptable.

Similar Messages

  • Why do I get bright colors when using the smudge tool?

    Why do I get bright colors when using the smudge tool?

    Thank you!!!
    *Caryl  *
                               (my flickr page ↓)
    *https://www.flickr.com/photos/feathersarenice/
    <https://www.flickr.com/photos/feathersarenice/>*
    We were all born mad. Some remain so.
    "Reality is whatever refuses to go away after I stop believing in it."
    Philip K. Dick

  • Why my iPad get hot after 30min use?

    Why my iPad get hot after 30min use?

    The iPad should not get hot after 30 minutes of use. The new iPad will get warmer that the other two iPads did, but it should never get hot.
    If you are playing a HD graphic intense game or watching a HD movie it will get warmer than it does when you are just surfing the web or doing basic functions in word processing apps, or writing emails a but it should still never get hot.
    Is your iPad brand new or has this been going on for a while?

  • Why the iPhone gets heated when someone uses the internet?

    Why the iPhone gets heated when someone uses the internet?

    because that's what happens when use electronic devices...they warm up.

  • Why do I get a blue screen using USB communication?

    Hello,
    My problem is that sometimes I get a blue screen using USB communication. I guess that most of the time the problem is an overflow in memory, so I read all the data that is on the port with which I communicate. I read two ports so there are two similar VIs that are used. There is how I do it:
    I also communicate with a logger to acquire 16 channels. I read the information from the logger in two different parts of the program at the same time. Maybe this can cause an issue, but could it cause a blue screen? This is how I do it:
    I once had a blue screen after the VI was closed, so there is how I manage to close the communication when I quit:
    Do you think there can be any problem coming from one of these parts of my LV project? If not, what else can cause a blue screen in LabVIEW?

    Langelier wrote:
    Hello,
    My problem is that sometimes I get a blue screen using USB communication. I guess that most of the time the problem is an overflow in memory, so I read all the data that is on the port with which I communicate. I read two ports so there are two similar VIs that are used. There is how I do it:
    Are you using USB to GPIB (doubtful because you are using bytes at port)? But, just inc ase, I had this problem also with USB to GPIB, and it ended up being a driver issue I believe. If you are using USB to GPIB driver that was released with LV2012, search for the latest 2012 driver on NIs site, download it, and use that. See if it fixes your problem
    CLA, LabVIEW Versions 2010-2013

  • I want to know why my phone gets really hot in use and not in use.

    I am using a iPhone 3GS 16GB, been using it for over a year now. Recently, it has been heating up regularly. I understand if it on charge. But everytime I use my phone to play games or reply text messages for no longer then 15mins, it gets heated up so much. Occasioanally, it heats up even when its not in use and when I've forced shut down my apps. Why is that so ?

    What iOS version are you running? There have been cases where people have been complaining of their iPhone 3G/3GS overheating. If you have a white version of the 3GS, watch out because this can cause discoloration.

  • Why am I getting such choppy playback?

    Long time reader, first time poster, I'll make this short and sweet. Here are my specs:
    Imac 27"
    3.4 GHz Intel Core i7
    24 GB 1600 MHz DDR3
    NVIDIA GeForce GTX 680MX 2048 MB
    1TB internal Fusion drive SSD
    I am working in a fairly big (1TB footage) 4k mixed with 2k project. It's a 3 simultaneous camera shoot, so I need to multi-cam. I have two external WD Caviar Black 7200rpm drives. I also have a Lacie 1TB Thunderbolt drive available.
    Because the final output will be 1080, but possibly 2k in the future, I decided to import all the RED footage natively (as opposed to transcoding to prores 1080). All my sequences are 1920x1080, with multi-cam nesting in 1080 as well. Ram is allocated to 20GB Premiere, 4GB other.
    No matter what I've tried, I always get choppy playback in the project...especially with multi-cam activated, even at setting my resolution to 1/4. What I've tried:
    All Media on WD 01 drive...Project, Cache, Preview, Scatch on WD 02 drive...Internal SSD for OS and Apps: Terrible performance
    All media split between WD 01 and WD 02...Cache, OS and Apps on Internal SSD...project, preview, scratch on WD 01. I also tried the same thing but with the project, preview, and scratch on my Lacie 1TB Thunderbolt and internal SSD: Slightly better than all media on 01 drive.
    At this point I feel like I've tried every variation of where the MEDIA, Cache, project, and Scratch/preview files go but nothing seems to give me smooth playback consistently. I'll have brief periods where it's very smooth, but then choppy soon after. I'd understand if I were trying to edit in 2k or 4k, but all my timelines and nests are 1080. Even if I pre-render the sequence, it barely helps. Is it possible I need more RAM, a better GFX card, better external drives? Help?!
    EDIT: Premiere 2014 updated to latest version. No big apps running aside from Premiere. All my drives have at least or close to 50% space available.

    Recommend you take a look for disc layout & such over at the Tweaker's Page ...
    Tweaker's Page ...
    http://ppbm7.com/index.php/tweakers-page
    Basically they recommend just the program file on the system/OS disc ... and then putting things on other drives as per the needs of the "asset" ... some need very fast connects, a couple only mostly fast connections.
    Footage is mostly a one-way read-only operation, and export out is mostly a read operation, so those can at need be on somewhat slower connections as long as they aren't on the SAME drive over a slower connection. Such as say one of the PNY 128Gb high-speed USB3 flash-drives into a USG3.0 external port on your computer. I've adapted this from one of the other users, and it works fairly well for my 1080p footage. I export to one of several drives I've got in external boxes connected via USB. It's adequate, though not blazing.
    Everything else ... project files, database, previews, cache ... there's a TON of read/write work going on constantly during playback with these. So 7200 or faster "standard" drives or SSD drives, connected internally via SATA-II or better, or external via eSATA-II and Thunderbolt connections are needed. None of the Firewire nor USB2/3 connections available have near adequate sustained read/write speeds to work in the massive testing they've done at the above mentioned site. The "burst" speeds claimed by manufacturers are achieved on the absolute most ideal set-up with the um ... right size? ... of data packets to get the best numbers. They aren't usable numbers for heavy and constant read/write demands like the Adobe DVA's through at the machine.
    Remember ... during playback ... PrPro "reads" the source footage including when to jump in & out of every clip, throws in all your instructions for editing, color changes, transistions, effects, EVERYTHING ... and on-the-fly builds the image you see in the playback monitor. It doesn't make something for it to just 'read' from disc, it does this on the fly. Even when you make previews for a section of a timeline, any change you make ... those previews are outdated.
    Which is why we all need machines that both have pretty solid hardware off the mobo, AND plenty of high-speed disc connections. Best case is say a 4/5 disc array of 2Tb discs in RAID 0 or 5 for the project files, d-base, cache, & previews ... and that can maybe even have media (original footage) on it.
    Neil

  • Why do I get error 1031 when using vi server to call an exported vi?

    I'm trying to call a vi that is inside an exe using vi server.
    For some reason I keep getting error 1031 "VI Reference type does not match VI connector pane" from the open vi reference primitive.
    However:
    If I statically link to the vi using the same type specifier, it works just fine.
    I've attach 2 code capture screen shots.  One shows the original code that generates the 1031 error.  The other shows calling it directly locally and that code executes with no problem.
    Oh and also, if I don't connect the type input I can open a reference to the remote vi and interact with it.
    I've also attached a code capture screen shot as well.
    So it appears that the vi server connection to the exe is not transferring the VI reference type correctly??  Has anyone had any experience with this?
    I have no idea why this is happening.  Anyone have any thoughts? 
    I'm using LV2009SP1 by the way.
    Attachments:
    doesnt work.png ‏13 KB
    Works.png ‏13 KB
    Works2.png ‏13 KB

    When you are trying to call into an executable, LabVIEW will not necessarily know what type it is. You are getting this error because you cannot use a strict type definition in certain cases, this being one of them. Some cases will require you to use a strict type definition due to their architecture but again, due to the structure of your applications, you can't use the strict type definition. Your other two examples use the correct passive types and therefore do not get the error. Hope this answers your questions!
    Mychal F
    Applications Engineer
    National Instruments

  • Why am I getting Artifacts when I use the Adjustment Brush to Lighten or Darken?

    I get artifacts when I lighten (dark specks) or darken (white specks) when I use the adjustment brush to adjust exposure on my photos.   Any ideas why this is happening?  It would seem to be a big enough bug to get noticed and promptly fixed, unless I am doing something wrong.

    Richard,
    Try turning off Auto Mask in the brush panel:
    Hal

  • Why do I get errors when I use pre-trigger scans with a relatively small number of samples?

    I have a PXI6115 (hi mem option) that I am using to collect data at 5 MHz. If I collect about 10,000 samples with 100 pretrigger scans, the acquisition works fine. However, if I collect 1000 samples with 100 pretrigger scans, I get an AI Read error. Likewise, I can collect 10 pretrigger scans with a sample size of 1000 but I get an error if I try to colelct 10 pretrigger scans with only 100 total samples.
    Why is that the case?
    Thanks in advance.

    This sounds familiar.
    I do not remeber the final answer, but this is what I can recomend. Use the Info-LabVIEW search engine
    http://www.searchview.net/
    To search fro everything posted by "Roger Hart" (sometime in the last 3 years).
    I believe he posted a number of e-mails discussing what he found.
    If this approach get you an answer, please summarize the results here.
    Doing what I can to help,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Why do I get error "-1074388952" when using CANopen?

    Hi there,
    I built a VI to communicate over a PXI-8461 with a servo controller from SEW-Eurodrive. I use the LV CANopen Library, please see the attached VI! When starting my application, I use the init case, during runtime I change the settings of the servo controller with the "write" case and finally in the "stop" case I close and kill all objects I previously created
    There is no communication from the controller to the PC, I only send a PDO to the controller. Although there is no "read"-function in the VI (necessary), after some time I get the mentioned error, please see the other attachment! After confirming the error dialog with "continue" or "stop", I'm no longer able to communicate with the servo controller. How can I prevent my application from hanging? And is it possible to reset the CAN-Card from within my LV 8.5 application? Currently I have to reboot the whole PC to do that, otherwise no new communication is possible...
    To say it with the Scorpions: "Is there anybody there who feel's that vibration?"
    Does anybody have an idea?
    Thanks in advance for any help
    Regards
    Achim
    Attachments:
    error.PNG ‏12 KB
    SEW_EncoderDriveControl.vi ‏58 KB

    Hi Dirk,
    thanks for the answer...although it really not gets me any further.
    I already use a PXI-8461 Series 2 CAN-Board! What do you mean when you say "high busload"? I have to communicate with 500kBaud because the SEW controller expects this rate. I only transmit new parameters in "single shot mode", meaning I fire new values (8 bytes) event-based (button push). As I mentioned I do not transmit any data from the controller to my LV application.
    Sometimes it's also not possible to reset the board in the MAX, then there reamains a exclamation mark on yellow background on the board icon.
    I still receive another error message (something like "PDO write object does not exist") when I changed nothing for quite some time and then try to transmit new parameters on an object I successfully used several times before. Sometimes everything works fine until I try to stop communication...then sometimes a error message pops up saying something similar, like "Synch Object does not exist". It must have been existed, because if not, the SEW controller would not have been working because it expects this cyclic synch.
    Do you (or anyone else) have a clue?
    I found the ncReset.vi in the NI-CAN library and I am going to test it ASAP. Is there any difference in the use between "your" method with the (ncAction.vi + Reset) and the direct use of ncReset.vi? I'm going to code a automatic reset with that function in the case that one of the mentioned errors occurs. Do you think it's possible to automatically reset and then reinitialize my CANopen session? Or will I get some other strange errors?
    Hoping for a helpful answer:
    Achim
    Ahhh...before I forget it:
    Seasons Greetings! Have a cheerful and happy christmas time!

  • Why am I getting 'Data transfer cancelled' using HP Scanjet on 600dpi. 300dpi works OK.

    Hi
    Acrobat Pro 9
    HP scanjet G2410
    Win 7 (64 bit)  RAM 4GB
    Struggling to find why I'm unable to scan at higher dpi than 300. No problem in MS Publisher.

    Hi Varinder
    Thanks for suggestion but I spotted that on Adobe's FAQs, tried Native & Memory modes to no avail. In fact memory mode was worse for me.
    In reply to your first question regarding drivers I am using the WIA recently downoaded from HP for my model. I haven't tried TWAIN.
    It would appear to be a problem with the Adobe software since MS Publisher (2003) works fine for all resolutions.
    I also found PSP Elements works fine albeit they provide their own driver.
    Thanks
    John

  • Why do I get a low wifi strength on IPad 3?

    Guys,
    I have recently bought an IPad 3 and get shocking signal strength on Wifi, using IPhone and PC on same router with no problem.   I have even installed a second router to increase signal range and the IPad locks up when connected to the second router, iPhone and laptop switch seamlessly between the 2!
    Any ideas, very tempted to take the IPad back but bought it overseas so not that simple!
    Jointly

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130?tstart=60
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Why do I get an error when using ExportPDF?

    I downloaded the PDF Pack and when trying to convert a PDF to Excel, I get the following error message:
    "An error occurred while trying to adobe ExportPDF online..."
    I am running Windows 7 with either IE 11 or Firefox.Also have got the latest version of Adobe.Debbie  Can anyone explain what is going on

    Hi kamuj,
    Is this happening with all files?
    Would you send your PDF document to [email protected] as an email attachment? 
    I will check it from my end.Please add the link to this forum post for reference.
    Regards,
    Florence

  • Why do I get error "-1074388885" when using CANopen in PXI RT?

    Dear all,
    I built a test program (reading only the temprature of a motor) to use it later to exchange data between NI- PXI RT  and a
    LUST servo controller, which are locally connected with CAN network. Please see the attached
    VI. After
    run the program , a communication error with CAN network is happend.
    The error code is (-1074388885; CANopen NMT send.vi) after that the
    RT-Target give an error a message:
     (impossible to connect to target Real-time)
    and then switched off. To connect it again, switched off/on of power supply has to be done.
    I test the CAN connection between them with MAX, the test results give no problems.
    Normally this test program was before running  correct between PC
    (with NI CAN-card) and Lust servo motor.
    Does anybody have a solution?
    Regards
    al_ibr
    Attachments:
    main_target.vi ‏70 KB

    Hi Yann, Many thanks for your reply. The LV version is 8.6 and MAX is 4.5. The PXI RT has the following data: NI PXI chassis: 1031 NI PXI embedded controller: 8104NI PXI CAN card: 8461 The servo controller (Lust CDD3000) has a CAN card LUST CM CANI (see attached documentation). The equivalent program in PC with NI PCI CAN/2, which tests the data exchange with this servo controller, is attached (works without any problem). I attached the project file for the test program in PXI RT. Regards al_ibr     
    Attachments:
    test_only_CAN_RT.zip ‏62 KB
    test_progr_CAN_non_RT.vi ‏19 KB
    CAN_CMCAN1_usermanual_052000_EN.pdf ‏1179 KB

Maybe you are looking for