Wireless Compact RIO Data Transfer

I need to configure a remote wireless automotive environment data acquisition device to monitor voltage, temperature, and accelerometers. A Compact RIO system looks like it would satisfy the the DAQ requirements.
What would be the cleanest way to enable wireless transmission of data to a web site or computer while the vehicle is out driving around. The wireless device would need to be powered by automotive DC power.  

This sounds like a very interesting application! You should definitely be able to wirelessly send and receive data from an in-vehicle cRIO, but there may be a bit of programming involved depending on the communication method.
The simplest way to communicate would be over wireless ethernet, provided that you have wireless network coverage during your data acquisition. Since the cRIO is specifically designed to communicate back to a host over ethernet, this should be the least amount of work on your part.
I would encourage you to browse the forums (ni.com/forums) for other communication ideas as well. We have had customers write applications that communicate through cell phones, radio, etc as well. Using one of these communication methods should be possible, but may require more work on your part to send device-specific commands in order to transfer your data.
The cRIO can definitely be powered off of a DC source. You will require a DC supply between 11-30V (refer to your specific cRIO controller specifications to double check). Power consumption will vary depending on your controller and modules in the cRIO chassis.
Would you like me to have someone give you a call and provide more information about our cRIO systems and the various I/O modules that you can use?
I hope this helps!
Regards,
Casey Weltzin
Applications Engineer
National Instruments

