This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
The Rest - Ask For Help / Re: How to detect network disconnect and shut down
« on: April 05, 2009, 06:05:34 AM »
Hi Bruce
It is at the remote machine that I needs to detect the broken wire and shut don the app that is runing off the master machine which hangs when the lan is broken.
I need to prevent the last condition displayed before the lan was broken as in the situation that this system is being used it could prove dangerous.
I think I need a second app running in the background which can detect the brake via pinging the master which then restarts windows.
So how do I make an app force windows to shut down and or restart.
Regards
Pete
It is at the remote machine that I needs to detect the broken wire and shut don the app that is runing off the master machine which hangs when the lan is broken.
I need to prevent the last condition displayed before the lan was broken as in the situation that this system is being used it could prove dangerous.
I think I need a second app running in the background which can detect the brake via pinging the master which then restarts windows.
So how do I make an app force windows to shut down and or restart.
Regards
Pete
2
The Rest - Ask For Help / How to detect network disconnect and shut down
« on: April 03, 2009, 05:33:56 AM »
Hi
I am running a C5.5 app on multi PC's using netrefresh to redisplay changed data.
Each remote machine on the LAN is loading the app from the main machine over the network.
I need to detect if a remote machine is disconnected from the main machine via broken LAN link and shut the app down on that remote machine
I can detect the network break by pinging the main machine on a timed basis but I am unable to shut the app down on the remote machine in a consistant way.
How should I do this.
Regards
Pete
I am running a C5.5 app on multi PC's using netrefresh to redisplay changed data.
Each remote machine on the LAN is loading the app from the main machine over the network.
I need to detect if a remote machine is disconnected from the main machine via broken LAN link and shut the app down on that remote machine
I can detect the network break by pinging the main machine on a timed basis but I am unable to shut the app down on the remote machine in a consistant way.
How should I do this.
Regards
Pete
3
The Rest - Ask For Help / Re: NetRefresh problem not always working
« on: March 05, 2009, 04:50:26 AM »
Hi Bruce
I have resolved what has been causing my problem.
My mate has got the example working on his network.
I have taken my slave machine down to his network and I have the same problem on that machine.
I am using an IBM Thinkpad T41 so the problem seems to be related to this machine.
We are unable to come to any conclusion as to what might be causing the problem but it seems to be machine dependant.
As I am a subcontractor to a subcontractor to a main contractor I have no knowledge of the hardware that my software will run on but am concerned that it might not run on some harware setups.
Do you have any experiance with IBM hardware that could shed some light on this problem.
Regards
Pete
I have resolved what has been causing my problem.
My mate has got the example working on his network.
I have taken my slave machine down to his network and I have the same problem on that machine.
I am using an IBM Thinkpad T41 so the problem seems to be related to this machine.
We are unable to come to any conclusion as to what might be causing the problem but it seems to be machine dependant.
As I am a subcontractor to a subcontractor to a main contractor I have no knowledge of the hardware that my software will run on but am concerned that it might not run on some harware setups.
Do you have any experiance with IBM hardware that could shed some light on this problem.
Regards
Pete
4
The Rest - Ask For Help / Re: NetRefresh problem not always working
« on: March 03, 2009, 05:25:42 AM »
Hi Bruce
I have just returned from testing the NetRefresh example on a mate's network and have had the same results ie
Works if programs loaded in one sequence but not in the reverse sequence.
Help ?
Regards
Pete
I have just returned from testing the NetRefresh example on a mate's network and have had the same results ie
Works if programs loaded in one sequence but not in the reverse sequence.
Help ?
Regards
Pete
5
The Rest - Ask For Help / Re: NetRefresh problem not always working
« on: March 03, 2009, 01:03:09 AM »
Hi Bruce
I was using AVG8 but has uninstalled it from both machines.
Windows security center report NO Firewall NO Antivirus.
I have not changed the ports.
I have now tried the example and have the same problem I am loading the remote Slave) machine with the example over the network from the compiling (Master) machine.
If I start the Netrefresh example on the Master machine and then start a second instance on the Slave machine changes made by the Slave are not refreshed on the Master and changes made by the Master are not refreshed on the Slave.
If however I start the programs in the reverse order every thing is fine.
I have not changed the example program in any way.
Can you replecate this on your network ?
Regards
Pete
I was using AVG8 but has uninstalled it from both machines.
Windows security center report NO Firewall NO Antivirus.
I have not changed the ports.
I have now tried the example and have the same problem I am loading the remote Slave) machine with the example over the network from the compiling (Master) machine.
If I start the Netrefresh example on the Master machine and then start a second instance on the Slave machine changes made by the Slave are not refreshed on the Master and changes made by the Master are not refreshed on the Slave.
If however I start the programs in the reverse order every thing is fine.
I have not changed the example program in any way.
Can you replecate this on your network ?
Regards
Pete
6
The Rest - Ask For Help / Re: NetRefresh problem not always working
« on: March 02, 2009, 09:24:04 AM »
Hi Bruce
I have no firewall on either computer.
I have 2 PC's and 2 Xports on fixed IP address's all connected via a 5 port switch, I have no router on the network..
I have only 1 copy of the program running on each machine.
As the program works as required if the programs are started in a particular sequence it does not seem that blocking is the problem, or the blocking would occure no matter what the sequence.
I do not have access to another network at my location and will have to try to get access to another site.
I will try the example tomorrow but I am shure that it worked when I tried it several weeks ago before I advised the client that I could do the job.
I am at a loss on this.
Regards
Pete
I have no firewall on either computer.
I have 2 PC's and 2 Xports on fixed IP address's all connected via a 5 port switch, I have no router on the network..
I have only 1 copy of the program running on each machine.
As the program works as required if the programs are started in a particular sequence it does not seem that blocking is the problem, or the blocking would occure no matter what the sequence.
I do not have access to another network at my location and will have to try to get access to another site.
I will try the example tomorrow but I am shure that it worked when I tried it several weeks ago before I advised the client that I could do the job.
I am at a loss on this.
Regards
Pete
7
The Rest - Ask For Help / Re: NetRefresh problem not always working
« on: March 02, 2009, 02:10:06 AM »
Hi Bruce
This problem is getting weirder !
If a start the Slave PC program first follwed by the Master PC program then each program see's the NetRefresh commands issued by either and it functions as expected.
If I start the Master PC program first followed by the Slave PC program then the slave does not see the NetRefresh commands issued by the Master PC.
If some events have occured before the Slave PC is turned on it reads the data from the shared file and display it and the controls on the slave function and the Master see's the NetRefresh commands issued by the Slave but the Slave does not see any commands issed by the Master PC as a result of controls pressed or new event occuring.
In normal use the Master PC will be running 24/7 while the slave PC's will be turned on and off as required hence the syatem will not function.
What might be causing this and how to fix it ?
Regards
Pete
This problem is getting weirder !
If a start the Slave PC program first follwed by the Master PC program then each program see's the NetRefresh commands issued by either and it functions as expected.
If I start the Master PC program first followed by the Slave PC program then the slave does not see the NetRefresh commands issued by the Master PC.
If some events have occured before the Slave PC is turned on it reads the data from the shared file and display it and the controls on the slave function and the Master see's the NetRefresh commands issued by the Slave but the Slave does not see any commands issed by the Master PC as a result of controls pressed or new event occuring.
In normal use the Master PC will be running 24/7 while the slave PC's will be turned on and off as required hence the syatem will not function.
What might be causing this and how to fix it ?
Regards
Pete
8
The Rest - Ask For Help / Re: NetRefresh problem not always working
« on: February 26, 2009, 12:28:04 AM »
Hi Bruce
The change to the template file did not work same error displayed.
Adding a save button does not stop the error ?
I have no Firewall or Virus checker running on either machine as I suspected this at the start.
I can live with it but do not understand it.
Regards
Pete
The change to the template file did not work same error displayed.
Adding a save button does not stop the error ?
I have no Firewall or Virus checker running on either machine as I suspected this at the start.
I can live with it but do not understand it.
Regards
Pete
9
The Rest - Ask For Help / Re: NetRefresh problem not always working
« on: February 25, 2009, 05:40:38 AM »
Hi Bruce
I think that I have solved the problem.
I am developing the app on the master machine and if I run the app from the clarion IDE then NetRefresh outgoing does not work.
If I run it as an exe file the Net Refresh outgoing seems to work (needs a lot more testing yet).
Is this what you would expect ?.
Having installed the latest version on Net Talk 3, I now get an error message when I edit the embeds on the page that has Nettalk as an extension.
Exiting the embed editor I get a generator message 'Unknown Variable %HasSaveButton'
I get the same message on pressing OK on the Procedure Property window.
Any idea what might be causing this.
Regards
Pete Crowe
I think that I have solved the problem.
I am developing the app on the master machine and if I run the app from the clarion IDE then NetRefresh outgoing does not work.
If I run it as an exe file the Net Refresh outgoing seems to work (needs a lot more testing yet).
Is this what you would expect ?.
Having installed the latest version on Net Talk 3, I now get an error message when I edit the embeds on the page that has Nettalk as an extension.
Exiting the embed editor I get a generator message 'Unknown Variable %HasSaveButton'
I get the same message on pressing OK on the Procedure Property window.
Any idea what might be causing this.
Regards
Pete Crowe
10
The Rest - Ask For Help / Re: NetRefresh problem not always working
« on: February 25, 2009, 12:29:43 AM »
Hi Bruce
I have installed the latest release of Net Talk 3 (3.40).
I have set the the refres limit to 1 ( it was already).
What I am having problems understanding is the refresh always works from slave to master (accepting any control results in the master mimic and the file being updated) but master to slave (accepting any control or new items being added to the file or items being removed from the file do not result in an update of the slave).
The same exe file is being used the slave loading it from the master over the network.
It once sprung to life and worked but the next time it was run it stopped and has not worked again ?.
Any idea
Regards
Pete Crowe
I have installed the latest release of Net Talk 3 (3.40).
I have set the the refres limit to 1 ( it was already).
What I am having problems understanding is the refresh always works from slave to master (accepting any control results in the master mimic and the file being updated) but master to slave (accepting any control or new items being added to the file or items being removed from the file do not result in an update of the slave).
The same exe file is being used the slave loading it from the master over the network.
It once sprung to life and worked but the next time it was run it stopped and has not worked again ?.
Any idea
Regards
Pete Crowe
11
The Rest - Ask For Help / NetRefresh problem not always working
« on: February 24, 2009, 02:51:41 AM »
Using Clarion 5.5 Netalk 3.26.
I have an application where a PC receives multiple RS232 data streams from several alarm panels.
This data is stored in a TPS file and dispalyed on a matrix on a window.
Controls are available on the matrix to issue TCP-IP command to silence the panels.
The client requires aditional PC's to dispaly the same data and issued silence commands.
The same clarion app is run on all PC's across the network and all share the same data file.
Some times it works fine but most of the time the controls on the slave machines cause the main PC to reflect the changes but the changes made on the master machine are not seen by the slave's.
ThisNetRefresh.send() is run on each addition or removal of data in the data file and when any control is accepted.
It always works on the master but seldom on the slaves.
Help !
I have an application where a PC receives multiple RS232 data streams from several alarm panels.
This data is stored in a TPS file and dispalyed on a matrix on a window.
Controls are available on the matrix to issue TCP-IP command to silence the panels.
The client requires aditional PC's to dispaly the same data and issued silence commands.
The same clarion app is run on all PC's across the network and all share the same data file.
Some times it works fine but most of the time the controls on the slave machines cause the main PC to reflect the changes but the changes made on the master machine are not seen by the slave's.
ThisNetRefresh.send() is run on each addition or removal of data in the data file and when any control is accepted.
It always works on the master but seldom on the slaves.
Help !
Pages: [1]