Xy graph point tip strip
I am using LV6.1 with Win2000. I would like to have the mouse pointer show the value of a point on an xy graph like Excel does. Is there a way to do this?
Well not exactly like Excel but Excel cheats and limits you to 65535 samples in a plot!
The built in functionality you should investigate is the cursor legend. That is available from
show>>>Cursor Legend
You can resize the cursor legend as you see fit.
The cursors can be set to snap to a point on a plot and the cursor legend will show the X and Y values of where the cursor is positioned.
You can drag the cursor or use the "arrows" to move teh cursor one step at a time.
I have written custom code that will do the "mouse over thing" but that is over-kill in most cases (mouse overs can kill most processors!).
I hope this help,
Ben
Ben Rayner
Certified LabVIEW Developer
www.DSAutomation.com
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Similar Messages
-
How can I change the tip strip display time?
I would like to have the tip strip appear for a longer time, or even have it stay as long as the user hovers over the control. Any suggestions? I don't want to use an event structure because that would be major surgery on a legacy application.
Thanks.
MattI can't say for sure but I can say that I spent some time looking for that. I would think it is an INI tag if this is even possible. If there is no way to configure tip-strip behaviour then this is something for the idea exchange.
But it doesn't have to be major surgery. If you can do minor outpatient surgery then something like this could work for you. If not maybe it will help someone else.
I call this a drop-in vi because you don't modify the application you put it in. It just sits outside of the main loop.
This is a quick and dirty demo how you can use the caption for a tip-strip. It uses a subvi with an event structure that on mouse over copies the tip-strip text to the caption text. On mouse out it restores the caption.
The demo has some issues that would need to be resolved in production. The event loop should continue executing and exit based on a user event. Then the loop surrounding the tip-strip vi can be removed. But I wanted to keep this short and sweet.
Another improvement is to make the text stand out better by changing colors when the tip-strip text is in the caption.
=====================
LabVIEW 2012
Attachments:
Main vi.vi 10 KB
TipStrip.vi 20 KB -
Tree control tip strip for each item
In tree control is possible set a Tip strip for each item (node) of tree?
In tree control tipStrip property seems relative to all tree.
Thanks all.The only thing I can think of is to use an event structure
use a mouse move event
Get Cords
Calculate what item the mouse is over
Use a Tips property node to write the correct string.
The hard part will be calculating what item the mouse is over, The Displayed Items property node should help.
I am actively working on a program that is centered around a tree control and might like to do the same.
If you need further help reply back
Omar -
Multiple xy graph point by point
Hi,
I would like to plot multiple trace xy graphs point by point. If I plot one trace, it does show up point by point, but plotting multiple traces, they traces show up one after another and not point and point. Attached is my code. Any help would be appreciated.
-Tim
Solved!
Go to Solution.
Attachments:
testmultixyplot.vi 26 KBThat's because you use 'Replace array subset', the element you try to replace does not exist, that means the new element is not placed inside the array.
Use the following code construct instead:
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
Read tip strip of labview indicators in teststand
how to read the tip strip for a labview indicator output in teststand that has this vi as an action step?
Hi,
It is absolutely the same thing if you are looking for properties of indicator or controls.
To get the issues straightend out a little bit:
You have your LabVIEW Adapter in Teststand. You configure the Adpater to get the results of some indicators.
Let say, you read back the value of the indicator "MyIndicatorA". You already know the label of the indicator, otherwise you could not have configured the step. What are you looking for here exactely?
As for reading the tip strips of control, indicator... it doesn´t matter. Over the VI Server of LabVIEW you can get references to elements. Indicators are Elements. But the VI Server is bundle of function that you woul have to use in your LabVIEW Programm
A solution was already posted here: write VIs that put out the information you are looking for, using VI Server functionality. I think, what you are hoping for is a function in the Teststand VI Adapter "VI Indicator Tip Strip" of the indicator that gives you your parameter.
As far as I know , that doen ´t exist.
Regards
René -
How can I break the tool tips (tip strips) into to seveal lines?
I use the tip in "Description and tip..." to display tool tips (tooltips, tip strips, help cues, the little yellow strips with helpful information about a control). Some of the help messages are long, but the tips are still displayed on one line. In some cases the whole text can not be read because the tip is wider than the screen. I would like to be able to specify a maximum width of the tip, or to be able to manually insert line breaks.
Hi Nick
Actually, I write multiline string up to 256 char long in worpad. Then, I copy and paste into de tip dialog from pop up menu and it works fine.
Hope it helps.
Alipio
"Qod natura non dat, Salmantica non praestat" -
Can someone suggest any method to add tip strips for menu options ? I am going crazy searching for various possibilities
Thanks in advance
Prasaanthan.Unfortunately there is no way to put tips on menus.
To work around this problem I created that mimic windows menus.
Below is a menu window that I created. You can improve by adding other features such as enabling / disabling items.
To run you will need the "OpenGToolkit" and subVI SYS_cor_so.vi
It was made in LabVIEW 8.6 but can be converted to any version.
Attachments:
menu.zip 43 KB -
Hello
I recently had to write the tip strips (the little squares of info that pop up when the mouse hovers over something ) as part of the documentation of a large program with a complex front panel. It seems to me that it is important to get them out of the program into a file where the spelling can be corrected and the client can review them too.
This small utility program is available for download at http://tradersmicro.com/Downloads.html
Yours Sincerely
John
Attachments:
TipStrips.zip 67 KBHi John
Very interesting utility, mainly when you have to write tipstrips in 2 languages. This utility make very easy language switching.
Hope NI adds this functionality to next Lv version.
Cheers
Alipio
"Qod natura non dat, Salmantica non praestat" -
Tip strips only for the main VI?
my question is in the subject. So we need to use tip strips only for the main VI, since these tip strips give info to the user (who will only see the main FP), not to the programmer. Is this correct?
Solved!
Go to Solution.prusty wrote:
I have a boolean control.. is it possible to build a program by which if I press the boolean switch, Another VI will open up in the existing VI..?????
Your question has nothing to do with this post, neither with the certification forum
Why do not search the general LV forum, and if you do not find an answer, post your question in a separate post!
If you use an Event structure, make an event for the button, and put a subVI there. If you set the subVI as a dialog VI, it will pop up.
But there are many many different solution for this, all depending on your actual requirements.
Specify exactly what is your goal, and make a new post in the general LabView forum. -
How can you evaluate a graphed point in numbers
After you make a graph and incorporate a trendline. How can you evaluate that trend line at a specific x/y value point, even if it is not a graphed point in your table?
If you know the constants from the trendline then you can use them to extrapolate. To get the constants check the "Show Equation" box in the Chart Inspector > Series > Trendline
On the graph you will see the equation for the trendline:
In this case the equation is "y=2.6x + 2"
I added a new column to the data table and named is "Y extrapolated".
Then I highlighted the graph
Then click on the "sprocket " for the X values in the data table and select the "Share X Values"
Then click and hold the little circle at the bottom right corner of the selection in the table (to add the new column to the graph), then drag to the right one colum (my column is green).
Then in the new column add the formula as shown:
C7=2.6*A7+2
select C7 and fill down as need (by clicking and holding on the little circle at the bottom right of the selected cell).
I hope this helps -
LabVIEW XY graph point style bug
I have a XY graph showing two or more signals
I have seleced a circular point for the data poins of the first signal.
When I try and select te same point for the second second, it shows up as at diamond with an open space in the middle.
Bug?
LV 2011
Solved!
Go to Solution.This is the problem:
When access the plot legend and I choose THE SAME point style (First row, third column) for both graphs, why do they then appear differently in both the legends and in the graphs afterwords, just as shown in the picture ???
Simple as that.
I put the graph with data as an attachment so anyone can see if they get the same. LabVIEW 11.
Attachments:
XY bug.vi 11 KB -
Hello,
is possible to draw in XY Graph each point with coordinates like on attached picture(but this is only photomontage). On picture is standard XY Graph, with "Fill Base line to zero", but this is not important. Important is how to equip each point with text label like in Excel (picture 2).
Does anybody know the solution?
Thanks
LV 2011, Win7
Attachments:
pictures.zip 14 KBOne method is to use blank cursors with labels to add text to points. Mads gives a good example of this here:
http://forums.ni.com/ni/board/message?board.id=170&message.id=64788
2006 Ultimate LabVIEW G-eek. -
Forgive me if this is the 1 millionth time this has been asked.
I am using iWork 9.0 and specifically Numbers, I want to create a scatter graph.
So a table looks like this:
A 100 120
B 120 100
C 100 100
I want to create a scattergraph with these points that each point is labelled A, B and C.
On other parts of this forum I have seen that you can create and XY and drop the pairs in, but I can't seem to get the labels dropped in. So can someone explain this to be in simple terms (forgive me i have used Excel for years and have a little macro that does this for me).
Thanks in advance.It might be easiest to see a screen shot but I'll try to describe it with words. You can't get different labels on the three points if they are all in the same column, as they will all be of one series. You need the Y data in three different columns.
B2=100
B3=120
C1="A"
C2=120
D1="B"
D3=100
E1="C"
E2=100
Grab all the data B2:E3 and create a scatter chart. It'll look messed up at first because it plots the four columns as two sets of X-Y pairs. Where the data is highlighted on the table, click on the pinwheel and choose "share X values".
Another option, of course, is to drop text boxes near the points on your chart with A, B, and C in them. -
Displaying multiplot XY graphs point by point
Attached is a vi showing two methods for displaying plots point by point, the second method is usually but not suitable for my application because it needs one shift register per plot.
I'd use the simplest method (the first) to display a graph with only one shift register but the XY graph does not accept more than 2 plots!
Attachments:
Tableau 3 courbes XY.vi 26 KBThis may just point out my relative newness to LabVIEW, but what is the problem with having a separate shift register for each plot on the graph?
Cameron
To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.
To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
LabVIEW Unit 1 - Getting Started
Learn to Use LabVIEW with MyDAQ -
Continual graph points updates xy graph
Hi i was wondering if there was a setting on xy plots so that it would plot all previous points, given a changing value of x and y.
Sort of like the wave form updates graph, but so that i can use both axises for values, and the x axis doesn't become the ongoing count?
It may be blatantly simple, but i'm trying to create a graph that will trace a path out with a changing x-y values, but keep a tail behind it of where it has been right back to the first point.
I also thought it might be possible to store the data in an array and feed an ever enlarging array into the graph but that seems to have out witted me, and i was wondering if there was a simpler method?
please help!!!Found a method that is rather simple.
If you are generating the points from a changing singular numerical value then by feeding these into an array with cocatulate inputs on, then the values will simply build into two 1d arrays, updating with each new point,
a picture is attached if anyone has a similar problem.
- i knew i knew how to do this, it just didn't work the first 3 times.
John P.
Attachments:
solution.JPG 25 KB
Maybe you are looking for
-
How do you restore your old iphone 4 contacts to your new iphone 4?
I recently brought my old iphone 4 to the apple store for hardware repair and they simply gave me a new one. I backed up my old iphone4 settings into itunes but when I plugged in my new iphone 4 into itunes, it asked me to register a new phone. Are m
-
Hello, i have a problem with my wifi on Iphone 4s, it's always turn off....?
-
International Address versions updation in SAP Bank master using BAPI
Is there a function module/BAPI to update the adrc and related tables when the bank master creation is done?The bank master creation is done via BSP pages. Regards,
-
BRBACKUP error on DEV - Tivoli
Dear all, We got error on Online backup . pls check the below log . BR0229I Calling backup utility with function 'backup'... BR0278I Command output of '/usr/sap/IRD/SYS/exe/run/backint -u IRD -f backup -i /oracle/IRD/sapbackup/.beejfoth.lst -t file_o
-
Dear All, Following is our settings : ./imsimta version Sun Java(tm) System Messaging Server 7.0-5.01 64bit (built Feb 19 2009) libimta.so 7.0-5.01 64bit (built 01:02:47, Feb 19 2009) ./configutil service.http.maxmessagesize = 52428800 service.http.m