LabVIEW数据记录与监控(DSC)模块将图形化编程的优势扩展至监控和数据采集(SCADA)或多通道数据记录应用程序的开发。使用工具连接传统可编程逻辑控制器(PLC)与可编程自动化控制器(PAC),将数据记录至数据库中、管理警报与事件以及创建人机界面(HMI)。
工具/原料
LabVIEW
DSC
OPC
安装
1、选择安装文件,点击setup.exe。
2、Please wait while the installer initializes(等待安装文件初始化),点击Next。
3、输入:FullName(姓名)和Organization(公司名称),点击Next。
4、NI LabVIEW 2014 Datalogging and Supervisory Control Module(数据记录与监控)和NI OPC Servers 2013需要分别购买Serial Number,如果没有购买则直接点击Next使用evaluation mode评估版。
5、Select the features to install(选择相应的皤材装肢工具包/模块):(LabVIEW DSC Module,NI OPCServer 2013,SQL Server 2008 R2 Express Edition, NI Measurement&Automation Explore 14.0)和安装路径(Directory for LabVIEW DSC Module),点击Next。
6、Search for important messages and up蟠校盯昂dates on the National instruments products you are installing.To perform this search,your IP address will be collected in accordance with the National Instruments Privacy Policy(检索重要信息和自动更新NI产品,但是本地计算机的IP会被NI公司收集),此处最好不选择更新,点击Next。
7、对于NI,MSXML 4,MS SQLSrv2008R2 native Client三页,选择I accept the above3 license Agreement(s),点击Next。
8、选择Always trust software from National Instruments Corporation(一直相信NI公司的软件)。
9、开始安装。
10、The NI LabVIEW Datalogging and Supervisory Control Module installation is complete(NI LabVIEW数据记录与监控模块安装完成)。
11、Restart重启电脑。
Datalogging and Supervisory Control Module
1、打开LabVIEW,新建VI,程序框图-查看-函数选板。
2、Datalogging and Super箪滹埘麽visory Control Module位于:函数-DSCModule。其中DSC Module包噢谙坟吕括:Alarm& Events,Historical,Tags,Shared Variables,Engine Control,Security,Historical Trend,Real-Time Trend,Statistical Process control。
OPC
1、从安装路径"C:\Program Files (x86)\National Instruments\Shared\NI OP潮贾篡绐C Servers\V5\server_admin.exe"或者开始菜单打开OPC Servers Administration。
2、同样的方法打开OPC Servers Configuration。