Putting cursors on a strip chart
I have inheritated old code that records and diplays temperature over a few hours time with 20+ channels. I was hoping that there was a way to get a cursor on a strip chart that could display the x and y value at a given drag point of the cursor on the displayed data. I know that the cursor pallet is available on the plots but not on the charts. Finally, the way the data is broght in and handled a chart is the best way to display the data. Using a plot would require significant re-write. Any suggestions?
Solved!
Go to Solution.
I found an example that relates to this issue:
https://decibel.ni.com/content/docs/DOC-8464
There is also an explanation of two options you have to recreate settings similar to a plot/graph:
http://digital.ni.com/public.nsf/allkb/B1B0877A28D75D4086257592002F0AB7?OpenDocument
Applications Engineer
National Instruments
Similar Messages
-
Cursors for strip chart controls?
I’m using a strip chart control to plot data during real-time. I allow the operator to pause the chart to view old data. The operators would like to be able to see a specific value when the chart is paused, either by enabling cursors, or clicking over a point on the chart with the mouse. I don’t see any way to do this for a strip chart control, or am I missing something?
Thanks!
Angie
Edited to add: I'm using CVI 2010.Some ideas have been suggested here and here, may be it's of interest
-
Hi y'all
is there a way, besides just putting one strip chart on top of another strip chart and have it aligned just right to hide the x axis and be on the same x scale as the others. For example: Schart #1 represents the pressure in the system, Schart #2 current , Schart #3 voltage.
Now I could have all these on one strip chart but while acquiring data it is hard to determine one line from another when you have 16 channels scrolling past on the same strip chart.
What I am looking for is something like the digital graphs where you have multiple views on the same x axis.
Is there a way to do this besides stacking strip charts on top of one another?
Are there any proposed changes coming that would include this?
ThanksAs far as I know there is no possiblity to obtain your goal other than stacking more charts one on top of each other. The digital graph is lot more simple as digital signals can have only 0 or 1 value, so it is possible to plot them on the same graph with some y-offset without losing the real meaning of the signal itself. With analog signals this is considerably more complex, as each of them must reference to an analog scale.
Alternative ways to address your situation are to use the secondary Y-axis to hold some of the plots or to use the legend to permit hiding/showing individual plots to make easy to the user to read the chart.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
Hallo,
I have a little crazy question - is there some possibility to access strip chart history buffer?
I'm just lazy to develop data circular buffer management ....
Thanks a lot for any hint!
GeorgeHi, Evan,
thanks for reply.
My idea is use already used memory of the strip chart (not duplicate the amount of allocating memory) - mainly to export recorded traces - e.g. when user decided: "this is interesting - let's make some analysis of this, maybe at home".
The Strip Chart hasn't simple solution to use cursors - and by exporting the history buffer (traces) to some file / array is quite easy use standard graph with cursors etc.
Of course, the cicular buffer is OK.
George -
How to set legend of strip chart in CVI8.0
Do somebody know how to set legend of strip chart in CVI8.0? I know that in CVI8.5 SettraceAttributeEx() can used to set legend of strip chart, but in CVI8.0, there is no the function. Thank you very much.
Hi Ravi,
If I am not wrong You are referring to article <b>Queues for Prioritized Message</b>. But this is about how to Prioritize message inside XI.
What I am intresetd in is to set a message priority (for example "2")for the message going to MQ. That is when the message reached the detination queue the priority of this message should be 2 in the queue.
Thanks
Abinash -
Hello,
I have a strip chart and want to set the x-axis to current time from system.
How to do it please?
ThanksGive this a shot:
http://digital.ni.com/public.nsf/allkb/6F0054EEABAFE4B886256F2700012142
Mark P.
Applications Engineer
National Instruments
www.ni.com/support -
Generate report (just data out) from strip chart (DEADLINE LOOMING!!)
I have a VI that contains a dual strip chart ( Scalar data / Double precision floating point numbers) running in a while loop. One of the strips contains pressure information, the other contains deflection information. I need to know how to gather that data as it is recorded, save it to some kind of container during testing, and then output it in a format that I can see columns on Wordpad. Still waiting for MSOffice on my machine. I have tried several approaches, all of which ended in generating only the last 2 values measured. THis is a VI I just threw together yesterday, and it will be relaced by a (nearly completed) state machine next week. I just need something to hold me over until then... I have very little time left before my boss, who thinks LabVIEW is "Black Magic" comes back here to see my test run!!
One should welcome adversity as an opportunity to excel.Thanks LVGWB!!! You are a guru. I used the example to which you pointed. It worked great. I think I will still have my job. Being a newbie it is kind of overwhelming all of the "apparent" choices available. I appreciate you steering me to a good one. Chris
One should welcome adversity as an opportunity to excel. -
My question is quite simple:
I have a sequence, with let say 2 frames, in each one of them, there is a loop in which data flows. I have created a strip chart which plot the data from the first loop.
What I want:
I would like to keep the same chart so that when the loop in 1 is over, it starts plotting the data from the second loop.
Thank you,
Noel
and in similarly, I would like to know how to use one numeric input and use it in 2 different loops without having to make the wire go all around the VI.
Message Edited by Akatsuki on 11-28-2005 05:35 PMSorry,
herez the VI ;-)
Attachments:
2loop _chart.vi 27 KB -
migrated from mobileme - now cant send emails or attach to emails before even trying to send (when i put cursor over the paper clip it stays a a bracket) and many of my contacts were lost !
I agree with the Thomas, in that I think you have mucked up your settings in the AOL account. Your username should be something like - [email protected] Your password is whatever you use as the password.
You could try deleting the account and start over again. Here is a link to a "how to set up AOL email " on the iPad. It is 4 or 5 step process and just make sure that you are entering the correct information in the correct fields in the set up. Among my 4 email accounts on my iPad, I have 2 AOL accounts. I have no problems at all and it was really very easy to set up. There is no reason why AOL email should not work on your iPad.
To repeat and emphasize - Just make sure that you are entering the correct information in the appropriate fields as I think that's where you are making your mistakes.
If I had my choice, I would probably chuck the AOL accounts as well, but I have all the spam filters set as high as I can on the server, and it has cut down tremendously on the spam. Unfortunately - we set up AOL accounts at my workplace years ago and I really hesitate to change them now, so I continue on with these, but like I said, they work fine and they were very easy to set up.
http://convert-dvd-ipad.com/dvdipad/set-aol-email-account-ipad-manually/ -
Create spreadshhet file from strip chart data
I have written a VI which displays a cluster of 4 data inputs on a strip chart.(4 traces)
I would like to send the same data to an excel spreadsheet but I can't get the data int a siutable format.
I then need a siutable VI for generating the spreadsheet file.I am assuming that your cluster is of 4 1-d arrays. Based on that, you could unbunble the arrays, feed them into a Build Array, which should give you a 2 d array, and then use the Write to spreadsheet file vi in the File I/O pallete. All of the lines of data will probably be "horizontal" in the file.. If you want it listed "vertical", you can use the Transpose 2 d Array in the Array pallete.
If this does not work, please provide some more information on the data and vi that you are using.
Kenny -
How to put cursor in a text field
hi,
I have a text field in my jsf page.By default I want to put the cursor into this text field.when a letter is entered into this text field,the data table below this text field must change depending upon the value entered into the text field.After this change also,the cursor must be in the same text field.
how it is possible.
when I entered any letter in this field,there is a call to the server.the cursor must be in that textfield after the call.Use DOM+JS.
With element.focus() you can set the focus on the desired element.
With the 'onkeypress' attribute you can execute some piece of Javascript on every key press, for example submitting the form or doing an AJAX request. -
Cursor legend for waveform chart
Greetings again. Is there a method to turn on the cursor legend in a waveform chart (like in the waveform graphs)? I'd like to allow a user of my application to be able to select a portion of a chart and have the application report the value plotted.
I am acquiring data via the Analog In channels of a PCI-6036e at 1500 Hz to plot in real-time. I tried plotting my data with the waveform graph but it only shows the latest readings and does not scroll the data. I know I could build an array and rotate through it as the data comes in but that seems like a lot more effort just to be able to use the cursor controls to highlight data.
Any ideas? Am I being too brief?
Thanks-
-dennis.Cursors are only avalaible on graphs, not charts. There was a post on this subject yesterday...
See http://forums.ni.com/ni/board/message?board.id=170&message.id=102968&jump=true
CC
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left... -
I'm using Windows XP and this issue just started this morning. For some reason my firefox crashed. I got everything fixed but now when I go the the top where it has "File Edit View History etc" and I put the cursor over it the word blanks out. It never used to do this and I can't work with it like this. I prefer Firefox over any other web browser. Please tell me how to change the settings so the word stays there when the cursor highlights it and doesn't disappear. Thank you.
Did you already reboot the computer?
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe Mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Want to put horizontal lines on bar chart.
I want to put horizontal lines across groups of bars in a bar chart depending on the mean or median. So every group of bars in a bar chart will have a line across them and their position will depend on the values of mean or median.
ThanksI really don't know. I don't have LV open in front of me. Look at the examples (Help>>Find Examples). Read the help. Play with it yourself - create a small VI with a chart and a loop and see what happens when you bundle values or build arrays.
Try to take over the world! -
Putting cursor in input text field
I'm trying to put the cursor in an input text field as soon
as I get to a certain frame. I'm using Selection.setFocus() but it
does not seem to work. It returns true but I still can't see my
cursor and I can't type to the field until I click in it or tab to
it. Does anyone have any ideas what I'm neglecting to do?mmmm just did that, I don't get the carret, but I can type
just to be pedantic you did pass the TextField instance ie
Selection.setFocus(myTextField )?
Maybe you are looking for
-
I just want to purchase everything in my wishlist all at once. Can it be done?
-
so n
-
Deleted film from purchases, how do I get it back?
I bought a film via my ATV, when I tried to download it onto my mac through the iTunes Store I kept getting a error -58. I have my iTunes library on a Nas, and I think this is the problem. After the error message the movie was marked as downloaded a
-
Suggested workaround for list itemrenderer bug?
Can someone point me in the right direction for a workaround for the problem described as Flex bug 28191: https://bugs.adobe.com/jira/browse/SDK-28191 Steps to reproduce: 1. Populate a Tree/List with data and provide a custom itemRenderer class facto
-
Very urgent: regarding display of parent material
hi, i had been working on dis report and i hae to display the parent material on top and sub material in dis BOM structure report. plzz help me out as i have to submimit dis report with 1 hour as help will be definately rewarded. TABLES: MBEW,