‎10-27-2013 05:11 AM
Hi,
I want to read and write data from a mysql database from labview which is running in a Labview Real - Time. is there a way to do it with out using multiple connections as suggested in http://zone.ni.com/devzone/cda/epd/p/id/6287 . Here i don't want a host VI.
thanks in advance
‎10-27-2013 06:32 AM
I have absolutely no exprience with this, but I understand there are at least a couple of toolkits (By Raima and Saphir) which allow accessing DBs from RT targets.
Another alternative I can think of is if you can get your DB to expose the functions you want as a web service. I don't know if RT can call web services, but I would expect it should be possible. That way, you don't have to have the ADO infrastructure which most DB tools rely on.
‎10-28-2013 05:10 PM
Hello Yathi,
This depends largely on the version of RT you're using and what the OS supports- is this for VxWorks, Phar Lap/ETS, or LinuxRT? Refer to:
KnowledgeBase 4LRA4IQ0: What Operating System is my Real-Time Controller Running and Why?
http://digital.ni.com/public.nsf/allkb/35F1FD98520D6E0E8625783A005AF557
I've seen solutions for VxWorks using the SQLite method described in the tutorial you linked.
Regards,
‎11-01-2013 03:45 PM
The Raima package (http://www.ni.com/labviewtools/raima) supports a database on the real-time device itself. If mySQL is required, then Raima is not the solution. However, Raima databases can exist on real-time devices or Windows. The next release (later in November 2013) will also support the NI Linux Real-Time as well as the current VxWorks 6.3.
‎11-15-2013 07:19 AM
Hi Wayne,
Is the Raima package available for NI RT-targets running the Phar Lap/ETS OS?
Regards,
Roger
‎11-15-2013 07:54 AM
‎11-15-2013 08:40 AM
Sorry, Roger, but we haven't yet made a decision to port our database to Phar Lap. At best this would be later next year.