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.38.19 <strong>nadc</strong> write arr uint<br />

Identifier <strong>nadc</strong> write arr uint<br />

Purpose write keyword <strong>and</strong> its values in uniform fashion<br />

Usage <strong>nadc</strong> write arr uint( fp, key num, key wrd, val ndim,<br />

val count, key val );<br />

Input FILE *fp : file pointer<br />

unsigned int key num : (unique) number for this keyword<br />

char key wrd[] : keyword description<br />

int val ndim : number <strong>of</strong> dimensions<br />

Ps. a negative dimension flips <strong>the</strong> axis<br />

unsigned int val count[] : size <strong>of</strong> <strong>the</strong> array dimensions<br />

unsigned int key val[] : values for this keyword<br />

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

Comment none<br />

2.38.20 <strong>nadc</strong> write arr float<br />

Identifier <strong>nadc</strong> write arr float<br />

Purpose write keyword <strong>and</strong> its values in uniform fashion<br />

Usage <strong>nadc</strong> write arr float ( fp, key num, key wrd, val ndim,<br />

val count, key val );<br />

Input FILE *fp : file pointer<br />

unsigned int key num : (unique) number for this keyword<br />

char key wrd[] : keyword description<br />

int digits : number <strong>of</strong> digits (floating point only)<br />

int val ndim : number <strong>of</strong> dimensions<br />

Ps. a negative dimension flips <strong>the</strong> axis<br />

unsigned int val count[] : size <strong>of</strong> <strong>the</strong> array dimensions<br />

float key val[] : values for this keyword<br />

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

Comment none<br />

2.38.21 <strong>nadc</strong> write arr double<br />

Identifier <strong>nadc</strong> write arr double<br />

Purpose write keyword <strong>and</strong> its values in uniform fashion<br />

Usage <strong>nadc</strong> write arr double( fp, key num, key wrd, val ndim,<br />

val count, key val );<br />

Input FILE *fp : file pointer<br />

unsigned int key num : (unique) number for this keyword<br />

char key wrd[] : keyword description<br />

int digits : number <strong>of</strong> digits (floating point only)<br />

int val ndim : number <strong>of</strong> dimensions<br />

Ps. a negative dimension flips <strong>the</strong> axis<br />

unsigned int val count[] : size <strong>of</strong> <strong>the</strong> array dimensions<br />

double key val[] : values for this keyword<br />

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

Comment none<br />

58

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

Saved successfully!

Ooh no, something went wrong!