CAI WebControl Logger [Software]

LarsK

Active Member
Hi, I have written a program for logging data from the WebControl PLC.
The program is compiled in VB 6.0, and should run on all computers from NT4/Win2000 and up.
This program can log all cgi command you can use to retrive data from the PLC.
The program has a login window for choosing desired IP adress, User Name and Password.
You can choose to log from one to ten values, choosen from a dropdown box.
You can use all aviliable cgi commands, and set the timerate for logging. (except getall.cgi since the formatting is not good...)
Logging is from one second up tp 360 seconds.
For every string logged, the current time and date is saved. Remember that this data is from your PC not the PLC.
The logged data can be saved to a text file, and if you want to, the program will autosave to this file every ten lines generated.
You can also copy the data to clipboard. The data is formatted so it can be pasted directly into excel for further investigation.
Making charts and so on.
The text file can be dragged and dropped into Excel, and the formatting is perfect. (Tested in Office 2007)
I have tried to log a lot of strings, and over 30000 lines is not any problem at all.
Just remember to turn of hibernate/sleep functions on your PC, since this will prevent the program from logging.
Please test the program, and if you have any problems or ideas of more things to implement, please add a posting!

For Download: http://www.weatherby..._view&iden=139#

Pic's from the program:

CAI1.jpg
CAI2.jpg
CAI3.jpg
 
How about an extra tab that allows connection of WebcontrolA to WebcontrolB

what i mean is - polls WebcontrolA input 1 for 1/0 , and then sets WebcontrolB output 1 to 1/0. ?
 
Hi Lars !

Nice little program, just what I need.
But I have a problem with the ip adress. I use a remote router with a usb modem
and dyn-dns. My ip adress looks like this "90.129.22.xxx:7070" or xxxx.dyndns-ip.com
and I am not able to write that in the IP adress field.
Is this something you can fix ??

/Staffan
 
Hi Lars !

Nice little program, just what I need.
But I have a problem with the ip adress. I use a remote router with a usb modem
and dyn-dns. My ip adress looks like this "90.129.22.xxx:7070" or xxxx.dyndns-ip.com
and I am not able to write that in the IP adress field.
Is this something you can fix ??

/Staffan
Hi, I'm working on V1.1.0 including more logic into the app.
Just trying to make it more user friendly.
But, I have now compiled a new V1.0.0 (silent upgrade) with the functions you asked.
Download: http://www.weatherbyrifler.com/CAI/
Just download the exefile and replace the original one in the program folder.
This is NOT a new installer just the exefile.
Plz reply about how it worked for you...
 
How about an extra tab that allows connection of WebcontrolA to WebcontrolB

what i mean is - polls WebcontrolA input 1 for 1/0 , and then sets WebcontrolB output 1 to 1/0. ?

Yes why not? I will look into it when I get some spare time...
Thanks!
 
Hi, I'm working on V1.1.0 including more logic into the app.
Just trying to make it more user friendly.
But, I have now compiled a new V1.0.0 (silent upgrade) with the functions you asked.
Download: http://www.weatherbyrifler.com/CAI/
Just download the exefile and replace the original one in the program folder.
This is NOT a new installer just the exefile.
Plz reply about how it worked for you...

Hi again !
Now it works nice with the IP adress, but I can't type my dydns adress. It's no big deal, but it would
be nice to have that option. I turn off my modem/router from time to time to save battery, and when I turn it on
I have to look up my new IP number.

I agree with mc2000, it would be super to read in/output on WC no1 and set that value in WC no2.
Is it possible to log VAR ?

Keep up the good work !
Tack för ett fint jobb ! :)
 
Hi, again!
I have to set up (and learn) to use Wireshark. Then I can get the command used. If somebody on this forum knows the commands it would be of great help.
I'm struggling with the get commands I know are used.
Maybe CAI can be of some help. They know for sure.
I have managed to read status and write all TTL Output values (1-8) in VB, but reading all the input is a different story.
I will have a look into the dydns issue ASAP!
 
Hi, exefile update. Should take care of the IP adress problem.
V1.1.0 is still in the mould...
 
Hi, exefile update. Should take care of the IP adress problem.
V1.1.0 is still in the mould...

Thanks !
It works great, can't wait for your next update.
Now I have to refrech my Excel knowlege, it was years ago I made a diagram.
/Staffan
 
ups, it does not work with BRE version of Web Control.. To bad... I got one long time a go...

So, where can I get info/setup to understand the BRE version config?
Maybe I can include the code, or make a second version?
 
So, where can I get info/setup to understand the BRE version config?
Maybe I can include the code, or make a second version?
Great.. Listen, let me know what you need and I will help..

This is after I enter IP address,user name and password.. Select Value 1 for temperature sensor..
image: http://s14.postimage.org/kdatrz9td/Web_Control_Error.jpg

I am attaching lof file, might help... All of this text is for 1 row of sensor data..

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>WebControl™ Login</title>
<style type="text/css">
<!--
body {
background-color: #FFFF99;
}
body,td,th {
font-family: Courier New, Courier, monospace;
font-size: 24px;
color: #0066FF;
}
.style1 {font-size: 36px}
.style2 { font-size: 18px;
font-weight: bold;
}
-->
</style></head>

<body>
<h1 align="center" class="style1">Welcome to WebControl™<BR> NetDev1 Login</h1>
<p align="center" class="style2">Please enter your username and password to proceed </p>
<form method="get" action="login.cgi">
<label>
<div align="center">Username
<input name="0000E" type="text" maxlength="16" />
</div>
<p align="center">
<label>Password
<input name="0001E" type="password" maxlength="16" />
</label>
</p>
<p align="center">
<label></label>
<input name="Login" type="submit" id="Login" value="Login" />
</p>
</form>
</body>
</html>
17:34:38 2/23
 
Back
Top