marco.shaw
Members-
Posts
249 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by marco.shaw
-
Publish power gadget to a dynamic web page
marco.shaw replied to DNS's topic in PowerGadgets Support
Check this out: http://community.softwarefx.com/blogs/powergadgets_team_blog/archive/2008/04/29/Integrating-PowerGadgets-with-your-website.aspx -
Power Gadgets can't locate my SQL database
marco.shaw replied to sandlapper's topic in PowerGadgets Support
Then give this a try to see if it gives anything: PS>osql /L It doesn't work for me though even with a local install. -
Power Gadgets can't locate my SQL database
marco.shaw replied to sandlapper's topic in PowerGadgets Support
And you can create a SQL connection to that SQL 2005 without any problems other than PowerGadgets not being able to? Do you have the SQL client tools installed on that machine where PG is? Just so we might be able to try some calls to see if it can connect. -
Power Gadgets can't locate my SQL database
marco.shaw replied to sandlapper's topic in PowerGadgets Support
Are either of the SQL 2005 or 2008 installs on the local machine or are both on a remote system? Let me know... Double-check that the SQL Server browser service is running on all the machines. If not, and it's not considered a secuirty issue, enable the service. -
the ability to launch different dashboards
marco.shaw replied to terrat's topic in PowerGadgets Discussion
The only way I could see this being done is to send a direct stop/kill to the PowerGadgets process. Then you would call your other PGF files to open up your new dashboard. Not an elegant solution, and I'm concerned killing processes (any process, not just PowerGadgets) could lead to unpredictable results in the longer term. I this something you're going to be looking at doing at very short intervals? -
Not a definite answer, but I suspect there may be problems with using scriptblocks for parameter values with PowerGadgets and PowerShell v2.
-
InnerGagues does not use AnimationSpan
marco.shaw replied to cmorrall's topic in PowerGadgets Support
Not that I'm aware of any version issues, what version are you running and on 32 or 64-bit? -
Please open the PowerGadgets Creator, go to Help, then About PowerGadgets. Please check the version you are currently running, and compare that against the version you had running on XP (if you can). This feature is known as scriptblocks. Not all parameters accept scriptblocks and I believe that support for it improved with later releases as more and more parameters provided support for it.
-
Problem setting data source in Creator
marco.shaw replied to Gharlam's topic in PowerGadgets Support
Is there any more information you can provide? Maybe this is an issue with PG. You might have the option of continuing possibly, creating your template file, then editing the template file to add-in the .ps1. The template file is just simple XML for the most part. -
In most cases, using a .pgt or .pgf file developed on 32 or 64 should work fine on the other. It is possible that some of the information used as input may be different (different path, for example).
-
How to output a PFG chart to a bitmap (PNG)?
marco.shaw replied to PSaul's topic in PowerGadgets Support
OK, I see what you are referring to. Give me a few days to take a peak. -
How to output a PFG chart to a bitmap (PNG)?
marco.shaw replied to PSaul's topic in PowerGadgets Support
If I follow correctly, have you tried something simple like this: PS>out-chart -template my_chart.pgf -output my_chart.png Now, oddly enough, it seems this method *might* lose some of the formatting, but could you give it a try with your examples? I like how you're using the product... Please feel free to post if you have any more questions! -
Reocurring error in PowerGadgets Creator
marco.shaw replied to rlindley's topic in PowerGadgets Support
**I'm not a professional developer** Off hand, can you confirm that you are running the 64-bit version of PowerGadgets on your system? I have a Windows 7 64-bit VM, and may try to reproduce what you're seeing in the next 3-4 days. -
I did try a very basic test, and I do agree that it appears that if you call out-chart from a PowerShell script versus what things end up looking like when use the creator wizard can be a bit different. I may try to come back to think about this at another time (as my free spare time is pretty much zero these days), but it might require getting PG devs involved to confirm the different behavior. Either Juan from SoftwareFX may chime in or you may also want to contact support AT powergadgets.com also.
-
OK, I think I know what's going on.. The .PGF file is just a text file, look at my test when I open it with Notepad: ... <GadgetVersion>1</GadgetVersion> <RefreshInterval>10000</RefreshInterval> <RefreshEnabled>True</RefreshEnabled> <Data>PowerGadgets.Commands.PowershellSource</Data> <Data.PrevCommands>& 'c:\users\administrator\desktop\creator.ps1'</Data.PrevCommands> ... You mentioned you're pasting the PowerShell code into the script window, but I think you should be referencing a PowerShell script as I do above. That script just has this as contents: gps powershell|select processname,cpu
-
Check this out: http://community.softwarefx.com/blogs/powergadgets_guest_blog/archive/2009/12/01/adding-sounds-to-powergadgets.aspx
-
Actually, how are you using PowerGadgets? Are you using a .ps1 PowerrShell script and passing that to one of the out-* cmdlets using a refresh value? Yes, I do think you can set up such a audio alarm using a trick like I do HERE with global variables.
-
I've just left 2 lines of interest... I'm not sure where you get $NUMITEMS. Would that be this instead: foreach($i in 0..$names.count) That may still leave you with an offset of 1. For your add-member command, I believe you should have: ...-name $entry.keys -value $entry.values
-
Give me a few days, in case nobody else comes along to help. I've since upgraded to 64-bit Windows, and need to get a new installer.
-
Disable new point when single value is returned
marco.shaw replied to pshaw's topic in PowerGadgets Support
Try adding this to your command at the end: " -DisableAuto AddData". -
Changing chart background when falls out of threshold
marco.shaw replied to pshaw's topic in PowerGadgets Support
I don't have the CHM help file handy, but that seems to be indicating that -PlotAreaColor is expecting a numeric value, but you're trying to pass it a string of alpabetical characters. One way to confirm what kind of value that parameter is execting is to do this: PS>help out-chart -full Look through that output for the -PlotAreaColor details. -
Error Message when trying to install PowerGadets
marco.shaw replied to danb's topic in PowerGadgets Support
Although I'm not sure if this is the issue, but do you have PowerShell v1 already installed on this machine? Are you just trying the demo version?