Re: [casper] ADC16x250-8 coax rev 2 noise

2016-09-20 Thread Jason Manley
And if you're wondering why it's only ever toggling between -1 and 0, it's 
because most ADCs are biased centred around -0.5, not 0. This is so that 
they're symmetrical in positive and negative swing (remember two's complement 
for an 8 bit number will be -128 to +127). Some will let you adjust this offset.

Jason 

On 20 Sep 2016, at 23:52, dana whitlow  wrote:

> On 9/20/2016 3:55 PM, David MacMahon wrote:
> 
> Hi Adam,
> 
> A little bit of noise (a step or several rms) is a cure for many ADC ills, 
> and is widely practiced under
> the term "dithering".  It's usually nicest if the dithering waveform can be 
> arranged to fall outside the
> signal band of interest (yet still have reasonably wide bandwidth in its own 
> right), but not essential.
> 
> In the early days of CDs the advent of effective dithering saved the format 
> from probable (IMO) doom,
> arising from the nasty forms of distortion that accrued from signal levels 
> that exercised only the few
> lowest order bits of the ADCs.
> 
> Dana Whitlow
> Arecibo Observatory
> 
> 
>> Hi, Adam,
>> 
>> I haven't looked at the spectral content of a terminated input before so I 
>> don’t have any comparative results, but I think the spikes you are seeing 
>> are caused by mismatched gains and/or offsets of the ADC’s interleaved cores 
>> (I think there are a total of 8 cores, also called "branches" in the 
>> datasheet).  Have you tried sampling band limited noise (e.g. low pass at 
>> Fs/20)?  I think the severity of the spikes will be less in the presence of 
>> a signal.  In the worst case you will have to ignore the 8 frequency 
>> channels with these spikes, but you might be able to improve things by 
>> tweaking the coarse gain and/or fine gain registers in the ADC.
>> 
>> HTH,
>> Dave
>> 
>>> On Sep 20, 2016, at 11:46 AM, Schoenwald, Adam (GSFC-564.0)[AS and D, Inc.] 
>>>  wrote:
>>> 
>>> Hi All,
>>> I have a question regarding the ADC16x250-8 coax rev 2 running in demux by 
>>> 4 mode. When I terminate the inputs with a 50 ohm connector and collect 
>>> data using a basic snapshot block design, I get a little bit of noise on 
>>> the LSB. I export the data to a csv file and find that it is a collection 
>>> of 0’s and -1’s, indicating that the level being converted by the adc is 
>>> sitting between these two values and there is some sort of internal noise 
>>> causing us to jump between values. What is alarming is that when I 
>>> collected 2^18 samples and run spectral analysis I see large spikes at 
>>> intervals of FS/16 (See Attached, pwelch(x,1024,256,[],800)).
>>>  
>>> I am running the ADC at 800MHZ and the FPGA at 200MHZ. I am using one of 
>>> the more recent casper builds after the bitslipping commit on Mar 25th. I 
>>> also tried to use the ruby script located 
>>> athttps://github.com/jack-h/casper_adc16/tree/master/ruby/lib.
>>>  
>>> I run the bof file with “adc16_init.rb --reg=0x3a=0x0202,0x3b=0x0202 -d 4 
>>> roach_ip boffile”, where I change the ic inputs. We only connected 8 of the 
>>> 16 coax cables to the board and I had to switch off the default.
>>>  
>>> Has anyone else had a similar experience or ideas? 
>>> 
>>> Adam Schoenwald
>>> 
>>>  
>>> 
>> 
> 




Re: [casper] ADC16x250-8 coax rev 2 noise

2016-09-20 Thread dana whitlow

On 9/20/2016 3:55 PM, David MacMahon wrote:

Hi Adam,

A little bit of noise (a step or several rms) is a cure for many ADC 
ills, and is widely practiced under
the term "dithering".  It's usually nicest if the dithering waveform can 
be arranged to fall outside the
signal band of interest (yet still have reasonably wide bandwidth in its 
own right), but not essential.


In the early days of CDs the advent of effective dithering saved the 
format from probable (IMO) doom,
arising from the nasty forms of distortion that accrued from signal 
levels that exercised only the few

lowest order bits of the ADCs.

Dana Whitlow
Arecibo Observatory



