Hi John,
I think I'm close to my goal of being able to use the nice 3D viewing capabilities in the astsrojet.h5 example within my Fortran code, but I've run into a snag. I hope you'll be able to tell me whether what I'm trying to do is achievable by someone with my rudimentary understanding of AV.
At this stage, I can create an xml file with data for an NxNxN array, and most important all the clever javascript and html to view it (ala astrojet.h5), open it with avOpen() and view it with avNewViewer(). Now what I want to do is change the data in the array and view the changes. I thought I could use avStartWatch(), but this creates a new dataset. I then looked into getting the object handle, and using the avWriteElement() method, but the linker says avWriteElement is an unrecognized symbol, as is avReadElement.
Is there a way to open an AV file containing a dataset and graphs (like astrojet.h5), view a graphs then write to the dataset that is being displayed? This not quite the same as the update2 sample, in which graphs are created after calling avStartWatch(). I feel that I should be able to do something with the object handle that I've retrieved.
Edit: I have now found the AvObjMod module, and have learned that I can indeed use avWriteElement() to modify the dataset that I am viewing. This is great! My only question, then, is whether this is the best way to do it. It would be great to be able to write directly to the dataset memory, but I get the impression that to do this requires code written in C++.
Any suggestions will be much appreciated
Thanks
Gib


