I want to record some step responses of the RPM of an engine in WaveForms. The RPM sensor provides a sine signal, the frequency of this signal represents the RPM. So my intention was to visualize and record (around 5-10 minutes) this frequency and additionally my step signal, which is a 0-5V signal.
The second one is no problem, but I can't find a solution for displaying and exporting the frequency over time. I need the data in one file in CSV format, with a sampling rate of 1kHz or at least 100 Hz.
I am using the AD2.
I tried some ways so far, one was a custom script, but I had some issues with the sampling time, because it was not constant. I guess this is because of the "Scope.State.running()" method, but I'm not sure. Is there also another way for the time of the measurements? In this script I used Date(), but in fact, the sample time in ms would be enough.
It would be nice if someone has a solution about this topic!
Question
Sim_on112
Hi,
I want to record some step responses of the RPM of an engine in WaveForms. The RPM sensor provides a sine signal, the frequency of this signal represents the RPM. So my intention was to visualize and record (around 5-10 minutes) this frequency and additionally my step signal, which is a 0-5V signal.
The second one is no problem, but I can't find a solution for displaying and exporting the frequency over time. I need the data in one file in CSV format, with a sampling rate of 1kHz or at least 100 Hz.
I am using the AD2.
I tried some ways so far, one was a custom script, but I had some issues with the sampling time, because it was not constant. I guess this is because of the "Scope.State.running()" method, but I'm not sure. Is there also another way for the time of the measurements? In this script I used Date(), but in fact, the sample time in ms would be enough.
It would be nice if someone has a solution about this topic!
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now