wolfrain
Junior Member level 1
- Joined
- Nov 14, 2009
- Messages
- 19
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,283
- Location
- Southampton
- Activity points
- 1,454
First, thank you for your attention!
I`ve got a circuit and want to measure the frequency of the output. And I went to the Help and do the searching for a while, then I`ve got the .MEAS guide to do the measurement of the plotting.
Here is my codes in .meas for my case.
As you can see, I measure the time between two specific point of V(output), which means the period of the Voutput. But what I want is the frequency of this output, and I cannot figure out how to programme it to do this automatically. I try adding sth like "Freq = 1 / (Time_2-Time_1)", and it doesn`t work.
Again, thank you for your watching.
I`ve got a circuit and want to measure the frequency of the output. And I went to the Help and do the searching for a while, then I`ve got the .MEAS guide to do the measurement of the plotting.
Here is my codes in .meas for my case.
.MEAS TRAN Time_1 V(output) WHEN V(output) = 3.3*0.5 cross = 25 // Rise
.MEAS TRAN Time_2 V(output) WHEN V(output) = 3.3*0.5 cross = 27 // Fall
As you can see, I measure the time between two specific point of V(output), which means the period of the Voutput. But what I want is the frequency of this output, and I cannot figure out how to programme it to do this automatically. I try adding sth like "Freq = 1 / (Time_2-Time_1)", and it doesn`t work.
Again, thank you for your watching.