Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you access the realtime data in LabView with a VB script

I'm trying to merge data from several sources into a single sql database.  some of my data is logged to a SQL DB using VB inside a scada application.  So in short can i access the data using VB 

 

 

 

dim perameter as double

perameter = labview.dataname.value

 

thank you kindly in advance.

0 Kudos
Message 1 of 6
(4,778 Views)

Hi buck,

 

I'm not seeing where you're using NI products in this application. VB = Visual Basic, correct? Have you tried a Microsoft forum?

 

Thanks,

 

Dan Richards

Dan Richards
Certified LabVIEW Developer
0 Kudos
Message 2 of 6
(4,762 Views)

while viewing data in my LabView application I would like to log that data, real time, to a SQL database.  In addition, I need to log data, from the same instant, from my PLC

 

Log 10-15 data points, every 250-500ms, to sql, from both a LabView application, and a S7-400 PLC. 

 

I know there is an add-on for labview that will dump data to a SQL DB,  thats not the main problem.  I need all the data, as a single record in SQL, both the data from LabView and the Data from my PLC.

0 Kudos
Message 3 of 6
(4,757 Views)

Hi buck,

 

You should be able to do everything you want to do in LabVIEW with the Datalogging and Supervisory Contol (DSC) module. I'm not sure if you need more information that that. In LabVIEW, if you want to call in a function from a DLL, that's possible with the Call Library Function VI.

 

Please let me know if you need more information.

 

Thanks,

Dan Richards
Certified LabVIEW Developer
0 Kudos
Message 4 of 6
(4,741 Views)

I would think that a combination of labview, maybe DSC module, and some kepware software options will work for you.

http://www.kepware.com/Products/products_overview.html

0 Kudos
Message 5 of 6
(4,739 Views)
Good call unclebump! That S7-400 PLC is a supported device for NI-OPC Servers
Dan Richards
Certified LabVIEW Developer
0 Kudos
Message 6 of 6
(4,735 Views)