Re: [casper] Problems with the corr library
Hi Roberto, If you downgrade the construct library to version 2.5.5-reupload that should fix things. Cheers, Jonathon On May 17, 2017 12:17, "Roberto F."wrote: Hi there, I upgraded the python library to version 0.7.3. When I run a python script I get the following error: from corr import katcp_wrapper File "/usr/local/lib/python2.7/dist-packages/corr/__init__.py", line 11, in import cn_conf, katcp_wrapper, log_handlers, corr_functions, corr_wb, corr_nb, corr_ddc, scroll, katadc, iadc, termcolors, rx, sim, snap File "/usr/local/lib/python2.7/dist-packages/corr/corr_wb.py", line 13, in construct.Flag('tvgsel_noise'), # 20 TypeError: 'Mapping' object is not callable I don't know why this is happening. Greatings _ Roberto M. Fuentes P. -- You received this message because you are subscribed to the Google Groups " casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To post to this group, send email to casper@lists.berkeley.edu. -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To post to this group, send email to casper@lists.berkeley.edu.
[casper] Problems with the corr library
Hi there, I upgraded the python library to version 0.7.3. When I run a python script I get the following error: from corr import katcp_wrapper File "/usr/local/lib/python2.7/dist-packages/corr/__init__.py", line 11, in import cn_conf, katcp_wrapper, log_handlers, corr_functions, corr_wb, corr_nb, corr_ddc, scroll, katadc, iadc, termcolors, rx, sim, snap File "/usr/local/lib/python2.7/dist-packages/corr/corr_wb.py", line 13, in construct.Flag('tvgsel_noise'), # 20 TypeError: 'Mapping' object is not callable I don't know why this is happening. Greatings _ Roberto M. Fuentes P. -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To post to this group, send email to casper@lists.berkeley.edu.
Re: [casper] katadc
Hello Heystek, It's conventional to use the sync0..3 outputs of the KatADC (through an OR gate) into the Sync input of your PFB. This should be a PPS signal. Do you have a PPS signal and clock reference going into your katadc? What speed (i.e. FPGA clock frequency) are you running at? Try doing some initial debugging e.g. in casperfpga in python with fpga.estimate_clock_freq() or something like that, I can't remember the exact name of the function. It also helps to connect that OR-gated sync signal to a 1-bit counter and to an LED output so you can actually see if a PPS is getting to the right place. Regards, James On Wed, May 17, 2017 at 9:57 AM, Heystek Groblerwrote: > Hi James > > Physically I have connected the signal generator to the katadc's "i" input > connector with a square wave at 50MHz with amplitude of 2Vpp. > > The simulink model is connected as follows: > > [image: Inline image 2] > If I program the ROACH and pull a spectrum of It I get nothing (only a > straight line through zero) or sometimes I get the most random noise that > is all over the place. > > Heystek > > > > > > > > > > On Wed, May 17, 2017 at 9:48 AM, James Smith wrote: > >> Hello Heystek, >> >> If you're not getting a spectrum, what are you getting? How have you >> connected your katadc? (Both physically and with the yellow block)? >> >> Regards, >> James >> >> >> On Wed, May 17, 2017 at 9:46 AM, Heystek Grobler < >> heystekgrob...@gmail.com> wrote: >> >>> Good day everyone >>> >>> I am trying to implement tutorial 3 on a ROACH1 with a katadc. I have >>> previously done it on a ROACH2 with the iadc. >>> >>> For some reason I am struggling to get the katadc to work. I am using >>> the katadc yellow block but I cant generate a spectrum. I hooked up an >>> signal generator to the katadc and gave it a square wave at 50MHz. >>> >>> Am I doing something stupid? Or is there another yellow block that I >>> should rather use. >>> >>> Have a great day >>> >>> Heystek Grobler >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "casper@lists.berkeley.edu" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to casper+unsubscr...@lists.berkeley.edu. >>> To post to this group, send email to casper@lists.berkeley.edu. >>> >> >> > -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To post to this group, send email to casper@lists.berkeley.edu.
Re: [casper] katadc
Hi James Physically I have connected the signal generator to the katadc's "i" input connector with a square wave at 50MHz with amplitude of 2Vpp. The simulink model is connected as follows: [image: Inline image 2] If I program the ROACH and pull a spectrum of It I get nothing (only a straight line through zero) or sometimes I get the most random noise that is all over the place. Heystek On Wed, May 17, 2017 at 9:48 AM, James Smithwrote: > Hello Heystek, > > If you're not getting a spectrum, what are you getting? How have you > connected your katadc? (Both physically and with the yellow block)? > > Regards, > James > > > On Wed, May 17, 2017 at 9:46 AM, Heystek Grobler > wrote: > >> Good day everyone >> >> I am trying to implement tutorial 3 on a ROACH1 with a katadc. I have >> previously done it on a ROACH2 with the iadc. >> >> For some reason I am struggling to get the katadc to work. I am using >> the katadc yellow block but I cant generate a spectrum. I hooked up an >> signal generator to the katadc and gave it a square wave at 50MHz. >> >> Am I doing something stupid? Or is there another yellow block that I >> should rather use. >> >> Have a great day >> >> Heystek Grobler >> >> -- >> You received this message because you are subscribed to the Google Groups >> "casper@lists.berkeley.edu" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to casper+unsubscr...@lists.berkeley.edu. >> To post to this group, send email to casper@lists.berkeley.edu. >> > > -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To post to this group, send email to casper@lists.berkeley.edu.
Re: [casper] katadc
Hello Heystek, If you're not getting a spectrum, what are you getting? How have you connected your katadc? (Both physically and with the yellow block)? Regards, James On Wed, May 17, 2017 at 9:46 AM, Heystek Groblerwrote: > Good day everyone > > I am trying to implement tutorial 3 on a ROACH1 with a katadc. I have > previously done it on a ROACH2 with the iadc. > > For some reason I am struggling to get the katadc to work. I am using the > katadc yellow block but I cant generate a spectrum. I hooked up an signal > generator to the katadc and gave it a square wave at 50MHz. > > Am I doing something stupid? Or is there another yellow block that I > should rather use. > > Have a great day > > Heystek Grobler > > -- > You received this message because you are subscribed to the Google Groups " > casper@lists.berkeley.edu" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to casper+unsubscr...@lists.berkeley.edu. > To post to this group, send email to casper@lists.berkeley.edu. > -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To post to this group, send email to casper@lists.berkeley.edu.
[casper] katadc
Good day everyone I am trying to implement tutorial 3 on a ROACH1 with a katadc. I have previously done it on a ROACH2 with the iadc. For some reason I am struggling to get the katadc to work. I am using the katadc yellow block but I cant generate a spectrum. I hooked up an signal generator to the katadc and gave it a square wave at 50MHz. Am I doing something stupid? Or is there another yellow block that I should rather use. Have a great day Heystek Grobler -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To post to this group, send email to casper@lists.berkeley.edu.