Thar ABPR-20 RS232 communication via handheld emulation
20 May 2013
21 May 2013)
Controls and reads from a Thar ABPR-20, by emulating the handheld controller.
% BPROBJSTOPEXTHEATER stops external heater control of Thar BPRs
% tharbprobjstopextheater(tharBPRObj) stops external heater control of
% Thar BPRs. tharBPRObj is the BPR serial object (generated by tharbproj).
% It doesn't matter if this command is sent and the the external heater is
% already off.
% e.g. tharbprobjstopextheater(tharbprobj(5)) - stops external heater
% control of the Thar BPR on COM5.
% tharBPRObj = valid serial port object
% error handling
% navigates to main display menu
% presses 'X' to stop the heater
tharbprobjcomm('write', tharBPRObj, 'X')