Hi, I'm trying to program the device to generate a trapezoidal voltage waveform. I am able to do it by manually setting the parameters (t1,t2,t3,t4,V0,V1) but want to do it remotely via a PC connected by USB. I understand the SCPI commands are as follows:
ARB:VOLT:TRAP:STAR 0,(@1)
ARB:VOLT:TRAP:TOP 5,(@1)
ARB:VOLT:TRAP:STAR:TIM 0.25,(@1)
ARB:VOLT:TRAP:RTIM 0.5,(@1)
ARB:VOLT:TRAP:FTIM 0.5,(@1)
ARB:VOLT:TRAP:TOP:TIM 1.5,(@1)
ARB:VOLT:PULS:END:TIM 0.25,(@1)
I am running a python script to do this but when i execute this code, nothing happens. I believe there must be some kind of trigger to start this trap function. Can anyone help me out in this regard?
PS: I have run codes for simple turn on/off/delay using python script so I know the PC is communicating with the Device.
Thanks in advance! Cheers.
ARB:VOLT:TRAP:STAR 0,(@1)
ARB:VOLT:TRAP:TOP 5,(@1)
ARB:VOLT:TRAP:STAR:TIM 0.25,(@1)
ARB:VOLT:TRAP:RTIM 0.5,(@1)
ARB:VOLT:TRAP:FTIM 0.5,(@1)
ARB:VOLT:TRAP:TOP:TIM 1.5,(@1)
ARB:VOLT:PULS:END:TIM 0.25,(@1)
I am running a python script to do this but when i execute this code, nothing happens. I believe there must be some kind of trigger to start this trap function. Can anyone help me out in this regard?
PS: I have run codes for simple turn on/off/delay using python script so I know the PC is communicating with the Device.
Thanks in advance! Cheers.
Yes there are a few more things that you need to do in order to trigger the ARB.
TRIG:ARB:SOUR IMM, (@1) would trigger the Arb as soon as it initiates (there are other options such as BUS too, consult the programming reference)
INIT:TRAN (@1) would initiate the transient system which would trigger the Arb in our case here.
That should be it. Let me know if it works for you.