forked from M-Labs/artiq
1
0
Fork 0
Commit Graph

2383 Commits

Author SHA1 Message Date
whitequark 422208a0e9 Fix copy-paste error. 2015-08-25 22:05:34 -07:00
whitequark 9b9fa1ab7c Allow embedding and RPC sending host objects. 2015-08-25 21:56:01 -07:00
Joe Britton b790fb093d add ping() to novatech driver 2015-08-26 12:05:10 +08:00
Sebastien Bourdeauducq d5f2f5c062 gui: fix spinbox bounds 2015-08-25 00:56:19 +08:00
Sebastien Bourdeauducq e043179120 language,gui: support ndecimals in scan and number arguments 2015-08-25 00:39:16 +08:00
Sebastien Bourdeauducq 718de9888b gui: disable parameter selection 2015-08-25 00:38:03 +08:00
Sebastien Bourdeauducq 1c96f258b1 gui: show server in window title 2015-08-25 00:37:49 +08:00
Sebastien Bourdeauducq b7120aa0ac examples/arguments_demo: demonstrate parents 2015-08-25 00:07:37 +08:00
Sebastien Bourdeauducq 1ad8e65e42 language/environment: support parents 2015-08-25 00:03:36 +08:00
Sebastien Bourdeauducq bb228b00ef gui,language,master: argument groups 2015-08-24 23:46:54 +08:00
Sebastien Bourdeauducq 7d4d92ec06 gui/explorer: use QTreeWidget for argument editor 2015-08-24 22:59:56 +08:00
Sebastien Bourdeauducq 45a90bf272 conda: remove stale ARTIQ_GUI env variable 2015-08-24 20:28:39 +08:00
Sebastien Bourdeauducq 84b07607ad gui: do not attempt moninj on windows 2015-08-24 20:20:33 +08:00
whitequark 526d7c4e46 Fix a typo. 2015-08-22 14:01:55 -07:00
whitequark a557445e05 LocalAccessValidator: assume variables with "$" in name are internal.
Internal variables are assumed to be scoped correctly
(including not being accessed uninitialized).

This was changed from "." because artiq.compiler.embedding uses
"." in module prefix of function names.
2015-08-22 13:56:17 -07:00
whitequark 0e26cfb66e LocalAccessValidator: relax restrictions to accept def f(); def g(). 2015-08-22 13:31:09 -07:00
whitequark b39e76ae28 Remove debug print. 2015-08-22 12:22:26 -07:00
Yann Sionneau 34771ade67 artiq_flash.sh: fix runtime programming and allow usage of -d . -r 2015-08-22 15:28:55 +02:00
Sebastien Bourdeauducq 284e3ddb2b gui/scan: enforce min <= max 2015-08-22 21:05:24 +08:00
Sebastien Bourdeauducq 21a28a13c9 gui/explorer: less verbose error dialogs 2015-08-22 21:05:05 +08:00
Sebastien Bourdeauducq 42e87c060e protocols/pyon: use better object for empty builtins 2015-08-22 21:04:44 +08:00
Sebastien Bourdeauducq 72616f6f29 language: document HasEnvironment.dbs 2015-08-22 21:04:23 +08:00
Sebastien Bourdeauducq d38f1e6796 ad9xxx: fix gpio signal length 2015-08-22 13:12:30 +08:00
Sebastien Bourdeauducq fba05531f4 runtime: enable ad9914 matched latency 2015-08-22 12:25:44 +08:00
Sebastien Bourdeauducq 094fc1cfd1 qc2: DDS selection is active low 2015-08-22 11:49:38 +08:00
Sebastien Bourdeauducq 82fdebde75 runtime: support single channel test sequence 2015-08-22 10:43:46 +08:00
Sebastien Bourdeauducq 8d4ef479e5 runtime: test all DDS channels 2015-08-22 10:03:35 +08:00
Sebastien Bourdeauducq e0c35cabab runtime: fix onehot selection in ddstest_one 2015-08-22 09:56:40 +08:00
Yann Sionneau c9236870bd travis: do not upload conda package if branch is not master. fixes #55 2015-08-21 18:47:58 +02:00
Sebastien Bourdeauducq 7f613d17d1 Merge branch 'master' of github.com:m-labs/artiq 2015-08-21 17:51:30 +08:00
Sebastien Bourdeauducq ac7e080c48 typo 2015-08-21 17:51:11 +08:00
Sebastien Bourdeauducq 8d8aa32aed runtime: fix AD9914 register read in bridge 2015-08-21 17:51:01 +08:00
Yann Sionneau 5fc5d0b672 artiq_flash: replace wrong wording 'carrier' with 'mezzanine' 2015-08-21 09:38:15 +02:00
Sebastien Bourdeauducq d4f42e33e6 doc: clarify hw support 2015-08-21 13:33:23 +08:00
Sebastien Bourdeauducq ac5dd0a7e5 doc: scans 2015-08-21 13:32:53 +08:00
Sebastien Bourdeauducq a8575fe2ac typo 2015-08-21 13:32:26 +08:00
Yann Sionneau 646721d3e9 artiq_flash: add missing semicolons 2015-08-20 18:28:00 +02:00
Yann Sionneau df7489ff61 travis/conda: add automated builds for kc705 nist_qc2 subtarget 2015-08-20 16:31:48 +02:00
Yann Sionneau c6bba4d5eb Revert "conda: give 10 more minutes to ISE to achieve routing"
This reverts commit e6cc0419e5.
2015-08-20 13:03:09 +02:00
Yann Sionneau e6cc0419e5 conda: give 10 more minutes to ISE to achieve routing 2015-08-20 12:33:55 +02:00
whitequark 27a697920a LLVMIRGenerator: use sret when returning large structures. 2015-08-19 15:06:03 -07:00
whitequark 673512f356 coredevice.core: fix imports. 2015-08-19 12:37:31 -07:00
whitequark afc3f36104 ARTIQIRGenerator: fix polymorphic print on closures. 2015-08-19 12:37:22 -07:00
whitequark 53b4d87647 LLVMIRGenerator: attach debug metadata to all emitted LLVM instructions. 2015-08-19 12:18:20 -07:00
Yann Sionneau 3002b5be56 conda: update artiq pkg entry points 2015-08-19 13:20:25 +02:00
Yann Sionneau da1398b183 pxi6733: fix crash when samples are all the same
When samples are all the same, min = max, which PyDAQmx does not like.
This avoids the following crash reported by Kathie:

