Question from waveform chart
Hi,
this must be a simple question, but I want to "fix" time axis "between 0sec and 10sec" although the running time of my vi is more than 100 sec, i.e., I want to reset the waveform chart every 10sec. Please help me out thanks.
Maybe this is what you want : just configure your waveform chart to "scope chart" (right click on chart then "advanced" and "update mode")
See attached picture.
regards,
xavier
Attachments:
Exemple.jpg 90 KB
Similar Messages
-
Capture Wave Form from Waveform chart
Hello,
I am trying to capture the waveform from the waveform chart save it as an image.
The reason I am not saving the data is that we have a lot of test data and we do not want to plot hundreds of waveform again manually.
Does anyone know how to do it?
Thanks!
Solved!
Go to Solution.Here's an easy way to save an image of the chart.
You can save only the chart as BMP, EPS, EMF or PICT with another method:
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice -
Deleting plot from Waveform Chart
How can I delete a plot from a Waveform chart using the chart's Attribute
Node?
Thanks!On Thu, 23 Mar 2000 16:02:22 +0100, "Carmafresh"
wrote:
>How can I delete a plot from a Waveform chart using the chart's Attribute
>Node?
>Thanks!
>
Set the History attribute to nothing.
Regards,
Steve Drake -
Write data from waveform chart to excel
Hi,
I am trying to create a button that save de real time values recieved in a waveform chart. I don't know how to save it alls, because I don't know if is needed a buffer to save all or how can I do it.
It wil be faboulous if someone give me ideas!
Thanks so much for your support!
Solved!
Go to Solution.Hi mlop,
You can go through the attached VI. You will get some idea of how to do it..
Regards,
Nitzz
(Give Kudos to good Answers and Mark it as a Solutoin if your problem is Solved)
Attachments:
Untitled 2.vi 9 KB -
Get max and min values from waveform chart
Hi all
Ive got a waveform chart and want to display the max and min value for the graph. How do i get the respective values?? Im using LabView 8.2
holla
Attachments:
Untitled 231_LV80.vi 23 KBThanks Mike
-
Question about waveform chart time scale
Hello,
I have question regarding to time scale on my chart, I want it to show the actual measured time, for example from 0-30 seconds, but instead my minimum value is 302654789854 . Please help me to fix it.
Regards ,
Stella DeheryanYou can modify the way the time is displayed on the axis by right clicking the chart and selecting properties. On the display format tab, select relative time. This should show the X-axis scale as HH:MM. Or pick any other type of formatting you want.
Best Regards
Michiel
Applications Engineer
NI Belgium
http://www.ni.com/ask -
How to save data from a waveform chart to a file?
Hi! I have a question:how to save a real time data from a waveform chart? attachement is a example,how can i do to save the data from 0 second to 25 seconds to a file ?thanks!
Attachments:
example.vi 23 KBYou can use a property node to get the chart history as a array. Then you can write that data to the file. The data in the array in you example can also be writen to a file. If you only wnat a portion of the data to be saved, use the Array Subset function to get the part you want.
Lynn -
Converting data from frequency to mass but nothing shows up on waveform chart
I am trying to convert frequency data from labview to mass in ng. I have a conversion formula. I used the conversion formula and wired the output data to a waveform chart.
So, I think I did everything correct when trying to convert frequency values from the QCM to mass values in ng%2Fcm^2. What I did was convert the frequency data into mass data as a function of time by calculating delta frequency and multiplying by the appropriate scalar. I approximated the area of the quartz crystal to be 1 cm^2. I wired the data to a waveform chart (called mass (ng%2Fcm^2) as shown in the block diagram I attached. The problem is that when I run the vi nothing shows up on the mass waveform chart I just created. I played around with changing the scales but absolutely no data is recorded when the vi runs. I don't know why that is the case.
Thanks. -Sicelo
Attachments:
block diagram.png 55 KBHi guys.
Thank you so much for your help. I succeeded in converting the frequency data to mass. I posted a new question about a new problem I am encountering. My vi does not run when I run it even after everything is properly connected.
My new message is posted under "vi does not sense signal from instrument"
Any help will be highly appreciated.
Thanks.
-Sicelo -
Hi,
In the file
(Serial Read and Write to .tdms & Compare on Graph – test.vi) I am trying
to integrate the following two waveforms into a single waveform: Realtime
reading and Waveform chart (open vi to see). Both of them display speed vs time
but from different outputs. One comes from an excel file (Teraterm – Results.xlsx
– sheet 4, (column 3:row 4) to (column 3:row 1878)) and the other comes from
the Serial input which is in Hex format and is split to get the various readings
of speed, voltage etc. I have already wired speed to a variety of waveform
outputs, but all result in broken wires.
The readings are taken in by the program
and but I am unable to wire the two readings together into one graph.
Please do let me know as to how can I make this work.
Thanks in Advance.
Best Regards,
Akhil
Kumar Meesala (Mr.)
Year
4 | Undergrad | Mechanical Engineering
National
University of Singapore
Email:
[email protected]
Mobile:
(+65) 9326 7069
Solved!
Go to Solution.
Attachments:
Serial Read and Write to .tdms & Compare on Graph - test.vi 58 KB
Teraterm - Results.xlsx 593 KBDear GerdW,
I'm sorry again about the misspelling your nick.
I tried connecting a waveform chart to the two terminals (speed from the DAQ and speed from the excel file) but I was unable to get the connection right. I understand that charts are used for readings which are equally spaced out, whereas XY graphs are used when the readings are not be spaced out uniformly. But I am unable to wire the connections correctly.
Actually the DAQ device continuously sends out data through the serial port. So I would not run out of data . Are you referring to the data coming from the DAQ device or the excel file? I actually have not thought of what would happen when the excel file would run out of values I am just hoping for the software to run till then for now
I have cleared up the wires as well Thanks for your help.
Best Regards,
Akhil Kumar Meesala (Mr.)
Year 4 | Undergrad | Mechanical Engineering
National University
of Singapore
Email: [email protected]
Mobile: (+65) 9326 7069
Attachments:
Get Excel Values.vi 25 KB
read_excel_values.llb 201 KB
Serial Read and Write to .tdms & Compare on Graph - test.vi 79 KB -
How to take the print out of the entire data from the waveform chart
i am using cont acq to spreadsheet file.vi to acquire data from a number of channels. this vi also plots the acquired data on the waveform chart. i want to take the print out of the entire data. how can i do it ?
also how can i take print out of the data between given interval??
please reply me
thank youThere are a number of different ways of achieving your goal. Depending on which version of LabVIEW you have and which development environment, the Report Generation Toolkit is a very powerful tool. Attached is an example that prints the acquired data without the use of additional toolkits.
Jonathan Hildyard
Applications Engineer
National Instruments
Attachments:
DAQ_with_Print.llb 115 KB -
Saving array data from a waveform chart
I am using a CRIO 9004 and a 9237 bridge module to measure some strains from strain gauges. I've got one timed loop that reads the DMA FIFO and puts the arrays of values (16 data points, 4 per channel) into a queue. In the consumer timed loop a For loop scales the binary data, auto indexes it into arrays, then the arrays are merged into a 2D array for the four channels displayed on a waveform chart . Everytime the consumer loop runs it indexes 4 data points (per channel) yet the waveform chart plots them in a consecutive manner and doesn't overwrite the previous four. If I convert the arrays to waveform arrays I don't see anything on the waveform chart.
If I pass the 2D array of data to a array indicator inside or outside the consumer loop I get only 16 data points. I want to save the information that appears on the waveform chart after the consumer loop but because I'm not using waveform data type I can't use the write waveforms to file vi. The waveform chart history buffer has been set to 195360.
Idealy we will run the four channels for 120 seconds charting the data and saving the data. The minimum data rate is 1613kS/s (403 per channel) The data can be saved after the loops have finished gathering and processing or while they are running. I noticed when I tried to write to TDMS it slowed the consumer down. Same thing if I use a shift register with the volume of data.
I suspect I'm not sending data to the chart in the correct manner ( usualy takes two attempts to "clear chart" using shortcut menu). I'm not too familiar with timed loops /producer consumer loops and just tried to put something together based on examples.
I've attached my host vi and front panel screenshot.Hope they appear attached this time.
Attachments:
Basic DMA (Host).vi 444 KB
screenshot2.jpg 113 KB -
Read from Measurement File to XY on Waveform Chart
Something pretty simple that is giving me a hell of a time right now.
I've got a .lvm here that has been saved from a DAQ and has one column of numbers starting from 0.0000 - 27.0000 in very small steps. The next column is amplitudes of the signal at the given time. Now, from this LVM file I'm starting a new vi and I want to read those values as X and Y and get them onto a waveform chart. As of right now I've tried hooking up "Read From Measurement File" and tried "Build Table" but that won't want to plug into a chart. Plugging the file directly into a chart causes two very different lines to show up but is no where close to what I'm looking for.
Any tips as to how to complete this?
Solved!
Go to Solution.Tasty,
More often than not I find Express VIs to be more trouble than they're worth. Here's an example of reading tab delimited data in from an .txt and plotting Y values versus X values on a graph. Hope it helps.
Andrew
Andrew
Attachments:
ReadData.vi 14 KB
data.txt 1 KB -
Export all data from my waveform chart to excel
Hello, my name is Chris. I am just learning to use LabView. Everything I have learned so far is through these boards. Which is a valuable tool for someone learning. The VI I am working on is to monitor current from a unit we are testing. I am able to monitor current and have it running in what I believe to be real time. As I said, this is the first one I have made. I am trying to export all the data from my Waveform Chart to a report. Everytime I try I get one instance and it measures 0. I don't know what I am doing wrong. Any help would be appreciated. Also, if you have any suggestions on the all around working of this I would appreciate that as well. Thank you in advance.
Attachments:
Lp Current Test.vi 83 KBHey Christophrt,
If you are trying to display the microseconds for a waveform chart in LabVIEW here is how you can do it:
Go to the Chart Properties>Display Format>X-Axis>Advanced editing mode>enter:
%<%I:%M:%S%6u>T as the format string and you will have the hours: minutes: and seconds to the microseconds.
If you are trying to display the exported data in microseconds in Excel, you will probably have to do some formatting changes in Excel to have that work.
Regards,
Tommy G.
Applications Engineer
National Instruments -
How to save X and Y vaue from a Waveform Chart
Hello Everyone!
I'm implementing an adquisition systems that send data to a waveform Chart through VISA. All run properly, but I would like to save the data adquired to an excel file. I saw examples to how to save it, but only save the Y value.
I would like getting the X and Y values in 2 columns different in the excel file.
¿Is it possible?
¿Can someone tell me how I can do it?
Thanks for your feedbacks!
Solved!
Go to Solution.I meant uploading the actual VI, not a picture of it. You need to fix your code.
You should not be initializing the serial port in each iteration of the loop. Initialize outside, read in the loop, and close when the loop is done.
Why do you have 2 VISA resource controls? Are you talking to 2 different devices?
The event structure serves no purpose in your code. If you are trying to enable/disable the file writing, use a case structure that's controlled by a simple front panel switch.
You should "remember" the path that the Write to Spreadsheet File uses. Otherwise you will be asked for the filename each and every time you try to save. You can do this using a simple Feedback Node:
Since you are reading the value periodically, just use one of the Get Date/Time functions. You can use the Get Date/Time String to get a formatted string. Then you can format your value as a string, and build your array using those 2 values. Or, you can use the Get Date/Time in Seconds to get a numerical value. Be aware that LabVIEW's starting time is 12:00 a.m., Friday, January 1, 1904, Universal Time [01-01-1904 00:00:00], which is different from Excel.
Attachments:
Example_VI_BD.png 1 KB -
Plot more than one analog value to a waveform chart by reading from Serial Port
I have 4 LDRs and I want to plot their values to a waveform chart by reading them from the serial port. I have looked around and found an example of a VI plotting one value to a waveform chart (attached below) but I am unsure about how to expand this for 4 different waveforms, mostly because I don't particularly understand the way is being read currently. If someone could either point me in the way of a relevant example or explain/show me a solution, or explain howthe current VI I have works, that would be greatly appreciated.
Attachments:
LDRread.vi 20 KBSince I assume each LDR (whatever that is) has its own serial connection, you will need to read from 4 different serial ports. From there, just form an array of all the data and write to the chart.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Maybe you are looking for
-
I just got my macbook and aside from using my iPhone i have no experiance with mac products.. I just got it home and wanted to go online and as i typed in the password a message pops up and says "the wi-fi network "MIFI" requires a WPA2 password. i c
-
5320xm not connecting internet
Hi friends.i have got an strange problem with my nokia 5320xm.the internet is working fine on mobile but when i connect the internet on pc,it says 'disconnected' with any time delay.it doesnt even blink to show 'connecting'. Earlier,i had no problem.
-
Problem with fileShare Pod.
Hi every one i am using fileshare pod in an lccs based application and facing a problem with fileshare pod.i create the pod after loing to the lccs appplication and when the synchronization event is called i load all the pods like fileshare ,whiteBo
-
I think I deleted my entire library...help!
I had an entire library from burning CDs and downloading songs from itunes. Then one day I wanted to download but had to upgrade to 6.0. For some unknown reason, my computer wouldn't let me upgrade so I just re-installed it all together. Now I can't
-
My airport show that the airport card doesn't install. How can I solve this symptom? It's usable 2 days ago.