PDA

View Full Version : Pulling my hair out over I/R control (Noobie)



wedgehog
September 21st, 2007, 04:32 PM
Hi all, I have spent hours reading the forums and the manuals just don't give enough information. I bought a UIRT just to see what Netremote is all about, and it quite clearly states in the built in help that with the I/R plugin set to direct, Netremote can send I/R via my windows 32 PC and UIRT. I'm not talking about anything to do with Girder. I know Girder can do it and I have set up a GML which works fine with the UIRT but I want to see Netremote do it direct as it says it can. Has anyone any idea how to set that up? What am I missing? I have the UIRT windows drivers installed and it works with Girder I can see the I/R direct as an instance in the actions list, but there is nothing to action to send commands to UIRT? only globalcache, previous or next instances, which are empty. Please help. I'm growing old fast here :-)

tmorten
September 22nd, 2007, 02:57 PM
I think the steps are supposed to be:
(1) From the File pull-down, select Properties
(2) Click on the Plug-ins tab
(3) Click on the Infrared plug-in
(4) Create an instance
(5) A window will appear
(6) For driver mode, select passthrough
(7) For Host, specifiy the IP of your machine with the USB-UIRT connected

Let me know if that's not available or not working on your end...

Best,
Tim

wedgehog
September 23rd, 2007, 02:37 AM
Hi Tim, thanks for that mate but no good I'm afraid. Selecting Passthrough and entering an IP address I would suggest is to "Pass through" the I/R to another machine, with the entered IP address. IE: the PC in the media centre equipment cupboard, or one of those I/R cache and re transmit devices.

My UIRT is plugged in to a usb port on the same computer that Netremote is running on, so IP address is irrelevant. But what I have noticed having tried your suggestion is that it makes no difference what you set, Direct,Passthrough,Girder Passthrough etc. All you get in the action list is an Instance with that name under the I/R plug in, with no actual action attached to it other than "Use next instance, Previous Instance, Current Instance" There is a I/R action at the top of the page which when you bring that in you can tell it to learn the I/R signal, but having done that, nothing transmits from the UIRT when you press the button. Is there no one, not even the prog. designers out there who can tell us how to correctly use the I/R plug in?

Rob H
September 23rd, 2007, 05:35 AM
As I understand it, all IR is sent out using the default IR plugin instance - the instance itself has no actions. So you would use the standard IR actions and the code is sent using whatever plugin is set as the default.

Unfortunately, I've broken my USB-UIRT (a miswired plug on the spare IR output) so I can't test it here.

Is something else perhaps using the USB-UIRT? You mentioned Girder earlier, if that's on the same PC then make sure you've disabled the USB-UIRT plugin there.

wedgehog
September 23rd, 2007, 09:06 AM
Oh Good man Rob, It's always some stupid little thing that you can't think of when you have been trying for ages. You are absolutely right, Girder was running on the PC, hiding by the clock and had taken over the UIRT and wouldn't let anything else use it. Having closed Girder it now works, but of course this just brings a set of new problems. If I drag the I/R action into the action window and then select it to learn and then squirt functions of my Sky remote into it, they all work perfectly and transmit and control the Sky box. But, always the But, If I squirt in any of my Sony equipment remotes, it transmits something when I press the button because I can see the light flashing on the UIRT but it aint controlling anything, I think some of the Sony remotes use burst signals. I found the same problem when I set it up in Girder, but in Girder you can select to repeat the signal and I found a setting of 3 made it work, but there is no facility for that in netremotes I/R learning tool, or am I missing something?
Also I understand that an action can be set so that the I/R is learned later by selecting the file menu on netremote and ticking the learn i/r statement, and then clicking the button you wish to program and then squirting the remote in. How do you set that up in the action list please?

Rob H
September 23rd, 2007, 09:13 AM
I think that last is actually for use with the now sadly unavailable PPC IR plugin.

What I would suggest is taking a look on www.remotecentral.com for any Pronto CCFs that support your Sony equipment and trying the codes from there. You should be able to just copy and paste them using NRD.

