Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69269

How to Write Waveform graph data to Text File with user option to do so

$
0
0

So, I'm new to labview and am having trouble writing one program in particular.  I have a waveform graph that runs for 120 seconds generating a sine curve.  I am, however, having a difficult time getting the program to write the x and y coordinates into a text file.  I have attached what I have so far.  

The first task I was assigned was to write a program that creates a snusoidal curve on the front pannel adding one data point each half second for 120 seconds.  The plot should only start when the user presses a start button.

The next part involves giving the user an option to write the generated data to a spreadsheet file called "sine.txt".  The file name and location should be hardcoded.  The file should contain the x and y coordinates of each data point in columns separated by tabs, also known as delimited.

 

I have spent several hours tweaking the attached program and I just can't seem to get it to work right.  Any suggestions would help at this point.

 

Sincerely,

A frustrated chemistry student whose research mentor is out of town :(


Viewing all articles
Browse latest Browse all 69269

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>