03-18-2008 04:54 AM
03-19-2008 03:53 PM
Hello,
If you want to plot data using Measurement Studio for VS6 you can use the CWGraph3D object. There are examples that ship with Measurement Studio you can review to see how this object and its members are used. You can find them here: C:\Documents and Settings\All Users\Documents\National Instruments\MStudioVS6\VB\Samples\3DGraph. Pulling data from a database in VB6 is a generic VB functionality and not a part of the Measurement Studio library. This website seems to have some good resources on that subject. If you have any more specific questions about getting the data into the graph or problems with the graph feel free to post them and we can help you out.
03-21-2008 03:18 PM
03-23-2008 08:29 PM
Thank John,
03-23-2008 08:54 PM
John,
Can you give me specified example. I am not understand the example that you give to me. I am not familiar with array.Thanks.
03-30-2008 09:15 PM
03-31-2008 02:38 PM
asrol,
If you want some help in understanding arrays I would recommend searching online as there are many existing resources out there that would give you an overview of the concept and even contain some example code.
All of the Plot3D methods accept arrays (1D or 2D) as the function parameters. If you want to plot your data you will need to ensure it is in an array in order to properly plot the data. Therefore you can take your data, copy it into an array, and (maybe in a manner similar to that outlined in my previous post) plot those arrays on the 3D graph. You can find all the Plot3D function parameters in the Measurement Studio 3D Graph help to see what data types a specific function would accept. For most curves you could use something like CWGraph3D1.Plot3DCurve x, y, z (where x,y & z are your three arrays).
04-01-2008 09:50 PM
Thanks John,
How about printing function? How to Print Preview and select Printer in vb6. Can i using cwgraph3d to plot Orbital Plot. What is the formula to plot this graph.Thanks.
04-09-2008 04:02 PM