Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging...
Transcript of Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging...
![Page 1: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/1.jpg)
DataLoggingandMonitoring
Hans-PetterHalvorsen,M.Sc.
![Page 2: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/2.jpg)
![Page 3: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/3.jpg)
DataLoggingandMonitoringWiththisDataLoggingandMonitoringAppyoucanLogandMonitoringDatafromaDAQmxDAQDevicefromNationalInstruments.ExamplesofSuchDAQDevicesareUSB-6001,USB-6008,USB-6009,myDAQ,etc.Youcanloguptill32Channels simultaneously (depending ontheDAQdeviceyouareusing).
LoggingOptions:- LogDatatoFile(*lvm Files)- LogDatatoMicrosoftSQLServerDatabase,eitherLocallyorRemote.Withthisoption youneedtohaveaccesstotheDatabasefromthisComputer.- LogDatatoaremoteDataCloud Service
YoucanuseanexistingSQLServerorinstallanewSQLServereitheronthiscomputerorinanetworkorInternet.MicrosoftSQLServerExpresscanbedownloaded forfreeonInternet.
DataMonitoring:Youcanalsousethe"DataDashboardforLabVIEWApp"oniPadorAndroid devicesinordertoMonitortheDatayouareLogging.
![Page 4: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/4.jpg)
GetHelp
Hans-PetterHalvorsen,M.Sc.
![Page 5: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/5.jpg)
![Page 6: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/6.jpg)
Monitoring
Hans-PetterHalvorsen,M.Sc.
![Page 7: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/7.jpg)
OpenSeparateWindowsforChartingandData
![Page 8: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/8.jpg)
ASeparatefull-screenWindowforPlotting
![Page 9: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/9.jpg)
ATablewithHistoricalData
![Page 10: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/10.jpg)
Configuration
Hans-PetterHalvorsen,M.Sc.
![Page 11: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/11.jpg)
Whenyouhavemadenecessarychanges,youcanclick“SaveConfigurationData”
![Page 12: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/12.jpg)
Whenyouhavemadenecessarychanges,youcanclick“SaveConfigurationData”
Ifyoudon'thaveaDAQdevice,youcangeneratesomeRandomDemoDataforTestPurpose
![Page 13: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/13.jpg)
ThesettingsarestoredinaConfigurationFile
YoucanchangetheSettingfromtheGUIordirectlyintheConfigurationFile
![Page 14: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/14.jpg)
Database
Hans-PetterHalvorsen,M.Sc.
![Page 15: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/15.jpg)
![Page 16: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/16.jpg)
SaveDatabaseConfigurationSettingtoFile
![Page 17: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/17.jpg)
SQLServer• YoucanLogDatatoMicrosoftSQLServerDatabase,eitherLocallyorRemote.
• WiththisoptionyouneedtohaveaccesstotheDatabasefromthisComputer.
• IfyouwanttologdatatoaSQLServer,youcanuseanexistingSQLServerorDownloadSQLServerExpressforfree
![Page 18: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/18.jpg)
SQLScript Database.sqlWhenyouhaveinstalledSQLServer,youneedtorunthe“Database.sql”ScriptinordertocreatenecessaryTables,etc.
ThenConnecttotheDatabaseandyouareready:
![Page 19: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/19.jpg)
WebService
Hans-PetterHalvorsen,M.Sc.
![Page 20: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/20.jpg)
<IPAddress>:<Port>/DataWS/<WebServiceMethod>
DataWebService
“DataWS”istheNameoftheexistingWebService
ThePortisdefault“8002”,butcanbechangedinaConfiguration File
![Page 21: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/21.jpg)
AvailableWeb ServiceMethods
• GetChannel?Channel={value}– Gets the Current Valueforthe spesific Channel
• GetData– Get the Current ValuesforAllChannels
![Page 22: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/22.jpg)
<IPAddress>:<Port>/GetChannel?Channel=1
WebServiceExample
![Page 23: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/23.jpg)
<IPAddress>:<Port>/GetChannel?Channel=2
WebServiceExample
![Page 24: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/24.jpg)
<IPAddress>:<Port>/GetData
WebServiceExample
![Page 25: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/25.jpg)
DataDashboardforLabVIEW
Hans-PetterHalvorsen,M.Sc.
![Page 26: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/26.jpg)
![Page 27: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/27.jpg)
DataDashboardforLabVIEW
• Youcanalsousethe"DataDashboardforLabVIEWApp"oniPadorAndroiddevicesinordertoMonitortheDatayouareLogging.
• https://www.ni.com/mobile/
![Page 28: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/28.jpg)
AvailableWeb ServiceMethods
• GetChannel?Channel={value}– Gets the Current Valueforthe spesific Channel
• GetData– Get the Current ValuesforAllChannels
![Page 29: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/29.jpg)
DataCloudService
Hans-PetterHalvorsen,M.Sc.
![Page 30: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/30.jpg)
DataCloudService• InadditiontoLogDatatoaFileoraDatabase,youcanalsoLogDatatoaremote“DataCloudService”.
• Youcandownloadthe“DataCloudService”frommyWebSite.
• Thenyoucaninstallitonacomputer/serverinyourLocalNetworkorintheCloud
![Page 31: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/31.jpg)
![Page 32: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/32.jpg)
![Page 33: Data Logging and Monitoring - halvorsen.blog · Data Logging and Monitoring With this Data Logging and Monitoring App you can Log and Monitoring Data from a DAQmx DAQ Device from](https://reader034.fdocuments.us/reader034/viewer/2022043000/5f76d408a9ffc726f96097e2/html5/thumbnails/33.jpg)
Hans-PetterHalvorsen,M.Sc.
UniversityCollegeofSoutheastNorwaywww.usn.no
E-mail:[email protected]:http://home.hit.no/~hansha/