read frame invalid, inconsistente

Applications, development tools, FPGA, C, WEB
Post Reply
epielettronica
Posts: 10
Joined: Fri Jun 05, 2015 10:49 am

read frame invalid, inconsistente

Post by epielettronica » Mon Jul 06, 2015 3:26 pm

I use scpi-server,
I start with putty scpi-server &
a connect my terminat to pitaya-host:5000 and all work,
I change trigger source, decimation, sampling-rate and so on.
When I think that buffer is ready, I read the buffer but every time I read small point (16384x70-90)
also in ch1 then ch2.
With your oscilloscope App, I see on ch1 my sine 1KHz 10Vpp wave form but using scpi command
I read nothig.
My scpi command are:
ACQ:DATA:UNITS RAW
ACQ:SRAT 125MHz
ACQ:DEC 64
ACQ:TRIG:DLY 8192
ACQ:START
ACQ:TRIG EXT_PE
then I wait that ACQ:TRIG:STAT? = TD
(I see WPOS=TPOS)
and I perform ACQ:SOUR1:DATA?
to read all the CH1 frame buffer starting from trigger event
but everytime I receive a frame of small value
{70,80,90...}
May you help me?
Best Regards,
Alessandro Maffei

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

Re: read frame invalid, inconsistente

Post by redpitaya » Tue Jul 07, 2015 1:04 pm

Hi,
You can find example
here
http://redpitaya.com/make-your-app/sing ... r-acquire/

Regards

epielettronica
Posts: 10
Joined: Fri Jun 05, 2015 10:49 am

Re: read frame invalid, inconsistente

Post by epielettronica » Tue Jul 07, 2015 1:30 pm

Thank You for the answer,
I re-try the example,
My scpi command are:
ACQ:DEC 8
ACQ:TRIG:DLY 0
ACQ:START
ACQ:TRIG CH1_PE
as in example,
then I wait that ACQ:TRIG:STAT? = TD
and I perform ACQ:SOUR1:DATA?
but in the frame I've only value in the range of 70-90 point
any ideas?

epielettronica
Posts: 10
Joined: Fri Jun 05, 2015 10:49 am

Re: read frame invalid, inconsistente

Post by epielettronica » Tue Jul 07, 2015 2:00 pm

this is my terminal capture log (trunked for data length)

ACQ:RST
ACQ:DEC 8
ACQ:TRIG:LEV 100
ACQ:TRIG:DLY 0
ACQ:START
ACQ:TRIG CH1_PE
ACQ:TRIG:STAT?
TD
ACQ:DATA:UNITS RAW
ACQ:SOUR1:DATA?
{88,90,84,86,82,84,82,80,82,80,78,92,92,88,90,86,88,86,84,86,82,80,80,92,78,92,92,90,90,88,88,84,82,82,78,78,78,80,90,78,88,86,88,86,84,82,82,82,82,82,82,92,90,92,90,88,86,86,84,84,82,80,82,82,78,78,90,90,80,88,88,86,88,88,86,82,82,80,80,78,92,78,92,90,88,88,86,82,82,80,80,82,80,78,90,92,78,86,90,86,86,84,82,84,78,80,78,88,92,88,86,84,80,84,80,80,92,78,92,90,88,90,88,88,88,86,84,82,82,80,80,78,90,92,92,92,90,88,86,84,88,82,86,82,80,92,78,92}

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 110 guests