Fpga cRIO NI 9263

Hello guys, I´m new with the cRIO and FPGA, and I really need your help, I´m just wanna do something with cRIO, like setting onde bit in my module NI 9263, just it.
Just set a bit, independent of the out 0,1,2 no matter what port is. I just wanna set a bit for a little test, and then I wanna read this bit with my  NI 9205. thank you for everything. and sorry about my english.
please help me. Leonardo
Note: my cRIO model is NI cRIO-9004

obrigado mauro por vc estar dando atenção para este tópico, bom eu estou fazendo um trabalho, com compactRIO modelo 9004 chassis CRIO 9104, e eu tenho os seguintes modulos incluidos nele. NI 9426 NI 9205 NI 9263 NI 9477 NI 9425 NI 9476 NI 9871 respectivamente acoplados ao meu modulo do CRIO, sendo assim eu estou tentando realizar apenas um teste para setar uma saida digital, como por exemplo da NI 9426 ou NI 9476 que são as que tenho aqui. somente isto simplesmente mandar um bit para a saida, e depois poder receber este bit no meu modulo NI 9425 ou NI 9426 e acumular este bit recebido por esta porta em um indicador.
o problema aqui na FATEC de Catanduva é que nenhum professor sabe fazer isto, e estou a semana inteira vendo os tutoriais e tentando fazer este teste,mas nenhum deles faz uma aplicação simples que é a que eu estou precisando.
se você puder me passar seu e-mail eu te mando os prints que tirei de como estao configurados aqui. agradeço desde já a sua ajuda.

