Sending Macros (Macro Commands)

Forum to discuss Cinemar's USBIR6 IR hardware and plugin
T.Wells
Intermediate
Intermediate
Posts: 379
Joined: Sat Sep 30, 2006 8:19 pm
Location: Philadelphia Suburbs
Contact:

Sending Macros (Macro Commands)

Postby T.Wells » Thu Aug 14, 2008 9:09 pm

Hello,

I am trying to get my USBIR6 to send off saved macros when a single IR button is pushed. I am getting the following error:

Macro: Theater.Off
Got: [Theater.Off]
Unsupported command [Theater.Off]

I think that this is a supported feature of the USBIR6 so what am I doing wrong? In the name, I am typing: Theater Off, I use the remote to create the trigger, then under steps, I am typing in my macro command map, eg. Theater.Off (which is saved in MLSever as a series of steps).

I also try this: DoMacro~Theater.Off and get an error message like this:
Macro: DoMacro~Theater.On
Got: [DoMacro~Theater.On]
ERROR: Invalid Macro name [Theater.On]
Event: [430A501450F1]
Macro: DoMacro~Theater.On
Got: [DoMacro~Theater.On]
ERROR: Invalid Macro name [Theater.On]
Event: [430A501450F1]
Macro: DoMacro~Theater.On
Got: [DoMacro~Theater.On]
ERROR: Invalid Macro name [Theater.On]
Event: [430A501450F1]
Macro: DoMacro~Theater.On
Got: [DoMacro~Theater.On]
ERROR: Invalid Macro name [Theater.On]



Any ideas on what I am missing here?

Thanks,
T.Wells

bigDvette
Expert
Expert
Posts: 718
Joined: Thu Oct 12, 2006 12:19 pm
Contact:

Postby bigDvette » Thu Aug 14, 2008 11:59 pm

Are you using

MLServeCmd.MLUSBIR6|DoMacro~Macro Name

Can't tell from all this what you are actually doing

T.Wells
Intermediate
Intermediate
Posts: 379
Joined: Sat Sep 30, 2006 8:19 pm
Location: Philadelphia Suburbs
Contact:

Postby T.Wells » Fri Aug 15, 2008 7:41 am

bigDvette wrote:Are you using

MLServeCmd.MLUSBIR6|DoMacro~Macro Name

Can't tell from all this what you are actually doing


Big,
I was not using the above syntax. I will try that tonight.

Thanks,
T

User avatar
DavidL
Simply Incredible
Simply Incredible
Posts: 11071
Joined: Sat Feb 08, 2003 9:39 am
Location: Metamora, Michigan
Contact:

Postby DavidL » Fri Aug 15, 2008 7:52 am

You can also shorten to:

MLUSBIR6|DoMacro~Macro Name


The first thing MLServer does is strip out MLServeCmd (which is a legacy thing)

T.Wells
Intermediate
Intermediate
Posts: 379
Joined: Sat Sep 30, 2006 8:19 pm
Location: Philadelphia Suburbs
Contact:

Postby T.Wells » Fri Aug 15, 2008 11:52 am

DavidL wrote:You can also shorten to:

MLUSBIR6|DoMacro~Macro Name


The first thing MLServer does is strip out MLServeCmd (which is a legacy thing)


I used this command:
DoMacro~Theater.On

and got these results:
Macro: MLUSBIR6|DoMacro~Theater.On
Got: [MLUSBIR6|DoMacro~Theater.On]
Unsupported command [MLUSBIR6|DoMacro~Theater.On]
Event: [430A501450F1]
Macro: MLUSBIR6|DoMacro~Theater.On
Got: [MLUSBIR6|DoMacro~Theater.On]
Unsupported command [MLUSBIR6|DoMacro~Theater.On]
Event: [430A501450F1]
Macro: MLUSBIR6|DoMacro~Theater.On
Got: [MLUSBIR6|DoMacro~Theater.On]
Unsupported command [MLUSBIR6|DoMacro~Theater.On]


I have this macro included on the MLSever under Tools/Macro Commands and nowhere else. The command name is Theater.On and it works fine when used from a button within MLClient.

