9401 serving counter in cRIO 9022

Hi all

I use cRIO-9022 and 9401 is one of the modules of him. I want to use 9401 as counter in the FPGA VI. Is this possible? As the specialized digital Configuration option is not available when the module is moved to the target FPGA.



Yes, you can, and many of us do on a regular basis.

Good read from this link to help you get started.

Tags: NI Software

Similar Questions

  • FPGA. What tool xilinx for Crio-9022 & 9030

    Hello. I will be compiling the programs of fpga on the Crio-9022 and 9030. You need Xilinx different compilers to do the task?

    With the help of LV ver14

    CRIO-9022 requires xilinxs 14.7 tool?

    CRIO 9030 requires the xilinx tools vivado 2013.4?

    Thank you

    Yes, it's because of the different FPGA series located on the backplane of the 9022 and 9030 cRIOs.  You can see this KB and this KBto see below why.

  • The CRIO-9022 software installation

    Anyone can help with installing Software NI 9022 by MAX

    I connect OR cRIO-9022 with an Ethernet.

    I was faced with a time-out error and saying that whether online or not, to the extent of the im concern its connected in safe mode as he always has no software in it.

    Please see the attached file.

    It is probably a detail of networking.

    It seems that you have a link-local address on your cRIO (169.x.x.x) which means that you should always have your computer configuration using DHCP. If you have a static IP address on your computer, try to return to "obtain an IP address automatically".

    If this does not work, I will try to set a static IP address on your PC to install the software and the cRIO. Once you get the cRIO software installed, you can switch everything back to DHCP.

    Find instructions here:



  • CRIO-9022 controller does support LV RT 8.5.1?

    Hello world.

    CRIO-9022 controller does support LV RT 8.5.1?

    Thank you.

    Daniel R.


    Hello Daniel,.

    This document indicates that you need 8.6 LabVIEW and NOR-RIO 3.1.0 for use the 9022 controller.

  • OR Communication CANOpen cRIO-9022 (9853 CAN module) and EPOS2 MAXON

    Hi all

    I am implementing a control loop of speed on my motor Maxon EPOS2 controller, using the AOP, sent through my real time controller (OR cRIO-9022) with a DRUM module (9853).

    I set up the mapping of the PDO in the dictionary of the object of the EPOS2, so that each new RxPDO1 contains the new speed desired highlighted, and I try to use the simple example in the standard Canadian example directory criocanopenbaisc (downloadable for free here http://zone.ni.com/devzone/cda/epd/p/id/5474).

    Can I change manually in the object dictionary the value of the desired speed using the studio tool EPOS by logging in through the port USB the EPOS2 to my computer, but when I connect the EPOS2 to the port of cRIO CAN0 values recently sent has no effect.

    To try first the .vi file hung on the AOP read command, which is just after the AOP command write. I guess that means that no real PDO is sent via the CAN bus. However, I have excluded the diagram of the PDO 'read', now the file runs and ends but no command is sent to the EPIC. I can check with an oscilloscope that many similar digital waveforms are sent, as if no ACK signal has been received.

    After several attempts, I sent AOP structured in the following way:


    COB - ID (4 bytes containing the COB - ID for RxPDO1 U32 representation: 531)

    Updated value (4 bytes containing the representation of the value of the desired speed, U32).

    0 in U32

    0 in U32.

    The last two U32 are then sent to be consistent with the example of the nicanopenbasic of library OR.

    For the moment, a signal is sent (no more repetitive signals representative communication fault), but the values are not updated in the EPOS2...

    See you soon

    Double post

  • Cannot write negative values on server modbus on cRIO 9068

    Hello everyone,

    I'm moving a project from a platform of 9114 cRIO a cRIO9068, the reason for a difference of heavy in terms of power CPU, memory, performance FPGA etc...

    Real time I deploy a modbus TCP server, and I publish just I16 data.

    The problem comes when the program tries to write a negative value to a binded on modbus variable. This variable is in the same format (I16), the program could write negative values, between 0 and -32768, but whenever the modbus force set to zero.

    I tested the modbus also with the 'system of distributed OR 2014 Manager' but always impossible to write negative values on I16, but I can if I consider the data as I32!

    (see files)

    Furthermore, I deployed a modbus server on my PC and in this case, everything is fine.

    More information:

    I work with labView 14.0f1.

    The cRIO are installed 'Labview RealTIme 14.0.0' and 'server Modbus I/O 14.0.0.

    I tested the feature on three different cRIO 9068 with the same result.

    I think it's something wrong with cRIO 9068, can anyone help me?

    Thank you


    Hi, Marcello,.

    I was able to reproduce the problem cRIO 9068 and it look like a CAR (corrective action request). I've opened a request for Corrective Action (AUTO ID 511039) to report the issue OR R & D.

    Have you tried to implement MODBUS slave on ana MODBUS master PC on cRIO? I tried and it works even with I16 data types.

    I hope this will help you.

    Kind regards.

    Claudio Cupini


    Technical support

  • Translation in MAX problem when you configure the SSH server on a cRIO-9068


    In my view, that there is a problem with the German translation of the remote switches max on the new cRIO-9068. When you look at the English Version, you see "Enable Secure Shell Server". In the German Version, you see "Secure Shell Server deaktivieren" which meens to disable the SSH server. The box did the same features, so after you disable SSH in can access. This it seems that it is probably just a translation problem.

    I have attached two screenshots.


    Thank you Andreas.

    This has already been supported in Nov 2013 and should be fixed soon.

    Marco Brauner NIG.

  • cRIO-9022 puerto RS232

    Hola, deseo saber if examples are para the closing of datos desde el puerto RS232 as el sistema Compact-RIO offers. MI purpose are control UN recirculado por medio este puerto (I have configurado el sistema CompactRIO y works well with the closing of señales from las Pestana, ahora quiero con entrada del RS232 driver test); Pero no he tenido exito poco con some the tests that he performed, of photos muchas gracias por information than can proporcionarme, sugerencia o examples. Saludos!

    Finalmente pude leer los datos as queria (el estaba en config del equipo detail). Thanks for the help

  • cRIO-9118 FPGA and or cRIO-9022 RT.

    Hi all.

    Having trouble to get my design FPGA compile for the target.

    The error is the overuse of the DSP blocks. 64 available on target...

    Do I have to reduce to a minimum the number of blocks of multiplier?

    Or can I somehow multiplex on DSP minimixe DSP multivariate use?

    Thank you.

    FPGA high speed multiplier Math must be set to LUT and not AUTO, because it will use DSP and not LUT car if there is too little of DSP.

    This will reduce use DSP, but increase the use of LUT.

  • Connect mobile NI 9144 to the cRIO 9022

    Hi homer210788,

    EtherCAT is a deterministic communications protocol, so it is not all real way to communicate wirelessly with the controller and 9144.  Out of curiosity, what is your application, and why do you want to make wireless?

  • Best way to generate signals of activation (square wave) with my 9401 on my 9022?

    Hi, I tried seriously over the past two days to find the best way to do it. I am trying to generate a very precise square wave, controlling the duty cycle and frequency, with the OID on the 9401 in testbed cRIO 9022.

    I have a VI that is theoretically able to do this, but whenever I try to go above 5 Hz or more, duty cycle and frequency becomes inaccurate (I have watch on an oscilloscope), various a lot too for my needs. I have a feeling that this is caused by my addiction on the calendar software controlled, with errors at the time (of the ms order) accumulate as they get processed and the signal is sent. I have attached a piece of code that illustrates the basic idea of what my VI have in them.

    I have avoided the square wave generators integrated because I could never work to satisfaction, but I can work with them so that will solve my problems. Selection structures and cases prevent the user to exaggerate their inputs. Unwaited so the loop was just to test.

    I'm running the 9022 as target in real time, but also tried to run in the FPGA and I was able to produce much more accurate signals using FPGA VI square wave, displaying a Boolean variable, but I couldn't see the best way to get double precision variables to work with everything (and I want more precision than variables FXP enabled clock 40 MHz).

    I feel there is just a mistake in my approach here. I've seen other discussions where people throw around using meters to edge of the test bench to produce a square wave, and I see the example screws as Gen dig pulse - continuous Train, I'm not sure if initially these screws DAQmx for my situation (eg. How to identify my counters, because they are clearly not Dev1/ctr0 by default in these examples)

    Thank you

    Dealing with the representation of Point fixed and all is a reality for LabVIEW FPGA<= 2011="" programmers.=""  you="" might="" build="" a="" small="" sub="" vi,="" such="" as="" the="" one="" attached,="" to="" encapsulate="" the="" frequency="" calculation,="" thereby="" abstracting="" the="" conversion="" formula="" and="" fixed="" point="" data="" type.=""  you="" can="" adjust="" the="" properties="" of="" the="" floating="" point="" input="" control="" to="" accept="" only="" valid="">

    This implies the series VI void on the host of the RT, and not on the FPGA target.  So, you also need nodes in the Palette of the FPGA Interface to send PWM fixed Point RT frequency to the FPGA.  The complete solution of frequency may resemble the following.  It is common for FPGA programmers to build a collection of thesesub screw, that make up the API for hardware.

    Note that 40 MHz is hard-coded.  For increased flexibility, consider making the FPGA clock rate an entry to the Subvi with a default value of 40 MHz.


  • Modbus IO server causes cRIO CPU to go to 100%

    I have 2 e / s Modbus server set up on my cRIO-9022 system. I use Modbus ethernet to communicate. Each server is intended for a different IP address for the Modbus device to what he's talking about. Modbus devices are configured with these IP addresses.

    In normal operation, the CPU of the cRIO is about 10% use. However, I am trying to build in the correction of the mistakes of my VI. The question I have, is that when one of the modbus devices is dissconnected, the CPU usage gets locked at 100%. I guess that's because the IO server is trying to reestablish the connection and failing.

    What would be the why of the handeling this case to prevent hanging on 100% CPU?

    This is unexpected behavior that appears also when any other server I/O trying to settle the slave as well and I filed a request for Corrective Action with R & D to help resolve the issue in a future version of LabVIEW. A potential solution for those who have the DSC module is programmatically toggle the server I/O with the engine control features available in the palette of DSC.

  • installation of server compilation

    Dear Sir/Madam,

    I used module labview 2010 FPGA to establish an interface with the cRIO-9022, I built a FPGA vi in the FPGA target and tried to compile the vi. However, I was told that there is a communication error "compile the local server is not installed on this computer.

    This error appears in the attached picture

    I have download module FPGA of NI LabVIEW Modules and Toolkits for Embedded Design. It does not compile server in the installation.

    What should I download and installed so that I can compile my FPGA vi with the cRIO-9022?

    Thank you very much

    Li Shen

    Hi there Seevy,

    Let me take a little time to explain what, in my view, that the scenario is:

    You encounter this problem because there is no compilation tool installed. The message is to direct you to the farm of the compilation, but this isn't really what we want to use in this case. Compile farm is a piece of software that allows you to share the work of compilation of several PCs all connected to a "compile server. The intended use for this software is extremely large projects/code FPGA or where people should be recompiled several times per hour and have access to the processing power of networked PC.

    So what we need to do, is to install compilation tools designed to operate in an environment independent of the network. These are the tools of Xilinx, named after the manufacturer, who represent the majority of the FPGA chips in the section of the chassis of the cRIO.

    See if this link works for you. There should be downloads for image files .iso of Xilinx tools part to the bottom of the page.


    You will need to burn these files to .iso to a DVD with the software capable of burning burning .iso. Then reinsert the DVD and it should auto run the correct splash screen or the installer.

    Before undertaking such a large download, I would recommend go to measurement and Automation Explorer, do a right-click of the domestic software in my system and then wait the window loading. In this little window, you can look through the list of installed software to see if the Xilinx tools are already installed.

    Thank you for taking the time to read all this! Let me know what you decide to do.

  • Publication of data on a webserver cRio


    We run a cRio 9022 and I have a file Labview real-time sensor data reading. The file runs when the Rio turns on, but for me to see the data in real time, I reset the vi. So I thought just to post the file to a Web server, so I can just login and look at the data via a web browser at any time, without resetting the host file. However, I had trouble publishing the file on the network. I went through all the publication be tutorials and tutorials of remote panels, but I web get "Access denied" or "Client Server does not support...". "or just a mistake of connection not made not of web.

    Any ideas would be really helpful. I'm fairly new to Labview so please excuse my naivness.

    Thank you!

    These links have helped when I did recently.

    Configuration of a real-time target remote façade panels

    Tutorial: Create and access a Web Service from LabVIEW

    LabVIEW Web Services FAQ

    The system that is running the browser used to access the cRIO will need to have installed at least a compatible (for what is on the cRIO RT system) the LabVIEW runtime version

    In my case, I enter this in the address bar of FireFox (which works better for me than IE) 8000Fast_Regen_Shutter.html and it just connects and works.

  • synchronize NI 9514 with NI 9401 for digital output


    I need to write code to trigger a laser for a PIV system. I use the NI 9514 with training AKD to order a servo. I need to send a + 5V signal to trigger the laser at an angle of rotation of the motor (this is repeated for each turn of the rotor) specific. I also have the NI 9401 DIO. Any idea/example of how to proceed will be much appreciate. I use the scan to the NI 9514 mode, my system is a CRio-9022 with 9114 chassis.

    Thank you very much!

    According to me, that the example to compare periodic Position is what you are looking for. The description States "shows how to use the output of compare position to generate an output signal to a regular period.

    You can find it by going to help > find examples > Input and Output material > Motion Control > NI SoftMotion > properties and methods > advanced.

Maybe you are looking for