Skip to content

Commit

Permalink
updated Curve Tracer script
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Mar 18, 2020
1 parent f5c74a2 commit 12a88ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/Curve Tracer/Curve Tracer.eez-project
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{
"name": "device_type",
"type": "enum",
"enumItems": "[\n \"NPN\",\n \"N-Ch MOSFET\"\n]",
"enumItems": "[\n \"NPN BJT\",\n \"N-Ch MOSFET\"\n]",
"defaultValue": "0"
},
{
Expand Down Expand Up @@ -119,7 +119,7 @@
"top": 0,
"width": 166,
"height": 38,
"text": "NPN"
"text": "NPN BJT"
},
{
"type": "Text",
Expand Down
2 changes: 1 addition & 1 deletion scripts/Curve Tracer/Curve Tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def inputAmperage(name, amperage, min, max):

def select_device_type():
global deviceType
value = scpi('DISP:SELECT? ' + str(deviceType + 1) + ',"NPN","N-Ch MOSFET"')
value = scpi('DISP:SELECT? ' + str(deviceType + 1) + ',"NPN BJT","N-Ch MOSFET"')
if value != None and value != 0:
deviceType = value - 1
scpi("DISP:DIALog:DATA \"device_type\",INTEGER," + str(deviceType))
Expand Down
Binary file modified scripts/Curve Tracer/Curve Tracer.res
Binary file not shown.

0 comments on commit 12a88ce

Please sign in to comment.