Skip to content

Commit

Permalink
Adds DIALOG gScript command for customizable user dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
cfangmeier committed Mar 14, 2023
1 parent a8b5221 commit a69ff04
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 0 deletions.
33 changes: 33 additions & 0 deletions Example Project/Config/dialog-test.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
; Execute with: DIALOG Config\dialog-test.ini
[window]
width=440
height=440
title=Test Dialog

[float_input_1]
label=Hello World
x=10
y=100
default=16
variable="[1]"

[float_input_2]
label=Hello World
x=110
y=100
default=16
variable="$float2"

[bool_input_1]
label=Boolean input 1
x=10
y=10
default=false
variable=$bool1

[bool_input_2]
label=Boolean input 2
x=110
y=10
default=true
variable=$bool2
Binary file not shown.
Binary file modified Gantry/gScript Application/gScript Interpreter/CMD_LOADSTAMP.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,15 @@
<Property Name="NI.ClassItem.Priority" Type="Int">1</Property>
<Property Name="NI.ClassItem.State" Type="Int">1082401296</Property>
</Item>
<Item Name="CMD_DIALOG.vi" Type="VI" URL="../CMD_DIALOG.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">)D#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!&amp;@!!!!#Q!-1#%'=X2B&gt;(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&amp;!!!Q!!!!%!!AFF=H*P=C"P&gt;81!"!!!!$Z!=!!?!!!&gt;'W&gt;49X*J=(1A37ZU:8*Q=G6U:8)O&lt;(:D&lt;'&amp;T=Q!8:V.D=GFQ&gt;#"*&lt;H2F=H"S:82F=C"P&gt;81!)%"1!!-!!!!"!!)4:8*S&lt;X)A;7YA+'ZP)'6S=G^S+1!11$$`````"F.U=GFO:Q!!&amp;E"!!!(`````!!=*18*H&gt;7VF&lt;H2T!$Z!=!!?!!!&gt;'W&gt;49X*J=(1A37ZU:8*Q=G6U:8)O&lt;(:D&lt;'&amp;T=Q!7:V.D=GFQ&gt;#"*&lt;H2F=H"S:82F=C"J&lt;A!!6!$Q!!Q!!Q!%!!1!"1!%!!1!"!!%!!9!"!!)!!E$!!"Y!!!.#!!!!!!!!!!!!!#.#Q!!!!!!!!!!!!!!!!!!!!!!!!I!!!!!!!!##!!!!*)!!!!!!1!+!!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
<Property Name="NI.ClassItem.Flags" Type="Int">0</Property>
<Property Name="NI.ClassItem.IsStaticMethod" Type="Bool">false</Property>
<Property Name="NI.ClassItem.MethodScope" Type="UInt">1</Property>
<Property Name="NI.ClassItem.Priority" Type="Int">1</Property>
<Property Name="NI.ClassItem.State" Type="Int">1082130960</Property>
</Item>
</Item>
<Item Name="Motion" Type="Folder">
<Item Name="CMD_ACKFAULT.vi" Type="VI" URL="../CMD_ACKFAULT.vi">
Expand Down

0 comments on commit a69ff04

Please sign in to comment.