tmorten
September 23rd, 2007, 01:41 PM
Just curious, but if you're running Girder and already have it set up so that it works with your Sony gear, why not just have NetRemote trigger the IR sends from Girder? I do this in my setup, and it works great.

I use a LUA function on the Girder side that accepts a device and a command as parameters. When I press a button on my remote, NetRemote sends a ComServer event to Girder such as "Send( TIVO | ON )", and Girder looks up the correct code and blasts it to my stereo rack.

My motivation for centralizing was to get around GlobalCache wanting only a single connection to be active, but this same approach should also work with the USB-UIRT. Otherwise, I'd echo Rob's suggestion and look for some nice clean codes from RemoteCentral... unfortunately, learnt codes don't always work reliably in my experience.

Best,
Tim

wedgehog
September 23rd, 2007, 03:33 PM
Hi Tim, I'm trying to make things more reliable. I'm working my way through the manuals and trying to make sense of them and I always find that actually doing the practical exercise is a much more positive way to learn and it also finds bugs. Talking of which, did you get a chance to check out my other problem Rob asked you to have a look at for me?
I had a look at the Remotecentral it's all American gear and I'm in the UK, there is no listing of my stuff.
Because I have had to install and uninstall so many times to clear problems, every time Netremote is re installed, it changes the instance numbers on my three pc's and I have to spend blasted hours going through every control page and every button and re link them to Girder, So I thought if I could send the I/R from Netremote it would store it all in the ccf and it wouldn't matter even what Pc I ran it on ,it would still work. But no! Netremote won't work with my remotes except for the old Sky one. So I though well let's try going for Girder Passthrough to the UIRT because I think in that mode it still stores the codes in the ccf. So I have set everything in the Netremote plugins and Girder setup as the manual says, but of course I can't get it to work. Do you still use the learn I/R in the Button actions in this mode or do you have to enter the codes in some sort of binary or something? Does girder just then rout the code straight to the UIRT? This is giving me a headache, after days of trying to get part of it working, when I finally do thanks to Rob, it's no use and now I have to try and understand another part. Can someone explain this bit to me please. This software really is over complicated

Rob H
September 24th, 2007, 01:06 AM
There was a nasty timing dependent bug that could bite you in relation to Girder passthrough (Girder 5 only as far as I know) that I fixed last week. Didn't occur on all machines. Try the attached version of NetRemote.lua in your G5 lua directory.

RemoteCentral is usually good for all sorts of kit from around the world. What's the specific equipment that's giving you a problem?

wedgehog
September 24th, 2007, 02:48 AM
Hi Rob, I'm still using Girder 4 mate, having had such problems with Netremote 100 and finally
having to go back to 99. With all the bug reports in the Beta thread I dare not try Girder 5. The gear
I am trying to control is

Sony Flat screen KDL32S2530U. Remote model RM-ED008

Sony Surround Amp STR-497P. Remote model RM-PP760

Sony DVD Recorder RDR-GX3 Remote model RMT-D203P

Sony Upscaling DVD Player DVP-NS76H Remote Model RMT-D175P

And the only thing that works in Direct mode with Netremote is my old Amstrad SKy box with the
Remote which is shaped like a left foot.

The Netremote plugin is set to Girder Passthrough and Test shows connected to port 20005.
Girder Comms shows 20005 and allow remote codes, Netremote in Girder shows "Network-Master" and it's long id number
(Thats this PC which has girder and UIRT on it) and Netremote is ticked.
So is the plan now that I enter the I/R code in a button action either with Learn or select one of the formats or type it in, and then when the button is pressed it gets sent to girder on this machine and girder passes it through to the UIRT. Or do I have to set something in a GML please?

Rob H
September 24th, 2007, 03:26 AM
Looks as though it might be okay then.

Yes, you just create a standard IR action and it should be sent to Girder which willl pass it on to the USB-UIRT. You shouldn't need anything in a GML.
To be honest though, I'd echo what Tim said - learn the codes in Girder and send named events from NetRemote to Girder. The only exception to this is codes that repeat, e.g. volume up/down for those I would use Girder passthrough.

For the Sony stuff

