07-17-2009 12:45 PM
This is a question for Alain S.
...in your sugested code: The value of the resistor is equal to the Y value of the Z11re trace and the capacitor or the inductor value are derived from the Z11im trace. Inside the Event Structure, the case structure 0 and 1 are connected to the same Y cursor value??? How do you tell the case structure to use (in case 0) the Y of the Z11re trace and in case 1 the Y of the Z11im trace?
The calculated values seems right??? ...it must be defined with CursIdx inside the Event Structure but how and where can I see the setup of this control?
Having a while loop for the Event Structure force the program to always loop at this place, it generate lots of CPU ressources (I add an indicator to see the iteration count), it seems to me that the Event structure should do this job whitout been in a loop???
Regards, |
Solved! Go to Solution.
07-17-2009 03:21 PM
after reading about CursIdx I understood the concept!
case close.