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.

2.28.2 NADC Info Update<br />

Identifier NADC Info Update<br />

Purpose update message to user, to be called after every call <strong>of</strong> routine<br />

Usage NADC Info Update( stream, digits, counter );<br />

Input FILE *stream : pointer to open straem<br />

unsigned short digits : specify number <strong>of</strong> digits to be displayed<br />

unsigned int counter : total number <strong>of</strong> actions performed<br />

Returns nothing<br />

Comment none<br />

2.28.3 NADC Info Finish<br />

Identifier NADC Info Finish<br />

Purpose finalise message after routine has finished<br />

Usage NADC Info Finish( stream, digits, counter );<br />

Input FILE *stream : pointer to open straem<br />

unsigned short digits : specify number <strong>of</strong> digits to be displayed<br />

unsigned int counter : total number <strong>of</strong> actions performed<br />

Returns nothing<br />

Comment none<br />

2.29 NADC INIT PARAM<br />

Identifier NADC INIT PARAM<br />

Author R.M. van Hees<br />

Language ANSI C<br />

Purpose initializes param-structure with comm<strong>and</strong>-line parameters<br />

Returns Nothing (check global error status)<br />

Comment None<br />

2.29.1 NADC INIT PARAM<br />

Identifier NADC INIT PARAM<br />

Purpose initializes param-structure<br />

Usage NADC INIT PARAM( param );<br />

struct param record (A.1)<br />

*param : struct holding user-defined settings<br />

Returns nothing<br />

Comment none<br />

2.29.2 NADC SET PARAM<br />

Identifier NADC SET PARAM<br />

Purpose initializes struct with comm<strong>and</strong>-line parameters<br />

Usage NADC SET PARAM( argc, argv, instrument, param );<br />

Input int argc : number <strong>of</strong> parameters<br />

char *argv[] : parameter values<br />

int instrument : code for instrument en data product level<br />

Output struct param record (A.1)<br />

*param : struct holding user-defined settings<br />

Returns Nothing (check global error status)<br />

Comment none<br />

47

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

Saved successfully!

Ooh no, something went wrong!