Hi all, i can´t access to
http://redpitaya.com/testing-readme/scp ... /README.md
Anyone has the document?
SCPI readme offline
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: SCPI readme offline
From the github repo. Is that what you are looking for ?
-
- Posts: 16
- Joined: Mon Jun 08, 2015 5:03 pm
Re: SCPI readme offline
Well.. that´s the document i need, but it doesn´t tell me much more that i already know.
Do you know how can i adquire one sample of the slow ADC, using the scpi server via the putty console?
I want create an app for getting the samples of thouse ADC but with matlab gives me only a sample rate of 4-5 Hz, too slow for me, and i want to try it without the query command, but i dont know how can i connect to the scpi server, only using the linux console.
Do you know how can i adquire one sample of the slow ADC, using the scpi server via the putty console?
I want create an app for getting the samples of thouse ADC but with matlab gives me only a sample rate of 4-5 Hz, too slow for me, and i want to try it without the query command, but i dont know how can i connect to the scpi server, only using the linux console.
-
- Posts: 4
- Joined: Tue Jun 23, 2015 8:26 pm
Re: SCPI readme offline
Also very interested in the answer to this. The tech specs list 100k Sa/sec for the slow ADC, but there are no examples that show you how to do anything like this.
- redpitaya
- Site Admin
- Posts: 912
- Joined: Wed Mar 26, 2014 7:04 pm
Re: SCPI readme offline
Hi guys,
Slow ADC has 100kS/s but you must be aware that you can only read the register which is rewritten by slow ADC at 100kS/s rate.
Now reading this register which contains the ADC value is done by some API and the maximum reading rate is dependent on the whole system i.e when the code (for reading slow ADC register) will be executed.
If you go on C level, you can achieve faster reading (kS/s) of the slow ADC register,
with SCPI (which execution is much slower then APIs/C ) you can have reading rate about few samples per second.
If you want to have 100kS/s on slow ADC you will need to move from register to buffer, and then when ADC fills up the buffer you can read it.
(Same as is done with RF inputs)
Best,RP
Slow ADC has 100kS/s but you must be aware that you can only read the register which is rewritten by slow ADC at 100kS/s rate.
Now reading this register which contains the ADC value is done by some API and the maximum reading rate is dependent on the whole system i.e when the code (for reading slow ADC register) will be executed.
If you go on C level, you can achieve faster reading (kS/s) of the slow ADC register,
with SCPI (which execution is much slower then APIs/C ) you can have reading rate about few samples per second.
If you want to have 100kS/s on slow ADC you will need to move from register to buffer, and then when ADC fills up the buffer you can read it.
(Same as is done with RF inputs)
Best,RP
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: SCPI readme offline
I don't see why reading the ADC value from a single register should be any slower than reading from a buffer. The transfer is done over the same channel in either case. Or is the XADC now mapped to a different (much slower) interface than the rest of the memory mapped fpga registers ?If you want to have 100kS/s on slow ADC you will need to move from register to buffer
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 86 guests