13.02.2015 Views

Bomem-GRAMS User's Guide

Bomem-GRAMS User's Guide

Bomem-GRAMS User's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

m Array Basic programs made<br />

using <strong>Bomem</strong>-<strong>GRAMS</strong> versions<br />

4.x, will require some<br />

modification to operate with<br />

later versions.<br />

APPENDIX B<br />

ARRAY B ASIC INTERFACE<br />

Note: This chapter is intended for people who will be programming using<br />

the Array Basic language, and assumes familiarity with the Array Basic<br />

language.<br />

This version of <strong>Bomem</strong>-<strong>GRAMS</strong> requires Windows NT or Windows 2000 and<br />

includes an acquisition driver based on Thermo Galactic’s “My Instrument”<br />

technology. This acquisition driver works differently from the <strong>Bomem</strong>-<strong>GRAMS</strong><br />

versions 4.x drivers that only work under Windows 95/98. m<br />

<strong>Bomem</strong>-<strong>GRAMS</strong> provides extensions to Array Basic language that can be used<br />

to automate the acquisition of spectra, and allow combining acquisition<br />

functions with other functions of <strong>Bomem</strong>-<strong>GRAMS</strong>. These extensions include:<br />

• methods which can be called by Array Basic to execute operations<br />

• properties that Array Basic can read or set and that affect the way<br />

the acquisition interface operates<br />

• events that are used by the Array Basic interface to inform Array Basic<br />

that something has happened<br />

The methods and properties are accessed through Array Basic OBJXCALL<br />

commands (see Sections B.1 and B.2).<br />

B.1 Array Basic<br />

methods<br />

The following table lists the Array Basic methods. These are accessed through<br />

the Array Basic OBJXCALL commands.<br />

Array Basic methods<br />

OBJXCALL "TaskObj", "CONFIG"<br />

OBJXCALL "TaskObj", "CDEFAULTS"<br />

OBJXCALL “TaskObj”,<br />

“WARNINGS_ENABLED”,,value<br />

OBJXCALL "TaskObj", "HALT"<br />

OBJXCALL "TaskObj", "SETUP"<br />

OBJXCALL "TaskObj", "SDEFAULTS"<br />

OBJXCALL "TaskObj", "SCAN"<br />

Description<br />

Call up hardware configuration dialog<br />

Reset hardware settings to internal defaults<br />

Enables or disables the warning messages.<br />

Parameters:<br />

0: to disable the warnings<br />

1: to enable the warnings<br />

Stop any data acquisition or other operation in progress<br />

Call up the collect dialog<br />

Set all collect parameters to internal defaults<br />

Start a Sample acquisition using current settings (no dialog)<br />

<strong>Bomem</strong>-<strong>GRAMS</strong> <strong>User's</strong> <strong>Guide</strong> 33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!