Author |
|
jostim Groupie
Joined: February 12 2007 Location: United States
Online Status: Offline Posts: 45
|
Posted: April 09 2007 at 19:44 | IP Logged
|
|
|
People,
I am crazy? I can't get the 'ph_forloopwinc' to work. I'm probably doing something stupid again, but shouldn't this work (count to 9)?
formula - Post - ph_forloopwinc ("ph_tts (ph_getvar_s(1,1))",1,5,1,1)
After I installed PH on my new PC (with Vista), I can't get my macros that have a 'ph_forloop" or a 'ph_forloopwinc' to work anymore. I simplified the formula to the above code, but all I get PH to say is "one". What am I missing here?
The formula does not return anything. When I change the increment to '0', the formula returns '1' (as it should).
When I enter a '12' for the local variable the formula returns a '2' (by the book).
When I make the starting value bigger than the end value, the formula returns '0', as if the loop completed.
What's going on, what am I missing?
thanks.
__________________ - jos
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: April 09 2007 at 19:51 | IP Logged
|
|
|
This speaks one through five on my system (XP).
IIRC, Dave has not tested PH on Vista yet.
|
Back to Top |
|
|
jostim Groupie
Joined: February 12 2007 Location: United States
Online Status: Offline Posts: 45
|
Posted: April 09 2007 at 20:26 | IP Logged
|
|
|
Yep,
sorry. I meant five.
So you think it's Vista? I was afraid of that.
So now what? Re-write the code or move PH to an old (and not very stable) XP-machine? Any suggestions?
BTW: When is PH - Vista compatibility expected?
thanks
__________________ - jos
|
Back to Top |
|
|
jostim Groupie
Joined: February 12 2007 Location: United States
Online Status: Offline Posts: 45
|
Posted: April 09 2007 at 20:45 | IP Logged
|
|
|
Maybe I can be useful for a change.
What if I make a list of the little things I noticed since I switched to Vista, and share this with the forum/Dave?
Is there any interest in such a (small) list?
__________________ - jos
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: April 09 2007 at 21:32 | IP Logged
|
|
|
Dave was going to test Vista soon (some other posts mentioned this).
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: April 11 2007 at 20:02 | IP Logged
|
|
|
Jos,
I checked out the code for the ph_forloopwinc function and can find no reason why it wouldnt work.
When you run your formula above and you get PowerHome to announce the "1", does the formula return a value? It should return a 0. If it doesnt return a value, then it would appear that the problem is in the evaluate formula routine causing an exception. Let me know if a value is returned or not and it might point me in the proper direction.
Also, definately compile a list of Vista problems. So far, you seem to have gotten further than most anyone in getting PowerHome to run on Vista. Most people seem to blow up immediately after launching PowerHome with a Script Server error.
Im still waiting on my Microsoft Select media. I don't know why it's taking so long but it looks as if I may have to go out and just buy the program.
Dave.
|
Back to Top |
|
|
jostim Groupie
Joined: February 12 2007 Location: United States
Online Status: Offline Posts: 45
|
Posted: April 17 2007 at 08:48 | IP Logged
|
|
|
Dave,
I'm sorry it took me so long to respond. I had a family emergency on my hands.
The ph_forloopwinc from my original post doesn't return anything. When I run "Verify" in the 'formula builder', the lower part of the window stays empty.
Here are some of the other issues I have run into so far. This is a list compiled by a newby, so take it for what it's worth. Please let me know if you have any questions.
Suspected Powerhome - Vista Issues:
PC: Windows Vista Home Premium, Dell Dimension E521, AMD Athlon 64 X2 Dual Core Processor 3800+. 2.00 GB RAM
Issue 1: Poll interval is always at 0 after start or reinitate
Location: Insteon Explorer
Remedy: Set to desired setting after every start or reinit
Issue 2: Settings for X-10 receive commands are always un-checked when opened (and pol interval is 0, see issue Location: PowerHome Explorer -> Setup -> Controllers -> Insteon DM
Remedy: I don't really understand what this does. It doesn't appear to have an influence on running PH.
Issue 3: ph_forloop and ph_forloopwinc don't work
Location: macros
Issue 4: Redrat3 doesn't work
Location: Redrat3
Remedy: http://www.redrat.co.uk says they will email the new 'driver', probably by April 13. (I haven't received anything yet.)
Issue 5: PowerHome crashes when doing too many inserts in a row while editing a macro
Location: editing macro
Issue 6: formula - ph_setvar doesn't work, set system does.
Loation: macro
Issue 7: ph_winampctrl and ph_winampinfo don't work. I get a lot of "winamp not running" messages.
Location: macro
Issue 8: ph_ccclearchgs() doesn't work
Location: macro
Issue 9: ph_backupdb doesn't work (Vista moves the most recent version of the db-file to a totally different location: C:\Users\<USERNAME>\AppData\Local\VirtualStore\Program Files\powerhome)
I should have made a list from the start, because I know I have encountered more issues that I can't remember now.
I will let you when I find any.
thanks and good luck.
__________________ - jos
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: April 29 2007 at 22:51 | IP Logged
|
|
|
Jos,
Great work so far. I will definately be checking these items out. From what Ive read, it would appear that PowerHome is having a problem with updating the database. There may be a problem with Adaptive Server Anywhere running.
Our network admistrator has ordered the Windows Vista Business media kit. I should also be able to get a version of Windows Home Basic shortly as well. From what Ive been reading and talking to other Vista users, it would appear that most problems are related to the new security model in Vista. The Script Server not being found and your RedRat3 problem is most likely a result of this as well. It appears that the ActiveX controls are not properly registering. This was also a problem with getting PowerHome running as a service. The next version will have some built in controls for registering the activex controls and this should help with Vista as well.
Dave.
|
Back to Top |
|
|
jostim Groupie
Joined: February 12 2007 Location: United States
Online Status: Offline Posts: 45
|
Posted: May 15 2007 at 22:16 | IP Logged
|
|
|
Dave,
I apologize for the late response, but I have been out of the country for a while.
I have messed around with Vista a bit more, and I have decided to downgrade to XP.
Vista has too many bugs and is too slow. I'm not in the position to give you any more feedback on PH and Vista. Sorry.
- jos
__________________ - jos
|
Back to Top |
|
|