TV: Try http://www.remotecentral.com/cgi-bin/files/dl.cgi?file=ccf_templates/complete_system/giaquinto-angelo_ccf.zip&area=pronto which uses the same remote

DVD-Recorder: Not sure about this one, but you could try http://www.remotecentral.com/cgi-bin/files/dl.cgi?file=ccf_templates/dvd_players/sony-dvd-rdrgx7.zip&area=pronto

DVD Player: Try http://www.remotecentral.com/cgi-bin/files/rcfiles.cgi?area=pronto&db=devices&br=sony&dv=dvdplayer&md=allmodels&kw=&st=&ar=&dt=&so=&pg=1&file=ccf_templates/dvd_players/sony-dvd-all.zip this is a set of generated IR codes which you may have some success with

Amp: You could try http://www.remotecentral.com/cgi-bin/files/dl.cgi?file=ccf_templates/complete_system/daniel-nguyen_pro.zip&area=pronto

wedgehog
September 24th, 2007, 04:18 AM
Nope, it isn't OK Set up as above I get no output from the UIRT with my or anyone Else's ccf.
I had the system set up with Girder controlling everything but want to change it for the reason explained above. If every time I had to re install Netremote and Net designer I didn't lose all my control functions and have to spend hours re linking them to Girder, I would stick with it.
Thanks for the file links, some of them won't load into designer saying the format is not supported. I am looking at one of them but until I can get this Girder Passthrough to work I can't try the codes.


Looks as though it might be okay then.

Yes, you just create a standard IR action and it should be sent to Girder which willl pass it on to the USB-UIRT. You shouldn't need anything in a GML.
To be honest though, I'd echo what Tim said - learn the codes in Girder and send named events from NetRemote to Girder. The only exception to this is codes that repeat, e.g. volume up/down for those I would use Girder passthrough.

For the Sony stuff

TV: Try http://www.remotecentral.com/cgi-bin/files/dl.cgi?file=ccf_templates/complete_system/giaquinto-angelo_ccf.zip&area=pronto which uses the same remote

DVD-Recorder: Not sure about this one, but you could try http://www.remotecentral.com/cgi-bin/files/dl.cgi?file=ccf_templates/dvd_players/sony-dvd-rdrgx7.zip&area=pronto

DVD Player: Try http://www.remotecentral.com/cgi-bin/files/rcfiles.cgi?area=pronto&db=devices&br=sony&dv=dvdplayer&md=allmodels&kw=&st=&ar=&dt=&so=&pg=1&file=ccf_templates/dvd_players/sony-dvd-all.zip this is a set of generated IR codes which you may have some success with

Amp: You could try http://www.remotecentral.com/cgi-bin/files/dl.cgi?file=ccf_templates/complete_system/daniel-nguyen_pro.zip&area=pronto

Rob H
September 24th, 2007, 06:10 AM
Presumably you have the USB-UIRT plugin enabled? If so then try the NetRemote.lua I posted earlier in this thread, but make a backup of the original first as it hasn't been tested here with G4.

Re: the CCFs that won't load into Designer - you can try either Tonto - www.giantlaser.com or ProntoProEdit which you can get from Remote Central.

I don't understand why you're having this problem with losing the IR control functions when using the GML? Is it because the plugin instance id changes?

If you only have one Girder instance then I'd recommend always using the -1 instance in your CCFs. That's the default instance and is automatically mapped to the first (I believe) Girder plugin instance, regardless of the real instance number. If it's something else then let me know. Also, you can explicitly set a plugin instance's ID to a specific value by right-clicking on that instance in NR's File|Properties|Plugin dialog.

wedgehog
September 24th, 2007, 08:18 AM
Presumably you have the USB-UIRT plugin enabled? If so then try the NetRemote.lua I posted earlier in this thread, but make a backup of the original first as it hasn't been tested here with G4.

Re: the CCFs that won't load into Designer - you can try either Tonto - www.giantlaser.com or ProntoProEdit which you can get from Remote Central.

I don't understand why you're having this problem with losing the IR control functions when using the GML? Is it because the plugin instance id changes?