Hi, Adam,

I haven't looked at the spectral content of a terminated input before 
so I don’t have any comparative results, but I think the spikes you 
are seeing are caused by mismatched gains and/or offsets of the ADC’s 
interleaved cores (I think there are a total of 8 cores, also called 
"branches" in the datasheet).  Have you tried sampling band limited 
noise (e.g. low pass at Fs/20)?  I think the severity of the spikes 
will be less in the presence of a signal.  In the worst case you will 
have to ignore the 8 frequency channels with these spikes, but you 
might be able to improve things by tweaking the coarse gain and/or 
fine gain registers in the ADC.


HTH,
Dave

On Sep 20, 2016, at 11:46 AM, Schoenwald, Adam (GSFC-564.0)[AS and D, 
Inc.] > wrote:


Hi All,
I have a question regarding the ADC16x250-8 coax rev 2 running in 
demux by 4 mode. When I terminate the inputs with a 50 ohm connector 
and collect data using a basic snapshot block design, I get a little 
bit of noise on the LSB. I export the data to a csv file and find 
that it is a collection of 0’s and -1’s, indicating that the level 
being converted by the adc is sitting between these two values and 
there is some sort of internal noise causing us to jump between 
values. What is alarming is that when I collected 2^18 samples and 
run spectral analysis I see large spikes at intervals of FS/16 (See 
Attached, pwelch(x,1024,256,[],800)).
I am running the ADC at 800MHZ and the FPGA at 200MHZ. I am using one 
of the more recent casper builds after the bitslipping commit on Mar 
25^th . I also tried to use the ruby script located 
athttps://github.com/jack-h/casper_adc16/tree/master/ruby/lib.
I run the bof file with “adc16_init.rb --reg=0x3a=0x0202,0x3b=0x0202 
-d 4 roach_ip boffile”, where I change the ic inputs. We only 
connected 8 of the 16 coax cables to the board and I had to switch 
off the default.

Has anyone else had a similar experience or ideas?

Adam Schoenwald








Re: [casper] Help with Casper Tutorial 3

2016-09-20 Thread Jack Hickish
Hi Heystek,

You can also just delete the simulation blocks inside the ADC for the time
being. You don't need them to compile the design, only to be able to
simulate the ADC analog inputs properly.

Cheers
Jack

On Tue, 20 Sep 2016 at 13:32 Heystek Grobler 
wrote:

> Hi Michael
>
> Thanks for your help. I will try to obtain a license for the DSP System
> Toolbox.
>
> Have a wonderful evening
>
> Heystek
>
> On Tue, Sep 20, 2016 at 10:28 PM, Michael D'Cruze <
> michael.dcr...@postgrad.manchester.ac.uk> wrote:
>
>> Hi Heystek,
>>
>>
>>
>> You need the DSP System Toolbox unfortunately, in order to compile the
>> ADC blocks. This is typically a paid-for toolbox, though my local IT
>> Services were helpful and had a few spare server licences.
>>
>>
>>
>> BW
>> Michael
>>
>>
>>
>> *From:* Heystek Grobler [mailto:heystekgrob...@gmail.com]
>> *Sent:* 20 September 2016 21:24
>> *To:* Michael D'Cruze
>> *Cc:* Casper Lists
>> *Subject:* Re: [casper] Help with Casper Tutorial 3
>>
>>
>>
>> Hi Michael
>>
>> This is the toolboxes that I have:
>>
>> MATLAB Version: 8.0.0.783 (R2012b)
>> MATLAB License Number: 724504
>> Operating System: Linux 3.19.0-68-generic #76~14.04.1-Ubuntu SMP Fri Aug
>> 12 11:46:25 UTC 2016 x86_64
>> Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java
>> HotSpot(TM) 64-Bit Server VM mixed mode
>>
>> ---
>> MATLABVersion 8.0
>> (R2012b)
>> Simulink  Version 8.0
>> (R2012b)
>> Bioinformatics ToolboxVersion 4.2
>> (R2012b)
>> Curve Fitting Toolbox Version 3.3
>> (R2012b)
>> Database Toolbox  Version 4.0
>> (R2012b)
>> Datafeed Toolbox  Version 4.4
>> (R2012b)
>> Econometrics Toolbox  Version 2.2
>> (R2012b)
>> Financial Instruments Toolbox Version 1.0
>> (R2012b)
>> Financial Toolbox Version 5.0
>> (R2012b)
>> Fuzzy Logic Toolbox   Version 2.2.16
>> (R2012b)
>> Global Optimization Toolbox   Version 3.2.2
>> (R2012b)
>> Image Acquisition Toolbox Version 4.4
>> (R2012b)
>> Image Processing Toolbox  Version 8.1
>> (R2012b)
>> Instrument Control ToolboxVersion 3.2
>> (R2012b)
>> MATLAB Compiler   Version 4.18
>> (R2012b)
>> Mapping Toolbox   Version 3.6
>> (R2012b)
>> Neural Network ToolboxVersion 8.0
>> (R2012b)
>> Optimization Toolbox  Version 6.2.1
>> (R2012b)
>> Parallel Computing ToolboxVersion 6.1
>> (R2012b)
>> Partial Differential Equation Toolbox Version 1.1
>> (R2012b)
>> Signal Processing Toolbox Version 6.18
>> (R2012b)
>> SimMechanics  Version 4.1
>> (R2012b)
>> Simscape  Version 3.8
>> (R2012b)
>> Simulink 3D Animation Version 6.2
>> (R2012b)
>> Stateflow Version 8.0
>> (R2012b)
>> Statistics ToolboxVersion 8.1
>> (R2012b)
>> Symbolic Math Toolbox Version 5.9
>> (R2012b)
>> System Identification Toolbox Version 8.1
>> (R2012b)
>> Wavelet Toolbox   Version 4.10
>> (R2012b)
>> Xilinx System Generator   Version 14.7
>> production build
>>
>> It seems that the DSP Toolbox is not included. I have the signal
>> processing toolbox. Do you have suggestions of what I can do?
>>
>> Have a wonderful evening
>>
>> Heystek
>>
>>
>>
>>
>>
>> On Tue, Sep 20, 2016 at 8:58 PM, Michael D'Cruze <
>> michael.dcr...@postgrad.manchester.ac.uk> wrote:
>>
>> Heystek,
>>
>>
>>
>> Do you have the DSP System Toolbox installed in Matlab?
>>
>>
>>
>> Michael
>>
>>
>>
>
>


Re: [casper] Help with Casper Tutorial 3

2016-09-20 Thread Heystek Grobler
Hi Michael

Thanks for your help. I will try to obtain a license for the DSP System
Toolbox.

Have a wonderful evening

Heystek

On Tue, Sep 20, 2016 at 10:28 PM, Michael D'Cruze <
michael.dcr...@postgrad.manchester.ac.uk> wrote:

> Hi Heystek,
>
>
>
> You need the DSP System Toolbox unfortunately, in order to compile the ADC
> blocks. This is typically a paid-for toolbox, though my local IT Services
> were helpful and had a few spare server licences.
>
>
>
> BW
> Michael
>
>
>
> *From:* Heystek Grobler [mailto:heystekgrob...@gmail.com]
> *Sent:* 20 September 2016 21:24
> *To:* Michael D'Cruze
> *Cc:* Casper Lists
> *Subject:* Re: [casper] Help with Casper Tutorial 3
>
>
>
> Hi Michael
>
> This is the toolboxes that I have:
>
> MATLAB Version: 8.0.0.783 (R2012b)
> MATLAB License Number: 724504
> Operating System: Linux 3.19.0-68-generic #76~14.04.1-Ubuntu SMP Fri Aug
> 12 11:46:25 UTC 2016 x86_64
> Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java
> HotSpot(TM) 64-Bit Server VM mixed mode
> 
> ---
> MATLABVersion 8.0
> (R2012b)
> Simulink  Version 8.0
> (R2012b)
> Bioinformatics ToolboxVersion 4.2
> (R2012b)
> Curve Fitting Toolbox Version 3.3
> (R2012b)
> Database Toolbox  Version 4.0
> (R2012b)
> Datafeed Toolbox  Version 4.4
> (R2012b)
> Econometrics Toolbox  Version 2.2
> (R2012b)
> Financial Instruments Toolbox Version 1.0
> (R2012b)
> Financial Toolbox Version 5.0
> (R2012b)
> Fuzzy Logic Toolbox   Version 2.2.16
> (R2012b)
> Global Optimization Toolbox   Version 3.2.2
> (R2012b)
> Image Acquisition Toolbox Version 4.4
> (R2012b)
> Image Processing Toolbox  Version 8.1
> (R2012b)
> Instrument Control ToolboxVersion 3.2
> (R2012b)
> MATLAB Compiler   Version 4.18
> (R2012b)
> Mapping Toolbox   Version 3.6
> (R2012b)
> Neural Network ToolboxVersion 8.0
> (R2012b)
> Optimization Toolbox  Version 6.2.1
> (R2012b)
> Parallel Computing ToolboxVersion 6.1
> (R2012b)
> Partial Differential Equation Toolbox Version 1.1
> (R2012b)
> Signal Processing Toolbox Version 6.18
> (R2012b)
> SimMechanics  Version 4.1
> (R2012b)
> Simscape  Version 3.8
> (R2012b)
> Simulink 3D Animation Version 6.2
> (R2012b)
> Stateflow Version 8.0
> (R2012b)
> Statistics ToolboxVersion 8.1
> (R2012b)
> Symbolic Math Toolbox Version 5.9
> (R2012b)
> System Identification Toolbox Version 8.1
> (R2012b)
> Wavelet Toolbox   Version 4.10
> (R2012b)
> Xilinx System Generator   Version 14.7
> production build
>
> It seems that the DSP Toolbox is not included. I have the signal
> processing toolbox. Do you have suggestions of what I can do?
>
> Have a wonderful evening
>
> Heystek
>
>
>
>
>
> On Tue, Sep 20, 2016 at 8:58 PM, Michael D'Cruze  manchester.ac.uk> wrote:
>
> Heystek,
>
>
>
> Do you have the DSP System Toolbox installed in Matlab?
>
>
>
> Michael
>
>
>


Re: [casper] Help with Casper Tutorial 3

2016-09-20 Thread Michael D'Cruze
Hi Heystek,

You need the DSP System Toolbox unfortunately, in order to compile the ADC 
blocks. This is typically a paid-for toolbox, though my local IT Services were 
helpful and had a few spare server licences.

BW
Michael

From: Heystek Grobler [mailto:heystekgrob...@gmail.com]
Sent: 20 September 2016 21:24
To: Michael D'Cruze
Cc: Casper Lists
Subject: Re: [casper] Help with Casper Tutorial 3

Hi Michael
This is the toolboxes that I have:

MATLAB Version: 8.0.0.783 (R2012b)
MATLAB License Number: 724504
Operating System: Linux 3.19.0-68-generic #76~14.04.1-Ubuntu SMP Fri Aug 12 
11:46:25 UTC 2016 x86_64
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 
64-Bit Server VM mixed mode
---
MATLABVersion 8.0
(R2012b)
Simulink  Version 8.0
(R2012b)
Bioinformatics ToolboxVersion 4.2
(R2012b)
Curve Fitting Toolbox Version 3.3
(R2012b)
Database Toolbox  Version 4.0
(R2012b)
Datafeed Toolbox  Version 4.4
(R2012b)
Econometrics Toolbox  Version 2.2
(R2012b)
Financial Instruments Toolbox Version 1.0
(R2012b)
Financial Toolbox Version 5.0
(R2012b)
Fuzzy Logic Toolbox   Version 2.2.16 
(R2012b)
Global Optimization Toolbox   Version 3.2.2  
(R2012b)
Image Acquisition Toolbox Version 4.4
(R2012b)
Image Processing Toolbox  Version 8.1
(R2012b)
Instrument Control ToolboxVersion 3.2
(R2012b)
MATLAB Compiler   Version 4.18   
(R2012b)
Mapping Toolbox   Version 3.6
(R2012b)
Neural Network ToolboxVersion 8.0
(R2012b)
Optimization Toolbox  Version 6.2.1  
(R2012b)
Parallel Computing ToolboxVersion 6.1
(R2012b)
Partial Differential Equation Toolbox Version 1.1
(R2012b)
Signal Processing Toolbox Version 6.18   
(R2012b)
SimMechanics  Version 4.1
(R2012b)
Simscape  Version 3.8
(R2012b)
Simulink 3D Animation Version 6.2
(R2012b)
Stateflow Version 8.0
(R2012b)
Statistics ToolboxVersion 8.1
(R2012b)
Symbolic Math Toolbox Version 5.9
(R2012b)
System Identification Toolbox Version 8.1
(R2012b)
Wavelet Toolbox   Version 4.10   
(R2012b)
Xilinx System Generator   Version 14.7   
production build
It seems that the DSP Toolbox is not included. I have the signal processing 
toolbox. Do you have suggestions of what I can do?
Have a wonderful evening
Heystek