Similar Messages

  • FPGA crio

    Buenos días a todos.
    Llevo un tiempo trabajando con Crio ni-9022 y un chasis que incluye FPGA , y me da unos errores cuando compila la FPGA, que me son imposible de detectar ya que nombre variables a nivel de FPGA.
    El fallo es el siguiente:
    LabVIEW FPGA:  The compilation failed due to a xilinx error.
    Details: ERROR:HDLCompiler:69 - "\NIFPGA\jobs\eeQj0Kk_r41egX9\NI_Munge_Pot_activa_​y_aparente_SubVI_vi_colon_Clone1.vhd" Line 640: <res00000029_wo> is not declared. ERROR:HDLCompiler:192 - "\NIFPGA\jobs\eeQj0Kk_r41egX9\NI_Munge_Pot_activa_​y_aparente_SubVI_vi_colon_Clone1.vhd" Line 640: Actual of formal out port iinitouttoreshold cannot be an expression ERROR:HDLCompiler:69 - "\NIFPGA\jobs\eeQj0Kk_r41egX9\NI_Munge_Pot_activa_​y_aparente_SubVI_vi_colon_Clone1.vhd" Line 654: <res0000002b_wo> is not declared. ERROR:HDLCompiler:192 - "\NIFPGA\jobs\eeQj0Kk_r41egX9\NI_Munge_Pot_activa_​y_aparente_SubVI_vi_colon_Clone1.vhd" Line 654: Actual of formal out port iinitouttoreshold cannot be an expression ERROR:HDLCompiler:854 - "\NIFPGA\jobs\eeQj0Kk_r41egX9\NI_Munge_Pot_activa_​y_aparente_SubVI_vi_colon_Clone1.vhd" Line 82: Unit <vhdl_labview> ignored due to previous errors. VHDL file \NIFPGA\jobs\eeQj0Kk_r41egX9\NI_Munge_Pot_activa_y​_aparente_SubVI_vi_colon_Clone1.vhd ignored due to errors --> Total memory usage is 208304 kilobytes Number of errors   :    5 (   0 filtered) Number of warnings :    3 (   0 filtered) Number of infos    :    0 (   0 filtered) Process "Synthesize - XST" failed
    Start Time: 17:23:45 End Time: 17:34:17 Total Time: 00:10:31,834
    Gracias por adelantado
    Saludos
    Pablo Matatagui

    Have you checked the signal level from the accelerometer with any other measurement devices to verify that the 9233 is measuring incorrectly?  Is the voltage/current excitation for the accelerometer correct?  I am assuming you are using the binary to nominal VI for converting the binary data to the real voltage.  Make sure you are using the correct module type for the conversion. 
    I am attempting to use the binary to nominal VI on the values I see on your front panel, but things are not adding up.  I used the 4th LSB Weight and Offset (656368 and -6548405)and the 4th 9233 unscaled Binary value (-7261) and converted it with the Binary to Nominal VI for the 9233 and got 0.00178252 for a nominal value while your VI appears to display 0.0067847.  I'm not sure what you are doing different than me.
    The low valued power spectrum makes sense because the analog input values are low.  If we fix the analog input issue, the spectrum should take care of itself.
    Without seeing your code or setup, these suggestions are obviously hypothetical.  Your screenshots show the FPGA code ok, but we have no idea how you are handling data on the host side.  In the future I would avoid embedding giant screen shots in your post, attachments are just fine.  Embedded screen shots are more effective if they only contain a small snippet of code.
    Cheers,
    Spex
    National Instruments
    To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be...

  • "Chassis Temperatur​e" in Analog Input Module for FPGA (cRIO-9201​)

    I have just gotten my cRIO with a analog module (9201) and a digital output module (9472).
    When I place an Analog Input Module on my block diagram and double click it, I can choose from the following inputs:
    Channel 0 through Channel 7
    AND
    Chassis Temperature
    I have tried to find any documentation for this "Chassis Temperature" but so far without success.
    If I read this input and feed it straight to an indicator, I get values in the range of 120 to 150.. Now, without more information, this number is rather useless. Does anyone know how to transfer this data to a temperature (either in the Celcius scale or the Fahrenheit scale)?
    Thank you!
    Project Engineer
    LabVIEW 2009
    Run LabVIEW on WinXP and Vista system.
    Used LabVIEW since May 2005
    Certifications: CLD and CPI certified
    Currently employed.

    I still did not find any documentation for this "feature" but I lucked out and found the following:
    in the folder: \labview 7.1\examples\FPGA\CompactRIO\cRIO-910x\
    you should have a file called:
    cRIO-910x support files.llb
    in this there is a convert to temperature vi.
    To get the raw data as a temperature, it looks like all you have to do is divide the binary data by 4 and the answer will be in Celcius.
    Project Engineer
    LabVIEW 2009
    Run LabVIEW on WinXP and Vista system.
    Used LabVIEW since May 2005
    Certifications: CLD and CPI certified
    Currently employed.

  • Is it possible to have a multiple FPGA cRIO system?

    I am curios if it's possible to have a single cRIO chassis that can be expanded with additional FPGAs for computations. Meaning, I don't need more I/O but I do have algorithms taking up too much space and need a secondary FPGA to do some parallel processing. Data would be generated in the first FPGA and communicated to the second FPGA where additional processing takes place and then a response/command is sent back to the first FPGA to then be sent out through the I/O. 
    I saw something "similar" to this in PXI: http://zone.ni.com/reference/en-XX/help/372831C-01​/p2pstreamhelp/p2plv_topo_pipelinefpga/
    Althought this solution is dependent upon the PXIe bus it has the general feel for what I'd like. However, I need this in cRIO. Is there a solution that I've missed in my browsing of NI.COM?
    It would be OK if the solution consumes one of the cRIO chassis slots.
    Solved!
    Go to Solution.

    A cRIO chassis only has 1 FPGA on it.  You may be able to get an expansion chassis and pass the data off to it in order to do the processing.  For what you are talking about, though, you would likely want to add some DIO so that you can directly communicate with the expansion chassis instead of going through the RT and Scan Engine.
    Alternatively, get a cRIO that has a bigger FPGA and/or get with your local NI representative to see if you can get some time with an NI systems engineer who can help you optimize your code to fit on a single FPGA.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Fpga/cRIO 9401

    Hi there:
    I have a problem to use cRIO 9401 as an input for RS232. The very same code works perfectly fine in cRIO 9411, but in 9401 it shifting bits. Is there any configuration should be performed or anything else...?
    I will greatly appreciate any help.
    Oleg Finodeyev

    Hey Vishal,
    In order to set a loop time, you should make use of the "loop timer" VI, in the first frame of a sequence structure, and then the rest of the code to execute in the second frame.
    For more information on FPGA programming, I recommend that you consult our online LabVIEW 8 FPGA training materials, available here.
    Also, ordinarily the 40 Mhz clock is suitable, but it is also possible to create a derived clock. For more information on that, please consult the LabVIEW FPGA Module Help file, or this page.
    Best regards,
    Message Edited by SamboNI on 06-13-2007 06:14 PM
    -Sam F, DAQ Marketing Manager
    Learn about measuring temperature
    Learn how to take voltage measurements
    Learn how to measure current

  • FPGA CRIO LabView - Why No Signal or Low signal?

    I'm programming LabView 8.2/RealTime 8.2 on a CRIO-9002 equipt with a 9102 chassis. I have a some 4-20mA modules, +-10v modules and last but MOST IMPORTANTLY a 9233 +-5v module.
    I've programmed the FPGA and realtime and have been able to acquire and scale appropriatly for all modules except the 9233. The 9233 is hooked up to a VibraMetrics 7002 accerlometer. (http://www.vibrametrics.com/downloads/specsheets/M​odel%207002.pdf)
    When run and an acceleration is applied I only see very low voltage on my display. Why is my 9233 is being unresponsive?
    Test run at 3.5 Gvms of acceleration: (please excuse the mess)
    Once again, the power spectrum should not be showing levels so low.
    Thanks for your help in advance,
    Craig

    Have you checked the signal level from the accelerometer with any other measurement devices to verify that the 9233 is measuring incorrectly?  Is the voltage/current excitation for the accelerometer correct?  I am assuming you are using the binary to nominal VI for converting the binary data to the real voltage.  Make sure you are using the correct module type for the conversion. 
    I am attempting to use the binary to nominal VI on the values I see on your front panel, but things are not adding up.  I used the 4th LSB Weight and Offset (656368 and -6548405)and the 4th 9233 unscaled Binary value (-7261) and converted it with the Binary to Nominal VI for the 9233 and got 0.00178252 for a nominal value while your VI appears to display 0.0067847.  I'm not sure what you are doing different than me.
    The low valued power spectrum makes sense because the analog input values are low.  If we fix the analog input issue, the spectrum should take care of itself.
    Without seeing your code or setup, these suggestions are obviously hypothetical.  Your screenshots show the FPGA code ok, but we have no idea how you are handling data on the host side.  In the future I would avoid embedding giant screen shots in your post, attachments are just fine.  Embedded screen shots are more effective if they only contain a small snippet of code.
    Cheers,
    Spex
    National Instruments
    To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be...

  • Using FPGA cRio and 9853 for a J1939 CAN

    We are currently trying to interface with a J1939 CAN network using a cRio 9012, 9104 chassis and the 9853 module.  We have Labview 8.2.  I stumbled accross the examples for Labview 8.6 and newer.  Is there any particular solution/road we should be going down?
    I have experience using Labview with a cDAQ, but have not much experince with RealTime and FPGA.
    I got the thermocouple module to work using FPGA, so the RIO itself and the module do work.
    Thanks for any guidance/help you can send my way.

    The way I would approach J1939 on the cRIO would depend on what features of J1939 you needed for your app.  If you are just reading or writing broadcast messages that fit in a single 8 byte frame it will be just as straight forward as standard CAN.  Basically in this case you would be reading frames on the FPGA code, transmit them to the realtime portion where you can convert them to channel data using a CAN database.  Writing would be just the opposite direction.
    If you are using requests for PGN data, lets say to retrieve DTC codes, or R/W data using advance diagnostic messages (say DM14/15/16 for example) things will get a bit more difficult but not too bad.  If you are expecting to tx or rx multi-frame packets and need the transport protocol of J1939, then things can get complex fast.
    DMC recently developed a set of J1939 protocol drivers for LabVIEW which are based on the NI-CAN channel API.  The drivers were written in LabVIEW just like the NI frame example, but provide functions at a layer above the base CAN channel API layer.  This allows the simultaneous capture of data from both J1939 packets which are simple broadcast CAN frames, or more complex transport using BAM, including extended data frames.
    I suppose something like this could be written into the realtime of the cRIO, and just pass frame data back and forth using some very basic code on the FPGA.

  • Fpga crio Vibration template error code 63192

    Dear all,
    I'm using the crio vibration data logger template and i'm seeing the error code 63192 from the FPGA reference from the DAQ Thread.vi
    Please can anyone help with this error message ?
    I've re-compiled which hasn't solved this issue and looking up the error code doesn't suggest much else. 
    Cheers
    Attachments:
    error message.png ‏31 KB
    crio.png ‏63 KB

    Hi all,
    Customer support pointed me towards a knowledge based articule here 
    It was suggested the names did not match up from the project and in max. Please see below that my names match up fine. Also as already mentioned i've rebuild the fpga.
    Any thoughts from those experienced users ?
    Cheers 

  • Fpga crio mysterious activity in program

    Hello,
    i have the following problem, my crio 9076 (Slot 1 9411, Slot 2 9474) does mysterious things when running the fpga code
    every ~108 seconds the hardwar givs an peak at DO 02 from the 9474, it look like the hardware reset the code
    maby someone have the same problem with his code
    regars
    Lex
    Attachments:
    FPGA_Master.vi ‏51 KB

    I haven't looked at your code, but ~108 seconds is about how long it would take for an unsigned 32-bit integer to rollover to 0 if it is incremenented at 40 MHz, which is the default clock speed on most FPGA targets.  Is there anything in your VI that would behave strangely if an integer suddenly went from 4294967296 to 0?
    Chris M

  • FPGA Crio encoder SSI protocol

    Hello everyone
      Does anybody work with SSI protocol encoder and Crio FPGA? I wrote a simple program that try to implement this protocol on Crio FPGA, but i obtain chaotic data. I use a rs422-TTL converter to transform encoder signal (Rs422) to TTL signal for Digital high speed NI9401. Anyone could help me? any suggestion?
    Thank you
    francesco
    Solved!
    Go to Solution.

    Hi Francesco,
    take a look to this link.
    Bye
    ANdrea

  • RS232 with FPGA crio - anyone done this ?

    Does anyone have code to receive RS-232 with FPGA?  I have downloaded RS-232 example that contains RS-232 transmit code, i just need receive to complete my interface.  any FPGA code would be appreciated.

    Attached is an updated version of the code on DevZone for LabVIEW FPGA 8 which includes code for reading and writing RS-232 data.
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense
    Attachments:
    RS232xmpl.zip ‏528 KB

  • How do you create the FPGA I/O Start Node shown in the NI 9233 Getting Started FPGA VI

    The fourth frame of the sequence structure in the NI 9233 Getting Started (FPGA) VI (from examples, browse by task, Toolkits>>FPGA>>cRIO>>AI>>Modules>>9233) shows an FPGA I/O node with a Start Terminal.  Can someone tell me how to generate the Start Terminal in an FPGA I/O Node?

    The Start and Stop terminals of the 9233 module are handled the same as digital lines from DI and DO modules. To access them in the diagram you first need to add them as digital I/O channels in the project.
    Once you have added the 9233 module to the project, select to add I/O channels to your project. Instead of adding analog channels, go to the Digital Line Output section (see attached image) and select the Start and Stop signals from the 9233.
    Back in your diagram you can then add a FPGA I/O node and select these signals.
    Message Edited by Christian L on 12-11-2006 04:41 PM
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense
    Attachments:
    9233iochannelconfig.JPG ‏38 KB

  • FPGA Up Cast Funktion deletes Values form Read/Write Controll

    Hello Everybody,
    I Have an other Problem with my RT-FPGA cRIO...
    I have now managed to read the module IDs to convert this combination in a certain casenumber and this one then selects the FPGA File. Now is that I have inbounded various FPGA Bitfiles. If I composed them by the the "Up Cast function" to a universal reference then there will disappear some elements by using the Read / Write Control .
    I have a picture attached that this Clarifies!
    The first two R / W Controller have been up before the cast and the third upcast diverted after.
    I hope you can help me!
    thank you in advance before
    MaJahn

    Even now I've noticed the function Invoce methode: Read TEDS is also no longer supported.
    Why?!
    The both VIs are exactly the same during the Modules in it are different.
    Iam using LabVIEW 2009 and the newest Drivers from the NI site!

  • Starting out with cRIO

    Hello,
    What's the most inexpensive way to start programming for FPGA cRIO based applications? I'm interested in learning to develop for an FPGA and cRIO but can't afford the cRIO, is there an inexpensive way to simulate for these (I think even the realtime drivers may be expensive) 
    I found this RIO eval kit, but I'm not sure if it's what I need to start learning cRIO/FPGA LabVIEW development? 
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/205722
    much thanks!
    Solved!
    Go to Solution.

    Yes - I agree with GerdW that the myRIO is a great way to get started with cRIO & RT/FPGA programming. It's very easy to set up and use.
    I recently used one for a personal project - making a giant version of Tetris! (https://decibel.ni.com/content/docs/DOC-35435)
    I can also recommend the eval kit - it comes with a single board RIO an addon board that contains lots of useful things for starting out with RT/FPGA programming (an LCD display, analogue input/outputs that are linked, some push-buttons etc.). I currently have one on my desk at work as we've been doing some stuff recently with LCD displays. They also have onboard CAN (e.g. automotive) so if you're interested in doing anything with that then I don't think you can do that with the myRIO.
    If you can't get the myRIO cheaply enough (because you're not a student - but it's worth talking to NI anyway) then the eval kit is a bit more representative of what it's like to use a cRIO and you can get further with it without needing any additional hardware.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • How to make CompactRIO truly standalone?

    Hi,
    I am new to cRIO and I am using it for motion control. What do we need to do to make cRIO run as a standalone system? That is, my motion control system can run with just the cRIO (or perhaps together with an extra external control panel for monitoring) connected. This is because I find that I need the the computer to run the host vi to control my system; how do I program my fpga vi or host vi to achieve such a function?
    I am quite lost in this part, so many thanks in advance.
    *attached is a sample host vi.
    Attachments:
    Force Ctrl Trial v0 (Host).vi ‏166 KB

    Thanks Richard,
    Your previous post has been very useful. However, I still have some problems building my standalone application. I just need some hints to get started. 
    For example:
    a.) Under the "Tools>>Build Application or Shared Library>>Source Files" , do I use my HOST VIs(as top level VI) or FPGA VIs(as dynamic VI)?
    b.) Do I need to make any modifications to my program which uses the PC to run the host VI before it is downloaded to my cRIO-9101?
    c.) Are there any example codes or application on building standalone applications available? I have searched NI.com but could not find relevant ones. 
    I am currently using LabVIEW 7.1 with FPGA module 1.1, NI-RIO and Real-Time Module (ETS) installed. I have cRIO-9125, 9263 and 9411. attached are some programs i experimented with - programs speaks a thousand words.
    Thank you
    Bing
    [email protected]
    Message Edited by GoodManBing on 01-13-2006 12:13 PM
    Message Edited by GoodManBing on 01-13-2006 12:15 PM
    Message Edited by GoodManBing on 01-13-2006 12:18 PM
    Attachments:
    force ctrl test v22.vi ‏722 KB
    force ctrl test v22 (host).vi ‏223 KB

Maybe you are looking for