
EssentialsofCrestronProgramming
46
SimulationFile
SimulationmodeenablesVTPro‐etogeneratea.SIMprojectsuitableforclient
demonstrations.ThesimulationprojectisanXPanelexecutablethatdemonstratesthe
touchpanelprojectonthecustomerʹsPCwithoutneedtoconnecttoanyequipment.
Aftertheprojectiscompiledinsimulationmode,VTPro‐ecreates a.SIMprojectfo
lder
inthedesignatedprojectsdirectory.The.SIMfoldercontainsalltheprojectfiles
necessarytodemonstratetheprojectonaPC,includingtheXPanel.EXEfile.
Toenablesimulationmode
Right‐clickthetop‐levelprojectfolderinProjectView,andclickPropertiestoopenthe
ProjectPropertiesdialog.
ClicktheCompiletaban
dselecttheSimulationcheckbox.
TogenerateandopentheSIMfile
Withsimulationmodeenabled,compilethefinishedprojectbypressingF12,orclicking
CompileontheFilemenu.
(Ifyoucompiletheclassroomproject,thiswillgeneratetwoerrors,sinceXpaneldoes
notsupportvideowindows.)
OpenthedesignateddirectoryforVT
Pro‐eprojectfiles.Thisdirectorywillnowinclude
asubfolderwiththenameoftheprojectanda.simextension.
OpentheSIMfolderandclicktheEXEfiletoopentheXpanelproject.
The feedback behavior of the XPanel simulation project will depend on the “Simulation
Mode” options selected in the Buttton properties dialog of each button in the project.
Komentarze do niniejszej Instrukcji