Thread: Blackboard Variables and CUT

Started: 2008-03-08 21:29:51
Last activity: 2008-03-08 21:29:51
Topics: SAC Help
Onur Tan
2008-03-08 21:29:51

Hi,

When I use a blackboard variable as the first parameter of the cut
command in SAC new version (101.0),
it gives error.

I tried this (echo on):
--------------------
SAC> setbb a 600
setbb a 600
SAC> setbb b 700
setbb b 700
SAC> cut %a %b
cut %a %b
==> cut 600
SAC> r
r
WARNING: Start cut greater than stop cut for file 08010_0707_CEV.1
ERROR 1301: No data files read in.
SAC>
-----------------------------
the cut command do not understand the second variable.


This does also not work:
----
SAC> cut %a 700
cut %a 700
==> cut 600
SAC> r
r
WARNING: Start cut greater than stop cut for file 08010_0707_CEV.1
ERROR 1301: No data files read in.
----


But this works
----
SAC> cut 500 %b
cut 500 %b
==> cut 500 700
SAC> r
r
SAC> p
p
----


Do you have any idea?

best regards
Onur Tan



Page built 06:45:53 | v.b'ea7a92