Re: [ARTIQ] compiling idle.py fails

2016-12-14 Thread Christian via ARTIQ
Hi Aaron,

that was quick! The LED example seems to be working now (cannot look at
LED though, as I am only logged in via ssh from at home). Thanks,

Christian

On 14.12.2016 23:15, Aaron Vontell via ARTIQ wrote:
>
> Hello Christian,
>
> For ARTIQ to run you need to include a device_db.pyon file which
> specifies channel and device configurations for your board. The link
> below has a device_db.pyon file for the Pipistrello which you might
> find useful!
>
> https://github.com/vontell/artiq-control/tree/master/samples
>
> - Aaron Vontell
>
> On Dec 14, 2016 5:00 PM, Christian via ARTIQ
> wrote:
>
>
>
> ___
> ARTIQ mailing list
> https://ssl.serverraum.org/lists/listinfo/artiq


___
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq


Re: [ARTIQ] compiling idle.py fails

2016-12-14 Thread Aaron Vontell via ARTIQ
Hello Christian,

For ARTIQ to run you need to include a device_db.pyon file which specifies
channel and device configurations for your board. The link below has a
device_db.pyon file for the Pipistrello which you might find useful!

https://github.com/vontell/artiq-control/tree/master/samples

- Aaron Vontell

On Dec 14, 2016 5:00 PM, Christian via ARTIQ
wrote:
___
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq


[ARTIQ] compiling idle.py fails

2016-12-14 Thread Christian via ARTIQ
Dear all,

I am trying to get my feet wet with artiq and a pipistrello board. Here
is what I get when trying to compile idle.py:

(artiq-main) artiq@artiqhost:/artiq$ artiq_compile idle.py
Traceback (most recent call last):
  File "/artiq/anaconda3/envs/artiq-main/bin/artiq_compile", line 11, in

load_entry_point('artiq==3.0.dev0+78.g2bb90a4', 'console_scripts',
'artiq_compile')()
  File
"/artiq/anaconda3/envs/artiq-main/lib/python3.5/site-packages/artiq/frontend/artiq_compile.py",
line 41, in main
device_mgr = DeviceManager(DeviceDB(args.device_db))
  File
"/artiq/anaconda3/envs/artiq-main/lib/python3.5/site-packages/artiq/master/databases.py",
line 11, in __init__
self.data = Notifier(pyon.load_file(self.backing_file))
  File
"/artiq/anaconda3/envs/artiq-main/lib/python3.5/site-packages/artiq/protocols/pyon.py",
line 218, in load_file
with open(filename, "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'device_db.pyon'

Would someone on this list have a clue for me? That would be highly
appreciated...

Thanks,

Christian O
___
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq