Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
CH5 CrComLib.subscribeState Issues
Good afternoon all,
I've been dealing with CH5 in Angular since they first allowed us to join the crestronlabs forum for it. Over the last year I've updated and rechecked my test UI's, and recently i noticed an issue. Back when CrComLib was still at 0.1.0 the CrComLib.subsribeState('s', '1', (text) => { this.message = text; }); worked great. Everytime I'd update StringInput[1] in Simpl Windows or Simpl# it would display on the panel. Now i've run into the issue where it doesn't update UNTIL you issue a command to CrComLib, either by publishEvent or getState. I've been trying to get ahold of Crestron to figure out why this is, and even their Angular?NgCh5HorizontalSample UI (just modifying the header to remove the image and put my {{ message}} tag there) it does the same thing. If you tap on the theme change or anything else to send a new CrComLib, the header finally shows the text i sent from Simpl. If anyone is having this issue or knows why, please let me know. I've been trying to figure it out for over 2 days now. |
Chris Vetek
This sounds kinda similar to plain old vtpro seeming to not display default serial text until it¡¯s sent text manually. Not sure why
toggle quoted message
Show quoted text
On Friday, May 22, 2020, 4:51 PM, nathan@... wrote:
|
¿ªÔÆÌåÓýHi Nathan,I¡¯m using CH5 Contract Editor generated classes ?and passing string works fine, in my case panel has it¡¯s own independent from control system theme and language states and setting in S#Pro: tsw560Contract.UI.Language((sig, component) => { sig.StringValue = @"en"; }); While at panel level: CrComLib.subscribeState('s', 'UI.Language', (lang: string) => { this.currentLang = lang; }); Receives event instantly and translate interface momentarily¡.
|
to navigate to use esc to dismiss