LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino with LabVIEW and Webserver

I was using a serial port data monitoring system using cRIO. I have plan to move to the low cost solution for my monitoring system using boards like Audrino or any other similar board which support LabVIEW.

My prerequisite for the solution is an Embedded Controller board with min 400 MHz processor,   min 128 MB DRAM, min 256 MB storage,  RS232 Interface, RTC Clock support, Ethernet interface with embedded webserver.

As my firmware is designed for LabVIEW I need LabVIEW support in the board. Webserver feature is a must 

Can Experts here suggest  me which is the right hardware (Audrino board or something else)  and LabVIEW API interface (like LIFA/LYNX) I can use?

Please guide

0 Kudos
Message 1 of 7
(5,721 Views)

Neither LIFA or LINX will work for your requirements because neither is capable of running LabVIEW code on the board itself.  The board itself is simply a slave device.  I would consider it a type of DAQ device with a bunch of different functionalities (PWM, I2C, SPI, etc.) but it is not capable of really fast acquisitions.

I would probably recommend a myRIO, a miniature sbRIO (single-board RIO, the less-modular type of RIO) but much less expensive (and less I/O of course).

Sam has designed LINX API to be able to work with a myRIO but it would not be useful to you based on that fact that you already have LabVIEW code for an RT system and given the other requirements of your system.

Message 2 of 7
(3,615 Views)

Thanks Nathan.

Does this means that I can use only Audrino boards as I/O modules of cRIO and get the  readings to my RT sytem for further processing.

As cRIO I/O moduels are costlier than Audrino, and Audrino Mega 2560 supports 54 digital I/O and 16 Analog inputs, I think this is a cost effective I/O interface for cRIO. Do you foresee any issues in this combination?



0 Kudos
Message 3 of 7
(3,615 Views)

Well, if you switch to an Arduino using LIFA or LINX, you will no longer be in "real-time" for anything in your program.

Arduino cannot be used as a cRIO module or a replacemenet for one.

Have you looked at the myRIO?

Message 4 of 7
(3,615 Views)

Does this definition fit your expectations for a web server.

"A web server is a computer system that processes requests via HTTP, the basic network protocol used to distribute information on the World Wide Web. The term can refer either to the entire system, or specifically to the software that accepts and supervises the HTTP requests." 

This link lists the FreeRTOS demo projects that include an embedded web server within a fully preemptive multitasking environment.

<http://www.freertos.org/embeddedtcp.html>

The link provides numerous examples of microcontroller boards running FreeRTOS with web server capability.  I will leave it up to you to see if any of the microcontroller boards meet your other requirements.

If you use one of these mictrontroller boards you will not be using LIFA orLINX. 

hrh212


0 Kudos
Message 5 of 7
(3,615 Views)

Nathan, Thanks that pretty much clears the doubts. 

Yes we do have code in LabVIEW Real-time which will be logging some paramters in hourly and some paramters in minutes, we also need to have provisions for rel time data plotting.

As I understood, myRIO is introduced as Embedded Student Design Device. Can it be used for commercial purpose?

Let me have a detailed look at myRIO's functionalities and exposed interfaces.

0 Kudos
Message 6 of 7
(3,615 Views)
As I understood, myRIO is introduced as Embedded Student Design Device. Can it be used for commercial purpose?

I would suggest that you ask your NI sales representative because I don't konw the legal restrictions on the myRIO.  I do know that, as of last year, the price will change depending on the intended use (e.g. the price is different if it will be used by a school for the purpose of teaching compared to the price for a student project).  When I was considering it for my project, I was a student so commercial use never came up in my discussions with several NI employees.

Message 7 of 7
(3,615 Views)