Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Documentation for TimedFldChange2
#1
In this thread https://www.charmedquark.com/vb_forum/sh...?tid=10215

you had mentioned the CML command TimedFldChange2, but I could not find it in the CML documentation. It is apparently available, and I did figure out it takes 4 strings, and 2 cards, but can't figure out what exactly each of the inputs are.  Did I miss it somewhere?

This may not even be what I am needing - I am looking for a command within CML to wait 10 to 15 seconds before it executes the next command.  (i.e. TV powers up, and then switch to different input).  Similar to the Wait or Pause command within the Actions.
Reply
#2
Oh, it must not have gotten documented. I'll add that to the list. That takes both minutes and seconds. So it has an extra final value that is the seconds. That way, you can set 0 minutes and get sub-minute support, though it's not going to work with really short times, since it just doesn't work that way, and the driver base class won't accept anything less than 10 seconds. But you can at least do sub-minute times.
Dean Roddey
Explorans limites defectum
Reply
#3
Is there another way to pause a certain number of seconds before executing the next command?

I am working on the Native Alexa interface, and i need to do the following within a Macro - Turn on TV, (Wait about 10 seconds for it to come on), Switch Input to the Tuner, Change Channels to 65 (Usually have to wait about 500 ms between those number entries).  I have 4 TV's I am controlling - one is a one way Samsung driver, the other 3 are controlled via IR using the Global Cache.  It is not a problem in an Action - Just use Wait or Pause, and set up the proper time between, and it works.  Just not sure the best way in a Macro.

The field I need to write to first is Samsung.Power (to True), then wait 10 seconds, then write to SamSung. Input (to TV). So I don't see how TimedFldChange2() would help.
Reply
#4
Just do the same and use the Sleep method, which is on the Time class.
Dean Roddey
Explorans limites defectum
Reply
#5
Thanks - that is what I was looking for, unfortunately, putting that long of a sleep command in the Macro makes Alexa think the device is not responding, and letting you know as much verbally, even though the commands executes as planned - so going to a plan "B".  User must first turn on the TV using Alexa, then issue another command to switch the input.  This might be a case to use the CQC Echo integration as it doesn't care about the wait time.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Documentation for CML kblagron 3 385 03-13-2019, 11:05 AM
Last Post: Dean Roddey
  System.Runtime.FileSystem documentation missing? rbroders 1 580 11-25-2018, 07:44 PM
Last Post: Dean Roddey
  XML Gateway Documentation whozeawhat 2 726 05-03-2018, 11:31 AM
Last Post: whozeawhat
  CQC Documentation potts.mike 10 2,398 03-05-2018, 08:31 AM
Last Post: Dean Roddey
  Typos in Documentation RichardU 1 751 01-06-2018, 09:12 AM
Last Post: Dean Roddey
  Device Driver documentation Bugman 3 2,045 06-01-2017, 05:16 PM
Last Post: Dean Roddey
  CompNC documentation? dlmorgan999 2 1,657 12-17-2016, 10:22 AM
Last Post: dlmorgan999
  documentation indygreg 14 5,100 12-10-2016, 12:34 PM
Last Post: Dean Roddey
  Documentation zra 5 2,523 12-03-2016, 06:00 PM
Last Post: Dean Roddey
  Searching the v5 documentation? dlmorgan999 1 1,359 11-01-2016, 08:20 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 2 Guest(s)