CRIO 9076 AI Sampling Problem

Hi,
I have a question about the NI 9223 samping rate in our cRIO 9076 system.
Since we are hoping to samping at a rate up to 500K or 1M,  we are now using the user controlled I/O sampling.
Right now, we are sampling at 500K (2us). But I got a tick count of 99 ticks (around 2.5us) for the sampling node only.
Should I be expecting so many ticks for the sampling block? Did I do anything wrong?
Thank you so much!
Solved!
Go to Solution.
Attachments:
problem.JPG ‏399 KB

Hi hang-up,
It looks like you are specifying the loop rate for the entire while loop you are in, and not just that one specific part of code.  Because you have your loop timer controlled by an front panel object, it is possible that the code compiled, but if you change the loop time to a low value, the code cannot complete in time.  I would suggest that you isolate the acquisition you are trying to do in it's own loop so that it can run at full speed.
Additionally, in order to get the full MS/s acquisition, you are going to need to architect your acquisition.  I would encourage you to check out the example code in our Example Finder for the NI 9223 User Controlled II Compositionally for the best way to get these maximum acquisition rates.  Additionally, depending on how you are going to be exporting this data from the FPGA, your ART controller may not be able to handle a sustained MS/s throughput.
To explicitly answer your question, I suspect that because you are trying to complete a large loop in a short amount of time, the FPGA cannot complete the task in time, so it defaults to a rate that can be better handled.  For the control you are looking for, I would encourage you to move your application over to the architecture found in the example project to get the behavior you are looking for.
Ben N.
Applications Engineering
Certified LabVIEW Developer

