next up previous 623
Next: SCULIB_BOLNAME - generate bolometer name from ADC and channel number
Up: Library APIs
Previous: SCULIB_BITTEST - Test whether a bit is on


SCULIB_BOLDECODE - decode a bolometer ID into ADC and channel number

Description:
Given a character string containing a bolometer ID, put ADC and CHANNEL number into output variables. The syntax of the bolometer ID is a3, A3 or 3. Allowed ADCs run from a-i. Channels must be in range 1-16. Bolometer IDs outside these ranges will cause an error to be returned.

Invocation:
CALL SCULIB_BOLDECODE (BOLCODE, ADC, CHANNEL, STATUS)

Arguments:

BOLCODE = CHARACTER$ *$($ *$) (given)
bolometer ID
ADC = INTEGER (Returned)
ADC number
CHANNEL = INTEGER (Returned)
channel number
STATUS = INTEGER (Given and returned)
global status

Copyright
Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.


next up previous 623
Next: SCULIB_BOLNAME - generate bolometer name from ADC and channel number
Up: Library APIs
Previous: SCULIB_BITTEST - Test whether a bit is on

SURF Programming Interface
Starlink System Note 72
Tim Jenness, John F. Lightfoot
Joint Astronomy Centre, Hilo, Hawaii
10 July 2000
E-mail:ussc@star.rl.ac.uk

Copyright © 2008 Science and Technology Facilities Council