08-10-2011 08:57 AM
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
08-11-2011 02:37 AM
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
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!
08-11-2011 08:03 AM
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?
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
08-11-2011 08:50 AM
@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
Regards
Alain
08-11-2011 08:57 AM
No, I seldom down load VIs durring the normal work week since I have "a real job".
Ben
08-11-2011 09:43 AM
@Ben wrote:
... ...I have "a real job".
Ben
Lucky us
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
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!
08-12-2011 09:14 AM
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 ?? ??
08-12-2011 11:19 AM
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
08-12-2011 12:30 PM
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.