Problems with Waveform Graph
When I add a Waveform Graph into the Front Panel, the Block Diagram Window shows it as DBL instead of the usual indicator for the Graph. How can I solve this problem?
Attachments:
Question.vi 9 KB
I don't see what the problem is. The default waveform graph type is an array of doubles and that's what your diagram has. If you create a waveform data type and wire it to the indicator, it will change the graph's icon.
Similar Messages
-
Using General Polynomial Fit VI with waveform graph
Hello gurus ,
I would like to ask how to use General Polynomial Fit VI with waveform graph not GraphXY .
Waveform graph is giving me an array of values not X , Y i think , what should i do ?
Thanks in advance
Solved!
Go to Solution.Hi Omar,
i changed the shipped Labview Example to use the General Polynomial Fit VI with a waveform graph.
But why don't you want to use a X-Y-Graph?
Regards
DianaS
Attachments:
test.vi 37 KB -
Problems graphing FFT of sine wave with Waveform Graph
I know that this type of question has been posted
many times, so I apologize for posting a similar one. Unfortunately,
after reading quite a few threads I still have a question or two.
Basically, I need to use a Waveform Graph (not an XY graph) to graph
the magnitude of an FFT of a sine wave. I can't figure out which VI I
should be using to obtain the magnitude of the FFT. I think I'm using
the proper FFT vi (just the regular FFT.vi), but I can't find a VI
dedicated to magnitude. Of course, I could be misinterpreting the
pseudocode which I am following.
If you
wouldn't mind taking a gander at my VI, I'd appreciate any input you
might have. The pseudocode is contained in the block diagram. You
can see that I have another graph for just the sine wave, and I think
that works as it should. I'm primarily concered about the waveform
graph which isn't currently connected to anything, but should
eventually be hooked up to the FFT.
Thanks!
Attachments:
Labview5.vi 199 KBYour problem is that the output of the FFT is an array of complex numbers. Take the magnitude and you will be able to plot it.
-
Problem with Waveform Chart updating
Hi!
I have written a LabVIEW project for 8510.
I have a problem with the waveform chart not updating the data incoming to it.
that is, Y axis does not update according to 8510 display format.
May you help me?
Attachments:
Network_Analyzer_8510C_nazanin_5.lvproj 6 KBHi,
Do you want to change the label???
1. Just right clicl your graph
2. in the properties window go to 'Scales' tab
3. select the Axis, and change the name.
Is this the solution regarding your issue....
Or
do you want to change the domain from Time or Frequency...??
I am not allergic to Kudos, in fact I love Kudos.
Make your LabVIEW experience more CONVENIENT.
Attachments:
Solution.vi 265 KB -
How to connect with waveform graph?
hi
i would like to know how to simulate wave form graph the input is randon number ?My problem is i cannot connect with wave form graph...
can u show me example..like using arrary...or something else..i looking forward ur reply
thank uI have an example that you may want to look at here.
The example was for a signal generator, but there is a waveform graph to show the selected waveform. It is an extremely basic program, but might be a good start.
RayR -
I have attached with my message the report I try to print. It is a Labview 6 vi.
I had no problem with Labview 5. But with Labview 6, the plots are shopped (all the rest of the report is correct). What is printed is not what I see.
The graph is intentionnaly built very large, then rescale to fit page, in order to improve the print quality of the plots. I repeat it, it worked fine with Labview 5.
Thanks if you can help.
Lionel.
Attachments:
Print_of_large_scale_graph.vi 284 KBHi Lionel,
I experienced a similar problem days ago: re-compiling a vi from LV 5.1 to LV 6.0.2 its front panel could not be printed anymore; no error, just a blank sheet.( The mass compile procedure did not reported any error).
The only way to get out from this headache was to re-build the vi in LV 6.0.2, I simply selected all its diagram and copied it in a new vi, saved it and I got print-outs!
Try it.
Good luck,
Alberto -
Problems with 3D graph application redistribution
Hello wireworkers,
i wonder if
someone encountered problems with distribution of application that
uses 3D graph objects. I've created application that uses NI 3D graph
component and created installer with "Enable 3D graph support"
check box enabled. However after installing this application on the
windows machine without Labview two problems appeared: 1) "Error
loading control. A newer version needed. The default settings for the
control will be used." and after it 2) "You have 30 days to
evaluate the Measurement Studio ActivX control..." and something
like that. I don't get it. Why some newer version is required? and
what with that evaluation period?
Have any hints???
Thank you in advance and Merry
Christmas to everyone.
Alex
www.xinstruments.com
Custom Software for Industrial Automation
www.hdrconverter.com
Picture processing made easyHi Alex,
I tried the process you described on my machine using LabVIEW 7.1 and could not reproduce the behavior. If you can clarify the version you were using that will be helpful. I will have to clean a test machine and try it again without LabVIEW installed, and get back with you if the problem appears. In the meanwhile, I found the following KB which, while not referring to the exact same problem you are describing, does address the evaluation message issue. You can try to follow the steps at the end of the KB, and let me know if that worked.
http://digital.ni.com/public.nsf/websearch/1E1FB3C19E8E0A9986256F8D0077D0E6?OpenDocument
Regards,
Aluma G.
National Instruments -
Hello friends.
I'm in learning lab view and have some questions.
I get a signal with an Analog to Digital converter (an Atmega 32) and send data to com port .
I convert my data to real value in voltage and time .
But i have problem with show wave form in different frequency .
By Increase of frequency , waveform chart can not draw my data Clearly.
What i do to show data in different frequency ?
Thanks .
Attachments:
t4.vi 13 KBInterfacing with hardware is seldom easy. That is why I lean toward NI stuff since they have made there stuff resonably simple and they have good supprt.
When interfacing with hardware from others, we have to look fo rthe manufacuer of the hardware to provide enough support to get started.
So I suggest you contact whoever makes your device and get some examples from them.
Hopefully they have heard of LV and have drivers.
Otherwise, ther is no guarentee it will be possible.
If English is not your primary language, plese feel free to post in both English and your native language. We have contributors that can handle most languages so do not let English get in the way.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Problem with waveform chart: time scale does not show time correctly
Hello,
I have some problems with a chart.
I want to display some data and the time between two single data can vary. It is something between 50ms and 500 ms.
The problems I have:
1. The time is not shown correctly in the chart (allways 2:00:10 instead of the current time)
2. the data points in the chart have a distance of 1 s (x-scale). That is not correct.
I have tried several things but I thinkt I am on the wrong track.
Could you please help me?
Johannes
LabVIEW 7.1 (!)
Message Edited by johanneshoer on 10-14-2009 04:26 AM
Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
Solved!
Go to Solution.
Attachments:
Chart Test.vi 55 KBI have modifierd the vi again.
Now it looks much better.
I have a data array and the last 10 seconds of the data are displayed.
The array size is maximum 150 and that is more than I need to display. If new data is inserted, the oldest gets deleted.
I wonder if this style is efficient?
The time is stil not displayed correctly in the graph. Why does it always show 2:00:00 ?
Johanens
LabVIEW 7.1
Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
Attachments:
Chart Test 3.vi 57 KB -
I'am having problem with a graph property node by using format & precision
I would like to display an amount of data in a waveform graph and to choose the X scale to display absolute time (whitout date information) or scaled decimal value.
Absolute time is a must because the scaling should reflect the acquisition time and not only a value in hour, minute and second.
Using the property node I can choose between 10 differents formats (0-Decimal, 1-Scientific, 2-Engineering, 3-Binary, 4-Octal, 5-Hexadecimal, 6-Relative Time, 7-Time and Date, 8-SI, and 9-Custom).
Format 7 - Time and Date should be a good choice but LabVIEW set automatically system time AND system date without any possibilities to change anything.
Trying format 9 - Custom ends everytime with error 1077 (invalid property value).
Any help to explain me how to use the format Custom or to give me a solution to switch between time (no date) and decimal scaling is appreciate.
ThankIn addition to the Xscale.Format property node, you also need to set the XScale.FormatString (see a little below the Format entry).
Use %<%.0X>T as format string.
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left... -
HI!
I have a problem with my program. With this program i want to load a datafile and to display the data from the file on the xy-graph. i want to display 1,2,3 or 4 graphs on the xy-graph. The problem is, when i want to display only two graphs and i push the "... laden" button, a popup will open and ask me for the 3rd ord 4th graph, but i want only display two graphs.
The program should display the data, when there is a path added in the path-element (the white,red,blue or grenn one).
The second problem is, when i start the program and push the "...laden" button and no path added, a popup will open and aks me for files, but the popup should not open!
Could somebody help me???
TNKS
best regards,
peter
Labview 7.1 on Windows 2000
Attachments:
program.zip 30 KBHi,
The function you're using to open the file is automatically asking for a file name when you call it with an empty path connected to the file path input.
So, if you don't want to get the data when the path is empty, you should not call that function.
I've changed your vi to show you.
Hope it helps,
Paulo
Attachments:
Vergleich_XY.vi 93 KB -
User interaction with Waveform Graph
My application uses a Waveform Graph to plot data acquired from a
scope. The application does some analysis of the waveform data
and then uses features within the waveform as the basis for
controlling some external devices. The features (peaks) that
are to be used must be selected by a human operator. Ideally,
this would be done by having the user click on/near the peaks
of interest.
I haven't seen anything in Labview that looks like I can trap
mouse clicks within a screen widget. Have I missed that level
of functionality, or is there no feasible way of implementing
such an interface?
I am presently using a system of tables and sliders to allow
the users to select peaks, but the users are not totally happy
with the method.
I
am using Labview 5.1 on Sun Solaris.
Thanks.
--- RodOne approach would be to enable graph cursors and have the user click and
drag the cursor to the peak of interest. Cursors can also be set to lock to
the graph data You could also add another graph trace which only contains
peak points and then the cursor will only land on a actual peak point.
Mike Sachs
Intelligent Systems
"Rod B. Nussbaumer" wrote in message
news:afal8d$37q$[email protected]..
> My application uses a Waveform Graph to plot data acquired from a
> scope. The application does some analysis of the waveform data
> and then uses features within the waveform as the basis for
> controlling some external devices. The features (peaks) that
> are to be used must be selected by a human operator. Ideally,
> this would be d
one by having the user click on/near the peaks
> of interest.
>
> I haven't seen anything in Labview that looks like I can trap
> mouse clicks within a screen widget. Have I missed that level
> of functionality, or is there no feasible way of implementing
> such an interface?
>
> I am presently using a system of tables and sliders to allow
> the users to select peaks, but the users are not totally happy
> with the method.
>
> I am using Labview 5.1 on Sun Solaris.
>
> Thanks.
>
> --- Rod
>
> -
Problems with XY Graph "forgetting" plot properties
I am having trouble with an XT Graph in my loop.
The graph has 10 plots which at any time can have anything from 0 to ~1000 points, often some plots will have significantly less ploints than others. There is a user selectable option to display all points or just the most recent set.
My problem is that I want the graph to reflect the input data by plotting a single point at the time of an update, so I have a string of points rather than a line.
When I right click the graph and go into properties, I change the point style to solid circle and turn off line interpolation. I then click save these values as default, and save the vi.
However, once I run the vi, the graph always reverts plots 1 to 9 (not plot 0, this stays as I want it) to have no points displayed and line interpolation on.
Has anyone had this problem before? Ho did you fix it?
I know it can be fixed, as I had this probelm a few months ago on a similar vi and after weeks of struggle I solved it, however I just cannot remember how I did it.
Thank you for any help, at the moment I can't post any code. Note that the data the graph shows is all perfectly fine, just the plot properties are being forgotten.
Solved!
Go to Solution.HI DarraghCorrigan,
In relation to the problem expressed in your initial post:
"once I run the vi, the graph always reverts plots 1 to 9 (not plot 0, this stays as I want it) to have no points displayed and line interpolation on"
This is due to a bug in the LabVIEW software whereby any changes that are made to the plot properties (e.g. to change the colour of a plot) will not be retained, except in plot 0 which is unaffected. Our R&D department are currently investigating this problem so that it can be fixed in future version of the software. The recommended workaround for this problem is to pragmatically set the plot settings at the beginning of the code using property nodes.
As I understand it, this is not the main problem that you are experiencing. If you set up the properties for a plot (using some of the described property nodes) which is subsequently removed or rewritten on an XY Graph, my understanding is that there is no way that LabVIEW can remember and retain these properties.
As you rightly suggested, one way of conveniently overcoming this problem would be to set default plot properties so that when you remove/rewrite a plot and then add it again, it will always default to those properties. Unfortunately, it is not currently possible to do this though it has been recommended as a product suggestion so it is a feature that is under consideration for implementation in future releases of LabVIEW.
I think the issue you need to be addressing is the fact that you are at some point resetting the graph by sending an empty array to it such that all of your properties are lost. If you can find and remove this section in your code, you should be able to overcome your problem.
I hope this helps.
Best Regards,
Christian Hartshorne
NIUK -
Hi guys,
here I am again with another issue... I just need your help to a small issue, the attached VI is my project...the problem i have is that my waveform chart only shows 0.065 seconds of data, i needed it to show the total time of the test...if possible, coordinated with the time selected by the user in "time to test"...
Is it possible?
Can anyone please help me?
Best regards,
Jimmy
Attachments:
Ensaio de Rugosidade_01.vi 221 KBHi,
Right click your chart and select properties. In properties set the X axis scale minimum and maximum values as per your requirements. Select autoscale if you want it to be automatic. To set the X axis scale programmatically, select the property node X-axis->Range and wire the limits accordingly (in your case, you can wire it to the "time to test".
Regards,
Nitz
(Give Kudos to Good Answers, Mark it as a Solution if your problem is Solved) -
Problem with Waveform Chart X scale
Hi guys.
I am new here and Labview, sorry for my english wrongs. I am from Brazil.
So, i try have an absolute time in x scale, from my waveform chart, but the VI don't execute this. I wish make like the picture in annex. It´s the only problem in my project.
I Use Labview 8.6 version.
Please help me
Icaro Kossmann
LabVIEW 8.6 Newbie.
Brazil
Attachments:
tela labview.png 46 KBKossmann wrote:
This is a print of block diagram with a close in waveform chart.
Your chart does not get any timing information, thus you need to set the dt manually or with a property node according to the update rate of your code (we cannot tell from the picture).
If you want absolute time, you also need to set the t0 according to the start time of the chart. Then you also need to select the desired time format of the axis.
(It really does not help to show us code pictures. I recommend you attach the actual VI.)
Kossmann wrote:
The datatype is 14 channel with single precision, and the format of the x-axis is absolute time, but, the VI don´t show it. And i wish to show divisions on each 5 min.
Instead of telling us what it does not show, tell us what is shows instead and what's wrong with it.
LabVIEW Champion . Do more with less code and in less time .
Maybe you are looking for
-
How to consume Stateless session bean (ejb3.0)
Hi, Using SAP NWDS, and Java EE 5 engine, I created an EJB 3.0 project (using the wizard) that includes my bean, local and remote classes with the correponding annotation. Now I have headhackes trying to consume (at least to call a methode from my be
-
Hi, I recently swapped out hard drives and when I did a Time Machine backup to the new drive, I noticed there was no Recovery HD partition for my drive. Is there a way to install it back on my MacBook Pro (Late 2011, running 10.7.4)? On a slighlty di
-
How do I transfer music from itunes on my new Macbook to my new iPhone 4
Hi, I am very new to this and while I see a previous post on this subject it does not help. Is there a link to how I can do this, its prob simple but I need a hint please. I have sparkly new iPhone that I cant get my music onto. Looking for transfer/
-
How do I create a new line in a pdf document?
Hello, What I am doing is taking a compilation of information from multiple tables, displaying it in a textarea, allowing a user to change the information that is present in the text area if they wish, and then allowing them to create a pdf file. I a
-
Not all calendar entries sync with desktop & Outlook
I'm running V5 of the DM and the OS on my 8900. I have 4 different email addresses on by blackberry - 2 regular internet email, 1 gmail and 1 facebook. Calendar entries from only one of my internet email address will sync back to Outlook. I just trie