Video Tutorial
Simple Demonstration
Run: Notepad
Open: "C:\Program Files\HanseVIEW\Chamber.INI"
Find Section: "[System Parameters]"
Add or Change:
Remote Control File=C:\Program Files\HanseVIEW\RemoteControl.txt Save & Close file
Run: HanseVIEW
Run: NotePad
Open: "C:\Program Files\HanseVIEW\RemoteControl.txt"
Type: run
Save the File
Hanseview will start with stop code "Remote Start"
Defining Remote Control File
C:\Program Files\HanseVIEW\Chamber.INI contains section
[System Parameters]
Remote Control File=C:\Program Files\HanseVIEW\RemoteControl.txt
This specifies the file you will write to. HanseVIEW will only load new setting on startup
For Status see included "RemoteControl.txt" file and "RemoteControl.status" response file
HanseVIEW tracks changes to the file and executes ASCII text commands written to the text file.
Basic Commands
Run
Start the currently loaded profile to run
stop
Stops currently executing test
status
Writes current time/date and test status to RemoteControl.Status file (text file)
load c:\Program Files\HanseVIEW\Profiles\Default.vcm
Loads profile Default.vcm into the controller
Added manual controls to file interface in 2.2.3
mant
Manual set point and rate for temperature
manv
Manual set point and rate for vibration
mana
Manual auxiliaries
Sample Programs:
Sample BASIC Program to run chamber
fileno=FreeFile()
Open "c:\Program Files\HanseVIEW\RemoteControl.txt" for output as fileno
Open "c:\Program Files\HanseVIEW\RemoteControl.txt" for output as fileno
Open "c:\Program Files\HanseVIEW\RemoteControl.txt" for output as fileno
Print#fileno,"run" Close fileno
Sample BASIC Program to stop chamber
fileno=FreeFile()
Print#fileno,"stop" Close fileno
Sample BASIC Program to load a profile
fileno=FreeFile()
Print#fileno,"load c:\Program Files\HanseVIEW\Profiles\Default.vcm" Close fileno
Notes
These samples assume both programs are running on same computer. UNC network name can be substituted for "c:\Program Files\ChamberView\" to run remotely. Appropriate error handling ust be added for unavailable files or machines. Actual "RemoteControl.txt" file spec is defined in HanseVIEW setup, but it should be local to HanseVIEW controller due to poll rates. We generally put the Remote Control file in a directory by itself with read/write privileges if network access is desired.
Response file is always C:\Program Files\HanseVIEW\RemoteControl.status If network access is desired this directory is shared with Read/Only Attributes.
Status File Format
If you install the demo & HanseVIEW software on same computer this should also work for you. If you ran HansVIEW PRIOR to running the demo the first time, you would need to restart HanseVIEW to activate the remote control.