C:\Users\rabi\artiq\artiq\frontend [master]> python .\artiq_rpctool.py ::1 3256
call load_sample_values 100000 'np.array([0.0,0.0],dtype=float)'
Traceback (most recent call last):
  File ".\artiq_rpctool.py", line 112, in <module>
    main()
  File ".\artiq_rpctool.py", line 107, in main
    call_method(remote, args.method, args.args)
  File ".\artiq_rpctool.py", line 79, in call_method
    ret = method(*[eval(arg) for arg in args])
  File "C:\Users\rabi\AppData\Local\Continuum\Anaconda3\lib\site-packages\artiq-
0.0+dev-py3.4.egg\artiq\protocols\pc_rpc.py", line 142, in proxy
    return self.__do_rpc(name, args, kwargs)
  File "C:\Users\rabi\AppData\Local\Continuum\Anaconda3\lib\site-packages\artiq-
0.0+dev-py3.4.egg\artiq\protocols\pc_rpc.py", line 134, in __do_rpc
    return self.__do_action(obj)
  File "C:\Users\rabi\AppData\Local\Continuum\Anaconda3\lib\site-packages\artiq-
0.0+dev-py3.4.egg\artiq\protocols\pc_rpc.py", line 128, in __do_action
    raise RemoteError(obj["message"])
artiq.protocols.pc_rpc.RemoteError: Traceback (most recent call last):
  File "C:\Users\rabi\AppData\Local\Continuum\Anaconda3\lib\site-packages\artiq-
0.0+dev-py3.4.egg\artiq\protocols\pc_rpc.py", line 476, in _handle_connection_cr

    ret = method(*obj["args"], **obj["kwargs"])
  File "C:\Users\rabi\AppData\Local\Continuum\Anaconda3\lib\site-packages\artiq-
0.0+dev-py3.4.egg\artiq\devices\pxi6733\driver.py", line 117, in load_sample_val
ues
    byref(num_samps_written), None)
  File "<string>", line 3, in WriteAnalogF64
  File "<string>", line 2, in function
  File "C:\Users\rabi\AppData\Local\Continuum\Anaconda3\lib\site-packages\pydaqm
x-1.3.1-py3.4.egg\PyDAQmx\DAQmxFunctions.py", line 28, in mafunction
    raise DAQError(error,errBuff.value.decode("utf-8"), f.__name__)
PyDAQmx.DAQmxFunctions.DAQError: Minimum is greater than or equal to the maximum
. Ensure the maximum value is greater than the minimum value. If using a custom
scale, ensure that the scaled maximum is greater than the scaled minimum.
Property: DAQmx_AO_Min
Corresponding Value:  0.0

Property: DAQmx_AO_Max
Corresponding Value:  0.0

Channel Name: Dev1/ao1

Task Name: _unnamedTask<4>

Status Code: -200082
 in function DAQmxWriteAnalogF64
2015-08-19 12:49:33 +02:00
whitequark 51c591f01a Unbreak tests. 2015-08-18 22:44:09 -07:00
whitequark 6c8de9b6d4 Implement methods. 2015-08-18 22:39:22 -07:00
whitequark 1040a409c3 lit-test: fix tests incorrectly assuming an OutputCheck step. 2015-08-18 15:05:43 -07:00
Sebastien Bourdeauducq c3f3763af1 doc: units 2015-08-18 23:31:06 +08:00