10.11.2012 Views

Reference Manual of the nadc-tools API and Libraries - SRON

Reference Manual of the nadc-tools API and Libraries - SRON

Reference Manual of the nadc-tools API and Libraries - SRON

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

4.35.1 SCIA LV1 RD CLCP<br />

Identifier SCIA LV1 RD CLCP<br />

Purpose read Leakage Current Parameters (constant fraction) records<br />

Usage nr dsr = SCIA LV1 RD CLCP( fd, num dsd, dsd, &clcp );<br />

Input FILE *fd : stream pointer<br />

unsigned int num dsd : number <strong>of</strong> DSDs<br />

struct dsd envi dsd : structure for <strong>the</strong> DSDs (A.6)<br />

Output struct clcp scia *clcp : leakage current parameters (constant) (E.9)<br />

Returns number <strong>of</strong> data set records read (unsigned int)<br />

error status passed by global variable “<strong>nadc</strong> stat”<br />

Comment none<br />

4.35.2 SCIA LV1 WR CLCP<br />

Identifier SCIA LV1 WR CLCP<br />

Purpose write Leakage Current Parameters (constant fraction) records<br />

Usage SCIA LV1 WR CLCP( fd, num clcp, clcp );<br />

Input FILE *fd : stream pointer<br />

unsigned int num clcp : number <strong>of</strong> CLCP records<br />

struct clcp scia clcp : leakage current parameters (constant) (E.9)<br />

Returns nothing<br />

error status passed by global variable “<strong>nadc</strong> stat”<br />

Comment none<br />

4.36 SCIA LV1 PDS DARK<br />

Identifier SCIA LV1 PDS DARK<br />

Author R.M. van Hees<br />

Language ANSI C<br />

Purpose read/write average <strong>of</strong> <strong>the</strong> Dark Measurements per State<br />

Comment contains SCIA LV1 RD DARK <strong>and</strong> SCIA LV1 WR DARK<br />

4.36.1 SCIA LV1 RD DARK<br />

Identifier SCIA LV1 RD DARK<br />

Purpose read average <strong>of</strong> <strong>the</strong> Dark Measurements per State<br />

Usage nr dsr = SCIA LV1 RD DARK( fd, num dsd, dsd, &dark );<br />

Input FILE *fd : stream pointer<br />

unsigned int num dsd : number <strong>of</strong> DSDs<br />

struct dsd envi *dsd : structure for <strong>the</strong> DSDs (A.6)<br />

Output struct dark scia **dark : average <strong>of</strong> <strong>the</strong> dark measurements (E.26)<br />

Returns number <strong>of</strong> data set records read (unsigned int)<br />

error status passed by global variable “<strong>nadc</strong> stat”<br />

Comment none<br />

99

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

Saved successfully!

Ooh no, something went wrong!