Triggered Signal Capture

Applications, development tools, FPGA, C, WEB
Post Reply
Posts: 2
Joined: Sat Nov 30, 2019 7:22 pm

Triggered Signal Capture

Post by rvinayak » Sat Nov 30, 2019 7:29 pm


I’m trying to capture a pulsed wave (signal) using a trigger.

However for some reason the capture starts as soon as I run this code and not when the trigger should activate.

Could you please help and advise?

The output graph is attached.

The python code I use for this is below:

rp_s = scpi.scpi(sys.argv[1])
rp_s.tx_txt('ACQ:DEC 1')
rp_s.tx_txt('ACQ:TRIG:LEV 400')
rp_s.tx_txt('ACQ:TRIG:DLY 0')
rp_s.tx_txt('ACQ:TRIG CH1_PE')

while 1:
if rp_s.rx_txt() == 'TD':

# get Voltage Data. assuming volatage on source1
voltage_buff_string = rp_s.rx_txt()
voltage_buff_string = voltage_buff_string.strip(
'{}\n\r').replace(" ", "").split(',')
voltage_buff = list(map(float, voltage_buff_string))
You do not have the required permissions to view the files attached to this post.

User avatar
Site Admin
Posts: 381
Joined: Wed Mar 26, 2014 7:04 pm

Re: Triggered Signal Capture

Post by redpitaya » Mon May 18, 2020 9:24 am

Please try 'ACQ:TRIG:LEV 400 mV' instead of 'ACQ:TRIG:LEV 400'.

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: Bing [Bot] and 3 guests