Page 1 of 1

Widget Designer Help

PostPosted: Sat May 23, 2009 7:44 pm
by JustynR
Hello,
I am trying to set up the widget designer on one machine to control things like start up-wake on LAN, reboot, start or stop PB client on 8 Media Player PRO.

Is this possible on the media player?
I know the menu made for the Server in the most recent revisions don't work on the player because there is no LCD display on the front of the unit and that is what the menu accesses, is this the same for the Custom Scripts in the Widget Designer?

Thank you very much.

Justyn

Re: Widget Designer Help

PostPosted: Sat May 23, 2009 9:37 pm
by Jan Huewel
Dear Justyn

The PB Menu is mainly designed for servers you may want to give it a try to run it on your machine

download the menu from the download section

right now it will install automatically to c:/system

You may want to place a short cut to PB_Menu.exe in auto start to have the menu software running at startup

then you can send the Server start and shutdown commends from Widget Designer.

Please be aware that you will need to install .net framework 2 and direct 9 march 2008 both are available in the download section of the forum.

Best regards

Jan

Re: Widget Designer Help

PostPosted: Sat May 23, 2009 10:13 pm
by JustynR
Jan,
I have the start_client.bat installed that Julia posted.

So the client does start with the server. How do I make the Widget Designer control things like reboot, wake on lan, and so on? Do I need to be running another program on the Client computer?

What I have in the custom script is :

PBShutDown,2.0.0.3

Is that correct?

Or even:

PBRebootAll

That doesn't work either.

Thanks again

Re: Widget Designer Help

PostPosted: Mon May 25, 2009 10:21 am
by Julia Foest
Dear Justyn,

you have to have the LCD_Menu running on the Client Machine, so that all the PB... commands like PBRebootAll or PBShutdown,'IP address' are able to work. The syntax you wrote in your post is correct. Was the LCD Menu running?

Two more hints concerning the LCD Menu:
1. After changing the destination of the shortcuts for the Menu Buttons under C:/system/LCD_Menu, please copy the shortcut for the client ('PandorasBoxClient') and rename this copy from 'PandorasBoxClient' to 'PandorasBoxClientOSD', otherwise the button won't work.
2. The LCD Menu will not automatically start when starting the PC, you have to create a shortcut of the PB_Menu.exe and put it in your autostart folder.

WakeOnLan:
Precondition for using WakeOnLan is that the ethernet adapter of the computer you want to wake up supports WakeonLan with Magic Packet. Please have a look to the ethernet cards properties in the device manager (click on Start and then control panel --> system. In the system properties window, click on the hardware tab, there on the device manager button).

You will need the physically MAC address of the computer.
You find it here: Click on Start and then Run... Type "cmd" into the textbox and press OK. A command prompt window opens. Type "ipconfig /all", press ENTER. Have a look under your connected Ethernet Adapter - the 12-digit physical address is the same as MAC address (e.g. 00-15-AF-6F-49-97)

In the Item Properties of the Custom Script Button choose the Macro Script Command: WakeOnLan,MacAddress, and instead of "MacAddress" type in the computers Mac address, including the hyphens --> e.g. WakeOnLan,00-15-AF-6F-49-97.

Greetings,
Julia

Re: Widget Designer Help

PostPosted: Mon May 25, 2009 7:48 pm
by JustynR
So if I am not using hardware by Coolux ( I built my own server) that doesn't have an LCD on it... it won't work?

Re: Widget Designer Help

PostPosted: Tue May 26, 2009 6:50 am
by Julia Foest
Hi Justyn,

it will work also without LCD Display. Install the PB_Menu like Jan described. Go to C:/system/LCD_Menu, link the shortcuts 'PandorasBox' and 'PandorasBoxClient' to the right PB Rev. (Master and Client) you want to run, copy the 'PandorasBoxClient'-shortcut and name the copy 'PandorasBoxClientOSD' (if you want to start the Warper from the on screen buttons, please also create a shortcut named 'PBWarp' in this folder. Now the buttons and also the starting and closing via Widget Designer should work!

Best regards,
Julia

Re: Widget Designer Help

PostPosted: Tue Jun 02, 2009 6:41 pm
by JustynR
Hello Julia,

When I start the Menu, I recieve a .net error:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at PB_Menu.GetOutputInfo.Out1()
at PB_Menu.Menu.DrawStatus()
at PB_Menu.Main.Form1_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PB_Menu
Assembly Version: 1.0.0.7
Win32 Version: 1.0.0.7
CodeBase: file:///C:/system/LCD_Menu/PB_Menu.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



When I click "continue" nothing happens with the machine that I am running.

Thank you.

Justyn

Re: Widget Designer Help

PostPosted: Wed Jun 03, 2009 9:28 am
by Julia Foest
Hi Justyn,

did you install .net framework 2 and direct 9 march 2008 on your machine?

Regards,
Julia

Re: Widget Designer Help

PostPosted: Wed Jun 03, 2009 2:45 pm
by JustynR
Yes I do, and I have been running Widget designer and PB Player and Client on it for about 6 months now without a problem

Re: Widget Designer Help

PostPosted: Thu Jun 04, 2009 7:30 am
by Julia Foest
That is weird.
Because the entry "at PB_Menu.GetOutputInfo.Out1()" calls a function from DirectX March2008. If this is not installed you should get this report. Hm. I will get some more information.

Greetings!
Julia

Re: Widget Designer Help

PostPosted: Fri Jun 05, 2009 2:27 am
by JustynR
Ok... so....
I uninstalled Direct X (which was the version from this site) AND uninstalled .net FX.

I reinstalled them both and installed the menu. It installs, but it still had errors while installing.
Unfortunatly I don't have the error with me (i am at home).
It was something about a Visual basic.

The menu does start however with no problems. I have created shortcuts where I needed to and all of the buttons on the menu work (they start the master/client and so on).

The problem I am having though is with the Widget Designer. And it is weird. I am running the Widget Designer on a seperate machine with my Manager and most things do not on the Widget Designer.
For instance if I create a script that says :
"PBCloseAll" It works and closes all Clients.
"PBRebootAll" It works and reboots all machines
BUT if I put:
"PBClose,2.0.0.1" Nothing Happens
"PBShutDown,2.0.0.1" Nothing Happens
"PBStartClient,2.0.0.1" Nothing Happens

Is there something I have done wrong or not intalled correctly?

Thank you very much.

Justyn

Re: Widget Designer Help

PostPosted: Fri Jun 05, 2009 9:08 am
by Julia Foest
Hi Justyn,

some questions, just to be sure:

Under C:/system/LCD_Menu you have now the following shortcuts?
- PandorasBox (starts the Master from Onscreen Menu and also from WD)
- PandorasBoxClient (starts the Client from WD)
- PandorasBoxClientOSD (starts the Client from Onscreen Menu)

You are running WD Rev. 20?

Can you please send your WD Project File and the error messages from installing to support@coolux.de?

Greetings,
Julia