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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.38.1 SCIA LV1 RD LCPN<br />

Identifier SCIA LV1 RD LCPN<br />

Purpose read Leakage Current Parameters (newly calculated partial set)<br />

Usage nr dsr = SCIA LV1 RD LCPN( fd, num dsd, dsd, &lcpn );<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 lcpn scia **lcpn : leakage current parameters (E.25)<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.38.2 SCIA LV1 WR LCPN<br />

Identifier SCIA LV1 WR LCPN<br />

Purpose write Leakage Current Parameters (newly calculated partial set)<br />

Usage SCIA LV1 WR LCPN( fd, num dsd, dsd, lcpn );<br />

Input FILE *fd : stream pointer<br />

unsigned int num lcpn : number <strong>of</strong> LCPN records<br />

struct lcpn scia *lcpn : leakage current parameters (E.25)<br />

Returns nothing<br />

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

Comment none<br />

4.39 SCIA LV1 PDS PMD<br />

Identifier SCIA LV1 PDS PMD<br />

Author R.M. van Hees<br />

Language ANSI C<br />

Purpose read/write PMD (level 0) Data Packets<br />

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

4.39.1 SCIA LV1 RD PMD<br />

Identifier SCIA LV1 RD PMD<br />

Purpose read PMD Data Packets<br />

Usage nr dsr = SCIA LV1 RD PMD( fd, num dsd, dsd, &pmd );<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 pmd scia **pmd : structure for PMD data packets (E.23)<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 />

101

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

Saved successfully!

Ooh no, something went wrong!