PDA

View Full Version : Netremote (TV.??????) variable listings


underthecovers
February 13th, 2007, 04:24 AM
As I have now managed to get DigiTV working in Girder (V4) from Netremote (V2).

In trying to create my own CCF (currently using Brain - Avid CCF & Lua) I cannot seem to grasp the connection from NR to DigiTV via Girder. I thought that NR calls all the variable that exist in DigiTV via variable tables, but the variables that CCF calls don't simply exist in Girder (not from what I can see?), so how does it know it relates to Digitv, for example Netremote(TV.OPEN, TV.1 .....TV.9, TV.Refresh, TV.NowNext, TV.Mute) etc. I cannot find any reference to how TV is mapped to DigiTV and where the variable comes from?

On closer investigation to the .GML file (both DigiTV and AVID), it seems that when there is a Netremote(TV.????) call it seems to go via Communication Server. However I have looked at Girder 4 documentation for Netremote and Communication Server (plugins) there is little reference to TV.????? for example in Girder Manual the following is mentioned....

NetRemote Label Value after code executed
TV.Playing ABC One
TV.Title Ellen
TV.ChanLogo Image from ABC1.PNG

Therefore how can one find out the full listings if TV.???? variables

Can anyone help out?

underthecovers
February 14th, 2007, 01:42 AM
No answer from Promixis Specialist team?

Rob H
February 14th, 2007, 06:33 AM
Well, the DigiTV plugin isn't one of ours.

But you should be able to see all the TV.* NR variables in NetRemote Designer.

underthecovers
February 14th, 2007, 11:41 AM
Yes I know DigiTV plugin is not one of your development. However the variable TV.?? does not come from DigiTV plugins. This is Netremote specific in integration with Girder Communication server, however I cannot find anything in both Girder and Netremote documentation for the existance of TV.??? variables except a small mentioned in Girder documentation.

In order to help me in the right direction how does one obtain all the variables of TV.??? in Netremote Designer?

Thanks.

Rob H
February 14th, 2007, 12:44 PM
Trust me, this is not part of the default communication between NR and Girder. It will probably be from DigiTV. The small mention in the Girder documentation is purely an example.

In NRD take a look at the NetRemote Variable Inspector to see what variables have been sent from Girder.

underthecovers
February 15th, 2007, 07:19 AM
Do I have to install NRD on the Server where DigiTV reside? Currently NRD is installed on my laptop but is connected to the Ipaq using Avid.ccf. However still don't see TV.* variables in NRD?

Rob H
February 15th, 2007, 07:37 AM
I think I may have misread you're original message - you're saying that NR sends TV.* events to Girder, but you don't see where they're handled? Is that right?

Either there will be a GML that has the events attached to actions, or they will be handled using a call to gir.AddEventHandler

Probably better to ask Brian (Avid) or someone else who has used the DigiTV plugin.

theguywiththefunnyhair
February 15th, 2007, 03:10 PM
Have a look in the Girder variable inspector for a table named "digitv". it should have a few tables and functions in it. Look for "tuners1" and "epg" inside this table if you can see these and they have data the digitv girder plugin is working.

From there we can work on getting the variables over to NR

underthecovers
February 18th, 2007, 07:22 AM
I think I may have misread you're original message - you're saying that NR sends TV.* events to Girder, but you don't see where they're handled? Is that right?

Either there will be a GML that has the events attached to actions, or they will be handled using a call to gir.AddEventHandler

Probably better to ask Brian (Avid) or someone else who has used the DigiTV plugin.

Rob, Yes it is NR that is sending out TV.* , but I cannot find all of TV.* in Girder, there are some reference to this in GML file but not all of it, and neither does DigiTV plugin has such TV.* variables (I have looked at Variable Inspector on the server where Girder and DigiTV plugin is installed).

Would it help if I provide a list of what variables TV.* NR is sending and what I see on Girder?

TheGuyWithTheFunnyHair, I can see DigiTV variables in Variable Inspector in Girder, but there is no TV.* variables (there is some in GML file, but again not all) that are called from NR. I am trying to understand how this is all comminicated so that I can create my own CCF file.

Thanks.

theguywiththefunnyhair
February 19th, 2007, 03:09 PM
I am trying to understand how this is all comminicated so that I can create my own CCF file.

Hi,

If NR is sending something to Girder it is more likely to be an event. Look in the log display when you send it to see if its being recieved. This event would then trigger a Girder script to run.

In the next day or two i will send you a very simple .ccf, .gml combo that should get you started.

Cheers

Dan

theguywiththefunnyhair
February 21st, 2007, 04:50 AM
OK mister,

Try this out, its a VERY simple demonstration of how Girder is triggered to do stuff by NetRemote and then, when something happens, that triggers Girder to do more stuff.

In this Example NetRemote sends an event to Girder that causes Girder to change the DigiTv channel, and when the channel changes this generates an event in Girder to Update the current channel info to NetRemote.

I have NOT tried to create your ccf for you and this is only intended to shed a little light on how it works.

To use, start DigiTv, Girder and NetRemote. Load the .gml in girder and the .ccf in NetRemote and from there press the channel up or down button, you should see the channel change in DigiTv and the info in NR change with it.

If it doesnt work or you have any questions please let me know.

Have fun

Dan

theguywiththefunnyhair
February 21st, 2007, 04:54 AM
;)
you might need these.....

underthecovers
February 26th, 2007, 12:14 PM
Great! Thanks Dan for your help.

I will give it a go and explore it so and hopefully all the pieces will finally fall into place! :-)

Cheers,

David.

speedbump49
March 3rd, 2007, 10:00 PM
Dan, thank you for helping David, your example helped me too. After reading the doc's many times and spending about 12 hours with girder, netremote designer and IRtrans plug-in I have been able to create a button which sends a IR code to the the IRblaster.
Thanks again.
-Markw