Logbook for LabView.docx
- 文档编号:6317472
- 上传时间:2023-05-09
- 格式:DOCX
- 页数:22
- 大小:5.38MB
Logbook for LabView.docx
《Logbook for LabView.docx》由会员分享,可在线阅读,更多相关《Logbook for LabView.docx(22页珍藏版)》请在冰点文库上搜索。
LogbookforLabView
LogbookforLabView
Exercise1:
Afterfollowingthestepsonexercisebook,I’vegainedtheoutcomesbyrunningtheprocess.
Inputtotaltimeinseconds=0:
Inputtotaltimeinseconds=60:
Inputtotaltimeinseconds=3600:
Inputtotaltimeinseconds=3665:
Exercise1.2:
Afterfollowingthesteps,IdrawalltheelementsrequiredtotheblockdiagramandVI.
Exercise1.3:
Howtoquickopentools:
Shift+right-clickonfrontpanel
Thefinalresultoftheexercise:
Exercise1.4
Exercise1.5
Theblockdiagram:
Thefinalresultafterpressrunbutton:
EXERCISE2:
Exercise2.1:
Afterdoubleclickthe‘AreaofTriangle.vi’(Thesubfunction)Ifoundsomeproblemswiththewire,Therewasnoinputonthe‘y’port,AstherequirementofthefunctionofS,Iaddaconstant2totheyport.Ialsonoticethattherewasabadlinkbetweenthe‘AreaofTriangle’functionandtheindicator.AfterfindingthehelpbuttonIfoundthattheindicatorwassettocontroller,soIchangeditandtheprocesscanworknow.
Iruntheprocess,itworkedwellbutthenumberontheindicatorwasalwaysNAN,Ianalyzedtheprocessbyclickthehighlightexecutionbuttontoshoweverystepsfortheprogram.Ifoundtheresultof‘S-B’isnegative,sothesquareofthefunctionArea(Squarerootof(S*(S-A)*(S-B)*(S-C)))canbecalculate,TheinputofSandBwasinversed,soIexchangedtheirposition.IalsochangedtheinputofAdirectlytotheoriginalinputsource.Afterthesechangestheprogramcanrunnow.
Subfunctionchange:
Thethirdproblemwastotestwhetherthelengthofeachsideispositive,thesideofCshouldbegreaterthan0butintheexerciseitwaslessthan0,solreplaceditwiththe‘greaterthan0’palette.
Afterdebuggingalltheproblems,theprogramcanproceedverywell,Ihavegainedthedatafromtherequirementsoftheexercises:
SideA:
24
SideB:
30
SideC:
18
SideA:
12
SideB:
12
SideC:
12
SideA:
15
SideB:
20
SideC:
25
EXERCISE3
Exercise3.1:
FrontPanel:
CreatingBlockDiagram:
ContxtHelp:
BlockDiagramLabel:
Testingtheproject:
Runthethreekindsofdata:
CurrentTemperature
MaxTemperature
MinTemperature
30
30
10
25
30
10
10
30
10
FirstData:
Seconddata:
ThirdData:
Exercise3.2
SettingforDataEntryandDisplayFormat
BlockDiagram:
Processoftheprogram:
WhenItriedtoinput1988intheNumbertoMatch,Ifoundthatthenumberbecame1000whenIruntheprogram.WhenIchangetheentrylimitofit,theresultisrightthen.
Exercise3.3
Exercise3.4
ModificationsofBlockDiagram:
Exercise3.5
ModificationsofFrontPanel:
Exercise3.6
Addtheerrorinanderroroutpaletteonthefrontpanelandmodifytheirposition:
InsertingtheCaseStructuretotheBlockDiagram:
FortheTruecase:
FortheErrorcase:
Tip:
connectthewirebetweenErrorinandErrorout.
Testingandresultsfortherequirements:
CurrentTemperature
MaxTemperature
MinTemperature
WarningText
Warning?
30
30
10
HeatstrokeWarning
True
25
30
10
Nowarning
False
10
30
10
FreezeWarning
True
25
20
30
UpperLimit True Resultforthefirsttest: Resultforthesecondtest: Resultforthethirdtest: Resultforthefourthtest: TestforErrorcaseandpossiblereasons: EXERCISE4 Exercise4.1 ConnecttheConnectorPanecreataniconforit: Addfilestoprojcet: CompletetheBlockDiagramasrequired: Testtheprogram: Thetemperaturekeepschangeasthetemperaturerisesandfails. EXERCISE5 Exercise5.1
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Logbook for LabView