SCPI Acquire Problem

Applications, development tools, FPGA, C, WEB
Post Reply
mlahlou
Posts: 11
Joined: Mon Sep 12, 2016 6:45 pm

SCPI Acquire Problem

Post by mlahlou » Thu Oct 13, 2016 8:34 pm

Hello All,

I have been messing around with the SCPI commands trying to get the DAC output to be feed into the ADC and plot it on the computer. however I have been getting a weird output for higher frequencies. This is the output at 10MHz that is a single 5 cycle burst. for some reason it repeats three times and the last one is more than 5 cycles.

RingingProblem-2.png
I have checked the output into an oscilloscope and got the expected signal, and I used a wave form generator and plugged it into the adc input and got the expected signal. Anyone have any idea what could be going wrong when i connect dac to the adc? I Honestly have no idea/leads.

Thanks,
-Mohamed Lahlou
You do not have the required permissions to view the files attached to this post.

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

Re: SCPI Acquire Problem

Post by redpitaya » Fri Oct 21, 2016 1:30 pm

Hi,

Can you post the code used.

Best

mlahlou
Posts: 11
Joined: Mon Sep 12, 2016 6:45 pm

Re: SCPI Acquire Problem

Post by mlahlou » Mon Oct 24, 2016 8:43 pm

Actually I found a solution to the problem.

rp_s.tx_txt('ACQ:START')
rp_s.tx_txt('ACQ:TRIG CH1_PE')
rp_s.tx_txt('SOUR1:TRIG:IMM')

need to be before

rp_s.tx_txt('OUTPUT1:STATE ON')

or it will produce that funky output.

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: No registered users and 6 guests