Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I have a plot that displays date (Time and Voltage) every 50 seconds then it clears the data, is there a method to capture these data every 50 seconds

What I have tried:

I have not tried any method yet
Posted
Updated 14-Aug-18 9:04am
Comments
Dave Kreskowiak 12-Aug-18 23:57pm    
What data? Where is this data coming from? A device? A serial port feed? A file? What?

Without knowing that, it's impossible to give any kind of accurate answer.

1 solution

I think I didn't understand your question.
but you can save you data from a variable to a folder by this code:


ofstream output("YOUR PATH SHOULD BE HERE");
string a = "Data";
output << a;
output.close();
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900