Tektronix Technical Forums are maintained by community involvement. Feel free to post questions or respond to questions by other members. Should you require a time-sensitive answer, please contact your local Tektronix support center here.
I am trying to write some code to interface my matlab script with my DPO 4034 Oscilloscope. So far everything works well except for setting the trigger. I am using:
fprintf(myScope,'TRIGger:A SETLevel -450.0000E-3'); % THIS DOESN'T WORK
In other words, the trigger is still set to 0 and I can verify that manually on the scope as well.
The rest of my code works really well, i.e. connecting to the oscilloscope, setting horizontal/vertical scales etc.
In the programmers manual it says "The trigger Sets the A trigger level automatically to 50% of the range of the minimum and maximum values of the trigger input signal. The query returns current A trigger parameters.
The trigger level is the voltage threshold through which the trigger source signal must pass to generate a trigger event.
This command works for the following cases: Edge Trigger (when source is Not Line), Logic Trigger (when Clock Source is not Off or Logic Pattern is Don’t Care), and Pulse Width Trigger.
Yea I discovered that my commands where wrong. Now I send this:
And I can set the level properly.
Who is online
Users browsing this forum: No registered users and 16 guests