AnsweredAssumed Answered

Read bf535's TBUF via scripting

Question asked by fvpetrov on Mar 17, 2011
Latest reply on Mar 18, 2011 by fvpetrov

I have tried to write a small TCL script which dumps the entire content of TBUF.

Unfortunately, only the first value written in TBUF is read and displayed, even if TBUFSTAT is decremented.

 

Here is the code:

-----

for { set i 0 } { $i < 16 } { incr i } {
    set target [dspeval "\$TBUF" ]
    set source [dspeval "\$TBUF" ]
    puts "$i $source => $target"
}

-----

 

Even if I issue "dspeval "\$TBUF" in console window (per hand) few times, it returns always the

same (first read) value.

 

Thanks

Outcomes