Widget Designer Help

Moderator: Moderator Group

Widget Designer Help

Postby JustynR » Sat May 23, 2009 7:44 pm

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
Justyn Roy
Toronto Ontario Canada
JustynR
 
Posts: 560
Joined: Wed Mar 25, 2009 1:33 am
Location: Toronto, Canada

Re: Widget Designer Help

Postby Jan Huewel » Sat May 23, 2009 9:37 pm

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
Jan Huewel
 
Posts: 260
Joined: Fri Jul 11, 2008 11:49 am
Location: earth

Re: Widget Designer Help

Postby JustynR » Sat May 23, 2009 10:13 pm

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
Justyn Roy
Toronto Ontario Canada
JustynR
 
Posts: 560
Joined: Wed Mar 25, 2009 1:33 am
Location: Toronto, Canada

Re: Widget Designer Help

Postby Julia Foest » Mon May 25, 2009 10:21 am

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
User avatar
Julia Foest
 
Posts: 521
Joined: Tue Nov 18, 2008 2:44 pm
Location: Berlin, Germany

Re: Widget Designer Help

Postby JustynR » Mon May 25, 2009 7:48 pm

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?
Justyn Roy
Toronto Ontario Canada
JustynR
 
Posts: 560
Joined: Wed Mar 25, 2009 1:33 am
Location: Toronto, Canada

Re: Widget Designer Help

Postby Julia Foest » Tue May 26, 2009 6:50 am

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
User avatar
Julia Foest
 
Posts: 521
Joined: Tue Nov 18, 2008 2:44 pm
Location: Berlin, Germany

Re: Widget Designer Help

Postby JustynR » Tue Jun 02, 2009 6:41 pm

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
Justyn Roy
Toronto Ontario Canada
JustynR
 
Posts: 560
Joined: Wed Mar 25, 2009 1:33 am
Location: Toronto, Canada

Re: Widget Designer Help

Postby Julia Foest » Wed Jun 03, 2009 9:28 am

Hi Justyn,

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

Regards,
Julia
User avatar
Julia Foest
 
Posts: 521
Joined: Tue Nov 18, 2008 2:44 pm
Location: Berlin, Germany

Re: Widget Designer Help

Postby JustynR » Wed Jun 03, 2009 2:45 pm

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
Justyn Roy
Toronto Ontario Canada
JustynR
 
Posts: 560
Joined: Wed Mar 25, 2009 1:33 am
Location: Toronto, Canada

Re: Widget Designer Help

Postby Julia Foest » Thu Jun 04, 2009 7:30 am

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
User avatar
Julia Foest
 
Posts: 521
Joined: Tue Nov 18, 2008 2:44 pm
Location: Berlin, Germany

Re: Widget Designer Help

Postby JustynR » Fri Jun 05, 2009 2:27 am

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
Justyn Roy
Toronto Ontario Canada
JustynR
 
Posts: 560
Joined: Wed Mar 25, 2009 1:33 am
Location: Toronto, Canada

Re: Widget Designer Help

Postby Julia Foest » Fri Jun 05, 2009 9:08 am

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
User avatar
Julia Foest
 
Posts: 521
Joined: Tue Nov 18, 2008 2:44 pm
Location: Berlin, Germany


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 20 guests

cron