-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from keenanlang/master
2016 Argonne Open House Changes
- Loading branch information
Showing
16 changed files
with
263 additions
and
146 deletions.
There are no files selected for viewing
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,7 @@ | ||
record(ai, "$(P)$(R)") | ||
{ | ||
field(DTYP, "asynInt32") | ||
field(SCAN, "I/O Intr") | ||
field(INP, "@asyn($(PORT), 0, 0)$(PARAM)") | ||
field(FLNK, "$(FLNK)") | ||
} |
7 changes: 7 additions & 0 deletions
7
edgeRoboArmIOC/support/usb-1-0/usbApp/Db/DigitalButton.template
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,7 @@ | ||
record(bi, "$(P)$(R)") | ||
{ | ||
field(DTYP, "asynInt32") | ||
field(SCAN, "I/O Intr") | ||
field(INP, "@asyn($(PORT), 0, 0)$(PARAM)") | ||
field(FLNK, "$(FLNK)") | ||
} |
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
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
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
7 changes: 7 additions & 0 deletions
7
edgeRoboArmIOC/support/xxx-5-6/iocBoot/iocLinux/substitutions/AxisMove.template
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,7 @@ | ||
record(calcout, "$(P)$(R)") | ||
{ | ||
field(INPA, "$(LOCK)") | ||
field(INPB, "$(AXIS)") | ||
field(CALC, "A ? 0 : 2 * (B < $(DEAD_LOW)) + (B > $(DEAD_HIGH))") | ||
field(OUT, "$(OUT) PP") | ||
} |
8 changes: 8 additions & 0 deletions
8
edgeRoboArmIOC/support/xxx-5-6/iocBoot/iocLinux/substitutions/ButtonMove.template
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,8 @@ | ||
record(calcout, "$(P)$(R)") | ||
{ | ||
field(INPA, "$(LOCK)") | ||
field(INPB, "$(BUTTONA)") | ||
field(INPC, "$(BUTTONB)") | ||
field(CALC, "A ? 0 : 2 * B + C") | ||
field(OUT, "$(OUT) PP") | ||
} |
7 changes: 7 additions & 0 deletions
7
edgeRoboArmIOC/support/xxx-5-6/iocBoot/iocLinux/substitutions/DiscreteMove.template
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,7 @@ | ||
record(calcout, "$(P)$(R)") | ||
{ | ||
field(INPA, "$(LOCK) NPP") | ||
field(INPB, "$(AXIS) NPP") | ||
field(CALC, "A ? 0 : (B = $(VALB)) + 2 * (B = $(VALA))") | ||
field(OUT, "$(OUT) PP") | ||
} |
41 changes: 41 additions & 0 deletions
41
edgeRoboArmIOC/support/xxx-5-6/iocBoot/iocLinux/substitutions/LogitechATKIII.substitutions
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,41 @@ | ||
file "$(USB)/usbApp/Db/AnalogAxis.template" | ||
{ | ||
pattern | ||
{P R PARAM PORT FLNK} | ||
{xxx: A1:Vertical VERTICAL_STATE LOGITECH xxx:A1:shoulder} | ||
{xxx: A1:Switch SWITCH_STATE LOGITECH xxx:A1:move_lock} | ||
} | ||
|
||
file "$(USB)/usbApp/Db/DigitalButton.template" | ||
{ | ||
pattern | ||
{P R PARAM PORT FLNK} | ||
{xxx: A1:Trigger TRIGGER_PRESSED LOGITECH xxx:A1:led} | ||
{xxx: A1:Button2 BUTTON2_PRESSED LOGITECH xxx:A1:wrist} | ||
{xxx: A1:Button3 BUTTON3_PRESSED LOGITECH xxx:A1:wrist} | ||
{xxx: A1:Button4 BUTTON4_PRESSED LOGITECH xxx:A1:grip} | ||
{xxx: A1:Button5 BUTTON5_PRESSED LOGITECH xxx:A1:grip} | ||
{xxx: A1:Button6 BUTTON6_PRESSED LOGITECH xxx:A1:elbow} | ||
{xxx: A1:Button7 BUTTON7_PRESSED LOGITECH xxx:A1:elbow} | ||
{xxx: A1:Button8 BUTTON8_PRESSED LOGITECH xxx:A1:base} | ||
{xxx: A1:Button9 BUTTON9_PRESSED LOGITECH xxx:A1:base} | ||
} | ||
|
||
file "$(TOP)/iocBoot/$(IOC)/substitutions/AxisMove.template" | ||
{ | ||
pattern | ||
{P R LOCK AXIS DEAD_LOW DEAD_HIGH OUT} | ||
{xxx: A1:move_lock 0 xxx:A1:Switch 0 126 ""} | ||
{xxx: A1:shoulder xxx:A1:move_lock xxx:A1:Vertical 100 150 xxx:A1:shoulder_move} | ||
} | ||
|
||
file "$(TOP)/iocBoot/$(IOC)/substitutions/ButtonMove.template" | ||
{ | ||
pattern | ||
{P R LOCK BUTTONA BUTTONB OUT} | ||
{xxx: A1:led 0 0 xxx:A1:Trigger xxx:A1:led_onoff} | ||
{xxx: A1:grip xxx:A1:move_lock xxx:A1:Button4 xxx:A1:Button5 xxx:A1:grip_move} | ||
{xxx: A1:elbow xxx:A1:move_lock xxx:A1:Button6 xxx:A1:Button7 xxx:A1:elbow_move} | ||
{xxx: A1:base xxx:A1:move_lock xxx:A1:Button8 xxx:A1:Button9 xxx:A1:base_move} | ||
{xxx: A1:wrist xxx:A1:move_lock xxx:A1:Button2 xxx:A1:Button3 xxx:A1:wrist_move} | ||
} |
40 changes: 40 additions & 0 deletions
40
...oboArmIOC/support/xxx-5-6/iocBoot/iocLinux/substitutions/LogitechDualAction.substitutions
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,40 @@ | ||
file "$(USB)/usbApp/Db/AnalogAxis.template" | ||
{ | ||
pattern | ||
{P R PARAM PORT FLNK} | ||
{xxx: A1:Vertical LSTICK_UD_STATE LOGITECH xxx:A1:shoulder} | ||
{xxx: A1:Rotation LSTICK_LR_STATE LOGITECH xxx:A1:base} | ||
} | ||
|
||
file "$(USB)/usbApp/Db/DigitalButton.template" | ||
{ | ||
pattern | ||
{P R PARAM PORT FLNK} | ||
{xxx: A1:Button1 BUTTON1_PRESSED LOGITECH xxx:A1:led} | ||
{xxx: A1:Button2 BUTTON2_PRESSED LOGITECH xxx:A1:move_lock} | ||
{xxx: A1:Button3 BUTTON3_PRESSED LOGITECH xxx:A1:grip} | ||
{xxx: A1:Button4 BUTTON4_PRESSED LOGITECH xxx:A1:grip} | ||
{xxx: A1:Button5 BUTTON5_PRESSED LOGITECH xxx:A1:elbow} | ||
{xxx: A1:Button7 BUTTON7_PRESSED LOGITECH xxx:A1:elbow} | ||
{xxx: A1:Button6 BUTTON6_PRESSED LOGITECH xxx:A1:wrist} | ||
{xxx: A1:Button8 BUTTON8_PRESSED LOGITECH xxx:A1:wrist} | ||
} | ||
|
||
file "$(TOP)/iocBoot/$(IOC)/substitutions/AxisMove.template" | ||
{ | ||
pattern | ||
{P R LOCK AXIS DEAD_LOW DEAD_HIGH OUT} | ||
{xxx: A1:move_lock 0 xxx:A1:Button2 1 1 ""} | ||
{xxx: A1:base xxx:A1:move_lock xxx:A1:Rotation 100 150 xxx:A1:base_move} | ||
{xxx: A1:shoulder xxx:A1:move_lock xxx:A1:Vertical 100 150 xxx:A1:shoulder_move} | ||
} | ||
|
||
file "$(TOP)/iocBoot/$(IOC)/substitutions/ButtonMove.template" | ||
{ | ||
pattern | ||
{P R LOCK BUTTONA BUTTONB OUT} | ||
{xxx: A1:led 0 0 xxx:A1:Button1 xxx:A1:led_onoff} | ||
{xxx: A1:elbow xxx:A1:move_lock xxx:A1:Button7 xxx:A1:Button5 xxx:A1:elbow_move} | ||
{xxx: A1:grip 0 xxx:A1:Button3 xxx:A1:Button4 xxx:A1:grip_move} | ||
{xxx: A1:wrist xxx:A1:move_lock xxx:A1:Button8 xxx:A1:Button6 xxx:A1:wrist_move} | ||
} |
45 changes: 45 additions & 0 deletions
45
...oArmIOC/support/xxx-5-6/iocBoot/iocLinux/substitutions/LogitechExtreme3DPro.substitutions
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,45 @@ | ||
file "$(USB)/usbApp/Db/AnalogAxis.template" | ||
{ | ||
pattern | ||
{P R PARAM PORT FLNK} | ||
{xxx: A1:Vertical VERTICAL_STATE LOGITECH xxx:A1:shoulder} | ||
{xxx: A1:Rotation ROTATION_STATE LOGITECH xxx:A1:base} | ||
{xxx: A1:Switch SWITCH_STATE LOGITECH xxx:A1:move_lock} | ||
{xxx: A1:Hat HAT_STATE LOGITECH xxx:A1:wrist} | ||
} | ||
|
||
file "$(USB)/usbApp/Db/DigitalButton.template" | ||
{ | ||
pattern | ||
{P R PARAM PORT FLNK} | ||
{xxx: A1:Trigger TRIGGER_PRESSED LOGITECH xxx:A1:grip} | ||
{xxx: A1:LButton LBUTTON_PRESSED LOGITECH xxx:A1:grip} | ||
{xxx: A1:Button3 BUTTON3_PRESSED LOGITECH xxx:A1:elbow} | ||
{xxx: A1:Button5 BUTTON5_PRESSED LOGITECH xxx:A1:elbow} | ||
{xxx: A1:Button11 BUTTON11_PRESSED LOGITECH xxx:A1:led} | ||
} | ||
|
||
file "$(TOP)/iocBoot/$(IOC)/substitutions/AxisMove.template" | ||
{ | ||
pattern | ||
{P R LOCK AXIS DEAD_LOW DEAD_HIGH OUT} | ||
{xxx: A1:move_lock 0 xxx:A1:Switch 0 126 ""} | ||
{xxx: A1:base xxx:A1:move_lock xxx:A1:Rotation 50 200 xxx:A1:base_move} | ||
{xxx: A1:shoulder xxx:A1:move_lock xxx:A1:Vertical 50 600 xxx:A1:shoulder_move} | ||
} | ||
|
||
file "$(TOP)/iocBoot/$(IOC)/substitutions/ButtonMove.template" | ||
{ | ||
pattern | ||
{P R LOCK BUTTONA BUTTONB OUT} | ||
{xxx: A1:led 0 0 xxx:A1:Button11 xxx:A1:led_onoff} | ||
{xxx: A1:elbow xxx:A1:move_lock xxx:A1:Button3 xxx:A1:Button5 xxx:A1:elbow_move} | ||
{xxx: A1:grip xxx:A1:move_lock xxx:A1:LButton xxx:A1:Trigger xxx:A1:grip_move} | ||
} | ||
|
||
file "$(TOP)/iocBoot/$(IOC)/substitutions/DiscreteMove.template" | ||
{ | ||
pattern | ||
{P R LOCK AXIS VALA VALB OUT} | ||
{xxx: A1:wrist xxx:A1:move_lock xxx:A1:Hat 4 0 xxx:A1:wrist_move} | ||
} |
Oops, something went wrong.