Running the AD2 with Waveforms 3.7.5 64-bit Qt5.6.3 under Linux (Ubuntu 12.04.5 LTS). I am trying to write a script which sets the scope triggering settings, but it issues an error for the expression
Scope1.Trigger.Mode.text = "None";
saying that Scope1.Trigger.Mode is not an object. In fact, using the Qt script debugger, it appears that Scope1.Trigger doesn't exist. Other stuff is working e.g. Scope1.Time.Samples.value=500 works. Other things mentioned in the script documentation also don't seem to work. For example, I have to use Scope1.channel[0] instead of Scope1.Channel1.
I'm an old hand at Python, C++ etc., but a newbie at Javascript so it's probably something dumb I am doing. Any ideas?
Question
Xarach
Hi all,
Running the AD2 with Waveforms 3.7.5 64-bit Qt5.6.3 under Linux (Ubuntu 12.04.5 LTS). I am trying to write a script which sets the scope triggering settings, but it issues an error for the expression
Scope1.Trigger.Mode.text = "None";
saying that Scope1.Trigger.Mode is not an object. In fact, using the Qt script debugger, it appears that Scope1.Trigger doesn't exist. Other stuff is working e.g. Scope1.Time.Samples.value=500 works. Other things mentioned in the script documentation also don't seem to work. For example, I have to use Scope1.channel[0] instead of Scope1.Channel1.
I'm an old hand at Python, C++ etc., but a newbie at Javascript so it's probably something dumb I am doing. Any ideas?
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.