CRIO-9073 scan mode speed

I am testing scan mode speed of a cRIO module.
It seems I cannot make it operate reliable under 4 ms loops.
I'm just reading 6 parameters and writing 7 digital outputs within the timed loop.
Is this to be expected from this hardware ?
Martin

Hi Martin
There are many factors that we need to consider programmatically, for example if you are using a while loop, timed loop, a timing VI inside of the loop (wait, wait until next ms multiple, etc). also we need to keep in mind how is reading the parameter and writing the digital output if there is any dependency or code that need or is being executed in the middle.
Last but not the least as you said there might also be hardware limitations in order to confirm this we might need to know which modules you are using.
One way to determine which is the function that is taking longer to execute, or is delaying your application, is to benchmark a part of your code or the whole code. Take a look to this forum and keep in mind that in order to disable a part of the code without deleting the code is to use the diagram disable structure.
Regards
Esteban R.

Similar Messages

  • Unable to deploy my RT vi code on cRIO in scan mode

    Hi,
    I have been working on NI cRIO for past some time. Today I faced a peculier problem. I was able to make necessary changes in my RT vi and deploy it on the cRIO. Everything was working fine but somehow I started to get the message of " Unable to connect to RT Target ". I was able to ping my cRIO and connect to it initally but as soon as I started running my RT vi on it , the connection was getting broken. I was even unable to ping my cRIo.
    I searched a lot on net and even tried to reinstall the software on my cRIO. THe error code was pointing toward the SVE, but I had installed the required software for network variable engine on my crio. I am attaching the screenshots of my project and the error messsages.
    Please let me know how can I run my RT code again on crio .
    THanks.
    Attachments:
    Error_RT_SVE.PNG ‏89 KB
    Software on RT target.PNG ‏25 KB

    I have been working on this issue and referred to earlier discussions like:
    http://forums.ni.com/t5/LabVIEW/RT-cRIO-Shared-Variable-Engine-Errors/td-p/1697368
    I have added a delay in my RT code (in initialization phase) and since then I have been able to solve the issue. Basically I think that SVE needs tome to work.
    Please let me know if anyone has any better idea.
    Thanks

  • Varying ON time pulse train generation using NI cRIO-9073 and NI 9401 module

    Hi,
              I am a beginner to the Labview environment.  Am using NI cRIO-9073 and NI 9401 module; and NI Labview 2013. I want to generate 64 pulses, wherein the ON time of the pulses are varying as shown below. The Pulses need to have a constant period of about 34µs. The pulses should have a constant amplitude anywhere from 5 to 10V. I am trying to do the same in FPGA interface mode but failing to do so. Please advise me..... Please also suggest pdf and video resources to learn Labview programming.
    Pulse ON Time
    18 µs
    19 µs
    20 µs
    21 µs
    22 µs
    23 µs
    24 µs
    25 µs
    26 µs
    27 µs
    28 µs
    29 µs
    30 µs
    31 µs
    32 µs
    33 µs
    33 µs
    32 µs
    31 µs
    30 µs
    29 µs
    28 µs
    27 µs
    26 µs
    25 µs
    24 µs
    23 µs
    22 µs
    21 µs
    20 µs
    19 µs
    18 µs
    17 µs
    16 µs
    15 µs
    14 µs
    13 µs
    12 µs
    11 µs
    10 µs
    09 µs
    08 µs
    07 µs
    06 µs
    05 µs
    04 µs
    03 µs
    02 µs
    02 µs
    03 µs
    04 µs
    05 µs
    06 µs
    07 µs
    08 µs
    09 µs
    10 µs
    11 µs
    12 µs
    13 µs
    14 µs
    15 µs
    16 µs
    17 µs

    t81,
    It is possible to make frequency measurements with either the 9422 or the 9425 but each will have its own limitations in the range of frequency it will be able to accurately measure.  
    A few things to know:  
    1. What are the frequency ranges for each sensor (tach and MFM)? More than just knowing Hz/kHz will be helpful.
    2. To what accuracy do you need to measure these signals?
    The 9422 supports a specialty digital configuration counter input that can be configured for frequency measurement (see link)
    http://zone.ni.com/reference/en-XX/help/372603F-01​/riohelprt/crio-9422_rt/
    The specialty mode is only available when using Scan Interface mode, not with FPGA.  
    But the max clock rate in the specifications for the 9422 is 4kHz so this may not be sufficient for the tachometer.  I believe this is the max rate at which the module will update its state no matter how fast the underlying software (RT controller) is running.
    The 9425 has a higher clock rate (~140kHz) but doesn't support the specialty digital mode mentioned above.  It is also a software timed only device but this shouldn't be a problem if you use FPGA.
    Dan

  • Frequency measuremen​ts using NI cRIO 9073 and NI 9425 or NI 9422 modules

    Hi everyone!
    I'm trying to measure two frequency signals using a cRIO 9073.
    I'm already using a NI 9425 module for digital inputs.
    I need to measure two (2) frequency signals.
    Is it possible to use this module (NI 9425) or NI 9422 for frequency measurements either in Scan Engine or FPGA mode?
    In case it is, if you could point me to any example, it would be appreciated.
    I'll try to be more explanatory:
    These two frequency signals are in completely different ranges.
    The first is a frequency signal from a DC motor tachometer and the second one is from a mass flow meter.
    So the frequency ranges vary from KHZ for the tachometer output, to Hz for the MFM output.
    The rest of the channels on the module are simple Digital Inputs.
    Also, I have the option to use a NI 9422 module if NI 9425 is not appropriate.
    Thanks in advance,
    t81

    t81,
    It is possible to make frequency measurements with either the 9422 or the 9425 but each will have its own limitations in the range of frequency it will be able to accurately measure.  
    A few things to know:  
    1. What are the frequency ranges for each sensor (tach and MFM)? More than just knowing Hz/kHz will be helpful.
    2. To what accuracy do you need to measure these signals?
    The 9422 supports a specialty digital configuration counter input that can be configured for frequency measurement (see link)
    http://zone.ni.com/reference/en-XX/help/372603F-01​/riohelprt/crio-9422_rt/
    The specialty mode is only available when using Scan Interface mode, not with FPGA.  
    But the max clock rate in the specifications for the 9422 is 4kHz so this may not be sufficient for the tachometer.  I believe this is the max rate at which the module will update its state no matter how fast the underlying software (RT controller) is running.
    The 9425 has a higher clock rate (~140kHz) but doesn't support the specialty digital mode mentioned above.  It is also a software timed only device but this shouldn't be a problem if you use FPGA.
    Dan

  • Error While Reading a file Dynamicall​y in CRIO - 9073

    Hello all,
              I am using CRIO - 9073, here i transferred a file (With size of 5mb) through FTP from my PC..... and then i am trying to read it Dynamically, but while i am reading this file and updating, my CRIO going to stop mode...... So i can't workout more... Give a fine reply all...
    Regards
    Pandithan.

    What code for path building do you have running on the CRIO?
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Which c-series modules are compatible with Scan Mode?

    OK, so I just wasted 4 hours.
    I started a new Project with a need to use a 9220 analogue input card on a cRIO 9030, but immediately became stuck when I was unable to add the module using the right click Add New C-Series Module wizard to the 9030 chassis.
    My first (and only) assumption was that this was a new card and I needed the latest Device Drivers. So I installed those.
    When that failed I upgraded my LV2014 to LV2014 SP1, and also upgraded the Real-Time and FPGA modules too.
    4 hours later, when that failed, I realised that maybe this isn't a card compatible with Scan Mode so began searching ni.com for information. I've searched a whole raft of terms and I just cannot find information on which modules are supported by Scan Mode (which is presumably nearly all of them). I know it exists somewhere because I one referred to it when I had an RS485 module that was only compatible in FPGA mode, about four years ago.
    So:
    1. Is there an easy way to determine if a C-Series module is compatible with Scan Mode? I still don't know!
    2. Can we please have Scan Mode compatibility shown in the Add C-Seris Module Wizard. When attempting to add a module to a cRIO chassis, the wizard can hint to us that a particular module is not compatible. By not showing the 9220 in the drop down list I was led to believe the module was not a known device (and hence I attempted to upgrade my drivers). It would be better if the module was listed but disabled and not selectable, with some informational text to explain why. It's a fair assumption that a module will be compatible, so we don't expect it to not be listed when we attempt to add it. In fact, the possibility that some modules aren't compatible can evade your consciousness temporarily and make you do stupid things (like upgrade your installation!).
    3. Can we please have Scan Mode compatability information put on each module's description page. That would have made this whole process much quicker.
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

    Well, I definitely agree that finding info about RSI module support is not as easy as it should be. Since I know where to look, I will refer you to this document, which I found linked from this page.
    That's the best document I know of on the topic.
    Cheers!
    TJ G

  • Setting chassis for scan mode

    Hi
    I am building project in project explorer and setting chassis NI cRIO 9103 for scan mode. I select scan mode from properties. In order to deploy new settings, I follow instructions ( right click chassis>>deploy settings), but when I right click chassis the only option I could choose from are New, Arrange by, expand all, collapse all, remove from project, rename, help and properties. I dont have deploy. Am I not following instructions or is there anything wrong?
    Thanks for help
    Best regards

    Definitely sounds like some necessary software isn't installed or had an installation problem.  Can you reply back with what you have installed?
    You should have installed at least
    LabVIEW
    LabVIEW RT
    NI-RIO
    and preferably, in that order.
    Thanks,
    Sebastian

  • CRIO 9068 + Scan Engine Support Error - Even though it is installed on cRIO, after deploying error says its missing

    All,
    I have a cRIO-9068 that I am trying to use the scan mode for. I have intalled all the latest drivers and software as explained. However, when I set my chassis to scan mode and then select deploy all, I recieve this error on my chassis and all of my modules:
    "The current module settigns require NI Scan Engine support on the controller. You can use Measurement & Automation Explorer (MAX) to install a recomended software set of NI-RIO with NI Scan Engine support on the controller. If LabVIEW FPGA is installed, you can use this module with LabVIEW FPGA by adding an FPGA Target Item under the chassis, and drag and drop the module onto the FPGA Target Item."
    Has anyone experienced this or know why labVIEW won't recognize that the software is installed on my cRIO or is it not being installed correctly?
    Solved!
    Go to Solution.

    So I found that the target's Scan Engine was in Configuration mode.  After placing it in Active, I was able to deploy all of the modules on the cRIO target.  However, now I cannot deploy any of my modules on my EtherCAT NI 9144 racks regardless of which scan mode I place the Scan Engine.  I verified that I have all software on the cRIO target I need.  I was also able to find the EtherCAT slaves and their modules on MAX and I was able to add them to the project.  The problem I am having is being able to deploy them.  I have gone through the procedure outlined in the manual provided with the EtherCAT racks and the following link with no issues:  http://www.ni.com/white-paper/10555/en/
    The top LEDs on the EtherCAT racks are solid yellow and the bottom are solid green.  Does anyone know why I may be having this problem?

  • Error when running simulation with SIT 2010 on a cRIO 9073, what do I need to install on the cRio?

    Hi.
    I am trying to run a simulink model on a cRio 9073 using SIT 2010. I succesfully created the FPGA vi and the lvbit file in order to map input/outputs to the model. I also created the DLL and OUT for the model.
    When I run the interface VI on my computer, everything seems OK, until I get the following error and I am not able to run the simulation. I found a similar post earlier that suggests that I need to install the shared variable engine or the Simulation Interface Toolkit on my cRio. I tried to do both using MAX but could not find neither of the suggested installations.
    Thanks for the help!
    Items.viNI_SIT_driversupportVIs.lvlibIT Probe Model Items.vi loaded with errors on the target and was closed.
    LabVIEW:  Failed to load shared library SITs.*robeSignals:C. Ensure that the library is present on the RT target. Use MAX to install NI software or FTP to transfer custom libraries to the RT target.
    Items.viNI_SIT_driversupportVIs.lvlibIT Probe Model Items.vi loaded with errors on the target and was closed.LabVIEW:  Failed to load shared library SITs.*robeSignals:C. Ensure that the library is present on the RT target. Use MAX to install NI software or FTP to transfer custom libraries to the RT target.

    Hola jarcTec;
    Este tipo de error suena suele ocurrir cuando no se tienen las librerías apropiadas instaladas en el cRIO. Te recomendaría que abrieras MAX, debajo de la pestaña de Remote Systems selecciones tu dispositivo>> software, click derecho e instalar software. Aquí debes asegurarte que las librerías que te faltan estén instaladas en el cRIO. En Custom Installation selecciona SIT como opción para instalar en el cRIO tal y como se muestra en las imagenes.
    Espero esta información te sea de utilidad
    Exito en tu aplicación
    Marisol

  • How can I diagnose a Labview RT program crash on cRIO 9073?

    I have 2 cRIO 9073 purchased about 1 year apart.  Both are running the same realtime application.  The first cRIO runs fine.  The 2nd cRIO crashes intermittently while executing 1 particular VI that contains 2 timed loops running in parallel (1 collecting data and the other controlling machine movement).  When it crashes, the app stops, web server and FTP stop responding, MAX cannot communicate with the device ( I must perform a hard reset).  After reset, viewing the error log using MAX shows no errors.  I've added message logging to see if it stops in a particular place, but see no patterns.  In some cases, the device seems to be continually restarting (every 2-3 minutes) until it finally hangs.  In many instances, my configurations files (used to store runtime variables) have been corrupted or erased.  When trying to deploy the app on this Rio, I generally must try multiple times because I receive the error, "Error deploying on target".  I have tried formatting the flash and reinstalling the OS many times from different sources.
    I'm running Labview 2009, SP1 with the FPGA option. 
    Any ideas on how to diagnose this problem?  Are there any diagnostic tools to test this device?

    Here's a better description of what I'm trying to do.  This system is used to control the head position on a test machine.  I used the LV RT wizard to create the base VI with 1 deterministic loop and 1 non-deterministic.  The deterministic loop schedules 2 different test.  Test 1 is every 5 minutes (collect analog data, read temperatures, calculate new head position based on temperature , drive stepper motors to new position, collect data after moving, then dismiss).  Test 2 runs once a day with a duration of about 4.5 hours (drive stepper motors to user defined position, simulatiously collect data at various rates from 5Hz to .01 Hz, drive head to next user defined position, etc). This test has 2 timed loops running at different rates, one collects data, the other moves the head and acts as a timer to know when to move to the next position.
    If I never run test 2, then the system has never crashed, leading me to believe the problem is in the test 2 VI.  The crashes don't necessarly occur in the Test 2 VI.  On some occations 1-2 hours after Test 2 has completed, the CRIO will start rebooting itself (every 2-3 minutes).  This may happen 4-5 times until it will finally hang completely. 
    Since the crashes happen randomly (it may run for 2-3 days before crashing) I'm trying to find some way of trapping  errors or exceptions that would give me some clue as to what the problem may be. 

  • Not able to create OUT file with "nidll_vxworks" in Matlab for use with the LabVIEW SIT 2010 and a cRio 9073, sh.exe error

    I am trying to compile an OUT file for my Simulink model using "nidll_vxworks" and run it using the Simulation Interface Toolkit for a cRIO 9073 . I am able to compile the DLL file using "nidll" and succesfully run the simulation using my PC as the host.
    I already downloaded the "gccdist" and "vxworks61gccdist" folders and copied them to "c:" When I build the model in Sumulink I get the following error at the end of the process (at the same time windows tells me that "sh.exe" has stopped working). If it matters I am running Windows 7 64bits, but using Matlab 2009b 32bits and LabView 2010 32 bits. ANY HELP WILL BE APPRECIATED. "QofV" is the name of my Simulink model and I changed to "XXX" parts of the file path.
    ### Linking ...
    rm -f "QofV.out" ctdt.c;nmppc QofV.o QofV_data.o rtGetInf.o rtGetNaN.o rt_logging.o rt_look.o rt_look1d.o rt_nonfinite.o  nidll_main.o rt_sim.o ode8.o    | tclsh c:/gccdist/WindRiver/vxworks-6.3/host/resource/hutils/tcl/munch.tcl -c ppc > ctdt.c 
    abnormal program termination 
    C:\Users\XXX\AppData\Local\Temp\make426012.sh: fork failed: no child processes [1]
    make: *** [QofV.out] Error 1 
    ### Real-Time Workshop build procedure for model: 'QofV' aborted due to an error.
    >> 
    ### Linking ...rm -f "QofV.out" ctdt.c;nmppc QofV.o QofV_data.o rtGetInf.o rtGetNaN.o rt_logging.o rt_look.o rt_look1d.o rt_nonfinite.o  nidll_main.o rt_sim.o ode8.o    | tclsh c:/gccdist/WindRiver/vxworks-6.3/host/resource/hutils/tcl/munch.tcl -c ppc > ctdt.c  
    abnormal program termination 
    C:\Users\XXX\AppData\Local\Temp\make426012.sh: fork failed: no child processes [1]make: *** [QofV.out] Error 1 ### Real-Time Workshop build procedure for model: 'QofV' aborted due to an error.>>
    ### Linking ...rm -f "QofV.out" ctdt.c;nmppc QofV.o QofV_data.o rtGetInf.o rtGetNaN.o rt_logging.o rt_look.o rt_look1d.o rt_nonfinite.o  nidll_main.o rt_sim.o ode8.o    | tclsh c:/gccdist/WindRiver/vxworks-6.3/host/resource/hutils/tcl/munch.tcl -c ppc > ctdt.c  abnormal program termination C:\Users\XXX\AppData\Local\Temp\make426012.sh: fork failed: no child processes [1]make: *** [QofV.out] Error 1 ### Real-Time Workshop build procedure for model: 'QofV' aborted due to an error.>> 
    Solved!
    Go to Solution.

    Hello jarcTec,
    I am not sure right now if you can do it, but this tutorial might help, also everything was made in Winddows 7 in this one.
    http://zone.ni.com/devzone/cda/tut/p/id/11654
    Take a quick look and let me know if it works!!!
    Luis Fernando
    National Instruments Cono Sur
    Ingeniería de Campo y Consultoría
    http://chile.ni.com/

  • My printer hp photosmart c4680 is stuck in the scanning mode how do i get it out to print again need

    My printer hp photosmart C4680 is stuck in the scanning mode how do I get in back to the printing  again I need help please

    i have this problem too! have you fixed yours yet?

  • How to use SEA GSM Module on different slot of the cRIO 9073

    Hello to All,
    I have a SEA GSM+ Module on my cRIO 9073 at slot 7. I run the example program included in the resource CD as well as compiling the FPGA driver on my target but still don't work. Power supply is connected on the module. I don't know what I am missing. I followed strictly below steps as indicated in the read me text file but still nothing works. Please help.
    How to switch the FPGA Target on LabVIEW
    Complete the steps only if you use FPGA target other than 9104.
    1.  Add your new Compact RIO Target to the project
    1.  Add the new FPGA target below the cRIO-RT Target.
    3.  Drag the Gxxx folder from the original FPGA target and drop it into the new FPGA target. Make sure, that the module with its IOs, the FIFOs and the FPGA VI are integrated
    4.  Recompile the main VI - FPGA_App.vi, which is located in the Gxxx folder. A new bit file is created (.lvbit)
    5.  Open the Gxxx_Open.vi and select the just created bit file within the 'Open FPGA VI Reference.vi'.
    6.  Bind to TypeDef using ..Shared/Shared_TypeDefs.llb/Gxxx_FPGA_RefNum.ctl.
    7.  Close all VIs and do a "Save All, this project"
    Thanks in Advance,
    Joey

    Hello Jeff,
    The module is not working in any slot. Yes, I am using the sample code provided with the module name "Gxxx.lvproj". And also the FPGA is successfully compiled. Please see attached file for the error I received by the module.
    I already see this error in this forum and it was answered by powering the module by the external power supply. I already powered it. but still got an error.
    For the clarification, I am not using the  "SEA cRIO-Combo plus" module in the project rather I am using "SEA cRIO-GSM plus". I also attached the sren shotof the manual. I don't see any Toolkit Software manual in the resource CD and on the SEA website.
    Best Regards,
    Joey
    Attachments:
    GSM error.JPG ‏34 KB
    manual.JPG ‏91 KB

  • Can someone explain Scan mode to me?

    I'm just looking for a little help. I have just taken a production coordinator role and part of my job is to export broadcast quality movies as well as send different formats to clients to check. Today my boss told me to export a clip in DV Pal and make it "progressive". So, in the options I found the scan mode drop down had a choice of "interlaced" or "progressive" and I therefore chose the latter.
    I just wondered what the reason was for choosing "progressive" over "Interlaced"?
    I know this probably sounds like a dumb question to a lot of you, but my boss is not the most helpful, informative of men so I am kind of trying to learn as I go.
    So, if anyone can offer any advice regarding this or even tips about codecs and exporting, that'd be really great.
    Many thanks.

    Think of every horizontal line of pixels on your screen as a different line.
    Progressive: scans one line at a time moving downwards
    Interlaced: scans every odd line moving downwards, then every even line moving downwards.
    Pretty much progressive provides a better picture, but interlaced can raise the framerate. The problem with interlaces is that videos can end up looking ugly and stripe-y.
    If this doesn't make sense, maybe this video can help:
    http://www.youtube.com/watch?v=LV8UDBsf45Q
    (go to the 1:10 mark to see the big differences)

  • Progressive Scan mode (DVD on Sharp Aquos LCD)

    I want to use the Mac Mini as a DVD player on my 32" Sharp Aquos. Does anyone know if the Mac Mini supports progressive scan mode?
    Also, has anyone run into issues connecting to the 32" Sharp Aquos LCD TV?
    Thanks
    Curt

    Along the lines of progressive scan vs. interlaced... I've noticed while playing video from Quicktime I can make a selection to pick which one I prefer. I've got a project that I created in iMovie and I notice that if I were to share (export) a clip using the expert settings I can chose whether it is interlaced or progressive. However, when accessing those same .mov files in iDVD I don't see any settings that indicate whether the final DVD will be interlaced or progressive. From the looks of the footage viewing it on my computer it looks like it is interlaced. How can I create a DVD with this iMovie footage that ends up displaying as progressive?
    thanks for any advice.
    -charlene

Maybe you are looking for

  • Secondary e-mail account doesn't work

    I noticed today that my Secondary e-mail account wasn't working. My mobile Me account works. The other account has lost its draft, send, trash icons. When you try to check mail on that account the phone reverts to the home screen. I have synced, rest

  • How to add checkboxes in InDesign CS3 for use in pdf?

    I need to create a page with checkboxes for the user to select various options. I can create buttons and hyperlinks, but I am unable to create checkboxes. Is it even possible to do so in InDesign?

  • Spotlight cannot find file

    Hi All, I am very frustrated because Spotlight is incapable of finding a file on my Mac. The file is named: "Maya.env" And is located here:  Users/username/Library/Preferences/Autodesk/maya/2011-x64 Can anyone tell me why Spotlight is not able to fin

  • Running ORACLE on windows

    Is there any particular benefit to running and ORACLE server on Windows 2003/2008 Server as opposed to, say, 64-bit XP ? Is one likely to be far better at supporting a web application, for instance ? Regards in advance johnnied

  • Restoring old projects using CC

    Currently if a client comes back to me for an old job, all I need to do is open it in an older version. Or possibly bring it into newer software. This happens enough so that I'm concerened about how this is possible with CC. How will I restore work I