-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STU-275 app gallery instruments (#1102)
* Fix all Link | Split IO | Add PEAK, CANABLE, RIGOL, NI-cDAQ * LeCroy and Better Name for Link * Formatting * Comments on Read CAN Message + Better Visualization * Hardware First after intro * Adding Basic Example for Tek & Pico scope * Formatting * Add DMM and 2450 examples * prett --------- Co-authored-by: dstrande <dstrande@live.ca>
- Loading branch information
1 parent
933ea79
commit fbd294f
Showing
23 changed files
with
7,188 additions
and
104 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,322 @@ | ||
{ | ||
"rfInstance": { | ||
"nodes": [ | ||
{ | ||
"width": 192, | ||
"height": 192, | ||
"id": "CONNECT_2450-72b8d59f-b577-4f92-b3df-705b3fc2cd06", | ||
"type": "HARDWARE", | ||
"data": { | ||
"id": "CONNECT_2450-72b8d59f-b577-4f92-b3df-705b3fc2cd06", | ||
"label": "CONNECT 2450", | ||
"func": "CONNECT_2450", | ||
"type": "HARDWARE", | ||
"ctrls": { | ||
"device": { | ||
"type": "VisaDevice", | ||
"default": null, | ||
"desc": "The connected VISA device.", | ||
"overload": null, | ||
"functionName": "CONNECT_2450", | ||
"param": "device", | ||
"value": "TCPIP::169.254.175.123::INSTR" | ||
} | ||
}, | ||
"initCtrls": {}, | ||
"outputs": [ | ||
{ | ||
"name": "default", | ||
"id": "default", | ||
"type": "String", | ||
"desc": "The IP or VISA address of the VISA device." | ||
} | ||
], | ||
"pip_dependencies": [ | ||
{ | ||
"name": "tm_devices", | ||
"v": "1.0" | ||
} | ||
], | ||
"path": "HARDWARE/SOURCEMETERS/KEITHLEY/2450/CONNECT_2450/CONNECT_2450.py" | ||
}, | ||
"position": { | ||
"x": -672.9705519399253, | ||
"y": -345.8676653985847 | ||
}, | ||
"selected": false, | ||
"positionAbsolute": { | ||
"x": -672.9705519399253, | ||
"y": -345.8676653985847 | ||
}, | ||
"dragging": true | ||
}, | ||
{ | ||
"width": 192, | ||
"height": 192, | ||
"id": "IV_SWEEP_2450-4e375cbe-903d-4b94-bda3-d17321ec8010", | ||
"type": "HARDWARE", | ||
"data": { | ||
"id": "IV_SWEEP_2450-4e375cbe-903d-4b94-bda3-d17321ec8010", | ||
"label": "IV SWEEP 2450", | ||
"func": "IV_SWEEP_2450", | ||
"type": "HARDWARE", | ||
"ctrls": { | ||
"connection": { | ||
"type": "VisaConnection", | ||
"default": null, | ||
"desc": "The VISA address (requires the CONNECTION_2450 block).", | ||
"overload": null, | ||
"functionName": "IV_SWEEP_2450", | ||
"param": "connection", | ||
"value": "TCPIP::169.254.175.123::INSTR" | ||
}, | ||
"sweep": { | ||
"type": "select", | ||
"options": ["voltage", "current"], | ||
"default": "voltage", | ||
"desc": "Select the sweep mode, the opposite unit is measured.", | ||
"overload": null, | ||
"functionName": "IV_SWEEP_2450", | ||
"param": "sweep", | ||
"value": "voltage" | ||
}, | ||
"sense": { | ||
"type": "select", | ||
"options": ["2-wire", "4-wire"], | ||
"default": "2-wire", | ||
"desc": "Use 2 or 4 wire sense/measurement mode.", | ||
"overload": null, | ||
"functionName": "IV_SWEEP_2450", | ||
"param": "sense", | ||
"value": "2-wire" | ||
}, | ||
"start": { | ||
"type": "float", | ||
"default": 0, | ||
"desc": "The first x value of the sweep.", | ||
"overload": null, | ||
"functionName": "IV_SWEEP_2450", | ||
"param": "start", | ||
"value": 0 | ||
}, | ||
"stop": { | ||
"type": "float", | ||
"default": 1, | ||
"desc": "The last x value of the sweep.", | ||
"overload": null, | ||
"functionName": "IV_SWEEP_2450", | ||
"param": "stop", | ||
"value": 1 | ||
}, | ||
"points": { | ||
"type": "float", | ||
"default": 100, | ||
"desc": "The number of points between start and stop.", | ||
"overload": null, | ||
"functionName": "IV_SWEEP_2450", | ||
"param": "points", | ||
"value": 100 | ||
}, | ||
"measurement_time": { | ||
"type": "float", | ||
"default": 1, | ||
"desc": "How long to measure a single point, in seconds.", | ||
"overload": null, | ||
"functionName": "IV_SWEEP_2450", | ||
"param": "measurement_time", | ||
"value": 1 | ||
}, | ||
"measurement_delay": { | ||
"type": "float", | ||
"default": 0.05, | ||
"desc": "How long to delay between two points, in seconds.", | ||
"overload": null, | ||
"functionName": "IV_SWEEP_2450", | ||
"param": "measurement_delay", | ||
"value": 0.05 | ||
}, | ||
"y_limit": { | ||
"type": "float", | ||
"default": 1, | ||
"desc": "The limit of the measured value.", | ||
"overload": null, | ||
"functionName": "IV_SWEEP_2450", | ||
"param": "y_limit", | ||
"value": 1 | ||
}, | ||
"source_range": { | ||
"type": "float", | ||
"default": 1, | ||
"desc": "The range of the x value.", | ||
"overload": null, | ||
"functionName": "IV_SWEEP_2450", | ||
"param": "source_range", | ||
"value": 2 | ||
} | ||
}, | ||
"initCtrls": {}, | ||
"inputs": [ | ||
{ | ||
"name": "input", | ||
"id": "input", | ||
"type": "Any", | ||
"multiple": false, | ||
"desc": null | ||
} | ||
], | ||
"outputs": [ | ||
{ | ||
"name": "default", | ||
"id": "default", | ||
"type": "OrderedPair", | ||
"desc": "Sweep values" | ||
} | ||
], | ||
"pip_dependencies": [ | ||
{ | ||
"name": "tm_devices", | ||
"v": "1.0" | ||
} | ||
], | ||
"path": "HARDWARE/SOURCEMETERS/KEITHLEY/2450/IV_SWEEP_2450/IV_SWEEP_2450.py" | ||
}, | ||
"position": { | ||
"x": -378.6506972556997, | ||
"y": -345.45165192434666 | ||
}, | ||
"selected": false, | ||
"positionAbsolute": { | ||
"x": -378.6506972556997, | ||
"y": -345.45165192434666 | ||
}, | ||
"dragging": true | ||
}, | ||
{ | ||
"width": 380, | ||
"height": 293, | ||
"id": "LINE-30feab30-6d4f-4274-8877-383382355e5f", | ||
"type": "VISUALIZATION", | ||
"data": { | ||
"id": "LINE-30feab30-6d4f-4274-8877-383382355e5f", | ||
"label": "LINE", | ||
"func": "LINE", | ||
"type": "VISUALIZATION", | ||
"ctrls": { | ||
"xaxis_title": { | ||
"type": "str", | ||
"default": "", | ||
"desc": "Choose the label for the x axis.", | ||
"overload": null, | ||
"functionName": "LINE", | ||
"param": "xaxis_title", | ||
"value": "" | ||
}, | ||
"yaxis_title": { | ||
"type": "str", | ||
"default": "", | ||
"desc": "Choose the label for the y axis.", | ||
"overload": null, | ||
"functionName": "LINE", | ||
"param": "yaxis_title", | ||
"value": "" | ||
}, | ||
"x_log_scale": { | ||
"type": "bool", | ||
"default": false, | ||
"desc": null, | ||
"overload": null, | ||
"functionName": "LINE", | ||
"param": "x_log_scale", | ||
"value": false | ||
}, | ||
"y_log_scale": { | ||
"type": "bool", | ||
"default": false, | ||
"desc": null, | ||
"overload": null, | ||
"functionName": "LINE", | ||
"param": "y_log_scale", | ||
"value": false | ||
} | ||
}, | ||
"initCtrls": {}, | ||
"inputs": [ | ||
{ | ||
"name": "default", | ||
"id": "default", | ||
"type": "OrderedPair|DataFrame|Matrix|Vector", | ||
"multiple": false, | ||
"desc": "the DataContainer to be visualized" | ||
} | ||
], | ||
"outputs": [ | ||
{ | ||
"name": "default", | ||
"id": "default", | ||
"type": "Plotly", | ||
"desc": "the DataContainer containing the Plotly Line visualization of the input data" | ||
} | ||
], | ||
"path": "DATA/VISUALIZATION/PLOTLY/LINE/LINE.py" | ||
}, | ||
"position": { | ||
"x": -49.74793183836513, | ||
"y": -396.3301324465528 | ||
}, | ||
"selected": false, | ||
"positionAbsolute": { | ||
"x": -49.74793183836513, | ||
"y": -396.3301324465528 | ||
}, | ||
"dragging": true | ||
} | ||
], | ||
"edges": [ | ||
{ | ||
"source": "IV_SWEEP_2450-4e375cbe-903d-4b94-bda3-d17321ec8010", | ||
"sourceHandle": "default", | ||
"target": "LINE-30feab30-6d4f-4274-8877-383382355e5f", | ||
"targetHandle": "default", | ||
"id": "reactflow__edge-IV_SWEEP_2450-4e375cbe-903d-4b94-bda3-d17321ec8010default-LINE-30feab30-6d4f-4274-8877-383382355e5fdefault" | ||
}, | ||
{ | ||
"source": "CONNECT_2450-72b8d59f-b577-4f92-b3df-705b3fc2cd06", | ||
"sourceHandle": "default", | ||
"target": "IV_SWEEP_2450-4e375cbe-903d-4b94-bda3-d17321ec8010", | ||
"targetHandle": "input", | ||
"id": "reactflow__edge-CONNECT_2450-72b8d59f-b577-4f92-b3df-705b3fc2cd06default-IV_SWEEP_2450-4e375cbe-903d-4b94-bda3-d17321ec8010input" | ||
} | ||
], | ||
"viewport": { | ||
"x": 994.2991122110108, | ||
"y": 573.4932402039965, | ||
"zoom": 0.9719556784888205 | ||
} | ||
}, | ||
"textNodes": [ | ||
{ | ||
"id": "TextNode-1c9af5ae-81b7-437f-a108-1d85efbe8963", | ||
"position": { | ||
"x": -656.9814908380006, | ||
"y": -115.55375134086628 | ||
}, | ||
"type": "TextNode", | ||
"data": { | ||
"text": "## This app performs a IV sweep where voltage is swept and the resulting current is measured. This is a useful technique for testing electrical components, such as diodes." | ||
}, | ||
"width": 582, | ||
"height": 161, | ||
"selected": false, | ||
"positionAbsolute": { | ||
"x": -656.9814908380006, | ||
"y": -115.55375134086628 | ||
}, | ||
"dragging": false, | ||
"style": { | ||
"width": 582, | ||
"height": 161 | ||
}, | ||
"resizing": false | ||
} | ||
] | ||
} |
Oops, something went wrong.