LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3d line graph: Line not visible

How come the line is only visible when the user click on the 3D graph?

The attached VI load some data into the 3D graph but it's not visible.

 

When the user click on the 3D graph, the line shows up 🙂

From the moment the mouse button is released the line disappears 😞

 

What am I doing wrong??

Thanks for your reaction!

 

I'm using LV 8.6

 

 

0 Kudos
Message 1 of 9
(3,424 Views)

Is anyone capable of reproducing this behaviour??

Is this something due to a bug somewhere in the XControl & LV 8.6??

 

In the mean time I added the "older" activeX version of the 3D line graph in the same VI and I don't have that behaviour with this one, meaning the plot line is always visible 🙂 (See attached vi)

But......... when rotating the graph the plot line changes from a solid line to some unclear points.

That is of course not so nice as with the XControl version, where the plot line stays a solid line while rotating.

It's a pitty I only see the plot line when I click the graph Smiley Mad

 

Bottom line: I'm happy with none of them 😞

 

BTW what's the difference between Surface - Overlay & Contour??

I found a 78 pages pdf on the NI site about the CW 3D graph but not a single word to exlain Surface - Overlay & Contour 😞

 

 

So, any help is greatly appreciated!

0 Kudos
Message 2 of 9
(3,414 Views)

 

Spoiler

Sometimes I think that NI support wishes the 3D display would just go away, after all who would possibly want to render images in 3d?

 

 

 Smiley Wink

 

The CW 3D graph used a technique of speeding up the screen updates in the preview while dragging view that dithered down the data for faster updates. It has always been that way and I appreciate the speed bump.

 

For the new version of the 3D graph I can't say I have seen that issue. If I did, I would try incresing the line size, look for "near field clipping", "Check for driver updates to the video card" and try to mess with the graphic accelerator seetings to see if I can make a difference.

 

Sorry but that is all I can offer off-hand.

 

Ben

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

@Ben wrote:

For the new version of the 3D graph I can't say I have seen that issue.

Sorry but that is all I can offer off-hand.

 

Ben


Hi Ben,

 

Thanks for the inputs!

Did you try the VI's I posted?

When you try them and you don't see the behaviour I mentioned, the problem is on my machine only (whatever reason).

If on the other hand you also see that behaviour, one could think the problem is in my code or a bug in the CW 3D XControl or incompatibility LV8.6 and the CW 3D XContol or... ...


So, would you please be so kind to try the VI's out and let me know the outcome? Thanks for that!!

 

 

Don't be sorry, it's a start Smiley Wink

 

Regards

Alain

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

No, I seldom down load VIs durring the normal work week since I have "a real job".

 

Ben

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

@Ben wrote:

... ...I have "a real job".

 

Ben


Smiley Very Happy Lucky us Smiley Very Happy

 

I'm writing this code on 1 PC but the final application will be deployed on multiple machines, so when you said that it could be hardware related, I wonder if it is wise to go on with that XControl version of the 3D graph Smiley Sad

I'm on vaccation now, so I have only one PC at my disposal.

Back at work I can try it on multiple machines but for now the reason for that behaviour is a big mystery!

0 Kudos
Message 6 of 9
(3,387 Views)

Who programmed the CW 3D graph control???

Since the Caption & Label properties didn’t act as expected, I connect a control to each of them to play with.

 

This is what I found out:

Caption color: doesn’t influence the graph at all

Caption Opposite visible: Ok

Caption visible: Ok

Caption font size: doesn’t influence the graph at all

Caption text: Ok

----------------------------------------------------------------------------------------

Grid color: doesn’t influence the graph at all

Grid visible: Ok

----------------------------------------------------------------------------------------

Label Color: doesn’t influence the graph at all

Label Opposite Visible: Ok

Label Visible: Ok

Label Font size: The size of the Caption is changed !!!!

----------------------------------------------------------------------------------------

Tick Color: Ok

Major Tick visible: Ok

Minor tick visible: Ok

Major tick count: Ok

Minor tick count: Ok

----------------------------------------------------------------------------------------

Range Autoscale: Ok

Range maximum: Ok

Range minimum: Ok

 

I’m sorry but did I pay for that ?? Smiley Mad ??

 

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

Those all seem to be color realted issues.

 

For the CW version the colors are not the same as LV (RGB) but are rather (BGR) if memory serves me.

 

The example I posted in this thread shows this difference.

 

I think the CW 3D graph showed up in about LV 6i or thereabouts. I have not seen many changes to it so you probably did not pay for that in this years fee.

 

Ben

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

I'm aware of the RGB vs.BGR issue but I think that only applies to the plots, not to the axis.

The axis items appear in the selected color without the RGB/BGR converter vi.

 

Please note that the Axes:Label color changes the GRID color, not the label color.

 

The major issue here is that some properties act on other graph items than what their name hints or doesn't do anything at all.

Axes:Label color act on GRID color (color is correct)

Axes:Label Font size act on the CAPTION

see previous post for other errors.

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