CompactRIO basic

Hi all.
I have purchased sets of NI cRIO-9073 (integrated controller and chasis) with its analog I/O and digital I/O for education purposes. I have a question on how can I give a simple signal to the digital output of (NI-9472) module through a basic math calculation and comparison. Let say if A+B is > X, than the LED indicator at the digital output (NI-9472) will be light up.
Thanks
Regards,
Daniel

Hi,
you should check this out: http://www.ni.com/pdf/products/us/fullcriodevguide​.pdf
Regards,
Rodéric L
Certified LabVIEW Architect

Similar Messages

  • Binary to Voltage Conversion of encoder data on cRio 9073 using FPGA

    I am using FPGA with a cRio 9073 to acquire torque and absolute quadrature encoder values. It says in the FPGA instructions that the documentation for the 9073 should include the binary to voltage conversion, but when I looked at the documentation, it wasn't there. Where can I find the conversion value or function to convert binary encoder data back to voltage? The encoder is hooked up to an analog converter and is acquired with a 9215 AI (+-10V differential). Thanks

    There are individual formulas for one or a group of modules.
    LabView examples path:
    LabVIEW 2010\examples\CompactRIO\Basic IO\Analog Raw Host Calibration\AI Raw Host Calibration
    LabView help topic 
    Converting and Calibrating CompactRIO Analog Input Values (FPGA
    Interface)
    Best regards
    Christian

  • How to config cRIO... Help.

    I am using a cRIO 9012 and am toatally new to Labview and all the NI peripherals. I am stuck with configuring the cRIO for measuring from a loadcell. Am using a universal module for excitation and output from the loadcell.. My problem is i have no idea of how to set the excitation voltage and conversion of the data thus obtained to a millivolt value in the software.

    Hello,
    The basic architecture for LabVIEW FPGA applications (generally) consists of code running on your FPGA which determines your data acquisition rate. The values are read onto your real-time or Windows based host VI at which point they are converted from integer to the double precision number which they are meant to represent.
    It sounds as if you might want to take a look at some of the resources that are available to help get you started programming LabVIEW for cRIO applications. The LabVIEW Example Finder contains some great examples that show the overall architecture for FPGA applications: Help » Find Examples » Toolkits and Modules » FPGA » CompactRIO » Basic I/O. These will also show how the conversion is performed to translate integers to actual values. You may also want to take a look at the resources linked in the Getting Started with LabVIEW FPGA knowledgebase. I hope this information is useful for you. Please post back if we can provide any other additional assistance. Thanks,
    Mike D.
    National Instruments
    Applications Engineer

  • How to measure CompactRIO system input voltage

    Hello,
    I would like to measure the voltage of the two 9-35V DC inputs going to the CompactRIO RT controller. I am using the 4-slot chassis due to space considerations and do not have a 24V analog input module on-board to be able to do this via a module. On the 9205 analog input module there is a hook for "chassis temperature" that works perfectly. I am trying to find a similar hook to read the voltage that the CompactRIO is running on.
    I will be running this CompactRIO on two 24V batteries and wanted to be able to detect when the battery levels were too low to continue operation. When this state is reached, or hopefully prior to, I want to offload the data I have collected before running out of power to do so.
    Any ideas?
    Thanks,
    Ryan
    Senior Systems Manager, CIMIT
    Massachusetts General Hospital
    Cambridge, MA
    www.cimit.org

    Hi Eric,
    I am not an electrical engineer, so trying to figure out a clever way to split the voltage and measure it on three different inputs would be a job for one of the other researchers here. This seems like a straightforward feature though. We are using the CompactRIO as an onboard controller for a robot, but I would imagine that other more "mission-critical" applications would benefit from knowing the voltage that is powering the C-RIO. Much like the on-board chassis temperature reading, it seems like an important piece that is missing from the basic feature list. I don't know if we even have the 3 inputs free on the AI module as they are used to control everything else.
    Hmm.
    Thanks,
    Ryan
    Senior Systems Manager, CIMIT
    Massachusetts General Hospital
    Cambridge, MA
    www.cimit.org

  • What are the differences between CompactRIO and PXI-RT?

    Hi. We want to perform distributed data acquisition, specifically with (let's say) eigth IEPE accelerometers, wich are about (let's say) 80 meters away from the host PC. We think a good solution is to acquire locally (with PXI-RT or cRIO), maybe do some temporary storage, and then transmit the acquired data through ethernet to the host. This way, we can mantain a desktop PC on a safe place to perform centralized data processing and storage and avoid long accelerometer cable runs, subject to signal degradation.
    As I mentioned, we thought on a basic PXI-RT system or a cRIO system, since little or no processing and storage is needed, while providing signal conditioning to the accelerometers. We thought about the next configurations:
    1. PXI-RT: PXI-1002 chassis, PXI-8145 RT controller, PXI-4472 8 channel DSA. Total: $ 6585
    2. cRIO: cRIO-9101 chassis, cRIO-9002 real-time controller, 2x cRIO-9233 4ch IEPE AI. Total: $ 5260
    Prices are relatively close and none is absolutely cheaper than the other if we add accesories, change the number of channels or other characteristics.
    We are new to PXI-RT and cRIO, so I would like to know what could be the main effective differences for my application and what do you think would be the best solution.
    Thank you,
    Daniel R.
    Universidad de Concepcion

    Hi Daniel,
    I agree with John's comments on the difference between PXI-RT and cRIO. To add to this discussion, Compact RIO is an FPGA platform. So you can compile a VI and download it onto the cRIO's FPGA. The cRIO also has an RT portion, meaning that you can have a VI running on the FPGA and a VI running on the RT part and they can communicate with each other. I would recommend cRIO only if you need to take advantage of its FPGA functionality, which gives you extremely fast program execution with amazing loop cycle times. The ruggedness is also a plus. However, programming for LabVIEW FPGA is a bit different than programming for LabVIEW (or LV RT). FPGA programming is very low level and will require additional development time. This is why the direct comparison between PXI-RT and cRIO brings up more than just the price as a differentiator.
    If you are looking for a compact platform like cRIO, I would recommend Compact FieldPoint. In ruggedness, it is quite close to the cRIO platform. Development-wise, its exactly like programming for the PXI-RT. This means that basically, any regular LabVIEW VI can be downloaded and run on it. So as you can see, its not a lateral step between PXI/Fieldpoing RT and cRIO. I would recommend that you read more about these platforms before proceeding. If you call us at NI, we can also help you decide a suitable platform for you.
    cRIO: http://www.ni.com/compactrio/
    FPGA: http://www.ni.com/fpga/
    RT: http://www.ni.com/realtime/
    Hope this information is helpful.
    Anu Saha
    Academic Product Marketing Engineer
    National Instruments

  • How to create dll file from c code to use in compactrio 9004 RT controller

    Hi.
    I am using Compactrio 9004 Real time controller and i am new to this. I have a C code and i want to use this with the RT controller.I red that that can be done by creating a dll file and can be called in labview.Can any body expalin how to create a DLL from the c code and be used with this RT controlelr?
    Regards,
    Vishnu

    vishnu123 wrote:
    Hi,
    Earlier in this forum itself in cRIO 900x controllers will run Pharlap and run C/C++ code compiled into .dll files.Can you please tell how to transfer the created DLL to RT controller memory throght FTP?
    Thanks and regards,
    Vishnu
    There is another KB article about this for Pharlap based controllers. And you are right the earlier CompactRIO controllers were Pharlap based. Basically for a deployed application to work, you need to put the DLL through FTP in "/ni-rt/system". If you deploy it directly from the project everything will be loaded into memory through the project environment itself including directly dependable DLLs, (but of course won't survive a power cycle).
    I hope you are aware that while Windows DLLs can work on Pharlap OS they by no means will do so always. The Pharlap OS has not a fully featured Windows API. Also you need to be careful which version of Visual C you are going to use depending on the Pharlap OS version, since the VC runtime DLLs already present on the controller will need to be the same as the ones your Visual C environment likes to link in. Recent Pharlap OS versions use the msvcr71.dll. It's very possible that those runtime libraries can't just simply be copied from a normal Windows installation but might have been recompiled by NI specifically for their controller targets.
    So to avoid problems it's a good idea to make sure your DLL uses the same runtime library DLL or make your DLL to include the static MS runtime.
    Rolf Kalbermatter
    Message Edited by rolfk on 02-05-2008 09:51 AM
    Message Edited by rolfk on 02-05-2008 09:53 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Using Simulink models with CompactRIO via SIT

    Hi there,
    I am looking to use compactRIO for a Rapid Control Prototypig application and am wondering whether Simulink models can be used (via the Simulation Interface Toolkit) and deployed to CompactRIO. (I know that it is possible with PXI). Also, any ideas on ther expected performance?

    Hi, RichM,
    Yes, you can use SIT to create and download DLLs that come from Simulink models. Basically, the CompactRIO controller is like another RT controller, so it will be done exactly the same as in PXI. The only thing different in cRIO is that the model VIs that get scripted from SIT to do data acquisition are using Traditional DAQ VIs, so you will have to manually modify those VIs so they interface with the FPGA backplane using the Read/Write Control function. For information on how to modify the VIs, you can probably look at the following tutorial: Using CAN with the LabVIEW Simulation Interface Toolkit. This tutorial is for NI-CAN, but you can just abstract from it and use the same concepts with the Read/Write Control function.
    How fast are you planning on executing? Just remember that the cRIO controllers and PXI do not have the same type of processor. Depending on the method you follow to read the information from the FPGA (either polling or by interrupts), you will get different performance. I will still recommend you go with interrupts.
    I hope this helps. Let me know!
    GValdes

  • Compactrio NI 9073 deploy and undeploy on Digital Module issue

    Hi all, i am new to compactrio systems. Currently I have developing some projects using NI crio9073 and I have a digital c series module. 
    Whenever i start my project explorer, I have to undeploy my digital module channels and redeploy again in order to work.
    If i do not do the above step, I cant control my digital outputs. If i do the above step, it works fine.
    Could anyone shed some light please?
    Attached is the screen shot file.
    Thanks!
    Attachments:
    NI 9073.jpg ‏58 KB

    Hi,
    Looks like you are having the same problem we have here.  I think there is a bug in the scan engine.  I've noticed that this dual purpose module has inconsistent numbering when compared to viewing the items in the Distributed System Manager.  Basically my program works just fine when I use a dedicated digital output module but when I try to use the 9375 it does not work.  This is big problem for me since I need to deploy the rt application and then the undeploy/deploy trick will not work.
    Have you gotten any help from NI on this?

  • Basic question

    Hello, i have a basic question. if i have defined 2 fields in a cube or a dso:
    Name Quantity
    and from the external flat file i get some characters for my quantity field. would my load fail?  for standard dso and for write optimized?
    NOTE: quantity field is a keyfigure defined as numeric.
    and the load coming in has "VIKPATEL" for Quantity field and not numbers.
    thanks

    Hi Vik,
    Yes, the load will fail.
    May be you coud first load this data into BW (into PSA) and set both fields as characters fields. Then you can create DSO, do transformation from this PSA to the DSO, and put your logic as to what do you want to do with those Quantity that is not number (e.g. convert to 0, or 'Not assgined', etc).
    You can use transfer rule, or a clean up ABAP code in the start routine.
    Hope this helps.

  • How can I create a video clip that has multiple copies of the same subject playing at the same time?  Basically like one person became 50 backup dancers!

    Hello Everyone,
    I am trying to create a single video clip where my original subject (dancer) is multiplied on the screen many times.  Basically I am trying to create a background video for a dance team and want to make it look like an army of the same person dancing behind them.  Amy guidance would be great!
    Thanks
    Madisonman 2013

    Motion ($50) can do this with a replicator.
    Russ

  • Type Mismatch error while calling a Java Function from Visual Basic 6.0...

    Hi,
    I'm having a problem in calling the Java Applet's Function from Visual Basic. First, I'm getting the handle of the Java Applet and components of it using "Document.Applets(n)" which is a HTML function. I'm calling this function from Visual Basic. My code is something like this...
    ' // Web1 is IE Browser in my Form.
    Dim Ap,Comp
    Dim Bol as Boolean
    Bol = true
    Ap = Web1.Document.Applets(0).getWindow() ' \\ Gets the Parent Window.
    Ap.setTitle("My Java Applet") ' \\ Sets the Title of the window.
    msgbox Ap.getVisibility() ' \\ This will return a Java boolean ( true or false )
    Ap.setVisibility(Bol) ' \\ Function Syntax is : void setVisibility(boolean b)
    Here in my code , i'm able to call any function that which accepts Integer or String but not boolean. So, i m facing problem with Ap.setVisibility() function. It gives me a "Type mismatch error" while executing it. Can you please tell me a way to do this from Visual Basic !
    I'm using Visual Basic 6.0, Windows 2000 , J2SDK 1.4.2_05.
    Please help me Friends.
    Thanks and Regards,
    Srinivas Annam.

    Hi
    I am not sure about this solution. try this
    Declare a variable as variant and store the boolean value in that variable and then use in ur method.
    Post ur reply in this forum.
    bye for now
    sat

  • Disappointed by missing basic functionality

    I recently started working with Muse, and got frustrated by the fact that there seemingly is no Show/Hide functionality.
    Also, am I correct to say that there is no direct import for Mp3/4 media? If so, why not?
    Lastly: if InDesign can have basic animation options, then surely it wouldn't be so hard to include it in Muse.
    Muse works great, but I am quite disappointed by this lack of basic functionality.
    Cobus

    Thanks for your response.Yes I agree with you  - I put my expectations in the fact that Muse is developing fast.
    However, what I'd regard as a very basic feature  for any interactivity (show/hide), is missing. Instead of having abutton that can show or hide icons on a map, I now I have to create a duplicate of the same page that don't show them. So when a user click the button, another page first has to load!
    Clumsy and stupid.
    Thanks for the link - I'll have a look at it.
    Regards
    Cobus

  • How to install Windows 8.1 Enterprise on Ultrabook which came with basic Windows 8.1

    Hi,
    I guess I'm not the first one with this question but anyway...
    I've got 2000EUR expensive Ultrabook recently, and what's interesting it came with Windows 8.1. Just standard basic Windows 8.1, not Pro or Enterprise.
    Obviously I needed to upgrade it with larger SSD 1Tb and install Windows 8.1 Enterprise as I need Hyper-V and other Enterprise version functionality on day to day bases.
    I was surprised that I can't do so as SLIC is reverting Windows 8.1 back to basics!!!
    .. so my question is - How can I can Windows 8.1 Enterprise 64Bit on to very expensive Ultrabook which came with Windows 8.1?!?!
    Kind Regards,
    Kon

    Hi,
    Enterprise edition of Windows Client OS, is not available via OEM and not via Retail - it's only available via Volume Licensing agreement.
    you can purchase an upgrade to Pro, via the Microsoft Store:
    http://windows.microsoft.com/en-au/windows-8/feature-packs
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • HR-ABAP basic questions

    1) What is the reason for using infotypes with different way(not the same way as in ABAP) of saving the records the database is used in the ABAP-HR Programming?
    2) What is the some reason for using Logical Database more ABAP-HR?
    3) What is the reason for using precoded macro's in ABAP-HR?

    Matt,
      I am trying to learn ABAP-HR and found that many things that sound different in HR-ABAP can be achieved through normal ABAP below are the some
        1) Infotypes - I had read some where that records get saved horizantally (record1 record2 record3) instead in a vertial save ( record1
                                                          recordn).
           Why is that this type of database design is adapted. Ofcourse these are called repeate structures I guess.
           Why is that infotype need to have self built database table, internal table and structure?
           This is being already handled in Normal ABAP by creating internal table refering database table/structure.
          So my 1st question in the previous to know what is making infotype different than normal way of having a internal table.
        2) Macro - is the precoded select query but that is already coded in TRMAC. My question over this when we can have select query what is the need for the precoded stuff?.
          For example why to have "RP-READ-INFOTYPE" on some Infotype when this can done through  Select * from TABLE pA0*** where field1 = 'xxxx'  .
    Any ways Thanks for your response,I have 2 years of experience in ABAP and want to shift my self to ABAP-HR. I always try to have strong foundation/understanding of the basics and post the questions to know the differents views (approach of thinking of other ABAPER's). Many times the response provide me very...very valuable stuff and this is the frist time  that I have a response that is different from Grath & Sameer. But I guess any response that posted to question which is related always related to  ABAP is definitely going to be helpful in one or the other way (may for having good understanding  or for preinterview..or some thing else) . 
          If the post is found to be non sense there is responsible person "MODERATOR" to block the post. I Dont know what made these two guys bother them much.
         That's great! that you gave me a repsonse that I was always expecting
    Ty
    SDN Powered

  • Basic functions (high) in query formula for highest # of days past due

    Hi All,
    I hope you can help.  I am trying to create a formula in a query for FIAR Line Item Cube (0fiar_c03).  I would like to calculate the hightest number of days past due for open line items.  There is an operator 'high' in basic functions within the query formula.  Is it possible to use this?
    Regards,
    Cheryl Adamonis

    There is a workaround usind conditions.That is you can try to filter the top 10 % or top 10 after calculating the no of days past.However this way you will not be displaying complete dataset

Maybe you are looking for

  • Ipon not recognized in windows or itunes

    my ipod is not recognized in windows or itunes, but i have a shuffle that is able to be recognized. when i connect my classic to the computer it starts charging but that is it. i know there is a 5r repair but i have yet to do it bc if i have to reins

  • Auto Assign Tasks while on Vocation in BPM 11.1.1.5

    Hi, Any idea how to assign tasks automatically in BPM 11.1.1.5. Lets say there are tasks assigned to me and I am in the middle of working on those and I go on vocation how can do I get all those tasks to be automatically reassigned to some other user

  • Third party dropshipment process and system setup

    Hi gentlemen, I have a few question to check with you. 1 - What is the difference between Third Party Shipment, and Third Party Drop Shipment in term of process? 2 - What is the system setup requirement for Third Party Drop shipment (I know TAS is re

  • Using - Partition By in SQL report

    Our users are having problem with the below formula on Reports. I am not sure what this means. Our Users told that they need (Tons Used/spread miles) * 2000 lb/ton = lbs/spread mile for their report. And I see the below formula being used by our deve

  • HT4009 Seems the "report a problem" process has changed. Keeps sending me to the iTunes store. How do I report a problem?

    I had purchased a game app, then inadvertently repurchased it through in app purchases. How do I get a refund? and why didn't itunes show it as downloaded it usually does for this sort of thing?