FPGA problems on cRIO 9004

So, Ive been playing with a cRIO-9004 with FPGA. But there is a problem, everytime I place an FPGA I/O node onto the block diagram it does not work.
it outputs a null signal and says this in context help "LabVIEW does not support I/O nodes in the My Computer application instance. Place the node on the block diagram of a VI that is open under an appropriate target in the Project Explorer window." 
I do not have it within the my computer instance. I have done this before with a sbRIO and followed similar steps. I have never had this problem with the sbRIO. 
Any ideas?
Solved!
Go to Solution.

Under your main project you need to have added a "cRIO target"  underneath that target, you need to have added a "cRIO chassis".  And then udnerneath the chassis you need to have added an "FPGA Target".  Finally, you place your VI inside the "FPGA target" in the tree structure.  To add something, usually right-clicking on the item it is going to give you an option to add->target or something similar.

Similar Messages

  • Alternative to DMA transfers from Host to FPGA in cRIO 9004

    Hi,
    We are using a cRIO 9004 + 9104 FPGA Chassis + 8x NI 9505 modules to replace an 8 axis Scorbot educational robot controller by a cRIO, but we found some troubles:
    - We are using FPGA IPs for Encoder reading, PWM signal generation and PID control, for the 8 axis. This is done using 3 SCTLs for each axis: one SCTL for encoder reading, one for PWM generation and one for NI Softmotion Splines and PID position control.
    The FPGA VI is successfully deployed.
    - We are using the NI Soft motion in the Real Time controller for trajectory generation and user interface. We are not using another VI on the Windows PC for user interface, just the Real Time processor.
    Here we get the R-T error -63001 (NI RIO FPGA Communications) when deploy the Real Time VI. It seems that our controller doesn't support DMA transfers from the Host to the FPGA.
    Questions:
    - If we cannot use DMA transfers from Host to FPGA, is there any other way to communicate the Host to the FPGA avoiding the R-T error -63001?
    - Is a good idea to use indexed IPs to reduce the amount of SCTLs in the FPGA to just 3 (instead of 24 SCTLs)?
    - Do you have any suggestion?
    Regards,
    Manuel

    Hey there.
    Indeed cRIO 900x series does not support DMA transfers from the Host to the FPGA; that is the reason you are getting an error 63001.
    However it does support data transfer from the FPGA to the Host You can find that information in this KB.
    To transfer information from the host to the rt and to the fpga you can use:
    Host <--> RT
    Network shared variables
    TCP
    UDP
    Data socket
    RT --> FPGA
    Front panel communication
    FPGA -->RT
    User defined variables
    Direct memory access
    DMA FIFOs
    I added some links with examples of each type of communication
    Hope this info helps
    Good luck

  • NI cRIO-9004 safemode improper installation

    We are now working with 'CompactRIO Real-Time Controller - NI cRIO-9004', and facing many problems.
    hardwares we're using:
    CompactRIO Real-Time Controller - NI cRIO-9004
    chassis: cRIO-9104
    modules: NI 9472, NI cRIO-9411, NI cRIO-9221
    Softwares we're using:
    NI ACADEMIC SITE LICENSE Fall 2010
        NI LabVIEW Core Software
        Extended Development Suite
        Control and Embedded Systems Software
        Signal Processing and Communications Software
    NI Device Drivers DVD August 2010
    NI MAX updated to 5.6
    developer computer: Windows 7 profesional.
    our Problem:
    Use NI MAX connect cRIO-9004, it displays "Safemode (improper installation)". I installed the software for cRIO-9004 for several times, it still display this information.
    Besides, the 'Status LED' on cRIO-9004 flashes two times continually, which means software is interrupted according to the manual.

    Have you tried reformating the cRIO-9004 and reinstalling the software on it? I've attached an article that goes over how to do this.
    http://digital.ni.com/public.nsf/allkb/6B1343F61905203386257051006573CA
    Let me know if this helps, it should.
    Rob B
    FlexRIO Product Manager

  • How to configure cRIO 9004 and link it with Labview?

    Today i tried to connect the cRIO 9004 to my pc using the serial cable
    but unfortunately the controller was not detecting on my pc. Then I
    turned on the IP reset button and tried connecting it using LAN to get
    an IP address but it also didn't work. I was looking for drivers on the
    internet and NI website but I couldn't find any directly related ones.
    Status light is blinking slowly and continuously(one flash every
    couple of seconds). According to cRIO 9004 manual it indicates "That the
    controller is unconfigured. Use MAX to configure the controller.
    Refer to the Measurement & Automation Explorer Help for information
    about configuring the controller".
    I tried MAX but its still not detecting the controller to configure.
    It would be great if you'll could help me out with this as I'm configuring this type of a controller for the first time.
    Thanks and regards
    Kavin

    Hey,
    First of all get sure that you have LV RT and FPGA as well as the NI RIO driver installed at your system.
    Then the easiest way would be to use a crossover ethernet cable to directly connect the cRIO to your PC.
    Give the PC a static IP Adress e.g. 100.100.100.100. Deactivate Firewall and Virus Scanners.
    Reboot the cRIO with IP Reset Switch ON, then it should appear in MAX under Network Devices with IP 0.0.0.0.
    Give the cRIO also a static IP like 100.100.100.111, set IP Reset switch to OFF before saving this settings.
    Now you can install the software at your cRIO also via MAX.
    Then you should be able to find it in LabVIEW by right-clicking "Project UntitledX" and "Add Targets and Devices".
    There should be different tutorials online how to configure a cRIO or other Realtime targets.
    Christian

  • I need to reboot a crio-9004 remotely, how is this done in LV?

    A cRIO-9004 needs to be rebooted remotely. Our software development platform is LabVIEW 8.0. How can this be done?

    Hello,
    Do you have LabVIEW Real Time module? There is a VI that comes with this module that will let you do this. Its called "RT Reboot Controller.VI".
    Regards,
    Chetan K
    National Instruments
    Message Edited by CKap on 11-16-2006 04:05 PM

  • Help: system design using NI cRIO-9004, chassis cRIO-9104; modules: NI cRIO-9411, -9221, NI 9472

    We have NI CompactRIO Real-Time Controller: NI cRIO-9004, chassis: cRIO-9104; and modules: NI cRIO-9411, -9221,  NI 9472. We also have different motors, helicopters, etc. equipments in our lab. Can anyone here give any advices that how to make use of these NI equipments to design a control/measure system? Or give me some detailed examples using these equipments? 

    Hi Jahy,
    Your question is somewhat vague, are you looking to do something specific with your application? A good place to start is by opening LabVIEW then in the toolbar go to the Help menu > Find Examples which brings up the NI Example Finder. The Example Finder has all of our example programs; these examples are great ways to start designing your application. If you provide a more detailed description of what you would like to accomplish with your application I would be happy to point you toward an example that is relevant.
    Scott B.
    AE NI

  • Why does a CRIO-9004 only provide a timed loop of 1kHz (clock) and not 1MHz?

    I essentially have a compact CRIO-9004 and require a PID loop with update rates around 4-5 kHz. Additionally, I was hoping to use multiple 'timed loops' in the program in order to synchronize certain events. During this coding, the timed while loop will not work with a 1MHz clock rate and I am stuck with a clock rate of 1kHz instead. NI claims that PID loops in conjunction with the CRIO may have up date rates as high as 200 ksps. However, it appears that by employing the 1kHz clock that I can only obtain 1 ksps.
    What are my options?
    Thanks,
    Shane

    John-
    The 9215 has a conversion time of 4.4us when scanning 1 channel (see page 14 of the 9215 operating manual).  This equates to a little over 227KS/s.  The 100KHz value is if you are reading from all 4 channels.
    Link to operating manual:
    http://digital.ni.com/manuals.nsf/websearch/5F2E96​40C1CFE645862573AF007ABAD9
    Dustin
    Message Edited by Support on 10-16-2009 09:16 AM

  • Write cycle endurance of flash memory on cRIO-9004 controller?

    What is the minimum guaranteed endurance of the flash memory on the cRIO embedded controllers?

    The CompactFlash device used in the cRIO-9004 uses a low level optimization technique called wear leveling. This technique will evenly distribute the use of the hardware blocks so that no one section wears out early from overuse. In the case of the 9004 controller, the CompactFlash has 1,023,120 sectors to use in leveling out the wear.
    The Write/Erase endurance for the hardware blocks is 300,000 cycles minimum. The Mean Time Between Failures for the device is rated at > 1,000,000 hours.
    Preston Johnson
    Principal Sales Engineer
    Condition Monitoring Systems
    Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
    National Instruments
    [email protected]
    www.ni.com/mcm
    www.ni.com/soundandvibration
    www.ni.com/biganalogdata
    512-683-5444

  • XNET session problem on cRIO

    I’m having a problem reading all the CAN signal into my LV vi through an XNET session on a NI 9862 cRIO module.  I’ve got roughly 12 signals available to read from my device, but I can only get values in the my LV application on a few of them.  The most important signal I need is the speed signal, bytes 5 & 6 on ID# 302 (for a Racelogic device)
    Here is my hardware: cRIO w/ 9014 RTC & 9111 FPGA, NI 9862 XNET module, Racelogic VBSS GPS Speed Sensor.
    The 9862 is powered and I’m already reading in signals from another device correctly, so I don’t think the setup from that respect is an issue.  I suspect my problem revolves more around the XNET session in the project.  I’ve tried setting it up multiple ways.  I’ve created an .xml file using the XNET Database Editor to create the frames and signals from scratch, then called that .xml from within the vi with the XNET Create Session vi.  Next I tried creating the XNET session from with the project and wired that directly into the XNET Read vi.  These did not yield any working results.  Lastly I was able to obtain a .dbc file for the Racelogic speed sensor.  That is where I’m able to get 5 of the 16 signals to work.
    That is a pain, but my biggest dilemma is that I plugged a USB CAN Monitor 8473s into the bus and am able to verify that there is data in bytes I’m specifically looking for.  So I have functioning devices, I have data on the bus, but I can’t read values into my app.  Any ideas why?
    Attachments:
    CAN bus.JPG ‏81 KB
    RaceLogicCAN.JPG ‏69 KB

    Hi AMP12, 
    I apologize that you have been having trouble reading data from the database editor. Here are some generic resources that may help you to fill in any of the blanks when setting up your CAN interface. 
    http://www.ni.com/white-paper/12375/en
    http://digital.ni.com/public.nsf/allkb/861A0C84FB4B75DB86257958005B29A8?OpenDocument
    Could you also try running a loopback test just to double check and make sure your hardware is able to communicate with LabVIEW and is running properly?
    http://ae.natinst.com/public.nsf/web/searchinternal/29b1ba306adb423a8625761800594631?OpenDocument
    Here is the Manual I don't know if it is the same as yours but this is the complete one
    http://www.ni.com/pdf/manuals/372840f.pdf
    Here is some more information on the editor
    http://www.ni.com/white-paper/9715/en
    I hope this helps
    Ryan
    Applications Engineer
    National Instruments

  • RT to HOST transfer rate problem in cRIO-9073 ?

    Dear Sir,
    Since past 2 months I am facing a problem in data transfer in cRIO 9073.
    I'm using two c series modules for data acquisition. NI 9205 for analog input and NI 9421 for digital input. Where Max sample rate of 9205 is 250kS/s.
    All seems perfect from FPGA to RT data transfer using FIFO. I m able to read instant value in RT when I change given input. In FPGA I m successfully reading and transferring 32 samples per 200us. In RT I m reading 16000 samles from FIFO and push it into shared variable. (No time out occurs in FIFO) therefore all I can say I m acquiring perfectly till RT. 
    But when I tries to transfer dta from RT to HOST, at  the time I m facing a problem. Host is updating 3-4 seconds late than RT. I have tried shared variable, TCP & Network steaming & faced same problem in all the cases.
    I m not able to get that where the problem is? Because I can see instant change as per input in RT. dont know what happened between RT to Host data transferring.
    Please do let me know what can be the possible reasons. Crossover Ethernet port or cable or chassis data transfer rate what can be the cause?????
    Regards,
    Pranav Parik
    Application Engineer
    Alliance Partner of National Instruments
    Attachments:
    RT.jpg ‏328 KB
    RT1.jpg ‏171 KB

    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

  • LabView installer problem : undetected CRIO in MAX

    Hello,
    I'm working on a data acquisition project in LabView 2010 SP1 composed by a LabView Host program (XP SP3 PC) and a CRIO acquisition module. They communicate together through Shared Variables and Network Streaming.
    I made an installer of my Host project composed by: runtime 2010 SP1, MAX, NI-RIO 3.6.0 driver and Microsoft Silverlight .
    I created this installer on my Dev PC and installed it to a Client PC (see the joint image). The whole program works on the Client PC and the data exchange (Shared Variables and Network Streaming) is OK.
    The problem is that the CRIO is not detected by MAX in Remote Devices. On the other hand, when I use the NI Network Browser, it works well (it detects the CRIO).
    The other problem is that, even if I have installed the NI-RIO 3.6.0 driver, the RIO Device Setup is not present on the Client PC.
    If I install all the standard drivers from the NI device Drivers DVD, it installs everything and then the CRIO is well detected and the RIO Device Setup is also installed.
    My conclusion is that I haven't included all the necessary packages in my installer.
    What are the necessary components to install in order to have:
    the CRIO fully detected
    the RIO device setup installed
    Must I also install some DAQmx components ?
    Thanks in advance for your help.
    Attachments:
    Ni-programs.jpg ‏87 KB

    There is a difference between a network and subnet. I have a similiar problem where I can see the device but can not configure it. You can tell if you are on the same subnet by retireving the ip address for the client and get the subnet mask of the client machine. The example is the following:
    client machine ip address 192.168.20.37 subnet mask 255.255.255.0
    CRIO machine 192.168.22.15
    They are not on the same subnet. If subnet is 255.255.0.0 it is on the same subnet.

  • FPGA project - custom cRIO module driver development

    Hi!
    I'm developing the driver for my custom cRIO module. The module has 4 analog input channels.
    After analog-to-digital conversion I need to transmit the digital data via the cRIO bus.
    I placed an FPGA I/O node on my block diagram (see the attached image), but I can only read if the pin's state is HIGH or LOW, not the value of the ADC. 
    How can read the value of the conversion?
    Thanks for the help,
    Levi
    Attachments:
    driver proj.jpg ‏192 KB

    Hi!
    After some research I managed to create the connection between my custom cRIO module and LabView.
    The complete solution (with LabView 2011):
    - add line 'cRIO_FavoriteBrand=generic' to the LabView.INI file
    - launch LabView
    - creating an empty project and select FPGA as execution target, click GO
    - select 'CompactRIO Reconfigurable Embedded System' as project type, click next
    - the next step is the detection of the chassis/ modules, followed by the creation of the new FPGA project 
    - adding the custom module: right-click on FPGA Target -> New -> C Series Modules -> New Target or Device -> C series Module -> OK
    - Enter name, select as module type 'generic', enter location
    Hope it will help someone someday.
    Levi

  • How can i create fpga vi using Crio 9073 as target

    i am using crio 9073 controller using this i can able to create RT Host VI but i cant able to create FPGA target and VI

    thanks for your reply.... i installed that LabVIEW FPGA software and i tried. now i can able to create VI under FPGA

  • Problem connecting cRIO-9072 to the computer

    We have to connect the cRIO-9072 to the computer remotely through a wireless medium. We have a fixed and dedicated IP address so that the network connected to the computer can talk to the cRIO in the remote location wirelessly. However, we are unable to connect the cRIO to the computer. There is no problem in connecting the cRIO to the computer through Ehternet cable physcially but when made wireless the  computer no longer recongnises the cRIO. 
    What could be the solution to this issue ?

    Hi rarun7,
    If your cRIO is on a different subnet than your computer, there can be a few issues in connecting to it.  I would recommend ensuring that the subnets match on both the computer and the cRIO.  If your cRIO is still not showing up in Measurement and Automation Explorer (NI MAX) after the subnets match, please refer to the document I have provided below.  Hopefully, some of the suggestions in the document will allow you to achieve a connection!
    Why Does My CompactRIO Controller or Single-Board RIO Not Show Up in Measurement & Automation Explor...
    | Zach J. | Applications Engineer | National Instruments |

  • CRIO, FPGA, portability to different I/O module configuration

    Hello people!
    For my student research projekt, I need support.
    I have to implement the NI-Tutorial:"CompactRIO Control Design and Simulation Tutorial" on another hardware.
    my cRIO 9004 is no problem and the chassis NI9104 is the same.
    Problems occure with the config of the I/O-Modules:
    Tutorial-config: Slot5=NI9505, Slot8=NI9221
    MyDevice-config: Slot1=NIcRIO-9215, Slot2=NI9263, Slot3=NI9217, Slot4=NI9474, Slot5=NIcRIO-9423
    I think there should be an intelligent way to port this programm to another config and change the I/O-binding to another module without neckshoot the programm. just dont know how, because I am a LabView newbie.
    your ff
    Solved!
    Go to Solution.

    Hi ffelix,
    -Yes you right, I need to do the PWM in a VI.
       There are lots of examples on how to create a PWM via FPGA using DIO or DO Modules. You can also look at ni.com/ipnet
    -My mainproblem now is to get I/Os changed without killing the program.
    -Do you know, if there a list in LabView, that shows me all VI/places, where the I/Os, are used. Best would be a programwide exchange of special I/Os?
    -I also want to replace some I/Os by variables.
       No, there is no tool like that in LabVIEW. You could use VI Scripting to develop one, though it will take you more time then replacing them
       manually or create a completely new project.
    I think you can just use the control part form that tutorial and build your own FPGA vi.
    Christian
    Message Edited by Christian_M on 11-26-2009 11:49 AM

Maybe you are looking for