List Info

Thread: 1wire drive 90% completed




1wire drive 90% completed
country flaguser name
Italy
2007-06-12 15:39:05
Hi all,

I wrote a code to drive 1Wire bus from matplc

It correctly compiles as driver stand alone
I created a new branch in demo dir called basic_1w (derived
from one of 
the basic demo)
I compiles correctly

Unfortunately this is the result from MatPLC start command:

marcoasus-debian:~/mat/weekly/mat-weekly/demo/basic_1w$ 
../../tools/run/matplc -g
Error initializing the plc.

How can I debug this?
Can I copy/upload my actual work somewhere so that someone
else can have 
a look at it and fix some  error?

Regards
Marco
 

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel


Re: 1wire drive 90% completed
country flaguser name
Portugal
2007-06-13 10:13:29
On Tuesday 12 June 2007 21:39, marco tozzini wrote:
> Hi all,
>
> I wrote a code to drive 1Wire bus from matplc
>
> It correctly compiles as driver stand alone
> I created a new branch in demo dir called basic_1w
(derived from one of
> the basic demo)
> I compiles correctly
>
> Unfortunately this is the result from MatPLC start
command:
>
> marcoasus-debian:~/mat/weekly/mat-weekly/demo/basic_1w$
> ../../tools/run/matplc -g
> Error initializing the plc.
>
> How can I debug this?


 This most common reason for the above to occur is because
the matplc is 
already running.

 It is possible to have several running simultaneously, and
it would only take 
a little changing of the config file to do it. However, I
sugest you try 
running the 
matplc -d
command to dump the current state of the matplc.

You can stop the matplc with the '-s' switch
matplc -s



 Another sugestion is to use '--PLCdebug=9' when starting up
the matplc to 
increase logging verbosity, then check the log files (by
default matplc.log 
on the current directory).

 Since the matplc is one process for each module, you can
start each module 
with a different logging verbosity level. Use the same
switch when starting 
each module/process if you want to increase verbosity for
that 
process/module.





> Can I copy/upload my actual work somewhere so that
someone else can have
> a look at it and fix some  error?
>


 If you wish, you may send your config files and error
logging files directly 
to me, and I'll look them over.


  Cheers,

		Mario.

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
MAT-devel mailing list
MAT-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mat-devel


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )