Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 17:53 25 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Electronics : Piclog over the net.

     Page 3 of 5    
Author Message
graynomad

Senior Member

Joined: 21/07/2010
Location: Australia
Posts: 122
Posted: 07:45am 10 Aug 2010
Copy link to clipboard 
Print this post

I just downloaded Jabaco and on the surface at least it's very impressive, almost identical to VB6. But as you say it may not be stable in some areas yet.

How do you think JB will work with large apps? I think going back to non-GUI programming may be a bridge too far for me.

Rob
Rob Gray, AKA the Graynomad, www.robgray.com
 
vasi

Guru

Joined: 23/03/2007
Location: Romania
Posts: 1697
Posted: 08:33am 10 Aug 2010
Copy link to clipboard 
Print this post

  graynomad said  How do you think JB will work with large apps? Rob


Look at Eclipse. It is a huge Java application which require a supercomputer to run.
And is something like .Net. You need to download and install java runtime. In Romania is an expression: "out of the lake into the well" == "out of the frying pan into the fire"Edited by vasi 2010-08-11
Hobbit name: Togo Toadfoot of Frogmorton
Elvish name: Mablung Miriel
Beyound Arduino Lang
 
vasi

Guru

Joined: 23/03/2007
Location: Romania
Posts: 1697
Posted: 11:46am 10 Aug 2010
Copy link to clipboard 
Print this post

Sorry, I refer to Jabaco, not Just Basic. Both can be written JB...

Vasi
Hobbit name: Togo Toadfoot of Frogmorton
Elvish name: Mablung Miriel
Beyound Arduino Lang
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5078
Posted: 08:39am 15 Aug 2010
Copy link to clipboard 
Print this post

I've been porting the PicLog code to Just BASIC. Most of the code has been rewritten from scratch, JB doesn't support a lot of the commands I was using in VB, so I've had to write a few functions to get what I want. JB handles string and numeric variables much better than VB, but is lacking when it comes to date functions. JB will only let you have one timer function running at once, where VB will let you have many ( PicLog 1.5 uses 4, depending on what version you have ), so I've set it to 1 second intervals and use counters to keep track of timing for different events.

At this stage the serial communications, setup and calibrations screens, remote and local logging is working. I'm yet to start on the graphing section, and I might write this as a separate application to keep it simple.



Glenn


The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5078
Posted: 01:18am 19 Aug 2010
Copy link to clipboard 
Print this post

The PicLog version 2 is coming together nicely.



I've added a reset Wh button. Clicking this will open a small window to let you reset the watt hours to any number you want, 0 by default. The new PicLog will also remember the Wh figure if you accidentially close/crash the PicLog program. When the program is started, it looks for log files for that day, and if it finds one, the last Wh entry becomes the new Wh reading instead of 0.

Just BASIC communicates with the Windows API very well for a simple language. One problem I heard about with the old PicLog is lack of support of com port numbers over 8, a limitation of VB6. Just BASIC will support any com port number, my running copy of PicLog 2 is currently using com port 20.

I still havn't started on the graphing, thats next.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
windman1000
Regular Member

Joined: 21/06/2009
Location: United States
Posts: 91
Posted: 05:09pm 19 Aug 2010
Copy link to clipboard 
Print this post

Very Nice Looking,
I have never play around with Basic before.
So il wait for the release .
your doing a great job here Glenn.

Windman
 
AMACK

Senior Member

Joined: 31/05/2009
Location: Australia
Posts: 184
Posted: 12:56pm 20 Aug 2010
Copy link to clipboard 
Print this post

Hi all, I am having a lot of truble getting data to go to the site. The piclog program worked for a bit and then come up with an error 13 and error 53. I have wiped it from my system and reinstalled it and it will not work? I can get Gordons windlogger to work and have been running it for a while. I would like to send data to the site but be bugged if I can get it to work.

AMACK
*Note to self

1. Make it thick

2.Make it heavy.

3.Make it stronger than it should be.

4. Don't rush the first job as the second job will cost more and take mor
 
windman1000
Regular Member

Joined: 21/06/2009
Location: United States
Posts: 91
Posted: 01:23pm 20 Aug 2010
Copy link to clipboard 
Print this post

Hi AMACK
I dont remember what error13 or 53 Are but iI have found that if I get any errors , I download Glenns Piclog_3 LInk and put the folder in Program Files Open It up and setup up the Port , calibrations, Program setup, then when it is all working I copy and paste Glenns Online Piclog5B to that folder and start the online data, if your logger is using USB as mine is now , when i start the online logger 5b it some times errors out , i just close it and restart it until it gets going, then all seems to stay going with no problems.

WindMan

P.S. If you Are Using USB and if you have unplug the USB from Computer , You might Need to reinstall the drive for the USB.Edited by windman1000 2010-08-21
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5078
Posted: 11:13pm 20 Aug 2010
Copy link to clipboard 
Print this post

Hi AMACK

A 13 is a type missmatch, meaning the piclog tried to process data that was a type it wasnt expecting. A 53 is file not found, meaning it tried to open a file and couldnt find it.

First question, are you using a standard PicLog logger, with the PicAxe chip programmed with the source code from the web site?

Second question, has the PicLog worked before? The only real difference between earlier versions of PicLog and version 1.5 is a few bug fixes and the additional code to send data over the internet.

If you have a earlier PicLog version that works, like 1.3, copy the complete Piclog folder to a new location, and replace the PicLog.exe with the new one, it should just work.

The next PicLog, 2.0, is getting close. Its a complete rewrite in a different dialec of Basic, the code is simpler, and more stable.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5078
Posted: 11:37pm 27 Aug 2010
Copy link to clipboard 
Print this post

How did you go AMACK?

The PicLog version 2 is getting closer to release. Pete(Downwind) is helping out with the testing too, I wanted to make sure the new PicLog would work with his power logger circuit boards. So far the new version seams rock solid compared to the old PicLog, mines been going for days without a single error.

I've started on the graphing program. It will run as a separate program to the PicLog, and this is how I think we should develope the PicLog in future, as separate modules/programmes. The PicLog program connects to the hardware and logs the data, a separate program called PicGraph will display the data. Later I'll write another module to display the live data as analogue screens, like Windman did with his PicLog. All the individual programs can be running at the same time.

This is a screen shot of PicGraph, as you can see, early days. You'll notice the Smoothing option, this cleans up the display if your logging at a high speed.


Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
Downwind

Guru

Joined: 09/09/2009
Location: Australia
Posts: 2333
Posted: 03:50am 28 Aug 2010
Copy link to clipboard 
Print this post

That graph reminds me of ....Billy was a mountain and Ethol was a tree that grew upon Billy's shoulder.......

Anyone else remember Frank Zapper??

Pete.
Sometimes it just works
 
AMACK

Senior Member

Joined: 31/05/2009
Location: Australia
Posts: 184
Posted: 07:46am 28 Aug 2010
Copy link to clipboard 
Print this post

Hi Glenn, I still can not get it to work. I have moved it into it's own file and tryed the lot. I have given up on it, might wait till the new version 2 comes on line.

AMACK
*Note to self

1. Make it thick

2.Make it heavy.

3.Make it stronger than it should be.

4. Don't rush the first job as the second job will cost more and take mor
 
AMACK

Senior Member

Joined: 31/05/2009
Location: Australia
Posts: 184
Posted: 01:32am 30 Aug 2010
Copy link to clipboard 
Print this post

Glen, I have been able to get V1.3 to work and am still having truble getting it to send to the web. Can you give me any direction to how to set it up to send. I can not seem to find the extra screen to config the logger to send to the web.

This is the screen I need to find.



AMACK
*Note to self

1. Make it thick

2.Make it heavy.

3.Make it stronger than it should be.

4. Don't rush the first job as the second job will cost more and take mor
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5078
Posted: 02:07am 30 Aug 2010
Copy link to clipboard 
Print this post

