LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Updated // 3D plotting, Crash

Few days ago I posted a topic about Labview crashing (once run the 3d plotting). Sadly, we still could not figure out why.

 

I have attached : 

our vi and

our matlab code

 

Could someone help us, thank you very much.

 

 

 

Note.

1. Windows7, Labview 2015-64 bit, Matlab 2014b

2. The data (for 3d-plotting) is generated by matlab (x,y,z array.   1x104 double)

3. Able to plot using matlab (you may try our matlab code)

4. Will NOT crash if we run labview in-built 3-d plotting example

5. But will crash if we run our one (see attachment) regardless which 3d ploting vi we used (e.g. 3d_curve, 3d_scatter, 3d_comet and etc.)

0 Kudos
Message 1 of 6
(3,839 Views)

Hi there, 

 

I see in your screenshot you are running the 64 bit version of LabVIEW, does this same error occur when you run in the 32 bit version?

 

-Michael

0 Kudos
Message 2 of 6
(3,825 Views)

Just giving a thought:Since the Labview inbuilt example is working

-is there any difference between your data and the data in example?

Thanks
uday
Message 3 of 6
(3,819 Views)

Sorry, have not checked yet.

 

The software that are installed in our lab all are 64-bit version

0 Kudos
Message 4 of 6
(3,790 Views)

To Uday,

 

 

[ -is there any difference between your data and the data in example?]

 

Still can't think any difference.

The data generated by the inbuilt vi are 3 equal size array, right ?

The data generated by our matlab code are also 3 equal size array.

0 Kudos
Message 5 of 6
(3,789 Views)

Hi slin324,

Looking over your code, the arrays are all the same size and the plot helper is in the correct mode (Vector). Since the built-in example works, have you tried eliminating the 3D Plot portion of your LabVIEW code? That is, have the Script Node output directly to front panel array indicators? I suspect the problem may not be the plotting code itself from the information you have provided, and running just the Script Node will let us test if that is working properly in LabVIEW as opposed to within MATLAB. 


Charlie J.
National Instruments
0 Kudos
Message 6 of 6
(3,757 Views)