Similar Messages

  • Problem in data acquisition for cRIO-9076 wth c series drive interface module 9516

    I am using LabVIEW for my project i.e., the speed control (using PID) of a motor and want to create a vi for the same.
    The specifications of the products being used are as follows:
    1) Motor: AKM24F (dc motor)
    2) CompactRIO: cRIO-9076
    3) C Series Servo Drive Interface: NI-9516
    I am facing problem regarding the real time interface between the motor and PID block in labVIEW i.e. in the data acquisition part to be specific. Please suggest a way in which I can successfully acquire the analog data(speed) from the motor and vice versa in the vi.

    What is the priority of the VI you're running?  I'd be concerned that maybe you've starved out the ethernet transmit thread or something.
    -Danny

  • Continuous Data Logging with NI 9236 an cRIO 9076 with FPGA

    Hey all,
    i'm a beginner in LabVIEW/FPGA. My goal is it to
    continuous acquire and log data. I've a 9236, CH0 is
    connected to a strain gauge and the cRIO 9076.
    I've written a code and I see the incoming data on the FPGA.vi.
    On the Host.vi there is no outcoming data out of the FIFO.
    There is no error messages or an error during the compilation.
    Do I have a timing problem? Where ist the big mistake
    Thank you!
    Attachments:
    1.jpg ‏98 KB
    2.jpg ‏71 KB
    4.jpg ‏337 KB

    In your first image one problem is that you are starting the module on each iteration of the loop.  I can't tell how your FIFO is configured, but take a look at the example "Hardware Input and Output->CompactRIO->Module Specific IO->Analog Input->NI 923x Continuous DMA.pvproj.  I don't know which LabVIEW version you are using but I found this example in 2012.

  • New to NI cRIO 9076

    Hello everyone!
    i am completely new to interfacing NI modules with labview. i interfaced cRIO 9076 through ethernet, installed all the softwares (NI RIO, NI RT etc). it is getting detected in NI MAX. but  all it shows is "cRIO is in safe mode( no softwares installed)" and status LED blinks two times indicating trouble with software. 
    how do i configure the device. what are the things to be done to use cRIO.?
    PS:i also have gone through the getting started guide from this link
    http://www.ni.com/gettingstarted/setuphardware/compactrio/
    Thank you!

    i have installed everything from the LabVIEW evaluation CD. i have also checked that all the necessary cRIO softwares are installed. 
    i use 2013 version of FPGA,NI MAX and RIO
    OS is Windows 7
    when i check the NI distributed system it says i have attached modules at port 1&4(in screenshot). so i guess there is no problems with the cRIO.
    Attachments:
    Distributed system.JPG ‏67 KB
    national instruments softwares.JPG ‏123 KB

  • CRIO 9076 disconnect​ing

    I am attempting to use a cRIO-9076 with the NI 9512 and the NI P70530 stepper driver. However, I am having difficulties keeping the 9076 connected to my host PC. I've read the forums on this problem before, but those answers did not help solve my problem. The cRIO will connect when first powered on or reset, and will be visible in MAX, but when I try to view the attached devices in MAX (e.g. NI-9512 module), the cRIO will disconnect. 
    I also cannot connect to the device in LabVIEW at any point.
    I am using LabVIEW Real-Time 11.0.1 on the cRIO, and also Real-TIme 11.0.1 on the host PC (LabVIEW 2011 SP1 f2).
    Any suggestions are appreciated.
    Thank you,
    Enan

    Hey Enan, 
    Thanks for posting on our boards. You posted on the LabVIEW boards which is good, but I think you will probably get more responses if you post on the boards that are for the cRIO and RealTime stuff. 
    Here is that Board: Real-Time Measurement and Control [cRIO, R Series, FlexRIO, sbRIO, GPIC]
    That board is frequented by more people that interact with the cRIO and RT more than just the LabVIEW board.
    When you post there, I would also add what your OS is and what bit OS you are using. It might be helpful!
    Thanks for posting!
    Douglas C.
    Applications Engineer
    National Instruments

  • I can not find NI cRIO-9076 in Remote System

    I can not find NI cRIO-9076 in Remote System. How can i deal with it? The Status LED is on every couple seconds.

    It must be activated before Apple's tracking system will recognize it. I just tried your SN and that was the message I got from https://selfsolve.apple.com/wcResults.do.
    I suggest editing your post and removing the identifying information in it, as millions of people can read these forums and not all of them are completely honest.

  • Installation improper cRIO 9076

    Estimados:
    tengo mun cRIO 9076, utilizo LabVIEW 2014 y me encontrado con el infortunio del mensaje MODO SEGURO INSTALACION INAPROPIADA.
    He realizado todas las sugerencias encontradas en la web:
    cambiar el nombre del dispositivo.
    volver a instalar el software
    en repetidas ocaciones y el resultado sigue siendo el mismo.
    No avanzo en el proyecto y es ultimo paso para termianrlo.
    Alguine podria ayudarme?
    Que me sugueren?
    De antemano Muchas gracias por sus valiosas aportaciones
    Jose Marticorena

    Que tal JMarticorena,
    Me gustaría compartir contigo los siguientes links que hacen referencia a las causas del estado "Safe Mode (Improper Installation)" del cRIO y a posibles soluciones.
    Why is my CompactRIO (cRIO) System State: Connected - Safe Mode (Improper Installation)?
    Improper Installation Message on CompactRIO with NI-RIO 3.1 and MAX 4.5
    En el segundo link comenta que una posible solución puede ser actualizar el software que tenemos instalado en la computadora Host por lo cual me gustaría que nos comentaras que versiones de NI-RIO y de MAX posees?
    También me gustaría que ingresaramos al Console Out del cRIO para realizar un diagnóstico del controlador cuando se encuentra booteando. Este diagnóstico nos podría dar una idea más clara del posible error. Te comparto el link con el procedimiento para ingresar al Console Out.
    How do I enable the Console Out on CompactRIO, Single-Board RIO, CompactFieldPoint Controllers?
    Por favor comparte con nosotros un screen shot de la información que aparece en la ventana de la Terminal.
    Espero esta información sea de utilidad y quedo al pendiente de tus comentarios.
    Saludos!
    Antonio S.
    Applications Engineer - NI Mexico

  • Combine cRIO 9076 and cRIO 9081

    I have two FPGA real time controllers: cRIO 9076 and cRIO 9081.  Due to not having the latest version of LabVIEW (2011), I am unable to use cRIO 9081.  Since cRIO 9076 has only 4 slots for the modules, I am thinking of using cRIO 9081 as a slave just to add more modules on its slots.  Will this work?  If so, how can I connect cRIO 9081 to cRIO 9076. Any suggestion is appreciated.
    Solved!
    Go to Solution.

    Hello ExcelX,
    Unfortunately, there is no meaningful way to interface with the 9081 without having the correct versions of LabVIEW (at least 2011) and NI-RIO (at least 4.0). It does run windows, so you could in theory boot it up in Windows and attach a monitor to it, but you wouldn't be able to run any code on it.
    You could download the trial version of LabVIEW 2011 and use it with your 9081 for thirty days. But I recommend just upgrading to LabVIEW 2011 - the 9081 is a powerful (and expensive) CompactRIO.
    Colden

  • CRIO-9076 USB

    Bonjour,
    J'aimerais savoir s'il est possible de connecter une clef USB au port dédié sur un cRIO-9076. J'ai essayé plusieur méthode (clef en NTFS et FAT32 de grande et de petite capacité) et impossible de la détecter via Filezilla.
    Doit-on installer quelque chose de spécifique dans les logiciels de l'automate auquel je n'aurais pas pensé ?
    Merci par avance.
    Windows 7 - LabVIEW 2012
    Résolu !
    Accéder à la solution.

    Pardon du double post, en fait un peu de patience et de lecture m'ont permis de trouver la solution.
    Une clef USB en FAT32 est bien détectée mais sous "U:\". La réception des données via Fillezilla et à l'aide des VIs FTP sous LabVIEW fonctionne impec'.

  • CRIO 9076 internal block diagram?

    Hi guys--
    I'm trying to work up a document on our cRIO 9076 for the lab, and I'd like to include a schematic/block diagram of its overall internal structure...something like what PC motherboard makers give (example below).  The internals of the RT controller are pretty easy to guess at, but I'm a little fuzzy on the connections between that and the FPGA, and between the FPGA and the chassis modules.  Any pointers on where I should be looking (not in the manual, by the way)?
    Thanks a bunch.

    David--
    Thanks a bunch for your reply.  That manual got me pointed in the right direction.  I also found this little wiki stub:
    http://en.wikipedia.org/wiki/CompactRIO
    which specifies the controller-fpga connection as PCI, meaning much of the details are probably obvious with a better understanding of PCI busses.  In any case, I've managed to start a diagram of my own that will suit my needs just fine.
    Thanks again, and have a great day.

  • Brushless Motor Commutation using cRIO 9076

    I need some help as I trying to find a way to do motor commutation.
    I am developing a closed loop control system that consists of an applimotion motor (UTH-100-A-25-A-x-000) and AMC Digital Drive (DPRALTE-020B080) on CompactRIO 9076 FPGA Real Time Controller.  The motor does not have hall sensors.  Any suggestion on how to do motor commutation using this FPGA device is appreciated.
    Thanks

    How difficult it will be will depend on how complex those interfaces are.
    If the encoder interface is simple, for example a clock and data pin that returns only the position, then writing the code to talk to it will be pretty straight forward.
    Some absolute encoders use very complex protocols. I can't tell you exactly how hard it will be because I don't know this encoder.
    I would expect that writing the analog position feedback to the drive will be easier but I don't know exactly what the drive is expecting either. You wrote earlier that the drive manufacturer told you specifically that the drive would work with analog position feedback and no hall sensors. I don't see how that would de done from the datasheet. You need to be sure that this is true because otherwise this approach will be impossible.
    You should start by tackling just the encoder half of the problem. Hook up the encoder to your DIO module and start trying to query it. I hope you have more information about its interface than what is found in the datasheet- otherwise you would either need to contact the manufacturer or do some experimentation.
    Give it a try and if you run into specific obstacles then we can help you with those.
    BTW- The easier solution is to throw money at the problem and buy motors, encoders, and drives that are compatible with each other. For example, NI sells motors and cRIO modules that can drive them, including brushless. At that point the software is just opening an example and adding your own position setpoints.

  • EXS Sampler Problems any one Help Help Help

    I Have recently been having loads of problems with my sampler instruments. When I click on some of them they take a while to load I have used the Project Manager in Logic Pro 7.1.1 to scan and that used to work but now no matter what I do in it whether doing an expanded scan or a selected scan or designated selected paths to scan it doesn't seem to make any difference. I have trashed the PM Prefs even the Logic Prefs even trashed logic and put on a fresh install.
    I recently in a desperate bid downloaded the demo of EXs Manager from Redmatica to re link my samples with the EXS interments after doing a little song and dance it came back with a great marketing ploy of having scanned so many instrument's it realised that I had more samples than the demo could handle to re-link the whole lot would need the full version which I will need to get at some point just to see whether it can do what it proclaims on the box.
    I am getting an error message when trying to load a few samples which reads 'Logical end-of -file reached during read operation Result code=-39'
    Can anyone tell me what this means

    I haven't had that problem, but my gut is telling me you have a bad drive or corrupt data on that drive. I'd run disk repair, and then if that passes run Disk Warrior or something like it to verify your data.
    EXS Manager works great, but it doesn't make samples load faster in my experience. EXS manager is more file management than anything...helps weed out unused samples and tidy up the organization.

  • Eyedropper Current Layer sampling problem.

    Using the "current layer" sampling setting for the eye dropper before I apply any top layer adjustments (adding a top layer with a different blending more or adding an adjustment layer) it works fine. When I use any adjustment layers or any layer that has a blending mode, it affects the way the eyedropper picks color especially when set to current layer.
    For instance, If I paint a new blank layer with random colors, I create a black and white adjustment layer on top of that one, I select the first color layer I go to pick a color using the eye dropper with the current layer sampling set, it picks a grey color (which is wrong). BUT!! if I open up the color picker with the color layer selected it picks the correct color. Now, if I delete the black and white adjustment layer, and I am back to only having the color layer, I then go to pick a color with current layer sampling still set, it chooses a grey color again?!?! There are no more layers on top of the original color layer I painted first, and yet it chooses a grey color?!?! I hope this makes sense, any ideas on why this is happening?
    I am working on Photoshop CS5 12.1 64bit

    I'm having the same problem in CS5.
    With current layer selected and a not visible layer of curves (contrast) and trying to pick from the current layer it picks as if the curves layer was visible.
    I have attached 2 images: first trying to pick with the curves layer off (you can see that it's picking a black color where brown should be picked. Second one with the curves layer on.
    After restarting Photoshop every thing work fine again. So I have assumed that the problem is vinculated with the action done before:
    Duplicate image 2 times
    Gaussian blur of 6px to the first image
    Apply image of the gaussian (RGB channel) inverted in mode "Add", scale 2, displacement 0.
    And I create a group as you can see on the screen shots.
    http://www.youtube.com/watch?v=wh6eIyrzbt0&t=1m8s
    I can reproduce this issue every time I use this technique...

  • JSP/EJB sample-problem

    Hi,
    I'm having difficulties to get the Oracle JSP sample to wrok.
    I deployed the JSP App and also the StackDemo app and changed the envrionment variables as requested .
    But each time I try to use the DemoStack bean by submitting a 'create stack' I get the message :
    "The requested access method is not allowed for that object"
    Can anybody help me with this problem?
    Michel.

    Alex,
    I use OAS 4.0.8.1.
    I also reloaded the application after deployment.
    I used a clinet snippet that is compiled in JDevelope 3.0 and I run it from there .
    It finds THE EJB , ic reated and deployed without giving any error messages. The problem rises the moment I try to use one of the functions of the remote interface of the EJB. In these functions I try to use functionality of viewObjects that are provided by a bussines component that I generated using JDeveloper 3.0.
    The wrb log file mentions a 'null pointer exeption'.
    I think that I do something wrong when initializing the application module that wraps the business component, but I can't see what is wrong.
    This is the code I use in my EJB :
    String theAM = "EDMpackage.EDMAppModule";
    ApplicationModule root = null;
    String sessionDefName = ApplicationModule.DEFAULT_DEF_FULL_NAME;
    Hashtable env = new Hashtable(2);
    env.put(Context.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
    env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
    try
    Context ic = new InitialContext(env);
    ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(sessionDefName);
    root = home.create();
    catch(Exception e)
    e.printStackTrace();
    localAppMod = root.createApplicationModule( "EDMAppMod",theAM );
    This works fine , but when I try to get a ViewObject through the localAppMod, I get the error. So I think I am wrong somewhere here.
    Michel.

  • Adobe Acrobat XI SDK Samples problem

    I am having problems building and running SDK samples.
    When built “out of the box”, the WebLinkDemo fails while getting HFT for AcroColor.
    After some googling, I found Adobe Acrobat XI SDK Release Notes:
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/release- notes-acrobatxisdk.PDF
    Following their directions:
    deleted
    /D PI_ACROCOLOR_VERSION=0x00060000
    inserted
    /D READER_PLUGIN
    WebLinkDemo builds OK, but required SnippetRunner fails to compile with multiple errors like:
    >c:\code\adobe\acrobat xi sdk\samples\snippetrunner\sources\snippets\shared\acetranspdetextcolorsnip.cpp(60): error C2065: 'PDEContentGetNumElemsSELPROTO' : undeclared identifier
    SELPROTO seems to be the commot suffix.
    Any suggestions?
    Thank you!

    Perhaps a little more context. You should understand that the Acrobat SDK is a tool for encouraging people to buy Acrobat - especially the consumers of plug-ins.
    Reader plug-ins can be made, subject to technical limitations, but Adobe do not especially like the lost sales of Acrobat this may represent.
    In addition to purchasing Acrobat, you will need to buy a Reader integration key, after negotatiation. Approval is not automatic!  There are also two scales of fees, one for regular Reader plug-ins and one for security related plug-ins, for which Adobe has a much higher fee and demands much more oversight.
    "How much does a Reader Integration key cost?
    Reader Integration keys are only available to strategic partners based on a negotiated price. If you are developing a digital rights management (DRM) Adobe Reader plug-in, the standard (non-DRM) RIKLA contract does not apply. Adobe does offer a DRM agreement specifically for developers building such Adobe Reader plug-ins. The current fee structure for the DRM RIKLA includes a $50,000 annual fee and a 5.5% revenue royalty."
    http://www.adobe.com/devnet/reader/ikla.html
    So, yes, to experiment with plug-ins, whether for Acrobat or eventually for Reader, please listen to what we are telling you and if you want to do this, buy Acrobat.

Maybe you are looking for

  • If I have my product code and cd for Adobe Creative Suite 5 can I obtain the serial number?

    If I have my product code and cd for Adobe Creative Suite 5 can I obtain the serial number? I had the serial number on my college email which I can't access now that I've graduated.

  • 6110 Navigator - doesn't see other BT devices

    This is really starting to give me the sh*ts. I cannot see any other bluetooth devices with my 6110 Navigator, even when the other device is 5cm away. I recently purchased a "Pilot-mini" BT hands-free (think similar to Blue Ant "Lite") and my 6110 ca

  • File name completion

    I am running Korn Shell on Solaris (on SUN Ultra 60) and have a problem with file name completion. Prior to Korn I ran C-shell and after set filec=on the filename completion worked ok. Although my understanding is that Korn shell have this feaure bui

  • ESS implementation posibility with ECC 6.0 and EP 6.0

    Hi , To implement ESS with ECC 6.0 and EP 6.0 Any body can suggest for this implementation feasibility and  possibility. What are the Business packages has to down load and where can we get those BPs.? After importing into EP 6.0 , what are the confi

  • Updates are unable to be downloaded

    I reported this already to customers, but I hope some of you might increase the urgency towards engineering. me: "once again its Android. I tried downloading our updated version (added HTMLResources) three days ago. It recognizes there is an update,