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.

Appendix B<br />

Array Basic Interface<br />

Array Basic methods<br />

OBJXCALL "TaskObj",<br />

"CONFIG_HARDWARE", , cardid, timeout<br />

OBJXCALL "TaskObj",<br />

"CONFIG_HARDWARE_ID", , bname, timeout<br />

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

, buffer, warn, format, save_option<br />

OBJXCALL "TaskObj",<br />

"CONFIG_SATURATION", , max_aplitude,<br />

sigma_min, sigma_max, threshold<br />

Sets hardware parameters<br />

Parameters<br />

cardid:<br />

Description<br />

The zero based index of the instrument to use for<br />

acquisition. The order may vary depending on the<br />

available instruments. It is recommended to use the<br />

"INSTRUMENT_INDEX" and "INSTRUMENT_ID"<br />

properties to determine the appropriate cardid value to<br />

use.<br />

timeout: the longest time in seconds that the driver will wait for a<br />

response before declaring an error<br />

Sets hardware parameters<br />

Parameters<br />

bname:<br />

the name (or description or ID) of the instrument to use<br />

for acquisition (as returned by the "INSTRUMENT_ID"<br />

property)<br />

timeout: the longest time in seconds that the driver will wait for a<br />

response before declaring an error<br />

Sets program parameters<br />

Parameters<br />

buffer:<br />

warn:<br />

format:<br />

this is the size of the FIFO buffer in kilobytes for holding<br />

spectra in memory. This parameters is normally set<br />

to 4096<br />

true of false field for the file overwrite warning. If true,<br />

the user must confirm file overwrites before they occur<br />

0 - Float IEEE (recommended)<br />

1 - New SPC <strong>GRAMS</strong> format<br />

save_option: 0 - to save full spectral range,<br />

1 - to save specified spectral range<br />

Sets saturation parameters<br />

Parameters<br />

max_amplitude:<br />

maximum allowed interferogram ZPD<br />

amplitude. This value is used for detecting<br />

saturation and computing percent of maximum<br />

in align mode<br />

sigma_min: start of out of band region in cm -1 for linearity and<br />

optical saturation test<br />

sigma_max: end of out if band region in cm -1 for linearity and<br />

optical saturation test<br />

threshold: highest allowed value for the ratio of the average band<br />

intensity with the maximum spectral intensity in<br />

percentage<br />

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

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

Saved successfully!

Ooh no, something went wrong!