Mixed signal graph with scroll buffer
Hi,
I am sort of new to LV and trying to achieve a mixed signal graph with a scroll back history my main problem is with what method to approach this
as graph doesn’t have history I need to add a history buffer of some sort but how do I have the graph show the desired range from that buffer
would it be more correctly to have a TDMS file saved and that the graph will do a X ms refresh to show the data
how much data can I put on a graph and were do I control it from - meaning is there some limitation of the number of points a graph shows ?
if so is there a way to say that if the full range I want to display is bigger then X time have the data shown be down sampled
I would appreciate if you can point me to reading material and or have a detailed example
thanks,
Assaf
Or, if the chart doesn't show what you need, you can save your data in a shift register or periodically in a file and call back a range into a (second) graph when needed.
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
Similar Messages
-
Hello, LV 8.2.1 notes indicates the following bug fix:
43SAIR2A Fixed an issue where LabVIEW crashes when you run a VI that contains a mixed signal graph with a multi-plot cursor.
I am running this version, and still have this behavior. Is there anything I may be missing, and/or certain circumstances that may still be causing this?
thanks in advance,
DarrenDarren:
I looked at the CAR ID that you mentioned and the issue has been resolved in LabVIEW 8.2.1. To verify something similar, I ran the attached VI and things worked just fine. Please feel free to send me the steps to follow to reproduce the issue you are running into in 8.2.1.
Regards,
Rudi N.
Attachments:
MixedGraphs.vi 15 KB -
Mixed signal graph with mulitple plots
Hello,
I am using a mixed signal graph in a DAQ program to display
the data from multiple channels after I'm done logging. The data is in a 2-D array and I'm bundling
it with a x0 and Δx just like a waveform graph.
Each row in the array has the data from each channel and I want each one
to be displayed in a separate plot area.
I know I can set each plot to a different y-scale using the properties
of the graph, or using the plot legend, but I'm using this in a sub vi and
would like this to happen automatically when it runs. I'll never have more than four channels so I've
made four plot areas, but it always just sticks all the data in the first plot
area. So how can I set up a property
node for the mixed signal graph to make this work? I attached the code I'm using for the bundle and graph.
Thanks
Doug
Solved!
Go to Solution.
Attachments:
mixed signal graph code.png 5 KBAfter working at this a little longer I was able to solve the problem. I just had to figure out which properties to control. The active plot and the y scale index nodes set each channel to a different plot. The picture shows how I set up the property nodes. The blue wire is the number of channels that I was using and the strings are the channel and cursor names. I know there's probably a better way to do this but I'm not a software engineer, and the guess and check method of programing has worked for me so far.
Attachments:
New Picture (5).png 26 KB -
Formatting a mixed signal graph
How to remove the empty spaces in the mixed signal graph ?
When I load the mixed signal graph with data there is a very large portion between the graphs and the label which is blank (white)
I want to get rid of this blank area and increase the size(length) of the graphs how to do this.
Please see attached screen shot.
Solved!
Go to Solution.
Attachments:
Graph_issue.JPG 230 KBHello,
Any appearance setting that cannot be found under the Properties of your graph can be modified by setting you indicator/control as a customized control. To do this, right click the graph; go to “Advanced” and “Customize…” You will get a new window were you can customize your control. Below the “View” menu you will find a button to “Change to Customize Mode”, after you click on it you will be able to resize and move every individual part of this graph.
If you need additional information about custom controls the following article could be very useful:
Creating Custom Controls, Indicators, and Type Definitions
http://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/custom_cont_ind_type/
Thanks!
Jorge
Applications Engineer
National Instruments
Certified LabVIEW Associate Developer (CLAD) -
Hi.
I have a mixed signal graph with a multiplot cursor, I need to read the Y values from all the plots, but the property node Cursor.Pos.Y only returns one value, the non interpolated, how do I get the rest of them?Ok, about the interpolation. I think it does not interpolate anything.
Plus: the jumping of the cursor seems to be related to the different starting times of the signals.
I've changed your VI a little, please tell me what you think. I'm very interested.
Attachments:
MixedSignal9sp1.vi 19 KB
MixedSignal8.6.vi 14 KB -
Errors with multi-plot cursors on Mixed Signal graphs
Using a Mixed Signal graph, it seems that a multi-plot cursor does not snap correctly if XScale.Multiplier is not set to 1 - it seems to ignore it altogether. A single-plot cursor on the same graph does not have this problem. Am I missing something?
In the attached VI, XScale.Multipler = 0.1, and Cursor 1 (Single-Plot) shows the correct value, but Cursor 2 (Multi-plot) does not.
Attachments:
MixedSignalCursor.vi 14 KBHello,
The behavior I see is that the multi-plot cursor which is snapped to plot 0 seems to generally follow an "imaginary plot" which corresponds to a scaled version of plot 0, where the scale factor is the value wired to the XScale.Multiplier property. I don't think this is desired behavior so I have filed a corrective action request to R&D to have this addressed. I am sorry for the inconvenience - hopefully you can live with an X-scale multiplier of 1, or the single plot cursors for the time being. It also takes the offset property similarly, offsetting the "imaginary plot" by whatever value is set there.
In any event, if this poses a significant problem with additional contingencies, please let me know and I'll be sure to include any updated information in the corrective action request!
Thank you,
Best Regards,
JLS
Best,
JLS
Sixclear -
LabVIEW 8.6.1 did not fix glaring Mixed Signal Graph bug :(
I'm pretty dissapointed that NI has JUST NOW released 8.6.1 (more than 6-months after releasing the buggiest LabVIEW version, ever). The Mixed Signal Graph bug still exists and is very annoying. The visual bug occures when you add more than 1 plot on a mixed signal graph and then try to resize the legend. The Y-Axis labels do not move appropriatly. You really can't resize the legend with this bug.
Where can I find a list of known bugs in LabVIEW and verify that this is in that list? How can I add weight to this bug report so that NI will address it for the LabVIEW release? How can I express to NI that I don't want LabVIEW 9 until they can fix all the problems in v8?LV_Pro wrote:
One way might be to get in on the LabVIEW 2009 Beta, see if it fixes the problem, if not, report it while there may still be time to fix it.
Not sure about the "buggiest version", v2.5 had its share. Had to save your work every 1/2 hr. or risk loosing everything when you got the almost guaranteed "insane error" which always seemed to occure when you had done the most editing since your last save.
Message Edited by LV_Pro on 02-10-2009 09:07 PM
The OP obviously never had to work withLabVIEW versions prior to 5.1.
And while 8.6 had a few nagging bugs including visual ones it is actually quite stable and good. No comparison with 8.0 for instance or even 8.0.1
Nickerbocker wrote:
I'm pretty dissapointed that NI
has JUST NOW released 8.6.1 (more than 6-months after releasing the
buggiest LabVIEW version, ever). The Mixed Signal Graph bug still
exists and is very annoying. The visual bug occures when you add more
than 1 plot on a mixed signal graph and then try to resize the legend.
The Y-Axis labels do not move appropriatly. You really can't resize
the legend with this bug.
Where can I find a list of
known bugs in LabVIEW and verify that this is in that list? How can I
add weight to this bug report so that NI will address it for the
LabVIEW release? How can I express to NI that I don't want LabVIEW 9
until they can fix all the problems in v8?
You just did! But unless you are a site with several 1000 LabVIEW licenses you will not outweigth those other customers who do have that many licenses and do want more features as soon as possible rather than an annoying graph display bug getting fixed.
Rolf Kalbermatter
Message Edited by rolfk on 02-11-2009 10:02 AM
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Drag and drop from a Mixed Signal Graph to another?
Using a Mixed Signal Graph a trace can be dragged from a plot area and dropped to another one in the same Graph.
Is there a way to have the drag and drop working between two different graphs?
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 EmbeddedHi Antonios,
when I need some graphs one under another I use different plot areas, and this is perfect.
But when I need 4 plots forming a 2x2 matrix, the only solution I think to is two MSG side-by-side (each one with 2 plot areas).
I know there is the XY Plot Matrix, but it doesn't have the capability to drag and drop the traces from a plot area to another!
I think this is the best graph feature available in LabVIEW, but unfortunately only the MSG has it (as far as I know).
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 Embedded -
Mixed Signal Graph, Selected Cursors, and Cursor Position Problems
I'm trying to work around an issue with a single multiplot cursor on a mixed-signal graph (doesn't work right, R&D bug report #100830) by grabbing the selected cursor x-position and updating that position across all four cursors, as seen below:
However, I'm having two problems.
One, the selected cursor is not always the actual selected cursor. Quite often, especially when selecting and dragging cursors 3 & 4 (indexed 2 & 3), the selected cursor shows up as 0 or 1.
Two, and the one I'm more concerned about, is the fact that the four cursors X-positions never completely line up. In every case, whichever cursor is deemed to be "selected", the other three will align to some point (the same for all three) that is offset from the actual value. Please note that the X-values in my demonstration are identical (1000 points from 0.001 to 1) so I don't see this as being some snap issue where the value is offsetting to the closest available on the other arrays.
I've attached my scratchpad demo.vi as an illustration.
Any help or insight is appreciated.
Thanks,
Mike Webster
Attachments:
demo.vi 47 KBI believe I found where the issue resides at least and a workaround. This is a problem with XY graphs in general when trying to programmatically control the cursor position. Somehow, the software goes looking for the nearest point instead of the identical point and has some sort of issue with its search algorithm. Switching from attempting to match position to copying the cursor 'index' completely cleared up the problem I was having. In the particular application I'm working on, the four graphs have identically spaced data on the X-axis, so this solution should work fine for me.
-
Again mixed signal graph and Labview 2012
I have just experienced a weird change in labview 2012 on the mixed signal graphs. In a preliminary analysis, it seems that the most critical behavior is related to the silver mixed signal graph, although i didn't have the time to test the standard one.
Straight to the point... the property "plot area size" not only resizes the plot area, but also the graph; this is in contrast with what happened previously in LV2011. If the graph belongs to a subpane and if the property "fit control to pane" is enabled, the area resize prevents the graph from correctly fitting the pane.
Any suggestion?
cheers
m.
Attachments:
MixedSignalDisaster.vi 13 KBI think that since this behavior is a regression (working properly until LabVIEW 2011 SP1) this should be fixed as soon as possible through a specific fix, without waiting for the next Service Pack.
This regression has been blocking the development of our application.
Could someone from the NI support give an answer, please?
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 Embedded -
Delete Plot Area in Mixed Signal Graph
Hi,
I would like to delete not needed graphs and groups in Mixed Signal Graph but I see when I right click on the graps the Delete Plot Area is disabled and grayed. Could you please let me know how can I delete plots and groups in MIxed Signal Graph.
ThanksSorry, too snarky.
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 -
Mixed Signal Graph Legend Plot Name and Graph Area Y Scale Name hidden
I have a customized mixed signal plot grpah and it when the plot names are written to it, it autosizes things and they are in chaos with overlapping text. Is there a way to fix this? I am also expereincing several labview crashes...
Attachments:
Mixed Signal Graph Problem with Legend and Y Scale Fit.vi 9 KBHi id,
i am having the same problem,
if you were able to fix it, can you please share your fixing method.
appreciate it
Thanks -
im having some problems with refreshing my mixed signal graph. This was my first try to get this to work. It basicly does what i want after i intitialize the values in the array and press
the run button. Ever time after it seems the initial values of the dc waves seem to be retained by the graph making its last endypoint the new start point.
i would like the graph, or the information going to the graph to reset every time i press the run button
Attachments:
mixed signal 1.vi 401 KBHi xciene,
In order to reset/clear the graph ever time you run your VI you can use a invoke node for your graph to programmatically call the "Reinitialize to Default Values". To manually reset/clear your graph you can right click it on the front panel and select Data Operations >> Reinitialize to Default Values. However to do it programmatically follow this process:
Locate your Mixed Signal Graph indicator on your block diagram
Right click it and navigate to Create >> Invoke Node >> Reinitialize to Defaults (see attached screenshot)
Place this invoke node in the sequence frame in which you want the graph to reset (if you want it to right away place it in the first frame)
If you nagivate through these property/invoke nodes for controls and indicators you can find that alot of the items that you do manually can be automated. I hope this helps direct you down the right path. Thanks and have a great day!
Cheers,
Jonah
Applications Engineer
National Instruments
Jonah Paul
Marketing Manager, Embedded Software
Evaluate the LabVIEW RIO Platform! - ni.com/rioeval
Attachments:
forum_mixed-signal_reset.JPG 81 KB -
I have a mixed signal graph that allows me to drag and drop my traces between the plot areas, then it stops allowing it.
If I start with a new graph it allows it but eventually stops allowing it.
I have 4 XY charts feeding the one mixed singal graph through a bundle function, then I run it once and drag my traces to the correct plot area
and hope that it keeps working.
Best Regards
Tim C.
1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!Hi Tim,
That sounds like some interesting behavior. Can you reproduce what you were seeing, or have you continued to be able to drag the signals to other plots since you saved and reopened your program?
Jennifer R.
National Instruments
Applications Engineer -
Changing time scale for mixed signal graph
I want to change time scale for mixed signal graph 1 day or 5 day of realities?
And what exactly are you having problems with? If you want to use a property node, it's Xscale.Maximum.
Maybe you are looking for
-
Restricting access to a web app to an IP range
I imagine this is possible, but can seem to locate how to do it. Any help? Thanks, Eric
-
DVD encoded with PQDVD converter is not full screen on iPod
I have just encoded a DVD with PQDVD iPod converter (www.pqdvd.com), it has an aspect ratio of 2:40:1. I stretched the movie in pqdvd to 320X240. Once finished when I watch it on my iPod it isnt full screen with black bars on top and bottom. I have t
-
How do I put movies on the New Ipod video? Help
Hi, I just got this Ipod. How do I put my movies on it?
-
How do I prevent the use of electronic signatures?
I have numerous fillable forms that my office makes available to the general public. The forms must be printed and signed by hand. However, we continually receive the documents with digital signatures, and I need to find a way to prevent Reader fro
-
TS1988 unable to clear trash bin
i have deleted some music files but they still show in the trash,even after secure delete, i have checked and all the files are unlocked, they are not files that are incomplete but it still wont let me delete them, any clues as to how i might get ove