Function: irds_rd_sampt Purpose: To read raw samples and timing from an IRDS Category: IR File: irds_samples.c Author: P.R. Roelfsema Use: IRDS_RD_SAMPT( IRDS , Input character*(*) SNIP , Input integer SDET , Input integer TICK , Input integer DATA , Output real( >=NDATA ) TIME , Output real( >=NDATA ) NDATA , In/Out integer STATUS ) Output integer IRDS Name of IRDS to read from. SNIP Sequential snip number to read. SDET Sequential detector number to read. TICK Sequential tick of first sample to read. DATA Data array to recaive samples. TIME Time array to receive sample timing data. NDATA I - max number of samples to write. O - number of samples actually written. STATUS Error return code: 0 - no error. -1 - IRDS does not exist -2 - IRDS is not a legal irds -3 - SNIP not in IRDS -4 - SDET not in IRDS -5 - TICK not in IRDS -6 - gds read error Updates: Aug 10, 1990: PRR, Creation date