So I am trying to trigger this Macro (Command Map) via a IR button push. What else may I be missing?

I feel like I am so close to making the theater ultra easy on the wife and just can't get those final pieces.

Thanks,
T.Wells

T.Wells
Intermediate
Intermediate
Posts: 379
Joined: Sat Sep 30, 2006 8:19 pm
Location: Philadelphia Suburbs
Contact:

Picture

Postby T.Wells » Fri Aug 15, 2008 11:54 am

Maybe a picture would help ...

T.Wells
You do not have the required permissions to view the files attached to this post.

T.Wells
Intermediate
Intermediate
Posts: 379
Joined: Sat Sep 30, 2006 8:19 pm
Location: Philadelphia Suburbs
Contact:

Another

Postby T.Wells » Fri Aug 15, 2008 11:56 am

I am trying to have these macros fire off ...
You do not have the required permissions to view the files attached to this post.

User avatar
mcascio
Founder
Founder
Posts: 8270
Joined: Tue Jan 28, 2003 4:03 pm
Location: Kenosha, Wi
Contact:

Re: Picture

Postby mcascio » Fri Aug 15, 2008 12:16 pm

T.Wells wrote:Maybe a picture would help ...

T.Wells


You are trying to call a macro in the USBIR6 plugin when you really want to call a macro stored in MLServer.

Change your command to Macro|Theater.On within the USBIR6 plugin (your first photo)
Mario Cascio
Cinemar, Inc.
http://www.cinemaronline.com

T.Wells
Intermediate
Intermediate
Posts: 379
Joined: Sat Sep 30, 2006 8:19 pm
Location: Philadelphia Suburbs
Contact:

Re: Picture

Postby T.Wells » Fri Aug 15, 2008 5:00 pm

mcascio wrote:
T.Wells wrote:Maybe a picture would help ...

T.Wells


You are trying to call a macro in the USBIR6 plugin when you really want to call a macro stored in MLServer.

Change your command to Macro|Theater.On within the USBIR6 plugin (your first photo)


Mario,

I get the following error:

Macro: Macro|Theater.On
Got: [Macro|Theater.On]
Unsupported command [Macro|Theater.On]
Event: [430A501450F1]
Macro: Macro|Theater.On
Got: [Macro|Theater.On]
Unsupported command [Macro|Theater.On]
Event: [430A501450F1]
Macro: Macro|Theater.On
Got: [Macro|Theater.On]
Unsupported command [Macro|Theater.On]
You do not have the required permissions to view the files attached to this post.

User avatar
DavidL
Simply Incredible
Simply Incredible
Posts: 11071
Joined: Sat Feb 08, 2003 9:39 am
Location: Metamora, Michigan
Contact:

Postby DavidL » Fri Aug 15, 2008 5:20 pm

Hmmm,
I don't think that is still the right syntax.

For kicks, try just

Theater.On

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Postby CinemarDave » Fri Aug 15, 2008 5:31 pm

What is happening here is that you are trying to mix a MLServer Macro and a MLUSBUIRT Macro. Both share the same command name, MACRO, but they are two different beasts.

What you will want to do is any time you are defining a MLUSBIRT Macro and you want it to execute a MLServer command you must prefix the MLServer command with MLServeCmd.

In this instance the following will work

MLServeCmd.Theater.On

or

MLServeCmd.Macro|Theater.On!Something.Else

will also work.

T.Wells
Intermediate
Intermediate
Posts: 379
Joined: Sat Sep 30, 2006 8:19 pm
Location: Philadelphia Suburbs
Contact:

Postby T.Wells » Sat Aug 16, 2008 7:41 pm

CinemarDave,

Thanks, it works!

DavidL,
Funny, I had tried using just Theater.On as that is how MLClient works and of course it didn't here in this plug-in.

I think that using the USBIR6 in this fashion (as I am now doing), makes the use of a remote within a ML environment very nice.

Thanks,
T.Wells


Return to “USBIR6”

Who is online

Users browsing this forum: No registered users and 1 guest