If you only have one Girder instance then I'd recommend always using the -1 instance in your CCFs. That's the default instance and is automatically mapped to the first (I believe) Girder plugin instance, regardless of the real instance number. If it's something else then let me know. Also, you can explicitly set a plugin instance's ID to a specific value by right-clicking on that instance in NR's File|Properties|Plugin dialog.

The multi quote doesn't work here either.
Hi Rob,yes mate I have the UIRT plugin enabled, already said it all works OK with the codes in girder.
Thanks I will try those other editors.
No I don't understand it either. I may be completely wrong as to this being the reason, but it's the only thing I can see that changes.
when I am setting things up and I select to action a button, the tree in the left hand window shows all the standard netremote plugins and under Girder (Who's number never changes) are the Instances, one for this pc, Network-Master, one for Media-Centre and one for my wife's Pc Geri-box. Each of these Instances have been allocated a number by Netremote.
Ok well I am controlling all the Sony gear with the UIRT connected to this machine So I select all the functions in the Instance Network-Master, and I control Zoom Player and others on the Media Pc by selecting functions in Instance Media-Centre and stuff on Geries Pc under her Instance, Ok all works beautifully, save all the files, crawl into bed at 3 am cursing Proximis. Then next day I fire it all up to do some more and something goes tits up, like the fonts all corrupt, so I do a re install, or someone on the forum says heres an update, so I do a re install, Or the designer won't open with the netremote and someone tells me, do a re install. So after the re install I have maybe completely lost control of Media-Centre, or Geri-Box and the only thing I can find is that the Instance number for them in the Action list tree has changed. So I go through all my buttons and re link them to the new Instance number and all works again.....Until the next re install :rolleyes: You say I can change the Instance number? well I better write down what they all are now then ready for the next time.
It's just that I noticed that every ccf that I studied to learn the system, had all the I/R codes in it, and claims that it didn't need girder to work, so I felt that was a good way to ensure reliability and to save me hours of work when the link to all the codes is lost.
I cant get this blasted Passthrough to work I will try that Lua in a bit.

Rob H
September 24th, 2007, 08:23 AM
General question to all readers:

Does anyone have IR Passthrough working with NR 100 and Girder 4?

wedgehog
September 24th, 2007, 01:51 PM
Hi Rob, right, I have done some tests. First thing which is relevant is that one of the pronto files had I/R codes in it, which when entered into a UIRT action in Girder, worked perfectly. the dvd ones also work, the Amp ones don't but thanks for the help with those.
I put your LUA into my Girder and re booted it, the first thing I notice is that despite the UIRT plugin being enabled, the Netremote I/R passthrough tab offers disable passthrough and nothing else, but unperturbed I checked the plugin in Netremote and it was selected to Girder passthrough but unlike before, when I press test, instead of Network-Master, it has decided all on it's own to passthrough to Media-Centre and there doesn't seem to be a way to change it.
Well ok thought I, so I took the UIRT over to the Media_Centre Pc and installed the drivers and configured the Girder to passthrough to UIRT (I didn't put your Lua in this one) went back to Network-Master and fired up Netremote, brought up a ccf which I know has internal codes in it, pressed some buttons and et voila the light flashes on the UIRT.
Ok so we are passthrough to the Media Pc (But I really want the UIRT on this one) but anyway I loaded my control panel (Which has no internal codes in) and tried to action a button with a code that would actually operate something. I brought in the Infrared action and tried to paste one of the codes from the ccf's you got me (I can't do a learn because the UIRT is on the other Pc now) I selected the learn tab because the code begins with zero's pasted it in, the red led flashed and it said invalid code and went tits up! had to use Taskmaster to close it, locked up solid. Tried several more times. locked up solid, tried several different codes, I have tested them all in Girder, and they work, but no, still locks up solid. What now?
seems with this software it's hours of work to make one step forward just to hit a brick wall again.

tmorten
September 24th, 2007, 06:47 PM
Sorry you're having such a frustrating experience!

As an aside, you definitely should NOT have to change your CCF after reinstalling. Instance ID's can be changed to match whatever you have in your CCF.

You mentioned another issue that I should look at -- apologies for not knowing which one this was, but I'm tracking a fairly lengthy to-do list :). Let me know what you were referring to, and I'll try to follow up. UPDATE: I see you uploaded a CCF to the Designer forum, so I'll take a look at that.

For your current issue, just to make sure I followed: you are locking up when pasting an IR code into NetRemote Designer? Let me know the steps to reproduce (and if necessary, the specific code you're pasting), and I will take a look on my end. UPDATE: It appears that there's an issue with NetRemote Designer if you don't have the DLL for the USB-UIRT. I'll fix this for the next release, but for now you can get the UUIRTDRV.DLL file and put it in your Windows\System directory to get around it (even if you don't have a USB-UIRT on that machine). The file is available as part of this zip: http://www.usbuirt.com/USBUIRT%20Drivers%20v1_4.zip

Best,
Tim

wedgehog
September 25th, 2007, 02:53 AM
Hi Tim, Yes that's the one mate, I see you say there will be a fix in the next release. Is there a next release imminent?
Yes I understand now that the Instance Id's can be changed, after a week of pulling my hair out, I didn't know what an "Instance" was when I started using this software, let alone an "Instance ID" Hours of tracking down why after a re install I had to re link everything taught me that, it isn't exactly shouted about in any manual, might be good if it were mentioned on the installation screen of the new one you are installing. Something along the lines of "Installation complete, please check the Instance Id's match your ccf, if not, change them in Netremotes Plug in menu"

No, I have the UIRT 1.4 windows drivers installed already. Here is a text file with my TV remote codes in. Any of them copied and pasted into Girders UIRT action works fine, But paste one into netdesigners Infrared action and the prog locks up after flashing the little red light and saying code invalid. I cant use copy and paste action because the original ccf is in a Tonto editor, unless you know of a way to convert the files to make them compatible.

Having got the Girder passthrough working by passing the I/R codes to another machine on the network, could you tell me if it's possible to configure so that netremote passes the I/R codes through Girder to the UIRT on the SAME machine please? In the Netremote I/R plugin when you select it to "Girder Passthrough" there is no way to select which machine on the network you want it to go to, and mine automatically has decided to go to a machine on my net called Media-Centre and I cant figure out why it has chosen that machine itself? There are instances to that machine in the ccf for sending commands to girder on that machine for zoom player, but then there are Instances in the ccf for sending commands to another machine on the network, so I am puzzled by that. When you press the test in the plugin you can see it's doing the test with Media-Centre. Changing the Default Host name achieves nothing either?

Rob H
September 25th, 2007, 04:09 AM
Ah, it's a small bug in the validation code - it doesn't like trailing spaces. There is also a problem that if you have too many errors it can cause NRD to throw what appears to be an unexpected exception (Tim, try manually editing an IR code a few times e.g. by deleting and replacing characters - it should throw an exception fairly quickly).

re the Girder passthrough - it's almost certainly sending to the default Girder instance (normally the first instance in the list of instances). You can change the default instance in a bit of Lua in your CCF's .lua file. Open the .lua file (right click on System in the tree, Edit Lua script), and enter something like the following.


local gp = NetRemote.GetPlugin('Girder'):GetInstance('Network-Master')
gp:SetCurrent()

That should set the Girder plugin instance that corresponds to Network-Master as the default (i.e. -1) instance.

wedgehog
September 25th, 2007, 05:53 AM
Hi Rob, I pasted your LUA code into my LUA file and when I start Netremote it says

:4:attempt to index local 'gp' (a nil value)

Wassat? means nothing to me, I thought a LUA was something you went to in a grass skirt!

So does what you are discussing with Tim above mean that I may be able to paste these codes in if I take the spaces out of them?

I can't believe this software has been out all this time and these issues have never been brought to your attention and been corrected. I wouldn't say I am trying to do anything unusual, only what it tells me I can do.

NeoMorph
September 25th, 2007, 06:52 AM
Rob, Wedge is right... it's not assigning anything to gp if the instance is using an IP in the Plugin Iinstance list in NR. If you use the computer name as opposed to using the IP in NR it works fine.

Wedge, launch NR and go to the plugins setup (File>Properties>Plugins Tab) and expand the Girder entry. Have you got the instance using an ip? If so replace this with "Network-Master". It should work then.

Oh yeah, for future reference Wedge, the error message you got means that the Lua script crashed at line 4 and that the variable "gp" hasn't been set to anything and yet you've tried to use it which is a big no-no in Lua. I've had that happen to me a lot so I tend to remember it heh.

Rob H
September 25th, 2007, 07:39 AM
You need to replace the string 'Network-Master' with the name of the PC running Girder and the USB-UIRT - if you haven't specified it by name then try the IP address as a string.

It's possible that the code validation problem was introduced only recently. You only need to remove the space at the end. Leave the spaces between the groups of characters.

wedgehog
September 25th, 2007, 08:23 AM
Hi Rob and Neomorph, No the Girder plugin in Netremote has three Instances named Network-Master, Media-Centre and Geri-Box. What you wrote is correct Rob, the Pc running Netremote, Girder and UIRT is Network -Master. NeoMorph I understood from my minuscule knowledge of errr Basic he he as in "BBC Basic", that Rob's Lua script would assign the gp to a valid value if it found Network-Master, Tell me I'm wrong, I'm not often right and I'm probably wrong again, least ways that's what "She who must be obeyed" sez.
Well as it's set to Network-Master and it aint having it, I tried changing the script to an IP number and it still does the same thing. Do I still leave it in the ('192.168.0.13')
format? I vaguely remember something in Basic about numbers and strings being entered in different ways?

Woohooo well done guys I can enter my codes now if I am careful to not bring in the space after the last digit.

Now all I need is to solve this passthrough to UIRT on Network-Master and I am just about sorted. Thank you

Rob H
September 25th, 2007, 09:32 AM
Hmm... I wonder if the hyphen is confusing it somehow?

Okay, try this (untested code) :-



local g, gp
g = NetRemote.GetPlugin('Girder')
if g then
gp = g:GetInstance('Network-Master')
if gp == nil then
local gi = g:GetInstances()
if gi then
for id, name in pairs(gi) do
if name == 'Network-Master' then
gp = g:GetInstance(id)
break
end
end
end
end
if gp then
gp:SetCurrent()
end
end

NeoMorph
September 25th, 2007, 09:36 AM
You need to replace the string 'Network-Master' with the name of the PC running Girder and the USB-UIRT - if you haven't specified it by name then try the IP address as a string.


Rob, I tried it using an IP address as a string and it fails every time for me. Using named PC's works fine.

Wedge I'm glad everything is working for you now... nothing like being so close but so far and still having problems to drive you nutty.

Rob H
September 25th, 2007, 09:42 AM
The IP address will only work if the instance is registered using the IP address as far as I know.

NeoMorph
September 25th, 2007, 09:54 AM
The IP address will only work if the instance is registered using the IP address as far as I know.

That's what I did... I registered the IP address instead of a name in NR's Girder Plugin setup. I then edited the remote to use the IP address in a string and it failed.

NeoMorph
September 25th, 2007, 10:05 AM
To be honest though, I'd echo what Tim said - learn the codes in Girder and send named events from NetRemote to Girder. The only exception to this is codes that repeat, e.g. volume up/down for those I would use Girder passthrough.

I thought I commented on this but must have hit the preview button instead of the submit one... doh!

Rob, I use repeating commands for volume fine using USB-UIRT. You just have to change the "Repeat burst" in the USB-UIRT command to 1 instead of the default 4. It works fine althouth you may have to make a few attempts at learning the correct repeat code until it works right.

When it is working right in NR you can hold down a button and it raises or drops the volume perfectly and smoooooth... in fact for my Denon AVR-3805 it handles the volume better than the remote that came with the receiver. That remote is too darned agressive and if you hold the volume up button for over a second you end up unconcious from the sonic blast levels. ;)

Rob H
September 25th, 2007, 10:07 AM
You learn something new every day! :)

And you're certainly right about the Denon's own remote, as my neighbours would attest :)

