Login

HanseView Remote Control

Overview

HanseView allow for remote control through text files. This can be done on local computer or via file sharing. Basic concept is that a command written to a text file is read by HanseView then executed and output placed to a text file.

This remote control capability allows for test stand integration. You can then use 1 of two models. Have test stand send set point commands or profile start stop commands to control chamber then read back current status. Other option is to have test stand read only status and react to conditions and time to perform necessary equipment test.

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.

 

Last modified on Wednesday, 28 August 2013 18:38

Login to post comments

More in this category:

Why Hanse Environmental

Today we manufacture the largest standard line and what we believe to be the most advance performing HALT/HASS chambers in the industry. We have concentrated our engineering efforts to advance the state-of-the-art of HALT/HASS chamber performance.

Check out our product selection

Go to top