Guillaume Lessard Posted July 7, 2006 Report Share Posted July 7, 2006 I have a problem where a VI refuses to save the "plot style" property of its 3D Curve Graph (the ActiveX 3D curve from the "graphs" palette.) That's in the CWGraph3D property editing window, tab "plots", subtab "style", menu "plot style. It correctly saves the graph's other properties; the ones I've tried, at least. The "plot style" property is correctly saved in other VIs I slapped together for a test. But in the VI that matters (the one that has all of my overly complex UI code,) it just won't stick. (All this while the plot template has all the properties I want my curve to have; I'd have thought that would be enough!) I tried deleting the graph, saving the VI and then adding the graph back. Still won't stick. Has anyone ever seen such a graph object misbehave so badly? Has anyone got a trick to make my graph behave? I hope so, because it's starting to feel like a nearly-bottomless time sink!! Quote Link to comment
crelf Posted July 7, 2006 Report Share Posted July 7, 2006 I haven't had the problem myself, and this might be a stupid idea, but have you tried manually recompiling the VI? Try a shift+ctrl+click the run button - it seems (especially in LabVIEW 8) to have magical fix-it powers Quote Link to comment
Grampa_of_Oliva_n_Eden Posted July 7, 2006 Report Share Posted July 7, 2006 I haven't had the problem myself, and this might be a stupid idea, but have you tried manually recompiling the VI? Try a shift+ctrl+click the run button - it seems (especially in LabVIEW 8) to have magical fix-it powers I have never seen that either. Can you copy the 3-d graph off to another VI and post a demo that demonstrates this? Ben Quote Link to comment
Guillaume Lessard Posted July 7, 2006 Author Report Share Posted July 7, 2006 I haven't had the problem myself, and this might be a stupid idea, but have you tried manually recompiling the VI? Try a shift+ctrl+click the run button - it seems (especially in LabVIEW 8) to have magical fix-it powers Unfortunately, that still doesn't work. I'm completely baffled. I have never seen that either.Can you copy the 3-d graph off to another VI and post a demo that demonstrates this? That's also part of my problem: I have failed to replicate it. That made me think I might be able to do something by removing and the control and adding it back, but no dice. Quote Link to comment
Rolf Kalbermatter Posted July 8, 2006 Report Share Posted July 8, 2006 Unfortunately, that still doesn't work. I'm completely baffled.That's also part of my problem: I have failed to replicate it. That made me think I might be able to do something by removing and the control and adding it back, but no dice. All these things point actually in the same direction: You have somewhere in your COMPLEX UI VI some code that resets these properties. It might be a aproperty node that you added at some point, then resized the Event structure or some case, so that it fell of into invisible area. Or some execution logic in your state machine that causes this at initilisation. I've been there and done that too and almost pulled my hair over it before I realized my own fault. For invisible elements try to open the Error Window under Window->Show Error List and check the show warnings check box. Then go to the VI in question and hit de wanring triangle besides the run button. If it's about the executiona logic of your VI you probably will need to single step or at least work through your intialisation logic with breakpoints until you see where exactly the property gets reset. Rolf Kalbermatter Quote Link to comment
crelf Posted July 8, 2006 Report Share Posted July 8, 2006 Are you using the LabVIEW.ini file for the built app? I'm curious if there's different (or missing) settings between the ini file you're using in your development environment and that of your built application... Quote Link to comment
Guillaume Lessard Posted July 10, 2006 Author Report Share Posted July 10, 2006 All these things point actually in the same direction: You have somewhere in your COMPLEX UI VI some code that resets these properties. It might be a aproperty node that you added at some point, then resized the Event structure or some case, so that it fell of into invisible area. Or some execution logic in your state machine that causes this at initilisation. I looked for such things. Note that when I remove the 3D Curve indicator entirely, my VI still runs correctly (it's a useful display, but it's just a display). That shows that there aren't any dangling references: there would be errors otherwise. That, and the property nodes for that control are rather inscrutable since it's ActiveX. I'd be much happier using it if it were a normal labview graph! (thanks for the warnings trick; I found a couple weird things that way. Not stuff that affected this problem, though.) I'm using the 3D curve graph pretty much in its simplest possible form: (if I right-click on the terminal on the BD, there is no find menu, just "find control". There really is nothing else than that little section of the BD that uses the indicator.) ::sigh:: Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.