Have you tried the "Simple 3D Graph.vbp" example project in your C:\Program Files\National Instruments\MeasurementStudio\VB\samples\3DGraph\Simple 3D Graph directory? Does this example exhibit the same behavior? There shouldn't be a problem with using the size of arrays you have, if you modify the Simple 3D Graph example to use the same amount of indices it works fine.
Looking at the code you submitted, it appears as though you haven't initialized the arguments to Plot3DCurve, not that this is a problem but will in all actuality plot garbage on the graph. With this, I kind of question if there is something else in your program that is abnormal, because the code you posted doesn't really do much. Is the call to Plot3DCurve the line that the page fault occ
urs on? You might want to double-check just to see if there is anything abnormal happening with array manipulations, this is a common cause for page faults in any language.
So give the example I mentioned a try and narrow it down to some specific behavior that causes both this and your program to error out, and then post your conclusive results.
Jason F.
Applications Engineer
National Instruments
www.ni.com/ask