Skip to content

Add NI-PCIe-6343 and NI-PXIe-6363 #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions labscript_devices/NI_DAQmx/models/NI_PCIe_6343.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#####################################################################
# #
# /NI_DAQmx/models/_subclass_template.py #
# #
# Copyright 2018, Christopher Billington #
# #
# This file is part of the module labscript_devices, in the #
# labscript suite (see http://labscriptsuite.org), and is #
# licensed under the Simplified BSD License. See the license.txt #
# file in the root of the project for the full license. #
# #
#####################################################################

#####################################################################
# WARNING #
# #
# This file is auto-generated, any modifications may be #
# overwritten. See README.txt in this folder for details #
# #
#####################################################################


from labscript_devices.NI_DAQmx.labscript_devices import NI_DAQmx

CAPABILITIES = {
'AI_range': [-10.0, 10.0],
'AI_start_delay': 7e-08,
'AO_range': [-10.0, 10.0],
'max_AI_multi_chan_rate': 500000.0,
'max_AI_single_chan_rate': 500000.0,
'max_AO_sample_rate': 917431.1926605505,
'max_DO_sample_rate': 1000000.0,
'min_semiperiod_measurement': 1e-07,
'num_AI': 32,
'num_AO': 4,
'num_CI': 4,
'ports': {
'port0': {'num_lines': 32, 'supports_buffered': True},
'port1': {'num_lines': 8, 'supports_buffered': False},
'port2': {'num_lines': 8, 'supports_buffered': False},
},
'supports_buffered_AO': True,
'supports_buffered_DO': True,
'supports_semiperiod_measurement': True,
}


class NI_PCIe_6343(NI_DAQmx):
description = 'NI-PCIe-6343'

def __init__(self, *args, **kwargs):
# Any provided kwargs take precedent over capabilities
combined_kwargs = CAPABILITIES.copy()
combined_kwargs.update(kwargs)
NI_DAQmx.__init__(self, *args, **combined_kwargs)
55 changes: 55 additions & 0 deletions labscript_devices/NI_DAQmx/models/NI_PXIe_6363.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#####################################################################
# #
# /NI_DAQmx/models/_subclass_template.py #
# #
# Copyright 2018, Christopher Billington #
# #
# This file is part of the module labscript_devices, in the #
# labscript suite (see http://labscriptsuite.org), and is #
# licensed under the Simplified BSD License. See the license.txt #
# file in the root of the project for the full license. #
# #
#####################################################################

#####################################################################
# WARNING #
# #
# This file is auto-generated, any modifications may be #
# overwritten. See README.txt in this folder for details #
# #
#####################################################################


from labscript_devices.NI_DAQmx.labscript_devices import NI_DAQmx

CAPABILITIES = {
'AI_range': [-10.0, 10.0],
'AI_start_delay': 7e-08,
'AO_range': [-10.0, 10.0],
'max_AI_multi_chan_rate': 1000000.0,
'max_AI_single_chan_rate': 2000000.0,
'max_AO_sample_rate': 2857142.8571428573,
'max_DO_sample_rate': 10000000.0,
'min_semiperiod_measurement': 1e-07,
'num_AI': 32,
'num_AO': 4,
'num_CI': 4,
'ports': {
'port0': {'num_lines': 32, 'supports_buffered': True},
'port1': {'num_lines': 8, 'supports_buffered': False},
'port2': {'num_lines': 8, 'supports_buffered': False},
},
'supports_buffered_AO': True,
'supports_buffered_DO': True,
'supports_semiperiod_measurement': True,
}


class NI_PXIe_6363(NI_DAQmx):
description = 'NI-PXIe-6363'

def __init__(self, *args, **kwargs):
# Any provided kwargs take precedent over capabilities
combined_kwargs = CAPABILITIES.copy()
combined_kwargs.update(kwargs)
NI_DAQmx.__init__(self, *args, **combined_kwargs)
72 changes: 72 additions & 0 deletions labscript_devices/NI_DAQmx/models/capabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,42 @@
"supports_buffered_DO": true,
"supports_semiperiod_measurement": false
},
"PCIe-6343": {
"AI_range": [
-10.0,
10.0
],
"AI_start_delay": 7e-08,
"AO_range": [
-10.0,
10.0
],
"max_AI_multi_chan_rate": 500000.0,
"max_AI_single_chan_rate": 500000.0,
"max_AO_sample_rate": 917431.1926605505,
"max_DO_sample_rate": 1000000.0,
"min_semiperiod_measurement": 1e-07,
"num_AI": 32,
"num_AO": 4,
"num_CI": 4,
"ports": {
"port0": {
"num_lines": 32,
"supports_buffered": true
},
"port1": {
"num_lines": 8,
"supports_buffered": false
},
"port2": {
"num_lines": 8,
"supports_buffered": false
}
},
"supports_buffered_AO": true,
"supports_buffered_DO": true,
"supports_semiperiod_measurement": true
},
"PCIe-6363": {
"AI_range": [
-10.0,
Expand Down Expand Up @@ -295,6 +331,42 @@
"supports_buffered_DO": true,
"supports_semiperiod_measurement": true
},
"PXIe-6363": {
"AI_range": [
-10.0,
10.0
],
"AI_start_delay": 7e-08,
"AO_range": [
-10.0,
10.0
],
"max_AI_multi_chan_rate": 1000000.0,
"max_AI_single_chan_rate": 2000000.0,
"max_AO_sample_rate": 2857142.8571428573,
"max_DO_sample_rate": 10000000.0,
"min_semiperiod_measurement": 1e-07,
"num_AI": 32,
"num_AO": 4,
"num_CI": 4,
"ports": {
"port0": {
"num_lines": 32,
"supports_buffered": true
},
"port1": {
"num_lines": 8,
"supports_buffered": false
},
"port2": {
"num_lines": 8,
"supports_buffered": false
}
},
"supports_buffered_AO": true,
"supports_buffered_DO": true,
"supports_semiperiod_measurement": true
},
"PXIe-6535": {
"AI_range": null,
"AI_start_delay": null,
Expand Down