Hi AMACK

Version 1.5 has the extra screen and code to send data to the remote server. You can download it here...

http://www.thebackshed.com/windmill/forum1/uploads/Gizmo/201 0-07-20_230235_PicLog_Ver_1-5b-beta.zip

Extract the download and copy the PicLog.exe file into your existing PicLog directory, run the program, and go into the Program Setup screen to enter your remote id and pin number.

PicLog 2.0 is just about ready to go anyway, couple of days.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
AMACK

Senior Member

Joined: 31/05/2009
Location: Australia
Posts: 184
Posted: 10:27pm 30 Aug 2010
Copy link to clipboard 
Print this post

I GOT IT WORKING
I AM NOW ABLE TO SEND DATA TO THE SITE..

AND THE WIND IS VERY LIGHT (MURPHY YOU %^$$)

I AM YET TO PUT THE WIND SPEED UP BUT THE REST IS WORKING..

AMACK
*Note to self

1. Make it thick

2.Make it heavy.

3.Make it stronger than it should be.

4. Don't rush the first job as the second job will cost more and take mor
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5078
Posted: 10:55pm 30 Aug 2010
Copy link to clipboard 
Print this post

Well done AMACK.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5078
Posted: 12:31pm 31 Aug 2010
Copy link to clipboard 
Print this post

I've added a watt hours by day graph to the online PicLog graphs. It displays the total watt hours for each day between Day 1 and Day 2. By default, Day 1 and 2 are only 1 day apart, so its a boring looking graph. If you change Day 1 to one month before Day 2, you'll see a graph that makes more sense.

http://www.thebackshed.com/piclog/Report1.asp?LogID=1

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
AMACK

Senior Member

Joined: 31/05/2009
Location: Australia
Posts: 184
Posted: 09:56am 02 Sep 2010
Copy link to clipboard 
Print this post

Glenn, I think you have spoke about this before but the watt hours reset when the piclog stops and when it restarts it has to over take the reading there to add more watt hours to the days total. Eg I had 1566.2 watt hours then it froze and when started it again I ran it for an hour and I have clocked up 875 watt hours but the total for the day is still 1566.2. I think you said that V2 is better and will not do this.. Hope to see it soon.

AMACK

P.S I am having fun with this logging it's grate..

Are you going to put in a link on the main page as it is quite hard to find if you dont know were to look?Edited by AMACK 2010-09-03
*Note to self

1. Make it thick

2.Make it heavy.

3.Make it stronger than it should be.

4. Don't rush the first job as the second job will cost more and take mor
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5078
Posted: 10:23am 02 Sep 2010
Copy link to clipboard 
Print this post

Hi AMACK

Yeah in the next PicLog the watt hours are saved with the log files. When you start the program, it looks for log files for that day, and if it finds it, grabs the last watt hour reading and starts from there. You can also edit the watt hours value manually. I've added a button called Reset Wh, and it opens this window, where you can leave it as 0 or enter any value, and the watt hours will increment from there.



The Wh is reset at midnight by default also, but you can turn this off so it just keeps incrementing until you reset it manually.

Glad your having fun. Yeah I'll be linking to the online graphs after the new PicLog has proven itself. I was going to release PicLog 2 today, but I got tied up with work, I still need to write up some basic install instructions.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
AMACK

Senior Member

Joined: 31/05/2009
Location: Australia
Posts: 184
Posted: 01:32pm 02 Sep 2010
Copy link to clipboard 
Print this post

Glenn, Hanging out to see it. I would like to see a full 24 hours of full data for the mill in the wind we are having at the momment. I have had to turn on all the car port lights and the 2 X 275 watt heat lamps in the bathroom to get rid of some of the power. I need to finish off the dump load SOON.

AMACK
*Note to self

1. Make it thick

2.Make it heavy.

3.Make it stronger than it should be.

4. Don't rush the first job as the second job will cost more and take mor
 
     Page 3 of 5    
Print this page
© JAQ Software 2024