Some available prop...
 
Notifications
Clear all

Some available properties missing from "Events" source list

2 Posts
2 Users
0 Reactions
1,396 Views
(@gandini)
New Member
Joined: 2 years ago
Posts: 1
Topic starter  

I use a 7-segment Arduino screen with SimHub, and I'd like to create an alert that displays "LAP DLTD" if I exceed track limits in Race Room Exp.

There is a rawdata property called CutTrackWarnings that returns a binary result.

[img] [/img]

The problem is that CutTrackWarnings isn't showing in the Controls & Events section. In fact, I'm not seeing any rawdata properties at all. Is rawdata not usable for event triggers?

[img] [/img]

Or -- is there a way to use nCalc to create an event and trigger? It looks like I only have access to nCalc inside the Arduino "New Screen" dialog as a way to calculate a displayed value. I don't see anywhere to use if() statements to toggle visibility the way you can in Dash Studio.

Ex: if([CutTrackWarnings]=1, DisplayScreenFor1s_LAP DLTD, 0)

 

 

This topic was modified 2 years ago 2 times by Gandini

   
Quote
(@romainrob)
Honorable Member
Joined: 5 years ago
Posts: 530
 

Hi, yes, it's possible to add custom events with an NCalc script:
https://github.com/SHWotever/SimHub/wiki/NCalc-scripting#exporting-event-trigger--exportevent


   
ReplyQuote
Share: