From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How does the coloring of the points in a 3D graph work particularly using the 'fast draw' option?

I have had an application running which uses 3D plots for some time now.  It is written in LV2009 and deployed sitewide via a compiled exe.  Recently, I had a problem with my source code where it became corrupted and I had to find a slightly older uncorrupted version to work with.  I am not sure what the corruption did, but the vi would not load into the development environment.  I recovered a version which is only about a week old, so should be fine.

 

Now my problem: 

 

Previously, my 3D plot would display with points colored according to their values whether or not the user was clicking on the control to rotate the plot.  The plot would change slightly to allow movement in a reasonable time - I think this is called the 'fast draw' mode.  However, now the color scale is only occuring when the user clicks and holds the cursor down and I do not understand where this has changed or how to change it back.  The points which are displayed defaulted back to open black squares rather than filled colored coded circles.

 

Here's how it looked:

 then.jpg

 

 

Now it looks like:

 

now.JPG

 

 

I generated an internal error which may or may not be related:

 

####
#Date: Tue, Sep 30, 2014 15:22:46
#OSName: Microsoft Windows XP Service Pack 3
#OSVers: 5.1
#OSBuild: 2600
#AppName: LabVIEW
#Version: 9.0 32-bit
#AppKind: FDS
#AppModDate: 06/24/2009 00:56 GMT
#LabVIEW Base Address: 0x00400000



c:\builds\penguin\labview\branches\Orion\dev\source\panel\loaddata.cpp(3079) : DWarn: XML GraphScaleData does not match private-data GraphScaleData at item 2.
$Id: //labview/branches/Orion/dev/source/panel/loaddata.cpp#71 $
0x00DB154F - LabVIEW <unknown> + 0
0x00DB7F5E - LabVIEW <unknown> + 0
0x00C5E881 - LabVIEW <unknown> + 0
0x0107430D - LabVIEW <unknown> + 0
0x01074AF4 - LabVIEW <unknown> + 0
0x01075307 - LabVIEW <unknown> + 0
0x00C5DE61 - LabVIEW <unknown> + 0
0x00C81698 - LabVIEW <unknown> + 0
0x00CB536F - LabVIEW <unknown> + 0
0x00C5E881 - LabVIEW <unknown> + 0
0x0107430D - LabVIEW <unknown> + 0
0x01074AF4 - LabVIEW <unknown> + 0
0x01074CCE - LabVIEW <unknown> + 0
0x01075395 - LabVIEW <unknown> + 0
0x00C5DE61 - LabVIEW <unknown> + 0
0x00C5E881 - LabVIEW <unknown> + 0
0x0107430D - LabVIEW <unknown> + 0
0x01074AF4 - LabVIEW <unknown> + 0
0x01074CCE - LabVIEW <unknown> + 0
0x01075395 - LabVIEW <unknown> + 0
0x00C5DE61 - LabVIEW <unknown> + 0
0x00DFFC66 - LabVIEW <unknown> + 0
0x00C5E881 - LabVIEW <unknown> + 0
0x0107430D - LabVIEW <unknown> + 0
0x01074AF4 - LabVIEW <unknown> + 0
0x01075307 - LabVIEW <unknown> + 0
0x00C5DE61 - LabVIEW <unknown> + 0
0x00C81698 - LabVIEW <unknown> + 0
0x00CB536F - LabVIEW <unknown> + 0
0x00C5E881 - LabVIEW <unknown> + 0
0x0107430D - LabVIEW <unknown> + 0
0x01074AF4 - LabVIEW <unknown> + 0
0x01074CCE - LabVIEW <unknown> + 0
0x01075395 - LabVIEW <unknown> + 0
0x00C5DE61 - LabVIEW <unknown> + 0
0x00C5E881 - LabVIEW <unknown> + 0
*** Dumping Bread Crumb Stack ***
*** LabVIEW Base Address 0x00400000 ***
Loading VI Heap, HeapClass "FPHP", S:\Software\Members\LabView2009\Apps\OPTIPLEX\vis\OptiplexMAin31Oct Recovered.vi
#** Loading: "S:\Software\Members\LabView2009\Apps\OPTIPLEX\vis\OptiplexMAin31Oct Recovered.vi"
*** End Dump ***
Possible path leak, unable to purge elements of base #0

 

 

 

 

0 Kudos
Message 1 of 6
(2,855 Views)

Hello Mark,

 

Would you mind posting the code that causes this issue? I can look into it for you and see if it is a bug or something different with your system. Thanks!

Collin D.
Software Product Manager
0 Kudos
Message 2 of 6
(2,820 Views)

It is slightly difficult to post the code as it is a huge project.  I think the issue is connected with the actual 3D control, as when I copy it and paste it into another blank vi, it shows the same behavior.  I have tried to attach a vi where I copied the indicator from my program and put some dummy data in.  I keep getting an error 'The contents of teh attachment doesn't match its file type' . I guess I need help attaching the vi.

 

When I do, the following wll be true...

 

I've also put a few of the property nodes into the vi to see what impact they have.

 

Basically, run the vi and look at the data.  On my screen the points look a sort of muddy brown color.  With the 'fast draw' option selected, when I click and drag on the graph, the labelling disappears and the points change color to reflect the values seen on the color pallete indicator.  Changing the colors in the Scatter Color Ramp control has the expected effect of chaging the plot colors, but only in the fast draw case.  I want the colors to be there all the time, but cannot find the magic trick to set the pallette for the points when not in 'fast draw' mode, i.e. clicked and held.

 

 

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

Hello Mark,

It will be hard to troubleshoot this issue without some code. Could you either try to post a screenshot of the block diagram code that produces this graph or try to attach the VI again? Either would be good.

Collin D.
Software Product Manager
0 Kudos
Message 4 of 6
(2,760 Views)

Trying to attach from internet explorer rather the Firefox.

0 Kudos
Message 5 of 6
(2,757 Views)

Hello Mark,

 

I will take a look at your code and get back to you. 

Collin D.
Software Product Manager
0 Kudos
Message 6 of 6
(2,725 Views)