LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TO plot a 3d surface, and save the data. Everything in real-time ie on-line

hello I want to plot a 3d surface i have made this vi that tries to plot a 3d curve (as i dont know how to plot a 3d surface), though I am not able to manage that also. I dont know much about labview, I need to make a table also snapshot of which I have attached. I am using three instruments keithley 6430 current and voltage source meter, this will be used to give voltage and measure current (innermost loop in my vi). Seconed one is keithley 6487 that is used just to provide gate voltage. And the last one is a function generator keithley 3390 (outer most loop). I have to plot the 3d surface with x axis as V gate, y as V source and z as current . I am using labview version 8.5. I know the reason why my arrays are resetting every time and other things but as I am new to labview I am not able to do anything. I have read all the examples provided with labview regarding 3d surface, still I am unable to do it. Kindly help.

Download All
0 Kudos
Message 1 of 9
(3,596 Views)

A couple of suggestions...

 

1) repeating a post (you can bump an old thread) is generally in bad taste. NI will respond after a week or so and the rest of us volunteers will post when we have time and inclination.

 

2) Re: inclination. Your post reads like a project spec. Most of get paid to turn project specs into working code so this read like "please do my job." posts.

 

3) Break your Q into sepearate parts that can be answered one at a time. post each individuallly learn from each and then work to integrate.

 

4) See here to get started with the 3D graph.

 

Take care,

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 9
(3,588 Views)

Hi, Ben sorry if you felt that I am spamming this forum but no one was replying to my initial post so I thought may be I need to re-post. As I don't have much Idea about labview, I tried to build my vi by myself and when I got stuck I had posted. If you will compare it with my previous post insteading of using your pre-assumption you won't comment like "please do my job posts". And I never asked you to build my vi, if you can sketch it on paper and can upload the jpg that would also do.

So if you want me to break it in parts here it is :

I am not able make an array that is inside the centre loop for Voltage gate (measured by 6487), either this array is having elements like 1, 0,0,0. Or it is resetting after every loop.  I have tried something in vi to get it real time and I know why it is not working but I am unable to figure the right way.

0 Kudos
Message 3 of 9
(3,579 Views)

Hi, I am able to draw 3d curve as well as 3d mesh graph. But when I draw 3d surface it gets stuck after just one rotation. I am able to draw 3d surface with 2d array, if I dont attach both 1d array. It stops and gives only a line when I attach both 1d arrays and the 2d array. If I attach just one 1d array and the 2d array then also it works well.

You can understand my problem better , if you see all the .jpg.

0 Kudos
Message 4 of 9
(3,551 Views)

I am attaching to more snapshots.

Download All
0 Kudos
Message 5 of 9
(3,550 Views)

The 3D graph does not accumulate data. If you want to update the plot you must give it a new version of the data.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 9
(3,544 Views)

Sorry I didn't got what you are trying to say, can you explain it little further. And please let me know how can I do it too?? .Because whatever I have made till now is working with 3d curve and 3d mexh graph.

0 Kudos
Message 7 of 9
(3,535 Views)

Hello, I am trying to plot 3d surface, I have successfully plotted 3d curve and 3d mesh analysis. I am able to plot 3d simple surface  ie just z matrix. but as I plot it along with x and y vector that are Vgate and Vsource in my case, things dont seem to work out. I am using labview version 8.5. I am attaching jpg and my vi and the data it collects.

 

Download All
0 Kudos
Message 8 of 9
(3,501 Views)

This is my updated vi though which I am unable to plot 3d surface,please tell if you can figure out what is wrong.

0 Kudos
Message 9 of 9
(3,500 Views)