introduction to daq with labview and usb-6008 - overview · this is the core labview installation...
TRANSCRIPT
![Page 1: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/1.jpg)
IntroductiontoDAQwithLabVIEW
Hans-PetterHalvorsen,M.Sc.
USB-6008
http://home.hit.no/~hansha/?page=labview
withSelf-pacedStep-by-StepExercises
![Page 2: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/2.jpg)
Contents
• LabVIEW• WhatisDAQ?• UsingUSB-6008inLabVIEW• AnalogIn• AnalogOut• Datalogging
USB-6008I/OModule
![Page 3: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/3.jpg)
LabVIEWInstallationDownloadthesoftwarehere:
http://home.hit.no/~hansha/?page=labviewThesearethemainmodulesweuseinthedifferentcoursesatTelemarkUniversityCollege:
• LabVIEW (LabVIEWProfessionalDevelopmentSystem32-Bit:English)
• NI-DAQmx (HardwareDriverforNIUSB-6008,NITC-01,etc.)• LabVIEWControlDesignandSimulationModule• LabVIEWMathScriptRTModuleNote!Thesepackagesareseparate downloads!
Note!YougettheSerialNumberfromyourTeacher,butthesoftwarecanbeusedfor30daysbeforeyouneedtoenteravalidSerialNumber.
AllLabVIEWSoftwarecanbedownloadedhere:www.ni.com/download
![Page 4: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/4.jpg)
AdditionalLabVIEWResources
• LabVIEWTrainingforStudents(NationalInstruments):
http://ni.com/students/learnlabview• LabVIEWCourse:http://home.hit.no/~hansha/?training=labview
Hereyouwillfind lotsofVideos,TutorialsandExercises
Itisrecommendedthatyouwatchsomeofthevideosbeforeyoureadfurter
Learning byDoing!
![Page 5: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/5.jpg)
![Page 6: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/6.jpg)
Hardware
cRIO
ZigBeeVisionSystem
Arduino
USB-6008Wi-FiDAQ
TC-01
NOxSensor
Pt-100
AirHeater
WaterTank
![Page 7: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/7.jpg)
DAQmxistheHardwareDriverneededinordertousehardwaredeviceslikeNIUSB-6008,NITC-01,etc.insideLabVIEW.Themoduleisavailableasapaletteonyourblockdiagram.
LabVIEWThisisthecoreLabVIEWinstallationthatinstallstheLabVIEWProgramming Environment.
Thismoduleisatext-basedtoolthatisverysimilartoMATLAB.ThesyntaxissimilartoMATLAB,youcancreateandrunso-calledmfiles,etc.ThemoduleisavailablefromtheToolsmenuinsideLabVIEW.
LabVIEWMathScriptRTModule
LabVIEWControlDesignandSimulationModuleThismoduleisusedforcreatingControlandSimulationapplicationswithLabVIEW. HereyouwillfindPIDcontrollers,etc.Themoduleisavailableasapaletteonyourblockdiagram.
NI-DAQmx
![Page 8: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/8.jpg)
http://www.ni.com/pdf/manuals/376039a.pdf
![Page 9: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/9.jpg)
DAQ
Hans-PetterHalvorsen,M.Sc.
![Page 10: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/10.jpg)
DAQHardwareExamplesNITC-01ThermocoupleTemperatureMeasurements
NIUSB-6008I/OModule
Note!TheDAQmxDriverisneededinordertousetheminsideLabVIEW!!
Analog/Digital Inputs/Outputs
Wewillusethisdevice
![Page 11: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/11.jpg)
DAQ– DataAcquisition
ADAQSystemconsistsof4parts:1. Physicalinput/output signals, sensors2. DAQdevice/hardware3. Driversoftware4. Yoursoftwareapplication(Application software)
NIDAQmxDriver
YourAppcreatedwithLabVIEW
NITC-01ThermocoupleDeviceor
NIUSB6008DAQDevice
Sensors,etc.
![Page 12: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/12.jpg)
ADConverter
DAConverter
MeasurementSignal
ControlSignalUSB
AD&DAConverters
AD – AnalogtoDigitalDA – DigitaltoAnalog
AllAnalogSignalsneedstobeconvertedtoDigitalSignalsbeforetheComputercanusethem(ADConverter).
![Page 13: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/13.jpg)
ContinuousSignal
DiscreteSignal Acomputercanonlydealwithdiscretesignals
k=0,1,2,3,4,....
Ts=SamplingTimeWhenTs->0,wehaveacontinuoussignal,butinacomputerthatisnotpossible.
Continuousvs.
DiscreteSignals
![Page 14: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/14.jpg)
SamplingandAliasingOriginalSignal Aliasing(“Nedfolding”)->TheSamplingRateistolow!
SamplingTimeSamplingFrequency
![Page 15: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/15.jpg)
UsingUSB-6008inLabVIEW
Hans-PetterHalvorsen,M.Sc.
![Page 16: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/16.jpg)
USB-6008
Hans-PetterHalvorsen,M.Sc.
How-TouseUSB-6008withLabVIEW
USB
Analog I/O
DigitalI/O
![Page 17: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/17.jpg)
NIUSB-6008I/OModuleSpecifications:• 8analoginputs,AI(12-bit,10kS/s,-10-10V)• 2analogoutputs,AO(12-bit,150S/s,0-5V)• 12digitalI/O(DI/DO)• 32-bitcounter
Note!DAQmx Driverisneeded!!
4differenttypesofSignals:AO – AnalogOutputAI – AnalogInputDO – DigitalOutputDI – DigitalInput
USBConnection -10-10V
0-5V
![Page 18: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/18.jpg)
MAX– Measurement&AutomationExplorer
Students:MakesurethatyourdevicecanbelocatedinMAX.Runa“Self-Test”andusethe“TestPanels”tomakesurethedeviceworksproperly.
NIUSB-6008“Dev1”
Youmaychangethename(“Dev1”)
![Page 19: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/19.jpg)
DataAcquisitionPaletteinLabVIEWFormore“advanced”DAQweusethesefunctions
ForbasicDAQweusetheDAQAssistant
Students:Makesurethatyouhavethispaletteinstalled.Ifnot, installthelatestDAQmx driver!
FunctionsPalette:“MeasurementI/O”->“NIDAQmx”
![Page 20: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/20.jpg)
LabVIEWDAQAssistant
WhenyouplacetheDAQAssistantontheBlockDiagram,aWizardautomaticallypopsupwhereyouconfigurewhatyouwanttodo, i.e.,ifyouwanttoReadorWriteData,AnalogorDigitalsignals,whichchannelyouwanttouse,etc.
![Page 21: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/21.jpg)
AnalogIn
Hans-PetterHalvorsen,M.Sc.
![Page 22: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/22.jpg)
AI SettingsinDAQAssistantProperties
Channel
TypeofSignals
Whatyouchooseheredependsonthevoltageyouwanttomeasure
![Page 23: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/23.jpg)
ReadAnalogSignalswithUSB-6008
Students:UsetheUSB-6008DAQdeviceinordertoreadthevoltagefromdifferentbatteries.UseaMultimeter tocheckifyoureadthecorrectvalues.Measure5-10differentbatteries.UseLabVIEWtofind theaverage.
Multimeter
Analog Input(AI)
SamplingTime
![Page 24: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/24.jpg)
AnalogOut
Hans-PetterHalvorsen,M.Sc.
![Page 25: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/25.jpg)
AO SettingsinDAQAssistantTypeofSignals
Channel
Properties
![Page 26: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/26.jpg)
WriteAnalogSignalsusingUSB-6008
Students:CreatethisVI.SetdifferentvaluesontheFrontPanel.UseaMultimeter toseeiftheDAQdevicesendsout thecorrectvoltagesignal.
AnalogOutput(AO)Multimeter
![Page 27: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/27.jpg)
AnalogIn+AnalogOut
Hans-PetterHalvorsen,M.Sc.
![Page 28: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/28.jpg)
Write/ReadDatausingUSB-6008
Students:Createthese2VIsandrunthemsimultaneously
ConnectthecablesfromAnalogOutputtothecablesforAnalogInput(so-called “Loopback Test”)
AnalogOutput(AO)
Analog Input(AI)
![Page 29: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/29.jpg)
AO SettingsinDAQAssistantTypeofSignals
Channel
Properties
![Page 30: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/30.jpg)
AI SettingsinDAQAssistantProperties
Channel
TypeofSignals
![Page 31: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/31.jpg)
AnalogIn+AnalogOutinsameVI
Students:CreatethisExample
Note!Herewehaveusedlow-levelfunctions forbetterperformance
![Page 32: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/32.jpg)
Datalogging
Hans-PetterHalvorsen,M.Sc.
(Youmayskipthispart)
![Page 33: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/33.jpg)
Datalogging
USB-6008I/OModule
PT-100TemperatureSensor
HerewewillconnectaPT-100TemperatureSensortotheUSB-6008deviceinordertologtemperaturedata.WewillplotdataandsavedatatoaFile.
PT-100Sensor
Transducer/Transmitter
PowerSupply
1-5V
Multimeter
![Page 34: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/34.jpg)
PT-100TemperatureSensor
1-5V
1-5V->0-50degreesCelsius1-5V->0-100degreesCelsius
2different types(seetransducer):
![Page 35: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/35.jpg)
PT-100TemperatureSensor
1-5V
![Page 36: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/36.jpg)
PT-100TemperatureSensorConvertingfromVoltagetoDegreesCelsius
𝑦 = 𝑎𝑥 + 𝑏
𝑦 − 𝑦( =𝑦) − 𝑦(𝑥) − 𝑥(
𝑥 − 𝑥(
1𝑉 5𝑉0℃
100℃
𝑥(,𝑦( = (1,0)
𝑥),𝑦) = (5,100)
![Page 37: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/37.jpg)
SaveDatatoFile(Datalogging)
Right-click-Properties
RecommendedSettings
![Page 38: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/38.jpg)
DataloggingExample
![Page 39: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/39.jpg)
Students: (1)LogTemperatureData,bothCelsiusandFahrenheit(useSubVI)toa“MeasurementFile”.(2)UseaMultimeterinordertocheckthevaluesinthecircuit.(3) ThenPlottheDataintheFileinExcel.(4) YoushouldalsocreateanewVIinLabVIEWwhereyouplotthedatafromtheFileinaGraph
DataloggingExample– BlockDiagram
![Page 40: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/40.jpg)
MeasurementFilter
Hans-PetterHalvorsen,M.Sc.
(Youmayskipthispart)
![Page 41: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/41.jpg)
LowpassFilter/MeasurementFilterThedifferentialequationforaMeasurement filtermaybegivenas:
SinceweshallimplementtheMeasurementFilterinacomputer,weneedtomakeadicrete versionofthefilter.WeusetheEulerBackwarddiscretizationmethod:
WhereTsistheSamplingTimeThenweget:
Or:
whereThisdiscreteMeasurementFiltercanbeeasilyimplementedinacomputerusinge.g.,LabVIEW,C#,etc.
Themeasuredsignalscontainsnoise,soweshouldremovethenoiseusingaFilter
![Page 42: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/42.jpg)
LabVIEWFormulaNode
Example:
FormulaNode:CreateanduseCcodewithinLabVIEW
Students:UsetheLabVIEWFormulaNode.inordertoimplement theMeasurementFilter.
![Page 43: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/43.jpg)
LowpassFilter/MeasurementFilter- ExampleStudents: ImplementthisExampleusingaLabVIEWFormulaNode.Whenfinished, trytologdatafromyoursensorwithandwithouttheMeasurementFilter.Comparetheresults.
![Page 44: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/44.jpg)
TestingtheFilterInthisexampleweaddnoise toaSinefunction.WethenusetheMeasurementFiltertoseeifwecanremovethenoiseafterwards.
Asyoucanseethisgivesgoodresults.Thefilterremovesthenoisefromthesignal.
Students:TrythisExample.
![Page 45: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/45.jpg)
AdditionalLabVIEWResources
• LabVIEWTrainingforStudents(NationalInstruments):
http://ni.com/students/learnlabview• LabVIEWCourse:http://home.hit.no/~hansha/?training=labview
Hereyouwillfind lotsofVideos,TutorialsandExercises
Itisrecommendedthatyouwatchsomeofthevideosbeforeyoureadfurter
Learning byDoing!
![Page 46: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/46.jpg)
Hans-PetterHalvorsen,M.Sc.
DoyouneedmorePractice?- Select aChallenge
![Page 47: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/47.jpg)
TemperatureLogging1.CreateLoggingApp:• Logthetemperatureinyourhousee.g.,during thenightusinge.g,aTC-01
Thermocouple device.• PlotthetemperatureinaChart• LogthetemperaturetoaFile2.CreateAnalysisApp:• ReadthetemperaturedatafromthefileintoLabVIEW• FindMaxtemperatureandMintemperatureusingbuilt-in functions inLabVIEW• FindalsotheAverage/MeantemperatureandtheStandarddeviationusingbuilt-in
functions inLabVIEW3.DoAnalysisinExcel:• ImportthedataintoExcelandcreateaPlot• FindMax,Min,Mean/AVG, SDusingExcel• Comparetheresults
![Page 48: Introduction to DAQ with LabVIEW and USB-6008 - Overview · This is the core LabVIEW installation that installs the LabVIEW Programming Environment. This module is a text-based tool](https://reader031.vdocuments.us/reader031/viewer/2022013104/5bdd8ee709d3f2e2568d228f/html5/thumbnails/48.jpg)
Hans-PetterHalvorsen,M.Sc.
UniversityCollegeofSoutheastNorwaywww.usn.no
E-mail:[email protected]:http://home.hit.no/~hansha/