On Tue, Sep 20, 2016 at 8:58 PM, Michael D'Cruze 
>
 wrote:
Heystek,

Do you have the DSP System Toolbox installed in Matlab?

Michael



Re: [casper] Help with Casper Tutorial 3

2016-09-20 Thread Heystek Grobler
Hi Michael

This is the toolboxes that I have:

MATLAB Version: 8.0.0.783 (R2012b)
MATLAB License Number: 724504
Operating System: Linux 3.19.0-68-generic #76~14.04.1-Ubuntu SMP Fri Aug 12
11:46:25 UTC 2016 x86_64
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM)
64-Bit Server VM mixed mode
---
MATLABVersion 8.0
(R2012b)
Simulink  Version 8.0
(R2012b)
Bioinformatics ToolboxVersion 4.2
(R2012b)
Curve Fitting Toolbox Version 3.3
(R2012b)
Database Toolbox  Version 4.0
(R2012b)
Datafeed Toolbox  Version 4.4
(R2012b)
Econometrics Toolbox  Version 2.2
(R2012b)
Financial Instruments Toolbox Version 1.0
(R2012b)
Financial Toolbox Version 5.0
(R2012b)
Fuzzy Logic Toolbox   Version 2.2.16
(R2012b)
Global Optimization Toolbox   Version 3.2.2
(R2012b)
Image Acquisition Toolbox Version 4.4
(R2012b)
Image Processing Toolbox  Version 8.1
(R2012b)
Instrument Control ToolboxVersion 3.2
(R2012b)
MATLAB Compiler   Version 4.18
(R2012b)
Mapping Toolbox   Version 3.6
(R2012b)
Neural Network ToolboxVersion 8.0
(R2012b)
Optimization Toolbox  Version 6.2.1
(R2012b)
Parallel Computing ToolboxVersion 6.1
(R2012b)
Partial Differential Equation Toolbox Version 1.1
(R2012b)
Signal Processing Toolbox Version 6.18
(R2012b)
SimMechanics  Version 4.1
(R2012b)
Simscape  Version 3.8
(R2012b)
Simulink 3D Animation Version 6.2
(R2012b)
Stateflow Version 8.0
(R2012b)
Statistics ToolboxVersion 8.1
(R2012b)
Symbolic Math Toolbox Version 5.9
(R2012b)
System Identification Toolbox Version 8.1
(R2012b)
Wavelet Toolbox   Version 4.10
(R2012b)
Xilinx System Generator   Version 14.7
production build

It seems that the DSP Toolbox is not included. I have the signal processing
toolbox. Do you have suggestions of what I can do?

Have a wonderful evening

Heystek


On Tue, Sep 20, 2016 at 8:58 PM, Michael D'Cruze <
michael.dcr...@postgrad.manchester.ac.uk> wrote:

> Heystek,
>
>
>
> Do you have the DSP System Toolbox installed in Matlab?
>
>
>
> Michael
>


Re: [casper] ADC16x250-8 coax rev 2 noise

2016-09-20 Thread Dan Werthimer
hi adam,

the effect you are seeing is visible on many adc's - some digital noise
gets into the analog input,
and is often easy to see when there is no signal input, especially when the
adc's DC offset
happens to lie near the boundry of two ADC steps (then any noise will cause
the ADC to toggle).

if you test the adc is a more realistic situation, by injecting wideband
noise with an RMS about
about 20 ADC units, the spikes will likely still be there, but they will be
very small
and you'll have to integrate for a long time to see them.

best wishes,

dan




On Tue, Sep 20, 2016 at 11:46 AM, Schoenwald, Adam (GSFC-564.0)[AS and D,
Inc.]  wrote:

