LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can the CompactRIO board log to an SQL database?

Hi All,

 

I have to run a long running test and it's very important we capture all the data over the period.  My "front end" is going to be a CompactRIO board doing all the measurements.  I have a server available with MySQL.  Can Labview write data from the CompactRIO direct to the database server?

 

Thanks for any help,

Sean

0 Kudos
Message 1 of 3
(3,800 Views)

Hey Sean,

 

The Labview Database VIs are ActiveX based, and therefore cannot be called directly from an RT system (ActiveX is Windows specific). However, if you are able to stream your data to a host PC first and write to MySQL database from there, you should not have a problem. 

 

Also, keep in mind that our DSC module comes with the Citadel databse, which provides powerful datalogging capabilities. 

 

If it is imperative that you do not go through a host PC first, the only solution I see is to write your own library of database access VIs (could be very complex). 

 

I hope that answers your question. Let me know if you need anything else. 

Misha
0 Kudos
Message 2 of 3
(3,766 Views)

Here is a link to RT sql code for vxworks

http://zone.ni.com/devzone/cda/epd/p/id/6287 

 

Preston Johnson
Solutions Manager, Industrial IoT: Condition Monitoring and Predictive Analytics
cbt
512 431 2371
preston.johnson@cbtechinc
0 Kudos
Message 3 of 3
(3,611 Views)