Skip to content

Commit

Permalink
Updated 2450 smu-source and smu-enums (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethall authored Sep 5, 2018
1 parent 0987ef4 commit d348857
Show file tree
Hide file tree
Showing 2 changed files with 168 additions and 60 deletions.
30 changes: 21 additions & 9 deletions server/src/instrument/2450/smu-enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const smuEnumCompletions: Array<CompletionItem> = [
{
data: ['smu'],
documentation: {
kind: MarkupKind.Markdown,
kind: MarkupKind.PlainText,
value: 'Percentage of deviation from the reference constant supplied by the math percent attribute.'
},
kind: CompletionItemKind.EnumMember,
Expand All @@ -145,7 +145,7 @@ const smuEnumCompletions: Array<CompletionItem> = [
{
data: ['smu'],
documentation: {
kind: MarkupKind.Markdown,
kind: MarkupKind.PlainText,
value: 'Turning the source off sets the measurement sense type to 2-Wire and the voltage limit to 10% of \
the present voltage range. If the output is acting a current source, then it is selected and set to 0A; otherwise it \
is set to 0V.'
Expand All @@ -156,7 +156,7 @@ is set to 0V.'
{
data: ['smu'],
documentation: {
kind: MarkupKind.Markdown,
kind: MarkupKind.PlainText,
value: 'Turning the source off sets the measurement sense type to 2-Wire and opens the output relay. \
Opening this relay disconnects the instrument as a load. To prevent execessive wear, do not use this offmode during \
tests that toggle the output state frequently.'
Expand All @@ -167,7 +167,7 @@ tests that toggle the output state frequently.'
{
data: ['smu'],
documentation: {
kind: MarkupKind.Markdown,
kind: MarkupKind.PlainText,
value: 'Turning the source off sets the measurement sense type to 2-Wire, selects the voltage source and \
sets it to 0V, and sets the current limit to 10% of the present measurement autorange value.'
},
Expand All @@ -177,7 +177,7 @@ sets it to 0V, and sets the current limit to 10% of the present measurement auto
{
data: ['smu'],
documentation: {
kind: MarkupKind.Markdown,
kind: MarkupKind.PlainText,
value: 'Turning the source off sets the measurement sense type to 2-Wire, selects the voltage source and \
sets it to 0V and sets the range to the present range (turning off autorange if enabled). If the output is acting as \
a current source, then the current limit is set to the programmed source current value or to 10% of the present \
Expand Down Expand Up @@ -258,16 +258,28 @@ current range, whichever is greater; otherwise the current limit is not changed.
},
{
data: ['smu'],
documentation: {
kind: MarkupKind.PlainText,
value: 'Automatically choose the most sensitive range for each source level in the sweep.'
},
kind: CompletionItemKind.EnumMember,
label: 'RANGE_AUTO'
},
{
data: ['smu'],
documentation: {
kind: MarkupKind.PlainText,
value: 'Automatically choose the most sensitive range for all source levels in the sweep.'
},
kind: CompletionItemKind.EnumMember,
label: 'RANGE_BEST'
},
{
data: ['smu'],
documentation: {
kind: MarkupKind.PlainText,
value: 'Use whatever range was configured at the start of the sweep.'
},
kind: CompletionItemKind.EnumMember,
label: 'RANGE_FIXED'
},
Expand All @@ -294,7 +306,7 @@ current range, whichever is greater; otherwise the current limit is not changed.
{
data: ['smu'],
documentation: {
kind: MarkupKind.Markdown,
kind: MarkupKind.PlainText,
value: 'Only available for Current measurements.'
},
kind: CompletionItemKind.EnumMember,
Expand All @@ -303,7 +315,7 @@ current range, whichever is greater; otherwise the current limit is not changed.
{
data: ['smu'],
documentation: {
kind: MarkupKind.Markdown,
kind: MarkupKind.PlainText,
value: 'Available for all measurement functions.'
},
kind: CompletionItemKind.EnumMember,
Expand All @@ -312,7 +324,7 @@ current range, whichever is greater; otherwise the current limit is not changed.
{
data: ['smu'],
documentation: {
kind: MarkupKind.Markdown,
kind: MarkupKind.PlainText,
value: 'Only available for Voltage measurements.'
},
kind: CompletionItemKind.EnumMember,
Expand All @@ -321,7 +333,7 @@ current range, whichever is greater; otherwise the current limit is not changed.
{
data: ['smu'],
documentation: {
kind: MarkupKind.Markdown,
kind: MarkupKind.PlainText,
value: 'Only available for Current or Voltage measurements.'
},
kind: CompletionItemKind.EnumMember,
Expand Down
Loading

0 comments on commit d348857

Please sign in to comment.