Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Shortcut Custom Sensors


Marco Jun 26, 2009 07:26 AM

Anybody have a manual on the language used for programming Custom Sensors in the ShortCut program? Expecially interested in items related to specifying wiring colors and connections for novel devices - the "Wiring Diagram" feature is quite useful.


Sam Nov 15, 2010 07:28 AM

I know this post is quite old, but have you tried using the "Create Custom Sensor" functionality of ShortCut?

Check out ShortCut Help -> Search -> Custom Sensor

You enable the functionality through the Tools menu. Then you can right click on any existing sensor and create a similar custom sensor.

Once you've created your custom sensor, you can edit the .SCU file directly using a plain text editor.

For example, I created a customer sensor based off of "Generic Measurements" -> "Single-Ended Voltage". To edit the wire colors, I opened the .SCU file in notepad and changed the following lines:

ReqConnection('SEAnalog','SEV_Chan','Signal')
ReqPartialConnection('AG','SE_Shield','Shield',0.25)
ReqPartialConnection('AG','SEGround','Ground',0.25);

To:

ReqConnection('SEAnalog','SEV_Chan','Red')
ReqPartialConnection('AG','SE_Shield','Black',0.25)
ReqPartialConnection('AG','SEGround','Green',0.25);


Notso Nov 16, 2017 04:47 PM

We also have a blog article on this subject now available at https://www.campbellsci.com/blog/create-custom-sensors-short-cut

Log in or register to post/reply in the forum.