> Hi All,
>
> I have a question regarding the ADC16x250-8 coax rev 2 running in demux by
> 4 mode. When I terminate the inputs with a 50 ohm connector and collect
> data using a basic snapshot block design, I get a little bit of noise on
> the LSB. I export the data to a csv file and find that it is a collection
> of 0’s and -1’s, indicating that the level being converted by the adc is
> sitting between these two values and there is some sort of internal noise
> causing us to jump between values. What is alarming is that when I
> collected 2^18 samples and run spectral analysis I see large spikes at
> intervals of FS/16 (See Attached, pwelch(x,1024,256,[],800)).
>
>
>
> I am running the ADC at 800MHZ and the FPGA at 200MHZ. I am using one of
> the more recent casper builds after the bitslipping commit on Mar 25th. I
> also tried to use the ruby script located at https://github.com/jack-h/
> casper_adc16/tree/master/ruby/lib.
>
>
>
> I run the bof file with “adc16_init.rb --reg=0x3a=0x0202,0x3b=0x0202 -d 4
> roach_ip boffile”, where I change the ic inputs. We only connected 8 of the
> 16 coax cables to the board and I had to switch off the default.
>
>
>
> Has anyone else had a similar experience or ideas?
>
> 
>
> Adam Schoenwald
>
> 
>
>
>


Re: [casper] ADC16x250-8 coax rev 2 noise

2016-09-20 Thread David MacMahon
Hi, Adam,

I haven't looked at the spectral content of a terminated input before so I 
don’t have any comparative results, but I think the spikes you are seeing are 
caused by mismatched gains and/or offsets of the ADC’s interleaved cores (I 
think there are a total of 8 cores, also called "branches" in the datasheet).  
Have you tried sampling band limited noise (e.g. low pass at Fs/20)?  I think 
the severity of the spikes will be less in the presence of a signal.  In the 
worst case you will have to ignore the 8 frequency channels with these spikes, 
but you might be able to improve things by tweaking the coarse gain and/or fine 
gain registers in the ADC.

HTH,
Dave

> On Sep 20, 2016, at 11:46 AM, Schoenwald, Adam (GSFC-564.0)[AS and D, Inc.] 
>  wrote:
> 
> Hi All,
> I have a question regarding the ADC16x250-8 coax rev 2 running in demux by 4 
> mode. When I terminate the inputs with a 50 ohm connector and collect data 
> using a basic snapshot block design, I get a little bit of noise on the LSB. 
> I export the data to a csv file and find that it is a collection of 0’s and 
> -1’s, indicating that the level being converted by the adc is sitting between 
> these two values and there is some sort of internal noise causing us to jump 
> between values. What is alarming is that when I collected 2^18 samples and 
> run spectral analysis I see large spikes at intervals of FS/16 (See Attached, 
> pwelch(x,1024,256,[],800)).
>  
> I am running the ADC at 800MHZ and the FPGA at 200MHZ. I am using one of the 
> more recent casper builds after the bitslipping commit on Mar 25th. I also 
> tried to use the ruby script located 
> athttps://github.com/jack-h/casper_adc16/tree/master/ruby/lib 
> .
>  
> I run the bof file with “adc16_init.rb --reg=0x3a=0x0202,0x3b=0x0202 -d 4 
> roach_ip boffile”, where I change the ic inputs. We only connected 8 of the 
> 16 coax cables to the board and I had to switch off the default.
>  
> Has anyone else had a similar experience or ideas? 
> 
> Adam Schoenwald
> 
>  
> 



[casper] Help with Casper Tutorial 3

2016-09-20 Thread Michael D'Cruze
Heystek,

Do you have the DSP System Toolbox installed in Matlab?

Michael


[casper] Help with Casper Tutorial 3

2016-09-20 Thread Heystek Grobler
Good evening

I am trying to do the casper tutorial nr 3 on Ubuntu 14.04 LTS with ISE
14.7.

When I say update model in Simulink or run System generator I get the
following error:

Failed to load library 'dspsigops' referenced by 'tut3/adc/Downsamplei0'

Caused by:
Unable to load block diagram 'dspsigops'

I have tried the CASPER-ASTRO repository as well as the SKA repository.

The error is from the Sample Down Block inside the ADC.

Does anyone know how I can fix this? Tutorial 1 and 2 compiles perfectly.

Have a great evening

Heystek