DSLIST and wr## trouble

From: Brian.Cutting@ico.unil.ch
Date: Tue Apr 11 2000 - 07:50:10 PDT


Hello,

I am using xwinnmr version 2.6 and have trouble with writting data to multiple files.

As a basic test I modified the 'zg' program as;

;zg
;avance-version
;1D sequence

#include <Avance.incl>

1 ze
2 d1 ifp ;set pointer to first file in DSLIST
  p1 ph1
  go=2 ph31
  wr ##
  3u ifp ;increment pointer
  lo to 2 times 2
exit

ph1=0 2 2 0 1 3 3 1
ph31=0 2 2 0 1 3 3 1

;pl1 : f1 channel - power level for pulse (default)
;p1 : f1 channel - high power pulse
;d1 : relaxation delay; 1-5 * T1

using the following DSLIST;

test 112 1 u bcutting new
test 113 1 u bcutting new

After many combinations of ifp and wr#, I was only able to choose one
file through using wr#1 or wr#2.

Does anyone know if this (wr##) is no longer supported, has a bug, or if there is another trick that I'm missing?

The error message I receive is (using TD=4k);
illegal filedescriptor in wrdisk from
RCU1: wrdisk -1 0 4096 0 0, acqr=7854d0

Thanks very much,
Brian



This archive was generated by hypermail 2b29 : Sun Dec 31 2000 - 01:15:02 PST