Tcl command "calbzsup"

CALB zero suppression library interface


Index:


Input types

CALBZST_ITcid
pointer

CALB cid returned by a call to calb open

CALBZST_ITczsid
pointer

calbzsup id returned by a call to calbzsup new

CALBZST_ITchannr
integer range [0..29]

Channel number

CALBZST_ITchanside
case insensitive set
  • "A"
  • "B"

CALBZST_ITbitnr
integer range [0..4095]

Bit number

CALBZST_ITbitrange
record
start_bit
CALBZST_ITbitnr

end_bit
CALBZST_ITbitnr

CALBZST_ITfind_direction
case insensitive set
  • "pred"
  • "left"
    Same as pred
  • "down"
    Same as pred
  • "-1"
    Same as pred
  • "succ"
  • "right"
    Same as succ
  • "up"
    Same as succ
  • "1"
    Same as succ
  • "+1"
    Same as succ


Output types

CALBZST_OTdummy
natural

Dummy value

CALBZST_OTczsid
pointer

calbzsup id


Commands

calbzsup new cid
Input:
cid
CALBZST_ITcid

Output:
CALBZST_OTczsid

C function:
calbzst_tl_new

Get a new id

calbzsup dispose czsid
Input:
czsid
CALBZST_ITczsid

Output:
CALBZST_OTdummy

C function:
calbzst_tl_dispose

Dispose the id

calbzsup load czsid [options]
Input:
czsid
CALBZST_ITczsid

"-range" range
CALBZST_ITbitrange

Load only the specified range

Output:
CALBZST_OTdummy

C function:
calbzst_tl_load

Load the zero suppresion page from CALB into memory

calbzsup save czsid [options]
Input:
czsid
CALBZST_ITczsid

"-range" range
CALBZST_ITbitrange

Save only the specified range

Output:
CALBZST_OTdummy

C function:
calbzst_tl_save

Save the zero suppresion page from memory into CALB

calbzsup getbit czsid channr chanside bitnr
Input:
czsid
CALBZST_ITczsid

channr
CALBZST_ITchannr

chanside
CALBZST_ITchanside

bitnr
CALBZST_ITbitnr

Output:
natural

C function:
calbzst_tl_getbit

Get a bit of the zero suppression
Do not load!

calbzsup setbit czsid channr chanside bitnr value
Input:
czsid
CALBZST_ITczsid

channr
CALBZST_ITchannr

chanside
CALBZST_ITchanside

bitnr
CALBZST_ITbitnr

value
integer range [0,1]

Output:
CALBZST_OTdummy

C function:
calbzst_tl_setbit

Set a bit of the zero suppression
Do not save!

calbzsup setrange czsid channr chanside value [options]
Input:
czsid
CALBZST_ITczsid

channr
CALBZST_ITchannr

chanside
CALBZST_ITchanside

value
integer range [0,1]

"-range" range
CALBZST_ITbitrange

Set only the specified range
If not present, all the bits of channel/side will be set

Output:
CALBZST_OTdummy

C function:
calbzst_tl_setrange

Set a range of bits of the zero suppression
Do not save!

calbzsup find czsid channr chanside value [options]
Input:
czsid
CALBZST_ITczsid

channr
CALBZST_ITchannr

chanside
CALBZST_ITchanside

value
integer range [0,1]

"-from" from
CALBZST_ITbitnr

Bit number from which to start the search
If not specified, start from the beginning, if direction is succ/right/up,else start from end

"-direction" direction
CALBZST_ITfind_direction

Direction in which to search
Default is succ/right/up

Output:
integer

C function:
calbzst_tl_find

Find the first bit having a certain value
Returns the bit number
Or a negative value if no bit found


Generated Tue 20. May 1997 09:52:45 from a tl file.
Do not modify by hand!