EEVblog Electronics Community Forum

Products => Test Equipment => Topic started by: singtralala on July 08, 2016, 12:13:55 pm

Title: SIGLENT SDG1025 control from MATLAB
Post by: singtralala on July 08, 2016, 12:13:55 pm
 Greetings,

I´ve been looking for a way to control the output of a signal generator using the serial port to communicate with the SDG1025. However, the manual does not provide any information on how this could be achieved. I need to be able to repeatedly and reliably start and stop the pulse generated by the SDG with very precise timing, since we are using the pulse to synchronize other hardware during an experiment, so pressing the output button by hand is a no-go.

I will be thankful for all guidance.
Title: Re: SIGLENT SDG1025 control from MATLAB
Post by: tautech on July 08, 2016, 04:18:24 pm
Welcome to the forum.

P56 of the manual describes the use of a gated external trigger with the EXTTrig rear BNC.
http://siglentamerica.com/download/UM/SDG1000_UserManual_UM02010-E08A.pdf (http://siglentamerica.com/download/UM/SDG1000_UserManual_UM02010-E08A.pdf)

N-Cycle/Gated
N-Cycle has specific number of waveform cycles, and every burst is activated
by a trigger event. Gated burst use external source to control burst as when
to be activated.


But it goes on to mention:
Cycles
Set the number of waveform cycle in an N-Cycle (1 to 50,000 or Infinite).
If you choose Infinite, then a continuous waveform will be generated which
will not stop until a trigger event happens.


Can you use this functionality instead?
Will it be simpler for you than Matlab?

Additional drivers are here:
http://www.siglentamerica.com/gjjrj.aspx?id=204 (http://www.siglentamerica.com/gjjrj.aspx?id=204)


There's also the Sync output described on P69 for more functionality that might be useful.  :-\