Hi, Vishwa,

The software installed by following the ADC16 user guide had not been updated 
with the newer version of the adc16 code that supports demux mode.  I have 
updated the software that the user guide points to, so if you reinstall the 
adc16 gem as per the user guide you should get version 0.4.0 which supports 
demux mode.

Thanks for bringing this issue to my attention.

Dave

> On Feb 3, 2016, at 7:02 PM, Vishwa Seneviratne <mp...@zips.uakron.edu> wrote:
> 
> Hi Dave,
> 
> Here is the output.
> 
> vishwa@server3:~/Desktop/roach/poly$ adc16_init.rb -h
> Usage: adc16_init.rb [OPTIONS] HOSTNAME BOF
> 
> Programs HOSTNAME with ADC16-based design BOF and then calibrates
> the serdes receivers.
> 
> Options:
>     -i, --iters=N                    Number of snaps per tap [1]
>     -r, --reg=R1=V1[,R2=V2...]       Register addr=value pairs to set
>     -v, --[no-]verbose               Display more info [false]
>     -h, --help                       Show this message
>  
> vishwa@server3:~/Desktop/roach/poly$ gem list adc16
> 
> *** LOCAL GEMS ***
> 
> adc16 (0.3.6)
> 
> 
> 
> 
> Sincerely,
> 
> Vishwa Seneviratne
> Graduate Student
> Dept. of Electrical and Computer Engineering
> University of Akron
> 
> On Wed, Feb 3, 2016 at 11:28 AM, David MacMahon <dav...@astro.berkeley.edu 
> <mailto:dav...@astro.berkeley.edu>> wrote:
> What does "adc16_init.rb -h" show?  What does "gem list adc16" show?  Maybe 
> you need a newer version of the adc16 code. 
> 
> Dave
> 
> On Feb 3, 2016, at 18:20, Vishwa Seneviratne <mp...@zips.uakron.edu 
> <mailto:mp...@zips.uakron.edu>> wrote:
> 
>> Hi Jack,
>> 
>> I'm thinking that the ruby script 'adc16_init.rb' does not identify the 
>> '--demux' parameter. I used the code at 
>> 'git://github.com/david-macmahon/casper_adc16.git 
>> <http://github.com/david-macmahon/casper_adc16.git>'. What can I do to set 
>> the parameter?
>> 
>> Thank you
>> 
>> 
>> Sincerely,
>> 
>> Vishwa Seneviratne
>> Graduate Student
>> Dept. of Electrical and Computer Engineering
>> University of Akron
>> 
>> On Wed, Feb 3, 2016 at 11:02 AM, Vishwa Seneviratne <mp...@zips.uakron.edu 
>> <mailto:mp...@zips.uakron.edu>> wrote:
>> Hi Jack,
>> 
>> I did try all the combinations. The error remains the same. 
>> 
>> $ adc16_init.rb -v --demux=1 192.168.10.5 poly_design.bof
>> /var/lib/gems/1.9.1/gems/adc16-0.3.6/bin/adc16_init.rb:40:in `<top 
>> (required)>': invalid option: --demux=2 (OptionParser::InvalidOption)
>>      from /usr/local/bin/adc16_init.rb:19:in `load'
>>      from /usr/local/bin/adc16_init.rb:19:in `<main>'
>> 
>> 
>> Sincerely,
>> 
>> Vishwa Seneviratne
>> Graduate Student
>> Dept. of Electrical and Computer Engineering
>> University of Akron
>> 
>> On Wed, Feb 3, 2016 at 2:25 AM, Jack Hickish <jackhick...@gmail.com 
>> <mailto:jackhick...@gmail.com>> wrote:
>> Hi Vishwa,
>> 
>> Is the syntax definitely -demux=1 andnot either --demux=1 or -d 1 ?
>> 
>> 
>> 
>> Jack
>> 
>> 
>> On Wed, 3 Feb 2016, 12:39 a.m. Vishwa Seneviratne <mp...@zips.uakron.edu 
>> <mailto:mp...@zips.uakron.edu>> wrote:
>> Hi,
>> 
>> I am working on how to work with different operating of the 'ADC16x250-8 
>> coax rev 2' for a very simple design to test how the ADC works. The design 
>> is compiled at an IP clock rate setting of 200MHz. My objective is to sample 
>> my input signal at higher sampling rate (preferably 400, 800 MHz).
>> 
>> According to the user guide 
>> ''https://casper.berkeley.edu/wiki/images/4/4c/ADC16_user_guide.txt 
>> <https://casper.berkeley.edu/wiki/images/4/4c/ADC16_user_guide.txt>" by 
>> setting the demux parameter I should be able to switch between different 
>> sampling rates. I get the following error.
>> 
>> $ adc16_init.rb -v -demux=1 192.168.10.5 poly_design.bof
>> /var/lib/gems/1.9.1/gems/adc16-0.3.6/bin/adc16_init.rb:40:in `<top 
>> (required)>': invalid option: -demux=2 (OptionParser::InvalidOption)
>>      from /usr/local/bin/adc16_init.rb:19:in `load'
>>      from /usr/local/bin/adc16_init.rb:19:in `<main>'
>> 
>> When I don't pass the 'demux' parameter the ADC board get initialized to 8 
>> analog inputs by default.
>> 
>> How do I resolve this issue? or how can I set the ADC's to operate at 
>> different sampling rates?
>> 
>> Thank you in advance
>> 
>> Sincerely,
>> 
>> Vishwa Seneviratne
>> Graduate Student
>> Dept. of Electrical and Computer Engineering
>> University of Akron
>> 
>> 
> 

Reply via email to