AnsweredAssumed Answered

Set Auto Trigger and screen dump via SCPI on B2902A

Question asked by nicolev on Jul 12, 2012
Latest reply on Jul 17, 2012 by nicolev
I am trying to trigger a sweep protocol through SCPI commands. I want to be able to set the trigger on "auto" and do the equivalent of pressing the trigger button on the machine. I scoured programmers guides and command expert and only found commands to use the manual trigger. Is there a way to set the trigger to auto and then use the TRIG:ALL:IMM command to trigger the power supply?

My current code is below. Right now it loads everything and brings up the graph like it is supposed to, but it doesn't seem to trigger.
First, a state file with all of the sweep parameters is loaded, then:
At this point the image shows and it should be a newly triggered data set, but it just shows the last data collected. 

I am also trying to get a screen dump from the power supply. I used the HCOP:SDUM:FORM JPG and HCOP:SDUM:DATA? commands and it returns something, but I'm not really sure how to deal with the data and get it into a viewable format.

Any insights would be appreciated,