limitations with cRIO in Scan Mode

Hello!

I use a cRIO to get five channels of analog voltage in Scan Mode. I have three parallel Timed-while loops. When I use a 1ms dt, the vi does not run and cRIO is disconnected from the project (it is said that cRIO does not). When I use a 100ms dt vi works normally. But the acquisitions must be made with an interval of 1ms. The possibility exists to be a limitation of the Scan Mode?

Thank you!

The analytical engine should be able to manage the acquisitions 1ms, but make sure that you configure the engine to scan for 1ms period.  You can synchronize call analysis engine loops instead (it's one of the timed loop timing options).

If you try to run 1ms loops and there are a lot of things in the loops, you may lose the connection with the cRIO because the thread that serves the TCP connections runs at a lower priority than call loops.  If the call loops all the time take processor, there is no time CPU to manage communication.  Do you need to process each sample as you receive it, or you can read data from each ms but more slowly process it in batches?  If you download your code, we can help you eliminate inefficient code that slows down your curls.

Tags: NI Software

Similar Questions

  • Strange error with cRIO and scan Mode

    I'm scanning two modules cRIO on a controller of 9012 + 9112 bottom of basket 8 channels in scan mode, and I call the function 'read the Variable scanned '.

    I see this error, each a few scans:

    Error -2132869099 occurred at Property Node (arg 1) in PolymorphicModuleScan.vi:7->sampleData2.vi->ZDAQ_cRIO_Target_Main.vi
    
    Possible reason(s):
    
    LabVIEW:  (Hex 0x80DF0015) A deployment transaction is in progress.
    

    The search for this error on NI.com gives no help at all.  This is the first time I see this (I've been running this code for some time without error).  All software is since the dev of August 2011.

    Resolved: I was calling the function "Get the Period.VI of Scan" scan at 1 Hz.  This seems to have caused the 9205 (not the 9237) produce this error.

    I removed the call to the offending function and this has solved the problem,

  • read the temperature of the chassis of a cRIO in Scan Mode?

    I am trying to create a section for monitoring my VI which monitors the status of the cRIO 9022 and backplane (9104) I use. I understood how monitor memory, CPU utilization, and the input power voltage.

    I know that you can monitor the temperature of the chassis using the FPGA options, but I want to keep my cRIO in Scan mode. Is it possible to access the scan mode chassis temperature probe?

    I found the solution I was looking for. NOR has built a VI to get the temperature of the cRIO, but it's not easy to find or in the open air.

    It is located here:

    c:\Program Files\LabVIEW 8.6\examples\CompactRIO\Controller Specific\9022 voltage and temperature Monitor\cRIO-902 x Support files

    "The cRIO-902 x Support Files" is a library that contains 2 VI is used for the sub - VI voltage monitor, and a third VI called "get Council Temperature.vi.

    Drop in the cRIO app and the Vi shows the temperature of the CPU cRIO in ° C card.

  • Calibration shunt 9235 with 9144 in Scan Mode

    Hey everybody,

    I use two 9144 s and a 9074 and I am trying to create a routine calibration of shunt for 12 9235 s (4 per chassis). I found this article on how to shunt calibration with the 9144 and a 9237, but it does not work:

    http://digital.NI.com/public.nsf/allkb/12017868777480AE862579BA004F0877

    This is the error I get:

    Error 65723 appeared to node (arg 1) property in the Shunt Cal 9235's.vi
    Possible reasons:
    CompactRIO: This module cannot be configured when the engine of the controller is in its current mode.

    The thing I don't understand is that the modules on the 9074 calibrate correctly, but when I try to calibrate a channel on one of the 9144 s, I get this error. I couldn't find much about this error, I was wondering if someone could help me and point me in the right direction.

    I have attached my code. It is relatively simple, and I don't see where the problem would be. I have to manually set the mode of the 9144 something than what it is currently (i.e. Active configuration)?

    Thank you for your help,

    Seth

    Your system may start in Active mode by default. This mode does not allow to set the properties of your ECAT 9144 chassis. the chassis must be in configuration mode to enable the derivation property. See attached changed VI.

    DirkW

  • Default sampling frequency NI9235/9236 equipment in scan mode.

    Hello

    I am currently using NI9235 with cRIO under scan mode, which allows sample rates up to 500 Hz. I realize that the card module has 12.8 MHz internal and under mode FPGA software and hardware time base combined anti-aliasing filter will be adjusted automatically depending on the installer of data rate, which is a set of values from 10 kHz to 794 Hz. Unfortunately, I do not have the FPGA package for now.

    My question is that what will be the flow of material data, if NI9235 the samples at 500 Hz in the scan mode. The anti-aliasing filter still works just below half the data rate material?

    Marco

    BMT WBM

    Hello Marco,.

    When it is used in scan mode the 9235 and 9236 are configured to sample at 10 KHz.  Unfortunately, this parameter is not configurable in scan mode.

    Let me know if you have any other questions.

    Sebastian

  • Access 9236 shunt cal with scanning mode?

    How allow us calibration shunt with scanning on the module 9236 quarter bridge strain gasoline

    We are very happy with the release of Labview 2009 and RIO 3.2 because most of the cRIO modules now supported the scan mode.

    We want to use the interface in scan mode with the quarter bridge strain Guage 9236 module, but we must be able to access the features of Shunt calibration. With the FPGA interface, you acquire a set of data. Then allow you the shunt calibration and gain a second set of data. Then you compare the two to get to a scalar value using some equations. This eliminates lead resistance in your calculations, which can be less than ignorable in certain circumstances.

    Thank you

    It was easy. I just hung out and left down the constant IO then right mouse clicked on it and all its I/O write properties come. Very cool. All too easy to be crio programming, lol.

  • Using the scan Mode 9411 cRIO-9074

    Hello

    I use an entrance Module differential differential NI9411 under cRIO-9074 with scan Mode, but I noticed that some problems are present.

    My application needs two encoder and we choose two incremental encoders with 1024pulses/rev. I have configured the NI9411 quadrature Mode, so I can read the position and speed of the encoder. Each shaft turn at different speeds.

    One of them can turn 4.6 rad/s as a maximum speed, while the other hit it up to 402 rad/s. Then, the configuration of the module input filter is set to 1microsed, the time base speed 32768 microseconds and the disabled index mode. These values make for a correct reading? The cRIO scanning speed is set to 1ms.

    On the other hand, watching the tutorials or (http://zone.ni.com/devzone/eda/tut/p/id/7109), that the degree of rotation depends on the encoding type, what type of encoding is used in Scan Mode? X 4?

    Using System Manager OR distributed, one of the encoders to read impulses sometimes sporadic (up to 2 digits) Although the encoder is stopped. However, the other bed is always 0. It seems that the encoder is broken, isn´t it?

    Thanks in advance for your comments

    Hi Juancar,

    I think that the values are suitable. The issue of reading 0 is explained in this KB:

    http://digital.NI.com/public.nsf/allkb/C9088DFDF803CD8B862575F3007C40FD?OpenDocument

    In addition, according to this document:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/7338

    decoding type must be set to X 4.

    I hope this helps! Suerte con ello.

    Jesus

  • How can I get channel z (zero) data encoder with a NEITHER-9411 in scan mode?

    Hello

    I use a cRIO to read a quadrature encoder, and I need z-Canel (zero channel) data using a NOR-9411 in scan mode.

    Chassis: NEITHER cRIO-9074

    Module C-series: 9411

    Encoder: EIB H25 series (model # XH25D-SS-1440-ABZC-28V/V-SM18)

    Now, I installed it using in scan mode and the properties > Configuration parameters of specialty as follows:

    Lifestyle specialty: Quadrature

    Input filter: disabled

    Time base of speed: 4096us

    Index Mode: Disabled

    This replaces Position0 position 1, Velocity0 and Velocity1 module instead of et0, DI1 channels, etc.  It works well to get a reading of the speed, but not the Z.

    I need to know Z as in the rest of my program calculations depend on.  (For this encoder Z is a digital signal that goes low when the encoder reaches 360 °.  It is also a very fast signal.  7200 RPM, it has a width of approximately 3.3us pulse.

    How can I get the data Z in Scan Mode?

    Agile Hello,

    The mode setting of index is the only way to access the Z channel in Scan Mode.  If selected the position will reset when the z channel is detected and the phase of the two other channels corresponds to your selection.

    It seems that you have the real z signal elsewhere in your code.  You may use the position data to generate the Z channel for this purpose?

    Let me know if you have any other questions,

    Sebastian

  • Paper jams periodically with the HP1536 MFP dnf during the feeding process while in scan mode

    Someone has advise for us all by using the HP1536.    We have paper jams periodically during the process of feeding in scan mode.

    We use this machine for a 1 year without feeling the pain.

    There are a few things I would check if the printer is having recurring paper jams.

    * Make sure the paper is a paper clean and crisp

    Take all the paper in the input tray and use a flashlight to look into the status bar.  Make sure that he took not in rolls of paper entry.

    * Check the printer rear access door to check that there is no small piece of paper stuck in the rollers from the back.

    Thus, there is a document with the steps to solve the problems of paper jam.  The document can be accessed here.  Let me know how it goes.

  • My Dell V313w stopped printing/scanning mode wireless or with a direct USB connection after working flawlessly for 2 years

    My Dell V313w stopped printing/scanning mode wireless or with a direct USB connection after working flawlessly for 2 years - any changes made on the network wireless to our knowledge.  Printer works fine in USB mode on old Windows 2000 office.  Network sees the devive asked to detect devices.  Wireless to the printer hardware is perhaps not handshaking...?  Please let know us that he is a very curious pnnc.

    Windows 7 is updated as well as the print driver.  Thank you.

    Hello abir.

    Thank you for giving us the opportunity to help you with your concern for Windows.

    From your post, it seems that you cannot print from Windows 7-based computer.

    When you say "no changes made on the network wireless to our knowledge", which is the type of network you're talking about? (Workgroup, domain)

    It is a difficult problem to diagnose because there are many printers on the market and many reasons why it could not work.

    We will try the steps from the following link and check if this solves the problem.

    Why can I not print?

    http://Windows.Microsoft.com/en-in/Windows7/why-cant-i-print

    You can also check this link:

    http://Windows.Microsoft.com/en-in/Windows/printer-problems-in-Windows-help#fix-printer-problems=Windows-7&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    Response with the State of the question, too, let us know if you need help with Windows problems and we will be happy to help you.

  • You try to run the scan mode and mode interface fpga at the same time is causing errors

    I'm reading a 9236 9237 and a 9215 with the scanning engine and read from two 9211 modules with the fpga. It's because I need to acquire to 200 Hz with the 9236 9237 9215 but maximum rate of the scan engine is limited by the slower module in the system, which in this case is the max of 15 hz the 9211.

    So to use both interfaces (scan engine and fpga), I followed the percisely given in this article for instructions.

    1. the project has created and added the peripheral crio using the interface of the scan engine.

    2. Add the target fpga and drag and drop the 9211 inside modules

    3. has created the fpga in interface file with and compiled with no error.

    4. interfaced with the file fpga at almost exactly the way the sample project of "getting started with 9211' by using the engine of analysis in the interface with the other modules.

    5. after the errors to discover that I created a VI that tests for just the portion 9211 code (called "thermocouple FPGA method Test.vi")

    The data returned by the interface fpga was nothing else than zeros on all channels, even if thermocouples were hooked on some of them. (all zeros as entries in the convert temperature vi gives-410, 6160 degrees F, if you happen to have the material to try this.)

    I get the following error from the open fpga vi reference:

    code error-61141
    "Thermocouple method Test.vi FPGA.
    Activities FPGA:

    Open FPGA interface reference.
    Reserved outside LabVIEW FPGA: turns The RIO Scan Interface. You must set the mode Interface FPGA chassis in order to unlock the FPGA. »

    It's extremely frustrating, because as I explained, I've been very attentive not only follow the instructions for concurrent fpga and analysis but also to model my VI by the example of VI, even if only for the moment, just to try to work things out.

    Any help would be appreciated as I need to fix this for the further development and I am somehow in a lack of time. I opened a support ticket (reference #7256226), but the app engineer had no time to answer.

    My system:

    cRIO-9014 controller RT with crio-9104 bottom of basket.

    LabVIEW 2009

    Latest drivers and peripheral software pc and rio (RIO scan 3.2 engine support june2009)

    rex1030 wrote:

    I'm reading a 9236 9237 and a 9215 with the scanning engine and read from two 9211 modules with the fpga. It's because I need to acquire to 200 Hz with the 9236 9237 9215 but maximum rate of the scan engine is limited by the slower module in the system, which in this case is the max of 15 hz the 9211.

    This should not be the case.  9211 data will not update with each sweep, but you should be able to run the scan faster than 15 Hz without problem.  Do you have specific issues with this?

    So to use both interfaces (scan engine and fpga), I followed the percisely given in this article for instructions.

    1. the project has created and added the peripheral crio using the interface of the scan engine.

    2. Add the target fpga and drag and drop the 9211 inside modules

    3. has created the fpga in interface file with and compiled with no error.

    4. interfaced with the file fpga at almost exactly the way the sample project of "getting started with 9211' by using the engine of analysis in the interface with the other modules.

    5. after the errors to discover that I created a VI that tests for just the portion 9211 code (called "thermocouple FPGA method Test.vi")

    You can try making sure that the chassis is set to mode Interface FPGA and the setting is deployed.  I wrote that article that you referenced says will select the deploy option later and not explicitly speak to deploy the chassis later.  Run a VI with a reference open FPGA vi not automatically deploy chassis settings if you need to do it explicitly.  Try the following steps.

    1. right click on the frame element and select Properties.  Make sure that the Interface FPGA option button is selected. \

    2. right click on the frame element and select deploy.

    3. repeat your VI.

    The data returned by the interface fpga was nothing else than zeros on all channels, even if thermocouples were hooked on some of them. (all zeros as entries in the convert temperature vi gives-410, 6160 degrees F, if you happen to have the material to try this.)

    I get the following error from the open fpga vi reference:

    code error-61141


    "Thermocouple method Test.vi FPGA.
    Activities FPGA:

    Open FPGA interface reference.
    Reserved for LabVIEW FPGA outside: The RIO Scan Interface is running. You must set the mode Interface FPGA chassis in order to unlock the FPGA. »

    The likely cause of this error is that the setting of the FPGA Interface on the chassis has not been deployed.  If the chassis is still Mode Scan fixed personality bitfile will be loaded on startup and the FPGA will be locked.

    It's extremely frustrating, because as I explained, I've been very attentive not only follow the instructions for concurrent fpga and analysis but also to model my VI by the example of VI, even if only for the moment, just to try to work things out.

    I'm sorry that you have had difficulties.  Assuming that I'm wrong about the source of your problem, it seems we have to update less than Ko to include the deployment step.

    Any help would be appreciated as I need to fix this for the further development and I am somehow in a lack of time. I opened a support ticket (reference #7256226), but the app engineer had no time to answer.

    My system:

    cRIO-9014 controller RT with crio-9104 bottom of basket.

    LabVIEW 2009

    Latest drivers and peripheral software pc and rio (RIO scan 3.2 engine support june2009)

  • cRIO 9068 + Scan Engine Support error - even if it is installed on the cRIO, after the deployment of error says his lack

    All,

    I have a cRIO-9068 I try to use the scan mode for. I have intalled all the latest drivers and software as explained. However, when I put my chassis to scan mode, then select deployment all, I get this error on my chassis and all my modules:

    "The current module settings require a NI Scan Engine support on the controller. You can use Measurement & Automation Explorer (MAX) to install a software package recommended NOR-Rio with NI Scan Engine support on the controller. If you installed LabVIEW FPGA, you can use this module with LabVIEW FPGA by adding an element of FPGA target under the chassis and drag and drop the module on the FPGA target element. »

    Everyone knows this or know why labVIEW does not recognize that the software is installed on my cRIO or is it not installed correctly?

    AGJ,

    Thanks for the image. I saw a green arrown beside all my pictures of chip and it seemed that meant that the software wasn't really being installed. I formatted my cRIO and did a custom install. My problem was that I had the two labview 2013 and 2014 installed and the cRIO put conflicting versions of software. After doing a custom installation and choose only the versions of 2014, my picture now looks like yours!

  • Could Scan mode and FPGA mode be used in a project?

    Hi all

    I need a project that the current NI9203 with mode of analysis samples and samples of the accelerometer of the NI 9237 with FPGA mode. It could be achieved? Could Scan mode and FPGA mode be used in a project?

    I use labview2009.

    Thank you very much.

    Yes, they can. This mode is called hybrid mode. To use the Mode of LabVIEW FPGA IO modules, simply slide the module to the target FPGA in the LabVIEW project, disconnected from scan mode. Then use LabVIEW FPGA to program the modules and use I/O variables for read and write I/O on the remaining modules. When you use a LabVIEW FPGA Mode on one or more modules, the logic of the scan Mode CompactRIO on the FPGA, known as the RIO Scan Interface, is compiled in a single application of FPGA with LabVIEW FPGA VI. If no module is configured to use the scan mode, the RIO Scan Interface is not included in the compilation.

  • FPGA: R-series scan mode

    Available for PXI RT Systems FPGA scan Mode uses the R-series cards? Or you can use the Mode of the FPGA Interface to access the FPGA?

    Thank you

    Craig

    Scan mode interface cannot be used with the r series devices as far as I know, so you want to use the read/write and DMA FIFO nodes to communicate with the FPGA.

  • scanning mode of scanning screen. Cannot change the option of transparency-postive.

    Hi, I need help please, I have a hp photosmart c7180 while a printer and scanner, OS mavricks 10.9.3 when scanning window opens it says waiting for scanner, the screen flashes to another screen with a sidebar on the side right which has the following options. Scan mode; Kind; colors; Resolution; Size; Scanning; Name; Format; Image correction; Adapaptive lighting. Sharpen. "" I can not change the transparency-Postive scan mode or any other function in the sidebar, at the top of the screen displays a box of ' Scanner reported an error ' and the beach ball is everything. The only way to get rid of this is to force quit the printer. I also tried to restart and download the latest patch printer but every time that you open the option scan the same things happen more. any help with this problem would be great.

    jm44

    Hi Sunshyn 2005,

    We thank you for your email on how to reinstall and and remove the printer and repair disk permissions. I carried out all the instructions in your email and kept happening the same thing, so I thought to what might solve this problem? then the answer came to me, that would fit the tray of slides (with slides) and remove the white plate then allowing the transparency-postive option to be changed again flat. If you don't analyze a transparency it won't let you change it back flat. I want to say thank you for the help with the matter and I hope that this email explains what went wrong.

    Thanks a lot for your help.

    jm44

Maybe you are looking for