I've posted my question on the Mister House mailing list, because I'm sure that's the most appropriate forum. However, I'm asking here as well just in case.
In the description below I left out : Win XP Pro SP2, Active Perl 5.8, Misterhouse 2.99.
-----------------------------------
I'm new to MisterHouse. Can anyone help get my USB-UIRT connected?
When I try to do just about anything with it, MH reports a write to an undefined object at line 518 of USB-UIRT.pm and crashes (abend).
Here is line 518 of USB-UIRT.pm :
$main::Serial_Ports{USB_UIRT}{object}->write(pack 'C*', @bytes);
Here's what happens...
usb_uirt debug version :
Getting UIRT Info...
USB_UIRT Protocol Version 1.1
USB_UIRT Firmware Version 5.9 Date 03/26/2004
usb_uirt debug learn (or any other command) :
USB_UIRT sending 24dc
Error found in user code file: ./../data/mh_temp.user_code
07/16/05 01:35:35 AM: Can't call method "write" on an undefined value at ../lib/
USB_UIRT.pm line 518.
Error logged to: ./../data/error.log
USB_UIRT sending 20e0
Can't call method "write" on an undefined value at ../lib/USB_UIRT.pm line 518.
accidental exit on mh, restarting ...
Starting interpreted perl mh
My mh.ini contains :
usb_uirt_module=USB_UIRT
#usb_uirt_port=/dev/ttyUSB1
My startup displays :
Quering USB-UIRT device driver information...
** USB-UIRT Driver Info: 0x0100
Opening communication with the USB-UIRT device...
...opened communication with the USB-UIRT device.
Getting UIRT Info...
USB_UIRT Protocol Version 1.1
USB_UIRT Firmware Version 5.9 Date 03/26/2004
Getting UIRT Config Info...
** USB-UIRT Config: currently = 00000003 (LED_RX=1, LED_TX=1, LEGACY_RX=0)
My USB-UIRT flashes when I press a remote control.
Thanks in advance for your help!
Casey