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

925 Commits

Author SHA1 Message Date
Yann Sionneau df7489ff61 travis/conda: add automated builds for kc705 nist_qc2 subtarget 2015-08-20 16:31:48 +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
Sebastien Bourdeauducq 9f0ada49e5 doc: environment 2015-08-18 23:30:50 +08:00
Sebastien Bourdeauducq 600e8335f2 influxdb: tag-based schema, better type support 2015-08-18 14:49:23 +08:00
Sebastien Bourdeauducq ed00ca1485 influxdb: do not crash on parameter deletion 2015-08-18 13:35:05 +08:00
Sebastien Bourdeauducq 2ac8c53bbe influxdb: use types 2015-08-18 13:34:42 +08:00
Sebastien Bourdeauducq 2275017651 influxdb: better error reporting 2015-08-18 13:34:15 +08:00
Sebastien Bourdeauducq 66b5ca99d8 influxdb: better filtering 2015-08-18 09:59:48 +08:00
Sebastien Bourdeauducq c625f2e7c9 ttl: minor docstring cleanup 2015-08-17 23:50:24 +08:00
Sebastien Bourdeauducq c71d207e90 core/break_realtime: only increase now 2015-08-17 23:41:21 +08:00
Sebastien Bourdeauducq 278adf193d test/pc_rpc: use builtin_terminate 2015-08-17 23:17:13 +08:00
Sebastien Bourdeauducq e7d495cf2c gui/tools: better detection of scalar types 2015-08-17 23:14:18 +08:00
Sebastien Bourdeauducq 21b170ed32 pc_rpc/Server: show builtin terminate in method list 2015-08-17 23:03:43 +08:00
Sebastien Bourdeauducq 2410ef79e5 gui: display numpy scalars in parameters 2015-08-17 23:03:18 +08:00
Sebastien Bourdeauducq 324cafae3d rpctool: use pprint 2015-08-17 15:45:08 +08:00
Sebastien Bourdeauducq abbf5eb059 gui: minor cleanup 2015-08-17 15:44:54 +08:00
Sebastien Bourdeauducq fd3fefec52 add InfluxDB bridge 2015-08-17 15:44:40 +08:00
Sebastien Bourdeauducq dee844510c comm_tcp: enable TCP keepalive on host side as well 2015-08-15 16:03:00 +08:00
Sebastien Bourdeauducq 0be0b199c1 gui: save/restore state of pyqtgraph plots (closes #98) 2015-08-15 15:29:41 +08:00
Sebastien Bourdeauducq 34a9c8c12d artiq_run: add dummy pause method (closes #100) 2015-08-15 09:16:00 +08:00
Yann Sionneau 966d0ee3f2 pxi6733: fix verification of the number of buffered sample values 2015-08-14 10:36:03 +02:00
Sebastien Bourdeauducq f073dfaee5 ttl: add input/output doc 2015-08-13 12:20:12 +08:00
Sebastien Bourdeauducq 998db5121b pc_rpc: id_parameters -> description 2015-08-11 23:29:52 +08:00
Sebastien Bourdeauducq a6ab066c87 ctlmgr: support immediate controller retry 2015-08-11 23:22:36 +08:00
Sebastien Bourdeauducq 06badd1dc1 scheduler: refactor, fix pipeline hazards 2015-08-10 21:58:11 +08:00
Sebastien Bourdeauducq b700f591f1 protocols/pc_rpc: add missing import 2015-08-10 20:07:39 +08:00
Sebastien Bourdeauducq 52de6311a4 test/scheduler: add repo_msg 2015-08-10 20:07:24 +08:00
Sebastien Bourdeauducq 54b11a392a ctlmgr: graceful controller termination 2015-08-09 20:41:11 +08:00
Sebastien Bourdeauducq 4b195663f6 pc_rpc/Server: add built-in terminate 2015-08-09 20:40:15 +08:00
Sebastien Bourdeauducq a21049d779 ctlmgr: exponential backoff 2015-08-09 18:28:56 +08:00
Sebastien Bourdeauducq 3f68d0ba8f ctlmgr: ping controllers 2015-08-09 17:30:46 +08:00
Sebastien Bourdeauducq 479175870f pdq2/driver: implement ping 2015-08-09 17:30:01 +08:00
Sebastien Bourdeauducq f81b2eba43 master: better repo scan error handling 2015-08-08 23:36:12 +08:00
Sebastien Bourdeauducq 400b414885 master,client: support scanning specific repo revisions 2015-08-08 23:23:25 +08:00
Sebastien Bourdeauducq 671a3f1833 doc: precision about dds batch time 2015-08-08 23:05:00 +08:00
Sebastien Bourdeauducq 0a6fcd9fa0 Revert "comm_generic: cleanup"
This reverts commit be55487d2d.
2015-08-08 21:24:23 +08:00
Sebastien Bourdeauducq 1818e8173b client: log display support 2015-08-08 18:02:42 +08:00
Sebastien Bourdeauducq c80f0fa07a master: delete head repository checkout on exit 2015-08-08 11:44:19 +08:00
Sebastien Bourdeauducq 42010fcd4b gui: regenerate argument setter when modified from repository 2015-08-08 11:38:07 +08:00
Sebastien Bourdeauducq 585bb236f8 master: add ddb/pdb args 2015-08-08 11:13:36 +08:00
Sebastien Bourdeauducq 54d85efc2a master,gui: show Git commit messages in schedule 2015-08-08 11:08:04 +08:00
Sebastien Bourdeauducq be55487d2d comm_generic: cleanup 2015-08-07 21:12:00 +08:00
Sebastien Bourdeauducq 7ed8fe57fa Git support 2015-08-07 15:51:56 +08:00
Sebastien Bourdeauducq 968760d48f gui: save geometry of main window 2015-08-06 22:27:46 +08:00
Sebastien Bourdeauducq e078dabd3c tools/TaskObject: do not suppress exceptions raised by terminating task 2015-08-06 22:14:49 +08:00
Sebastien Bourdeauducq 9261254653 language/environment: support non-stored results 2015-08-06 18:43:27 +08:00
Sebastien Bourdeauducq 59a29ae04b language/environment: remove attr_rtresult
This function has the typical side effect of clearing the result. When happening in build(), this caused minor trouble when using pipelined scheduling (no result displayed at all until run() proceeds).
2015-08-06 18:23:09 +08:00
Sebastien Bourdeauducq fd795724f2 gui: better display of None 2015-08-06 18:03:05 +08:00
Sebastien Bourdeauducq 263ff86e66 gui: support X axis, fit, error bars in XY plot 2015-08-06 18:02:40 +08:00
Sebastien Bourdeauducq 7180552d24 gui: support setting histogram X axis 2015-08-06 15:34:58 +08:00