wedgehog
September 25th, 2007, 10:44 AM
Hmm... I wonder if the hyphen is confusing it somehow?

Okay, try this (untested code) :-



local g, gp
g = NetRemote.GetPlugin('Girder')
if g then
gp = g:GetInstance('Network-Master')
if gp == nil then
local gi = g:GetInstances()
if gi then
for id, name in pairs(gi) do
if name == 'Network-Master' then
gp = g:GetInstance(id)
break
end
end
end
end
if gp then
gp:SetCurrent()
end
end


Tried that Rob. There are no errors or complaints from Netremote, got me quite hopeful there for a minute, unfortunately when I run the test in the I/R plugin it still says looking up Media_centre port 20005 etc.

NeoMorph
September 25th, 2007, 10:47 AM
Wedge, what have you got in NetRemote's Default Host? Is it "Media-center"?

Rob H
September 25th, 2007, 11:02 AM
Okay, try this with NRD running on the same PC and check the Lua console


local g, gp
g = NetRemote.GetPlugin('Girder')
if g then
gp = g:GetInstance('Network-Master')
if gp == nil then
local gi = g:GetInstances()
if gi then
for id, name in pairs(gi) do
print('Trying '..name)
if name == 'Network-Master' then
print('Matched')
gp = g:GetInstance(id)
break
end
end
end
end
if gp then
print('Setting default instance')
gp:SetCurrent()
else
print("Couldn't find Network-Master")
end
end

