On Wed, 26 Feb 2003, Wyn Williams wrote:

> Forgive me is this is obvious. I am searched the archives but
> cannot find an answer.
>
> I would like to sequentially read in a series of  data files
>
> data0001.dat .... data0020.dat
> etc
>
> Each file contains one set of data which I cam import and visualize.
> I would like to read these series of files into my opendx network
> sequentially so that they are visualized one after each other into an
> animation.
>
>  Can anyone point me in the right direction
>

pass the sequencer output through a format module to build the filename.

Something along the lines of the following. (You may need to tweak the
format string to get the output in 4 digits with leading 0's, or change
the filenames to file1.dat...file20.dat)


                         sequencer (1..20)
                             |
                 "data"      |       ".dat"
                    |        |          |
                    -------- | ----------
                           | | |
  "%s%4d%s"                | | |
      |                    | | |
      -------------------- | | |
                         | | | |
                          format
                            |
                       "data0001.dat"




Cheers,

  Brent Wood

Reply via email to