Running A Simulation (Simulation Interface Toolkit) - LabVIEW 2010 Simulation Interface Toolkit Help - National Instruments PDF
Running A Simulation (Simulation Interface Toolkit) - LabVIEW 2010 Simulation Interface Toolkit Help - National Instruments PDF
RunningaSimulation(SimulationInterfaceToolkit)LabVIEW2010SimulationInterfaceToolkitHelpNationalInstruments
Cart|Help Search
RunningaSimulation(SimulationInterfaceToolkit)
TableofContents
Completethefollowingstepstorunasimulation.
NoteIfyouarenotrunningthesimulationonarealtime(RT)target,youmust
launchTheMathWorks,Inc.MATLABapplicationsoftwareonthehostcomputer.
Thecommandwindowdisplaysthefollowingmessage:
LabVIEW2010Simulation
InterfaceToolkitHelp
EditionDate:June2010
StartingtheSITServeronPort6011
PartNumber:371504F01
SITServerstarted
ViewProductInfo
DownloadHelp
(WindowsOnly)
ThismessageindicatesthattheSITServerisrunning.
1.LaunchLabVIEWandopenthehostVI.
2.SelectToolsSITConnectionManagertolaunchtheSITConnectionManagerdialogbox.
3.EntertheIPaddressandportoftheSITServerintheSimulationEnvironmenttextbox.Ifthehostcomputeris
thesameastheexecutionhost,usethedefaultvalueoflocalhosttospecifythattheSITServerisrunningonthe
hostcomputer.
4.ClicktheOKbutton.
5.DisplaythefrontpanelofthehostVI.
6.ClicktheRunbuttoninLabVIEWtorunthehostVI.
(RealTimeTarget)WhenyourunthehostVI,theLabVIEWSimulationInterfaceToolkitdownloadsthemodelDLL
anddriverVItotherealtime(RT)target.
7.ClicktheRunSimulationfrontpanelbuttonofthehostVItostartthesimulation.
8.AdjustthevaluesoftheLabVIEWcontrolsandobservethechangesontheLabVIEWindicators.Becauseyou
createdmappingsbetweenthesecontrolstothemodelparameters,whenyouadjustthevaluesofthecontrols,the
parametervaluesofthemodelchange.UsingLabVIEW,youcanchangetheparametersofthemodeland
immediatelyviewtheresults.Youalsocanchangethevalueofmultipleparametersatonce.Ifyoutrytochange
thevalueofaparameterwhosevaluecannotchangeatruntime,youreceiveanerror.
9.ClickthePauseSimulationfrontpanelbuttontopausethesimulation.Toresumethesimulation,clickthePause
Simulationbuttonagain.YoucannotpauseasimulationthatisrunningonanRTtarget.
10.ClicktheStopSimulationfrontpanelbuttontostopthesimulation.
NoteIfyouarerunningthesimulationonanRTtarget,orifyouarerunningamodelDLLonaWindows
PC,clickingtheStopSimulationbuttonalsostopsthehostVI.Inthesesituations,youdonotneedto
clicktheStopHostVIbuttonalso.
11.Ifyouarerunningthesimulationinasimulationenvironment,clicktheStopHostVIfrontpanelbuttontostopthe
hostVI.
NoteIfthesimulationisrunningwhenyouclicktheStopHostVIbutton,thesimulationcontinuesto
run.Tostopthesimulation,youmustrunthehostVIagainandclicktheStopSimulationbutton.
YourFeedback!
Poor|Excellent
DocumentQuality?
AddComments
Yes No
AnsweredYourQuestion?
MyProfile|Privacy|Legal|ContactNI 2009NationalInstrumentsCorporation.Allrightsreserved.|
https://zone.ni.com/reference/enXX/help/371504F01/lvsithowto/sit_h_running_a_simulation/
EMailthisPage
1/1