wedgehog
September 25th, 2007, 11:07 AM
Wedge, what have you got in NetRemote's Default Host? Is it "Media-center"?


Network-Master mate

wedgehog
September 25th, 2007, 11:42 AM
Okay, try this with NRD running on the same PC and check the Lua console


local g, gp
g = NetRemote.GetPlugin('Girder')
if g then
gp = g:GetInstance('Network-Master')
if gp == nil then
local gi = g:GetInstances()
if gi then
for id, name in pairs(gi) do
print('Trying '..name)
if name == 'Network-Master' then
print('Matched')
gp = g:GetInstance(id)
break
end
end
end
end
if gp then
print('Setting default instance')
gp:SetCurrent()
else
print("Couldn't find Network-Master")
end
end

I have tried this, no change. I have opened the Lua consol but I can't see it. I haven't used this before so you will need to give me instructions. :-)

Update: Belay that I have just closed and re started everything and you have done it mate. It now says network-Master in the I/R test and the code I have loaded into Netremote is passing through and operating the UIRT. Not just a pretty face are you. Thank you Rob. Hope I don't find anymore problems. Wedgie

tmorten
September 25th, 2007, 01:12 PM
Hooray! Well done Rob!

Wedge, thanks for taking the time to work it all out.

Just to make sure we take away all the appropriate learning from this:
(1) We should make it clearer how instance ID's work
(2) There is a bug in NRD when USB-UIRT drivers aren't installed
(3) There is a bug in NRD when extra spaces are in IR codes
(4) It's a PITA to get passthrough setup and directing to the correct machine; we should simplify this.

Did I miss any points?

Thanks again for all your feedback!

Best,
Tim

wedgehog
September 25th, 2007, 02:48 PM
Hooray! Well done Rob!

Wedge, thanks for taking the time to work it all out.

Just to make sure we take away all the appropriate learning from this:
(1) We should make it clearer how instance ID's work
(2) There is a bug in NRD when USB-UIRT drivers aren't installed
(3) There is a bug in NRD when extra spaces are in IR codes
(4) It's a PITA to get passthrough setup and directing to the correct machine; we should simplify this.

Did I miss any points?

Thanks again for all your feedback!

Best,
Tim

Thanks, Rob, Tim and Neo Morph,
At the moment the only other thing I can think of is the Skip next command not working in ND, Which you have told me you will correct in the next release, and I never bothered mentioning it but I am using a 17" Lcd monitor with the font set to 120% and the text is all jumbled up and illegible on the USB UIRT config page in Girder and on a few other screens there are bits of text missing, but ok in netremote and the editor, just in Girder (Mind you it is ver 4 maybe you have already fixed it in 5)
he he now don't go running off I aint finished working with it yet :-) Wedge (Bob)