08-11-2016 04:40 AM
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.)
08-11-2016 05:09 AM
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
08-11-2016 05:27 AM
Just giving a thought:Since the Labview inbuilt example is working
-is there any difference between your data and the data in example?
08-12-2016 10:57 AM
Sorry, have not checked yet.
The software that are installed in our lab all are 64-bit version
08-12-2016 11:03 AM
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.
08-15-2016 11:28 AM
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.