11-27-2009 09:08 AM - last edited on 03-03-2017 09:39 AM by karina.barles
Again presenting an issue that I know must be easily solvable and indeed I have graphs with multiple scales in a number of my applications with the additional scale swapped to the other side. Today, in completing the following to create a second X- or Y-axis, 'swap sides' is always grayed out on the right-click shortcut menu. I've clicked everywhere near the scale. Using LabVIEW 8.5. Any help is appreciated.
Adding Multiple X- and Y-Scales on Graphs or Charts Dim hasPlayer, playerversion hasPlayer = false playerversion = 10 Do While playerversion > 0 On Error Resume Next hasPlayer = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & playerversion))) If hasPlayer = true Then Exit Do playerversion = playerversion - 1 Loop is_FlashVersion = playerversion is_Flash = hasPlayer
Complete the following steps to add a scale to a waveform graph or chart.
Solved! Go to Solution.
11-27-2009 10:16 AM - edited 11-27-2009 10:18 AM
Hi Don,
atleast with my LV8.6 I don't have any problems to create a 2nd scale and swap the side...
And LV8.5 is ok too!
Don't you think it would be better to not use white text on white background?
What other "code" have you copied into your post? Do you use other languages than LabVIEW on your development machine??? OMG
11-27-2009 11:02 AM
Hi Gerd -
I have no idea what happened regarding the cut and paste from LabVIEW Help in my post. Sorry about that.
If you can, can you provide a screenshot that shows me exactly where you right-clicked to get an ungrayed 'swap sides' option to appear in the right-click menu on the attached graph? I duplicated both the X and the Y scales. By the way, I rebooted my computer just to make sure something odd was not happenning, but I am still having the same problem.
Thanks,
Don
11-27-2009 11:07 AM
11-27-2009 11:51 AM
Right-clicking on scale numbers, 'Swap Sides' is still grayed. Does not matter which number or which scale. It is still grayed. This is a waveform graph. Anyone else have any thoughts on this?
11-27-2009 11:54 AM
Hi Don,
have you tried that with a new vi and a new Waveform graph?
Your pictures look a bit mangled as the duplicated scales are on top of the original one instead of next to each other. When this happens each time you create a new graph you should consider a fresh installation of LabVIEW
11-27-2009 11:58 AM
Hello Gerd:
Yes, I opened a new blank VI and placed on the front panel a new waveform graph. Yes, the new scales always appear directly on top of the old one, slightly offset. And this no matter how I resize the plot area. I don't know why.
I sure would prefer not to have to uninstall and reinstall LabVIEW.
Don
11-27-2009 12:11 PM
11-27-2009 12:21 PM
Hi Gerd - Unfortunately, same problem. Here is screenshot from your VI after I first deleted the second scale, then duplicated the Y-axis again...
11-27-2009 12:36 PM
Hi Don,
I don't meant to delete and recreate that scale.
Can you use my example as copy&paste source for your vis? This would be a way to postpone the fresh install of LV to some more days in the future (Idea comes across: make a typedef from my control...)