Similar Messages

  • Compact rio wireless

    Hi experts,
    We are currently using a Compact RIO as a data logger and controller on a university formula student car.  Currently we connect the RIO to the car using the normal method of a CAT5 cross over cable when it is in the pits.  We are endeavouring to have wireless contact with the RIO by implementing two ethernet bridges to act as a transparent cable replacement so that we can take data from the RIO as the car is moving. 
    2 Linksys WET11 bridges are being used and their connection is fine but when the PCis plugged into one and the RIO into the other the connection light comes on on the RIO but the 10/100Mbps communication active green light is not coming on.  Are there any specific codes that need to be implemented on the RIO to carry out this type of communication??  Our current coding fully works with the crossover cable connection so this is becoming abit of a headache as to why the PC and RIO will not communicate.  Have you ever heard of anyone succesfully connecting to the RIO over wireless LAN?
    Thank you in advance

    I have looked at the page that you have cited and carried out the instructions to the letter but our RIO still wont connect.  We have been using a LInksys WET-11 Ethernet Adaptor and a SWEEX router.  When the RIO is plugged into the Wi-Fi router and the Laptop into the Adaptor the system works fine.  Due to the fact that we are using the RIO on  a race car as a data logger we would much prefer the much lighter Adaptor to be what the RIO is direct wired to and to have the Laptop in the pits.  But, when we set this configuration up the RIO will not talk to the adaptor.  The orange LAN light comes on but the green network connection light by the LAN port will not.  The PC can see the RIO ie a connection is present but no communication will take place between them in any programme.  I was hoping someone else may have experienced this problem?? Is maybe our ethernet adaptor to dated??  Is b-technology limiting the RIO??
    Thank you

  • How to get an N wireless USB adapter to transfer data faster that 54 Mbps

    How to get an N wireless USB adapter to transfer data faster that 54 Mbps? I am running FIOS 10/2 and connected to a ActionTec  M1424WR router. Any help will be appreciated.

    I have to ask the question, why are you in need of 802.11N speeds?  Are you transferring lots of files between other PC's on your network or are you simply connecting to the Internet.  
    Remember if your Internet speed is 10/2 which means 10 meg down and 2 meg up having 300 meg capability WLAN connection will not be noticeable.   Your bottleneck is your Internet connection of 10/2.   

  • Compact RIO EtherNet/IP Industrial Communication Data Packaging

    Hello,
    I’m new to the Industrial Communications for EtherNet/IP module and quite a few questions. I am using a Compact RIO 9074 I first configured the Compact RIO’s Ethernet Adapter eth1 port to TCP/IP Network and entered the static IP address to the same subnet as the Fanuc LR. This was then saved and deployed to the Compact RIO. I then implemented the VI for the Access Assembly Instance Data through Explicit Messages, built the application and deployed it to the Compact Rio. This VI was run and the system shows that its making a connection, however, it’s still not able to communicate.
    In the example, there are two arrays, the Data Received, and Data to Set. I want to know if there’s a certain way of configuring the Data to Set to a scanner.
    Thank you.
    Thomas

    Hi Jesse
    Thanks for your information it was very helpful.
    I thought that the IP address of the Compact RIO’s Ethernet terminal needed to be within the same subnet but not the exact same.
    I agree with the Ethernet/IP having an address scheme laid out. Having a look at the example project, it claims I need to create the assembly instance. This can be done using the create assembly instance example VI.
    Does the create assembly instance VI need to be running with the Assembly Instance Data (using Explicit Messaging)? If so I’m having difficulty understanding how to apply this. Under the create assembly VI, it uses I/O Data function, while using an array of Data to Set and Data Received. Will the assembly address need to be set up in this array?
    I’m having a look through the manual for the Robot and the information I provided before is the configuration for the scanner.
    Thanks
    Thomas
    Attachments:
    Assembly Acess Panel.PNG ‏70 KB
    Create Assembly Instruction Panal.PNG ‏71 KB
    Create Assembly Block.PNG ‏35 KB

  • NI report and Compact RIO

    I can't save my report in the path that I want. The VI is running in
    the Compact RIO y this is the path that it shows c:\ni-rt\startup\. 
    What
    I think is if the VI is running in the RIO, so it is triyin to save the
    report in the RIO and I don't accept paths from my laptop.
    How can I save the report in my computer??
    Regards

    You are absolutely right. The file I/O is happening on the cRIO since the application is running on the cRIO. You have two options over here. The first would be to save the data on the RIO and then transfer the file over to the host. The second, the recommended one, would be to transfer the data to the host where the data can be logged. There are seven network communication methods outlined by LabVIEW 2009 Real-Time Module Help: Exploring Remote Communication Methods (RT). There are also APIs based on the above methods that may simplify the transfer overhead. An example is the Simple Messaging Reference Library (STM). If you have any follow up questions, post back!
    This might be helpful to you:
    Best Practices for Target File IO with LabVIEW Real-Time
    Message Edited by Adnan Z on 01-29-2010 07:29 AM
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Time Capsule only runs with 1,1Mbit up/down during data transfer, internet speed is ok, TC is used to extend an existing network

    Hello Everyone,
    I have a new 2TB Time Capsule running with a MacBook Air. I want to use the TC to access data (Aperture library, iTunes library, other Files) and to backup my MacBook Air via Time Machine. I set it up, integrated the TC in my Network (FritzBox) by choosing "extend existing network" and it works. BUT only with 1.1Mbit/second while writing or reading Data to/from it. Internet speed is very good, like it was before. While the 1.1Mbit/second seem to be ok with Aperture and iTunes (streaming music and movies) it is still painfully slow and I'm not realy happy with that
    I've read that:
    The 1.1Mbit problem is pretty common when Time Capsule is integrated and used to extend a network (bridge modus), it also looses all ethernet connectivity then (that woul explain why connecting it by ethernet didn't help during initial setup and data transfer)
    Is there a solution besides ditching the Fritzbox and using the TC to build the network? Because basicly I still need the Fritzbox for its DECT features.
    Thank you for any help in advance and have a nice day,
    Olli

    You have double hop wireless with this setup..
    You should bridge the TC.. that is router bridge not wireless bridge, and plug the TC into the Frizyboy by ethernet.
    Then you can setup the TC wireless to reinforce the fritzy..
    Same wireless name as SSID.
    Same security settings... really should be WPA2 AES or in TC personal.
    Same password..
    Just different wireless channel.
    Then you can use 5ghz on the TC if you are up close and personal.

  • N95 8Gb USB Data Transfer Mode not working

    I have a bizarre problem with USB Data transfer.
    a) I upgraded to the new 15.x firmware with the correct HKCSL package - 0557980
    b) I connected PC #1 in data transfer mode with no issue and copied a bunch of installers onto the mass memory and went on to install them - to the PHONE memory.
    c) Later in the day, connected PC #2 and did the same with the last few applications.
    d) Next day tried to connect PC #1 and it didn't work
    e) Thought I must have an application using the MASS storage but checked and not so - all apps on Phone memory.
    f) Went to PC #2 and tried - Data transfer mode works - no problem.
    g) Tried PC #1 again, and still not working. I get all the right messages (Mass storage cannot be used at this time etc) on the handset, and I get the "safely remove hardware" option appearing on the PC - but I don't get a drive letter assigned in the Windows Explorer.
    h) I have tried it on PC #3 and this works as well - no problem.
    1. The working PC's both have PC Suite 2-Beta installed, while the problem PC has no PC suite at all.
    2. I have downloaded the Nokia-connectivity_cable_driver_rel_6_85_10_0 and it installs properly - giving all the expected wireless... options in Device Manager, but I still don't get a drive letter assigned with the basic data transfer mode on this problem PC #1
    So the issue seems to be with a PC that has never seen any version of PC suite, but it worked straight after the firmware upgrade.
    All PC's are XP SP2.
    Any suggestions on anything else to try ?
    Regards

    SOLVED by:
    - attaching N95, selecting USB Data Transfer Mode
    - Going to Device Manager
    - Selecting the USB Mass Storage Device for N95
    - "Uninstall"
    - Remove cable when N95 says its safe to
    - Re-attach cable
    The PC then re-discovered and reloaded the drivers including the mass storage which then worked normally.
    No idea what messed it up in the first place though.

  • Does the data transfer used in the back up in time capsule included in the data allowance from my service provider?

    Is the data transfer used in the backup with airport time capsule included in the data allowance with my service provider?

    gheefromsa wrote:
    I am using Ethernet cable to connect TC to the modem. I am only backing up my mac book air within range of the TC. So I guess it will be OK from your reply. As a trial I did interrupt the back up by turning off the TC, disconnecting the Ethernet cable, turning TC back on. The mac would not connect wirelessly with the TC without the Ethernet connection.
    It is not using ISP .. absolutely for sure. Well 99.999%.. absolute tends to be only in maths.
    But you did the test wrongly.. I said to disconnect the modem.. during the backup.. not turn off the TC.. obviously once interrupted the TC will not work again until everything is plugged in.. but it will work even bridged for a short time.. just unplug the WAN port from the modem.
    The test is moot now.. as I can give you a 99.999% promise it is not using ISP.

  • Build real-time application with Compact RIO

    Good afternoon,
    I am currently trying to run a VI on compact RIO and would like to control it through remote front panel. I followed steps on this link http://digital.ni.com/public.nsf/allkb/AB6C6841486E84EA862576C8005A0C26 and successfully done everything with a simple example.
    However when I moved on and did the same thing to a more complicated VI (my purpose is to make this VI work), everything was fine until I reboot the compact RIO. After a few seconds connection lost between the host computer and cRIO, and I had to shut it down and delete the startup file (with extension .rtexe).
    I am not sure what happened since everthing works fine with simple VI but not the complicated one. It could because the second VI has many sub VIs as well as objective functions loaded in it, it could also because the VI takes too much memories of the CRIO and stop it from connecting to the host computer.
    If anyone have any ideas of how to make it work please let me know.
    Thanks very much
    Carl

    Hello zzzfreedom,
    There are a number of potential issues I can see with the VI you're trying to deploy as a startup executable.  How do you intend to interact with this VI? Are you running the front panel as a remote panel or connecting to the VI using debug tools? A few points:
    - Your VI will run immediately when the RIO boots unless you're using debugging tools to prevent this from happening, keep that in mind.  It looks like you've accounted for this and required an initialize or network trigger of some sort for some of your loops, but the AI loop will start quickly and appears that it may require user input. 
    - You have several "user prompt" style express VIs.  These will not work (or will not work as expected) on a standalone RT target.  There is usually no front panel to interact with!
    - Like dialogs, event structures watching for user interaction probably aren't going to do what you want.
    - You are writing quite a bit of data to the VI's front panel, and there is at least one chart indicator.  Again, how will the user interact with this VI?  It looks like you need a host VI that will run on a machine the user will interact with.
    - You're using quite a few local variables.  It looks like you've taken a lot of care to protect against race conditions, but this causes a lot of data copies and tends to be error prone.
    - I've not analyzed all cases, but it looks like you have a number of places where the execution of a timed loop may be blocked under certain conditions.  This will likely rail the CPU due to the much higher priority of the timed loops.
    - What will happen if you lose connection with the server in your TCP command loop?  it doesn't look like there is any way for the user to reconnect without restarting the RIO.
    If you do intend to run this as a remotely accessible VI on your RT target, another point to note is that when running from the development environment, the front panel of your VI executes on the host machine. Once you deploy it as a remote front panel or debuggable RTEXE, everything is hosted on the RIO, and this has the potential to bog things down quickly.
    Here are a few references I think you might find helpful:
    LabVIEW Help: Real-Time Operating Systems - see considerations for Express VIs and Front Panel interaction
    http://zone.ni.com/reference/en-XX/help/370622L-01/lvrtconcepts/rt_osnotes/
    LabVIEW Help: Real-Time Module on VxWorks Targets - see unsupported features
    http://zone.ni.com/reference/en-XX/help/370622L-01/lvrtconcepts/rt_vxworks/
    NI LabVIEW for CompactRIO Developer's Guide -lots of good general information on architecting RT applications, network communication and hosts, etc. It looks like you're using the RIO Scan Engine, so the FPGA portion might not be relevant at this time.
    http://www.ni.com/compactriodevguide/
    Best Regards,
    Tom L.

  • Compact RIO and LabVIEW run time

    Dear All,
    Good Morning.
    We are developing a new experimental setup which will have different components, such as mass spectrometer, pressure transducers, valves and thermocouples, RTDs. We are currently having LabVIEW 8.6 Run time. We would like to control different components and acquire data using CompactRIO. I am not clear if compact RIO works with 8.5 run time. In the developers guide NI, mention about the real-time LabVIEW.
    Thank you very much for help,
    Zach

    You need the Real-Time Toolkit (and possibly the FPGA toolkit, depending on your needs) to work with the cRIO.  The version of LabVIEW installed on the cRIO must match the version you're using for programming on the PC (so you can't have LabVIEW 8.5 on the cRIO and 8.6 on your computer).  The LabVIEW Real-Time is not the same as the LabVIEW Run-Time engine.  The Run-Time engine lets you run compiled applications on your computer. The Real-Time toolkit lets you program real-time targets such as the CompactRIO.

  • Referenced Parameters in C library not working on Compact RIO

    High level 
    I want to use Google Protobuf on my Compact RIO.  I have it 90% of the way there and running into issues.
    Details
    I'm a long time C++ developer who's newish to LabVIEW.  I'm using C to create a cross-compiled library to use on a Compact RIO (9025) with LabVIEW code.  I'm using Linux (Ubuntu 14.04.1) with a VxWorks toolchain and CMake to create the library.  I copy it over manually (looking for a better solution to that here), call it from LabVIEW via a Call Library Function, and assuming I'm doing simple things it works great!  Here's a quick sample of what I have that works:
    My C code
    extern "C" double addNums(double in1, double in2)
    return in1 + in2;
    extern "C" double multNums(double in1, double in2)
    return in1 * in2;
    Which I cross compile to a VxWorks binary and copy over to the cRIO.
    Then on the LabVIEW side, I have this.
    I run it on the target cRIO and all works great.
    I mentioned protobuf.  Cross compiling the full blown protobuf library for VxWorks proved to be a near (if not 100%) impossible task.  So I found and am using Nanopb.  I'm able to cross compile and get the following code using Nanopb to actually run on the cRIO and spit out the expected response:
    extern "C" double testPbuf()
    uint8_t buffer[128];
    size_t message_length;
    bool status;
    std::ofstream file;
    file.open("testOutput.bin", std::ios::out | std::ios::binary);
    //! Create a message
    ExampleMsg message;
    message.value = 13;
    pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer));
    status = pb_encode(&stream, ExampleMsg_fields, &message);
    //! Decode the message
    ExampleMsg message;
    pb_istream_t stream = pb_istream_from_buffer(buffer, message_length);
    status = pb_decode(&stream, ExampleMsg_fields, &message);
    return message.value;
    return 0;
    Not terribly important, but if you know protobuf, here's the proto message I'm using
    message ExampleMsg {
    required int32 value = 1;
    So then I call this function from LabVIEW very simply:
    I run this and it works!  I see my 13 as expected.  Jump for joy, protobuf works on the Compact RIO!  Ok no jumping yet...
    Now what I want to do is get the C library to generate and output the actual serialized protobuf message because I need to send it over UDP from the Compact RIO.  So here's my attempt so far:
    extern "C" const void getPacket(uint8_t* packet)
    uint8_t buffer[128];
    uint16_t packetSize;
    bool status;
    ExampleMsg msg;
    pb_ostream_t stream = pb_ostream_from_buffer(buffer, sizeof(buffer));
    msg.value = 14;
    status = pb_encode(&stream, ExampleMsg_fields, &msg);
    packetSize = stream.bytes_written;
    //! If something failed we should see an 'X' in the first byte
    if (!status)
    buffer[0] = 'X';
    memcpy(packet, buffer, packetSize);
    And on the LabVIEW side, I'm initializing an array of unsigned int 8s to the proper size and feeding it into the function, and reading the packet parameter as output.
    When I run this I never get any output on packet except whatever I set the initializer to.  I have also changed the code to try to output a string as a parameter argument, with this declaration:
    extern "C" const void getPacket(char* packet)
    And memcpy() appropriately and can't seem to get the output properly in LabVIEW using strings in place of the U8s.  I need to figure out how to get this serialized protobuf data into LabVIEW so I can send it over UDP as a message.
    I have seen several examples in the LabVIEW installation directory, but they're referring to objects and libraries which are meant for Windows DLLs and not easily used in a cross compiled environment.  I also have seen many threads on here relating to this but none have helped so far.  Any help would be greatly appreciated!
     

    I would hate to do a file write to solve this as it would add a whole new lag to the system.  I did end up with a solution, which is essentially what I posted above.  It seems like the real issue I was having was that the dll was not being reloaded on subsequent rebuilds/tests.  So I would make changes to the DLL to test and they wouldn't be reflected even when I copied the DLL to the Compact RIO.  Turns out I have to completely close the project and re-open it if I change the dll file.  This is really strange behaviour.  I could even *delete* the DLL from the Compact RIO and the VI would still run with the previous "copy" somehow.
    Anyhow it looks like I have protobuf working from the Compact RIO, though still have a few issues with encoding certain data types.  If anyone is interested in the full solution I may do a write up.

  • How can I control 4 sets of compact RIO system with my host PC?

    Hi all,
    As the title.
    I want to control 4 sets of compact RIO system at the same time.
    I have written TCPIP connection for two PC before.
    But I never program to connect more than one PC.
    If I need to connect more than one PC, should I set the PC's connection port different?
    Could you provide me an example?
    Thank you a lot.
    Solved!
    Go to Solution.

    Hi StephenCh...,
    you can calculate the transfer rate it depends on your network card. You'll find very good examples on that in the example finder, search for tcp/ip. You can use the server code on each of your cRIOs. Use the client to connect to your servers (cRIO), you only need to change the IP. If you need to connect to all at the same time, then you have to change the client program a bit, so that you are able to build four connections.
    Where do you have problems? Did you already see the examples?
    Mike

  • Deploying exe into compact rio

    Dear Labview Users,
                                          We are using compact rio 9002 and labview 8 version. We made a program to acquire the data through 9215 module, doing some calculations and transmitting to radio through serial port.  My problem is, I want to deploy this program permanently into the compact rio, because when power goes and comes the program must start automatically without human intervention.
                                           For this I tried the procedures given in our NI site,  but the problem we facing is when we switch OFF and ON the program doesn't start automatically. When we rebooted it by software and reset manually then only its working. But I want this is to rectified, Can anybody help me by providing solution to the same.
    Labview Lovers

    Shivkumar,
    1st: Include the bitfile as supported file to the application (the step before is to add the bitfile to the project)
    2nd: If you have finished the configuration make a right click on the application and choose "Set as Startup"
    3rd: Afterwards make a right click one more time and click Build and  then Download
    BR,
    ThSa
    http://www.newgistics.com

  • Does iPhone SDK support the feature of data transfer via Bluetooth or USB?

    Hi,
    I'm developing a application in which I want a feature for data transfer either using Bluetooth or USB.
    Does iPhone SDK support this feature of data transfer via Bluetooth or USB?
    Please help me.
    Thanks.

    The SDk doesn't deal with BlueTooth or USB. Your only option is wireless data. (WiFi, 3G, etc)

  • Error 7 produced when saving to a spread sheet file using a compact rio

    Hi
    Im having a little difficultly saving to a spread sheet file using a compact rio. I bundled the data from a NI 9215 with a timer and stuck it into an x-y graph and that works fine as it goes round in shift registers. But then I passed the data out of my while loop unbundled it, turned it into a 2d array and tried to write it into a spread sheet file using the appropriate i/o vi provided by labview 8.2. I have hooked up all the requirements like format, and file path. But it keeps returning error 7 and says that my file path is incorrect. I’ve tried using a constant file path, ive tried creating the file before running the program, ive tried just writing the file straight to a disk in this case h:\test.asc but every time it comes back with error 7. I then went to a lab downstairs to see how they did it and the method I’m using it works down there but is exactly the same as mine upstairs. I’m a little confused by this one.
    Any pointers would be much appreciated.
    Dan

    Hi
    I apologise I didn’t specify I was only using a NI cRIO-9004 not realising you could get ones that had a USB port. I thought mine would behave in the same way as a DAQ device and write the file back onto the main computer hard drive. Is this not what happens if not how do you make it do that. The computer is a networked system with its own C:\ harddrive, but my personal space is on H:\ which must be like a pretend hard drive, or alternatively can you make the cRIO write it to a memory stick within a USB port of the programming PC itself. Or can you write onto memory of cRIO but then how do you download the data?
    Also I apologise that I posted the message twice only did cos I thought it might be in the wrong forum.
    Thanks
    Dan

Maybe you are looking for

  • All drop downs on forms or in history do not work -

    since update - all drop downs do not work - on navigation bar - internet forms that have questions that require an election from a drop down field - and the auto type feature. The boxes act like they want to open but are closed as soon as they appear

  • WARNING: BIOS 1.8 SATA with PATA Problems

    I run a S-ATA drive as my primary hard drive, and occasionally run a P-ATA as a secondary. I upgraded to bios 1.8 only to discover that when you choose "Native" mode, then select "S-ATA and P-ATA", the native selection is automatically returned to "L

  • Standby log files

    I want to convert our old script based primary /standby database into a dataguard config using the LGWR as log transport. I already have old log files on the standby database, but the data in them is from 2004. Not entirely interesting since the data

  • Meta Data issue

    Hi, When I'm trying to load the IDoc meta data from IDX2 it is telling first delete the old one and then reload. But, the problem is we are unable to see the already existing IDoc meta data. Can some one suggest how to see meta data all the loaded ID

  • It won't let me download version 4.0 or 4.1 for my blackberry messenger.

    Hi I have recently had a friend who has a blackberry storm and they just sent me a invite to be added to his blackberry messenger list but it says notice. Sorry, your device does not meet the system requirements that are needed to support BlackBerry