08-01-2017 09:54 AM
Hey jonatantidare,
Thanks for your post! Are you still looking for a solution to the question you asked? We may run into the issue here that, because of the age of the post, the original creator of the code you are wanting may not still be available. To get more visibility, I would advise creating a new forum post instead of reposting on an older one.
If the logarithmic functionality is the only thing you need on top of MinellaAC's code, I would recommend looking into properly modifying that one instead of recovering the source code from the 3d graph. Perhaps if you created another forum post with that question and links to the original forum and zip file, the post may gain more traction.
MVC
National Instruments
Application Engineering
08-01-2017 11:42 AM
@this_one_time_at_vancamp wrote:
Hey jonatantidare,
Thanks for your post! Are you still looking for a solution to the question you asked? We may run into the issue here that, because of the age of the post, the original creator of the code you are wanting may not still be available. To get more visibility, I would advise creating a new forum post instead of reposting on an older one.
If the logarithmic functionality is the only thing you need on top of MinellaAC's code, I would recommend looking into properly modifying that one instead of recovering the source code from the 3d graph. Perhaps if you created another forum post with that question and links to the original forum and zip file, the post may gain more traction.
MVC
National Instruments
Application Engineering
I am still here but I am repeatedly frustrated when new versions of existing functionality are implemented without duplicating all of the functionality and then support for the old stuff simply goes away.
Couldn't you work with the new questioner to help convert the code?
That way you could feedback to R&D about what is missing etc.
Ben
08-01-2017 04:37 PM
Ben, I was under the impression that the issue jonatantidare is seeing with the x-axis not displaying in logarithmic came from the way he modified MinellaAC's code. My suggestion was to create a new forum post so that he could more quickly find a way to modify the code properly. It appears to me that the issue is in the modification of the user-produced code as opposed to unexpected behavior in LabVIEW functionality, although I would be happy to look into it if there is functionality that is not working properly.
08-02-2017 02:25 AM - edited 08-02-2017 02:27 AM
Hi, I have solved it using another program.
The XY-graph allowed me to paint fields, but not make them transparent, as shown in the first image. The Xcontrol allowed me to make semi-transparent fields, but i could not make the x-axis logarithmic (the graphs looked the same, only the x-values changed). I also tried a 3rd party program called Advanced Plotting Toolkit, but it didn't support setting the x-values and making logarithmic x-axis simultaneously. The 3D-surface has a simple opacity-level to use, but I failed to paint the graphs the way I wanted them. The 3D always fills the whole surface.
In the end, I took the first image and saved as an eps-file. Then I loaded it into Adobe Illustrator where I could make the fields semi-transparent. However, I think it would be great if the XY graph had the option to set the opacity level, just like the 3D-surface has.
I attached the before and after pictures from the XY graph. The semi-transparent look is exactly what I needed so it'll do for now. I might eventually learn to make a decent xcontrol which prints the image the way I want it in labview, rather than having to use illustrator. I will also suggest that the semi-transparency is added for the 2d graphs/charts.
08-02-2017 07:54 AM
Hello. Sorry, I've been lurking on this just to see what you came up with. I haven't looked at that code in over 9 years and I've been busy on other things anyway. I vaguely remember building that xcontrol using a 3d graph for the actual plots, but dropping it onto a normal waveform graph control to make it look and act like a normal graph. I really haven't played around with xcontrols since then, so I don't remember the details. It sounds like you were able to make the graph control scale logarithmic. It doesn't surprise me that the 3D graph indicator that the plots are actually on didn't follow suit. You would have to add functionality into the xcontrol to respond to the change to the waveform graph and make a corresponding change to the 3D control. I had done all this to add this functionality into a data analysis program so it would present the data dynamically. If all you needed was a picture of a graph, all this work would be overkill.
08-02-2017 09:26 AM
Jonatantidare, that would be a great item to post on the Idea Exchange. The Idea Exchange is a forum where customers can propose ideas for how to improve LabVIEW functionality. This is the best way for an idea to gain traction for the future. The Idea Exchange can be found here: http://forums.ni.com/t5/Idea-Exchange/ct-p/ideas
In the meantime, it sounds like you were able to find a temporary workaround. If you feel that your issue has been properly resolved, feel free to mark your answer as correct.
MVC
National Instruments
Application Engineering