Graph scale updates on tabs
We have a program with several tabs, each of which has different graphs and displays. On one of the tabs is a histogram style bar graph. We've added annotations to each bar to label each bar with a particular identifier. The graphs are set to autoscaling, so first we write the data to the graph with a "Value" property node, then read back the graph's YMax value and use that to help calculate where to put each annotation. (We typically put the annotation above the bar, but have to limit it to less than the YMax value so it stays on the graph.) Works fine, as long as the graph's tab is displayed.
So now you're displaying a different tab and put new data into the system. Then click to the aforementioned tab. The new data is displayed, and the graph is properly auto-scaled, but the annotations are out of place. The YMax that was used to calculate their maximum y position was the graph's YMax from the last time it was displayed.
What appears to be going on is that the graph's display isn't completely updated when LabVIEW knows that the graph isn't visible. When you later make the graph visible, LabVIEW appears to have instantly autoscaled it correctly, but the YMax value that was available when the annotations were being created isn't the YMax that would be expected from the new data.
Our work-around is to use the maximum Y value of the data. For autoscaled graphs, this is usually pretty similar to the YMax of the axis, but not exactly the same.
Does anyone have any insights or other ideas? (Synchronous display didn't seem to help. And we couldn't find any other property nodes that might be relevant.)
Thanks,
DaveT
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
There are 10 kinds of people: those who understand binary, and those who don't.
DaveT,
This may be a complete hack/abomination, but if you are prevented from manipulating your graph if the tab is not visible, you could use an Event Structure and handle the tab's Value Change event. Update your graph within that event.
-cb
Similar Messages
-
Average Active Sessions graph not updated after restart
Hi,
I just wanted to ask - I have restarted a database (11.1.0.7) with GC 11.1.0.1 but after the restart of the db the graphs on a performance tab are not updated. It means that the doesn't refresh and doesn't show actual data...
I checked jobs on the target database and GC repository but nothing is broken. Info on Home tab of the target DB is actual but not the graphs..
I also tried to clearstate and restart the agent but no change..
Any idea?
ThanksThis is a bug and can be solved by applying
Patch 10307099: PERFORMANCE CHARTS DO NOT UPDATE AFTER DATABASE IS RESTARTED
This patch is included in the july 2011 PSU: Grid Control Patch Set Update 11.1.0.1.4 for the Oracle Management Service, see MOS doc ID 1334286.1
Eric -
Hi I'm wondering when is the best time to update waveform graph scale properties.
I am sampling data every 15 minutes for 192 samples, i.e. 48 hours. I want to plot these samples with the x scale in absolute time mode so that x scale maximum is the current time and x scale minimum is x max minus 48 hours (172800 seconds). I also want the intermediate scale markers to be 6 hours apart and to be multiples of whole 6 hours. e.g. at 06:00, 12:00, 18:00. This works OK using property nodes but sometimes the intermediate markers are on the 6 hour multiples and sometimes they are at 6 hours after the min scale marker. e.g. 09:15, 15:15, 21:15. Is there a way of guaranteeing that the intermediate markers will be on the 6 hour multiples?
Thanks,
Neville
Solved!
Go to Solution.Hi Bryan,
Thanks for your reply. I have discovered that I can achieve what I want by using an XY graph instead of a waveform graph. I want X max to be the current time and X min the be 48 hours earlier with intermediate scale markers on multiple of 6 hours. The XY graph in the attached VI does exactly that but I can't get the waveform graph to behave as I would like. Is there a way of getting the waveform graph to behave as I would like?
Thanks,
Neville
Attachments:
waveform graph x axis scale.vi 16 KB -
Hey Apple Community,
I have a problem, but every problem has a story, so let me explain that first.
Let's start of by saying that I bought my 32 Gb iPod in February, 2012.
Over the course of the last 21 monts there have been about 370+ different apps on it (not all at ones of course). Of which I purchased about 26. I should also mension that my iPod hasn't been Jailbreaked at any point of time (I just don't trust it).
Yesterday, I wanted to put some new songs and video's on it. So I connected my iPod to my PC (I use windows 8). When I opened, It told me that there was a new system update (iOS 6.1.5). Because I 'was' in a good mood and had the time, I pressed "Download and Install". The updates usually take some time to install so I minimalized iTunes and opened FireFox (to check my e-mail and watch some video's). About 8 minutes later, I got a notification from Windows telling me that iTunes had crashed. At that point the update wasn't done installing. I restarted my PC (just to be sure) and opened iTunes again. It immediately openened a notification, telling me that there was a damaged iPod connected to my PC. The only option I had was to restore it, which would mean that my iPod would get reset to it's manufacture settings. You can imagine that this sounded disturbing. Fortunately it also stated that I would get the option to restore it (to the way it was before the update/crash) after the reset. This would be done using the automated back-up system of iTunes. I started the reset and didn't touch my PC nor iPod until it was finished (just to be sure). Then I used the given 'restore to old state' option (the just installed version won't chance by doing this). After finishing, I immediately noticed that all of the apps that I installed were missing. In total about 100+ apps (about 60-70+ games, 30-40+ remaining apps). However I did get my photo's back (which are now backed up), that's nice! along with my music and video's. The missing apps are reinstallable but the saves aren't. Imagion 21 monts worth of game saves gone in a flash for more then 60 games. Of the 100+ app there are about 30 that I really want back, however I am unable the recall all of the names.
So I went into the App_Store > Updates > Purchased tab. Here comes the real problem. The purchase tab doesn't load, it isn't even displaying the choice to switch from 'all' to 'not on this device'. I've tried some things to get is to work again: restart my iPod, log out and back in my iOS accant (in the app store) and a combination of the last 2 things. This didn't work however.
My questions are:
1) Is this problem fixable? If yes, how?
2) If not, what would be the second best option of retrieving the missing apps?
Thanks before hand,
SebgearTry:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device.
If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
Apple Retail Store - Genius Bar
Also, you should be able to redownload via iTunes on the computer. See that method included here:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
How can I add custom captions to a waveform graph scale?
I have an application that displays one or more signals in a WvfmGraph. The X Axis is set by a hardware encoder giving signals vs. distance (measured length). I would like to change the caption of the XScale according to the values of one of the signals. Its similar to an XY graph, but differs in that I want to see the data unrolled.
The problem is that the X Axis scale markers are fixed. I would like to ask the graph what is range property of the X Axis scale. Then use that information and a derived position signal to replace the marker values with values from a derived signal that includes relative motion.
For example, measuring a unit 100 feet long results in measurements of 200 feet worth of data (out and back). The customer would like to see this data unwrapped 0, 50, 100, 50, 0.
One alternative is to use an XY Graph, but the data on top of itself. Not necessarily a bad thing, but not the same as what they have always had.
I found a similar post to display the scale at a rotation (CW or CCW) and was able to get it to work for my specific case. The problem is that my picture marker values are not aligning nicely with the corresponding gridlines.
Attachments:
Position vs MeasuredDistance.PNG 43 KB
Position vs. PseudoPosition.PNG 37 KBStephen,
Thanks for replying to my post. XScale.Range does not handle this situation. In "rigorous" terms, LV does the right thing with X axis scale markers and put them where you want. I tried to set custom Marker values as: {0, 50, 100, 50, 0} and only saw the first three values. My guess is that under the hood, the spacing is set to 'Arbitrary' and my custom values are overwritten. Not what I intended, but I admit my task is not the normal use case.
Today I am prototyping the entire application with each WvfmGraph replaced with XYGraph's. Good thing I used a modular design and passed Refnums around to all my subVI's. Depending on a review of this prototype, I might skip this graph scale formatting.
FYI, the original graph issue wanted to rotate the marker labels CCW. They hid the graphs XScale and used a custom picture to display the new scale. There is a VI that formats an axis with custom labels, where the font, text, etc. can be customized. I have a working example of that custom scale on a Wvfm graph. I stopped refinement when I tried to consider use cases for how the user would zoom on the data, how the graph's label's would appear if the DAQ signal indicated that the part reversed on itself. All the data is better visualized on an XY Graph.
p.s. are you one of the Waterloo Labs engineers? Great stuff! -
LabVIEW 8.5.1
Sweep Chart Problem
The x scale values do not update until after the 2nd sweep. The red line cursor gets to the end of the sweep and starts the next, but the scale numbers do not update until the next sweep starts.
It appears to be a problem with the chart, since it happens with any vi with a sweep chart. I've used versions 6 through 7 for years and never seen this. I've only recently moved to a new job with a new machine and version 8.5.1., so I'm not sure what to try.
I've included a simple example.
Thanks much,
JSC321
Attachments:
Chart Sweep Scale Update Problem.vi 32 KBYou have a typical race condition!
There is no data dependency between the property node and the while loop, so in your case the loop starts executing first and the property node starts slightly later, immediately erasing the first point. Execution order is not defined.
All you need to do is add a data dependency, e.g. as with the error cluster in the image. This forces the property node to complete before the loop is allowed to start.
(Execution order is enforced even if the wire value is not even used inside the loop )
Try it!
Message Edited by altenbach on 12-23-2008 11:08 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
HistoryRace.png 10 KB -
Import PO Conditions, Update Price tab and price type
Dear All,
Creation of Import PO is little bit panic for users as they have to maintain minimum 10/12 condition per
line item.Also have to maintain the respective vember.My question is
1) During creation of PO condition value get copied. I want the 7 condition (JCDB,JCV1,JECV,J1CV, JECS,JSDB,JADC)
to be remain as it is and the balance freight,custom clearance,clearing charges to be wipe
out.But no such option found in "update prices" tab.Is there any setting to do such activity?
2) Can i customize "pricing type "as per the requirement?
3) Is there any way to avoid such tedious creation of Import PO?
4) There are 22 entries for price type and 12 customer reserve fields.How to use/customize these fields?
Regards
SachinHi Ajit,
In import PO generally the tax part is always fix.like BCDEcessHEcess, CVDEcessHEcess, Additional Tax.But the
Insurance,Freight ,Clearing charges has to maintain as actual.So its maintain after receipt of Air way bill or Bill of Ladding.
So we want to maintain value of only tax condition at the time of creation of Import PO and balance when we were posting the planned delivery cost.Thats why we can't wipe out that condition from pricing procedure.
We want the other condition to be wipe out by customizing in Update Price button...Hope this will u...
Regards
Sachin -
Programatically edit graph scale
Hi,
I kow that I can edit graph scale values simply mouse clicking on them, and typing new values.
Now I want to reproduce this behaviour programatically, but the problem is that I can't use the mouse in my application (only keyboard is available )
So, is there a way to programatically get focus to scale boundaries (x_min, x_max, y_min, y_max)?
I hope so...
I need to programatically setting them.
Using LV 6.1 on Linux Fedora Core 3
Vix
In claris non fit interpretatio
Using LV 2013 SP1 on Win 7 64bit
Using LV 8.2.1 on WinXP SP3
Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
Using CVI 6.0 on Win2k, WinXP and WinXP EmbeddedI'd have suggested this too - but you may be limited. Imagine you have set your control to increment by 0.01 (for precision reasons) - how long may it take if you want to set a value of 50?
By the way - building a num pad is not that complicated. Of course it takes time to accomplish, but I think you are most flexible.
Using LV8.0
Don't be afraid to rate a good answer... -
I'm trying to plot an XY Graph with one of the scales (x-axis) set to the reciprocal of a variable. I can plot this by calculating the values within an array, however the scales (as would be expected) now show the reciprocated value (ie. 1/value). I would like to plot the reciprocal values whilst still displaying the actual values, similarly to how mapping in log mode would show the value before taking it's logarithm. Essentially I'm wondering if a reciprocal mapping mode can be generated, since the scale varies non-linearly. I'm using LAbview V8.0. Thanks.
Wiebe@CARYA wrote:
Create a property node of the graph, select the Y Scale, and select the property Marker Values[]. With this property, you can set the markers any way you like it (the values are sorted automatically). Use the Flipped property to reverse the scale.
I am pretty sure if this will not work because "stel" wants labels that don't correspond to the underlying plotted data. For example, he wants to show a 10 where the value is actually 0.1, etc.
The proper solution would be to make your own graph in a picture indicator. Have a look at the example "XY Multi Plot.vi" as a starting point.
Unlike the scales of sliders, graph scales unfortunately don't support text labels (Now here's something that could be useful! ). Of course you could cheat, hide the graph axis and substitute a slider with only the axis shown. Now assign label/value pairs of e.g. "10"/0.1, "2"/0.5, etc.. as desired.
Align everything perfectly and make sure to disable "autoadjust scales" on the graph so things don't move around. See how far you get.
LabVIEW Champion . Do more with less code and in less time . -
Disable the update prices Tab while processing PO in SUS
Hi,
I need to Disable the update prices Tab while processing PO in SUS.
Please advise.
Thanks in Advance,
ManuBest would be to do the following steps-->
1) for the vendor user --> check the roles assigned
2) for each of the role which you have assigned to the vendor user ---> go to PFCG ---> enter your role
---> Click on display ---> go to authorization tab ---> click on display authorization data -->
find out --> SUS ---> access to documents in SUS -->
there will be one activity --> display prices ---> this should be disabled , then the button will not be shown. -
Why can I not see the update softwared tab in General?
I need to update my iPad 2 and there is no "Update Software" tab. Plus, I am unable to access itunes on the ipad. I have checked my wifi connection and it is fine.
Hi NISTeacher12,
Apple has been experiencing all kinds of problems the past 2 days with their iTunes Store and many of their other online services. If I was in your shoes, I'd first try a "reset" (different from restarting) by holding down both the Home button AND Sleep/Wake button for about 10 seconds until you see the Apple logo. Then check to see if you can connect to Apple's services.
Hope this helps!
~Joe -
Recommendation for AD Group Graph schedule updates
Hi All,
We are looking for some clarification and recommendations on scheduling the AD Group and AD Group Graph and Aliases udpates.
Firstly, are both of these required? The program objects are called (1) "Update Windows AD Group Graph" and (2) "Update Windows AD Group Graph and Aliases". Does the first program update just the group graph and the second program update both the group graph and the aliases? This would indicate we only need to schedule the second program as it addressed both requirements. I think that is just a naming convention and in fact both programs must be scheduled. Can anybody confirm?
Secondly, if we schedule both programs, is there an order preference? For example, should we schedule program 1 and ensure it is complete before scheduling program 2?
If anybody has experience with these settings in a large AD environment (eg 90k AD entries in the CMS) we would greatly appreciate your inputs.
CheersJust a little history. Prior to XI 3.1 the graph was set to auto run every 15 minutes, which effectively creates a cache to improve performance for user logon. This graph did not add/remove users. That task was only accomplished by hitting the update button on the CMC > Authentication > windows AD.
With that in mind if you start scheduling this graph and a user is removed from a mapped group in AD they will automatically be removed from the CMC as well and any personal docs (favorites, inbox) will be lost (unless you have a backup).
Just be aware that if you are scheduling the alias graph this update which for the most part was manual will occur automatically at the interval that you set. Since this situation may not be desirable to all customers both options were made available.
Regards,
Tim -
Ops Center - Updating Patches using the Update Profile tab
I am unable to create a new profile in order to update patches onto an asset. When trying to create a new profile in order update assets, I'm unable to access any option on the "Update Profile" tab. According to the manual , http://wikis.sun.com/display/EMOC11g1/Creating+an+OS+Update+Profile , that indicates that the option is disabled and the resolution is to register and manage your assets. The problem at hand is that despite registering and managing my assets I'm still unable to create a new profile. Could somebody give me insight on what else I could do in order to carry out the task of updating assets with patches.
No the update catalog action is not active. Yes it is in connected mode and I'm unable to define a default local library (all features under libraries are mostly disabled). Yed, I have supplied connected authentication usernames and passwords. How do I go about enable these features?
-
Since 3.6.8 update erratic tab behaviour & arbitrary imposition of LH bookmark pane.
Flashing from tab to tab and randomly showing uncalled for LH pane.
Impossible to input to particular pane.
== 3.6.8 update(My suspicion is that the tiny antenna inside the
Mini is not as robust in dealing with marginal signal
conditions as the larger antennas in all the other
Mac products
There is, in fact, a reasonable consistency of reports indicating exactly that with the Mac mini. The supposition has commonly been that the nature of the mini's casing has an impact on signal, which seems reasonably possible and would account for lowered sensitivity, less reliable operation in marginal signal conditions, and higher susceptibility to interference.
Though it has to be said that Becca's situation should not, either by range or apparent signal strength, be marginal - particularly not when previous tests have been conducted with the mini in close proximity to the base station.
-- although I'm still open to the
possibility that current airport software in Macs is
less tolerant of some non-Apple routers.
The minis (and other wireless devices) I have in service in the network are variously connected via an Airport Extreme base station, an Airport Express and Belkin and Lexmark WAPs. Range varies between 15 and 55 feet and I've moved various wireless devices around to experiment. In the course of doing this I've noted marginally better signal stability at the 55 foot range between a mini and the Airport Extreme base station, but no real difference in signal quality between any of them. -
I cannot get my "Update APPS" tab to work
My "Update APPs tab delivers a blank page. This was not a problem until a few days ago. I am told there are 4 APPS awaiting updates, but nothing is visble. The other tabs on the Apps setting still work
Hello there Salvatore,
It sounds like you are trying to use a set of either bluetooth speakers or speakers connected with a 3.5mm plug or digital out on the computer. If the latter, I would recommend you use the following article to help troubleshoot the issue:
OS X Mavericks: If you can’t hear sound from your speakers
If they are bluetooth, I would recommend this article instead:
OS X Mavericks: Set up Bluetooth audio devices
Thank you for using Apple Support Communities.
All the best,
Sterling
Maybe you are looking for
-
I have an HP Pro 3500 and my DVD drive only recognizes CDs and not DVDs I know the DVD is good since I can read it on my wife's laptop. It shows the DVD drive as drive F under Devices with removable storage but doesn't list it in the left column un
-
why is itunes telling me i have to put in my password or it wont open my ipod but my ipod says i have to connect to itunes
-
s
-
Please -how to run Java on Windows XP???
I am trying to install the Java software (J2SDK) on my Windows XP, but there is no Autoexec.bat there like on my Windows 98 (I successfully installed java there). What should i do to make the Java run. Oh, yeah, and there is no dos to go to and write
-
Sync method on Agentry-Based Apps..
Hi, I would like to know if I can configure on Agentry platform, the transmit method to be online. I mean when an user save the data on the App, inmediately the App transmit the changes (Save + Transmit) and update the backend. Is this can be done/c