Specifications

EssentialsofCrestronProgramming
46
SimulationFile
SimulationmodeenablesVTProetogeneratea.SIMprojectsuitableforclient
demonstrations.ThesimulationprojectisanXPanelexecutablethatdemonstratesthe
touchpanelprojectonthecustomerʹsPCwithoutneedtoconnecttoanyequipment.
Aftertheprojectiscompiledinsimulationmode,VTProecreates a.SIMprojectfo
lder
inthedesignatedprojectsdirectory.The.SIMfoldercontainsalltheprojectfiles
necessarytodemonstratetheprojectonaPC,includingtheXPanel.EXEfile.
Toenablesimulationmode
RightclickthetoplevelprojectfolderinProjectView,andclickPropertiestoopenthe
ProjectPropertiesdialog.
ClicktheCompiletaban
dselecttheSimulationcheckbox.
TogenerateandopentheSIMfile
Withsimulationmodeenabled,compilethefinishedprojectbypressingF12,orclicking
CompileontheFilemenu.
(Ifyoucompiletheclassroomproject,thiswillgeneratetwoerrors,sinceXpaneldoes
notsupportvideowindows.)
OpenthedesignateddirectoryforVT
Proeprojectfiles.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.