MaxRdgz Posted September 21, 2020 Share Posted September 21, 2020 Hello, I'm triying to log on a CSV file the time when a rise edge pulse are detected by the scope. I used the follow script and put the trigger in normal mode: FileAppendLine("~/Desktop/scope/measure.csv", [ Date()]) But i need more accurate time, ms if is possible. How i can do this? Best Regards. Link to comment Share on other sites More sharing options...
attila Posted September 21, 2020 Share Posted September 21, 2020 Hi @MaxRdgz You can use .toISOString() or .toString and .getMilliseconds or other Date methods. https://www.w3schools.com/js/js_dates.asp Link to comment Share on other sites More sharing options...
MaxRdgz Posted September 21, 2020 Author Share Posted September 21, 2020 @attila Thanks Sr. Link to comment Share on other sites More sharing options...
Question
MaxRdgz
Hello,
I'm triying to log on a CSV file the time when a rise edge pulse are detected by the scope.
I used the follow script and put the trigger in normal mode:
FileAppendLine("~/Desktop/scope/measure.csv", [ Date()])
But i need more accurate time, ms if is possible.
How i can do this?
Best Regards.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.