How do I route the data from coll with a dump output?


    Feb 26 2008 | 5:15 pm
    I'm currently putting the data from the matrix into the coll object immediately and then dumping the contents to get the current row and value for each column "on the fly".
    The problem is that I can't figure out how to route the column number (or coll's index) and the data associated with that index.
    Can anyone help me?
    Thanks,
    Rhys

    • Feb 26 2008 | 6:11 pm
      Or perhaps this?
      Cheers Gary Lee Nelson Oberlin College www.timara.oberlin.edu/GaryLeeNelson
    • Feb 26 2008 | 6:19 pm
      Hey Rhys,
      I'm guessing that you want the state of the whole matrixctrl object each time you change something. Do need only the messages of the value=1 cells or the messages for all changing cells?
      cheers, piet
    • Feb 26 2008 | 6:31 pm
      Thanks Gary, that's perfect. I was making things too complicated as usual.
      On a side note, does anyone know of a free mspaint like tool for mac osx so I can edit the matrix images and create new ones?
      Thanks very much,
      Rhys
      PS. I require all the data associated with that column, piet.
    • Feb 26 2008 | 6:38 pm
      A dump message to matrixctrl gives the entire state.
      On 2/26/08 1:19 PM, "Piet Johan Meyer" wrote:
      > Hey Rhys, > > I'm guessing that you want the state of the whole matrixctrl object > each time you change something. > Do need only the messages of the value=1 cells or the messages for > all changing cells? > > cheers, > piet
      Cheers Gary Lee Nelson Oberlin College www.timara.oberlin.edu/GaryLeeNelson
    • Feb 26 2008 | 7:02 pm
      On Feb 26, 2008, at 9:15 AM, Rhys Perkins wrote:
      > I'm currently putting the data from the matrix into the coll object > immediately and then dumping the contents to get the current row and > value for each column "on the fly". > > The problem is that I can't figure out how to route the column > number (or coll's index) and the data associated with that index.
      I guess I'm a little unclear on your goals. Do you want to get row data or column data? Do you want to reconstruct a row, based on the columnar data in the coll?
      Right now, the data stored in the coll is cell_number and value, with the column number as the index.
      If you said what your goals are, there might be a better solution, but here's an edit of your patch that decodes the data that you have:
      Chris Muir cbm@well.com
    • Feb 26 2008 | 7:11 pm
      On 26.02.2008, at 19:38, Gary Lee Nelson wrote:
      > A dump message to matrixctrl gives the entire state.
      no, it doesn't. have you tried?
      cheers, Piet
    • Feb 26 2008 | 8:57 pm