Search found 21 matches

by dandelot
Thu Sep 25, 2014 1:59 pm
Forum: EKM Metering Systems
Topic: Installing Dash
Replies: 7
Views: 13176

Re: Installing Dash

One thing about Dash: the library files are under the name "EKM Dash Libs" (the spelling is critial, the dlopen() calls require that name-with-spaces, and dash executable should be in the same directory. Moreover, though the executable name is "EMK Dash" with a space, which is pr...
by dandelot
Thu Sep 25, 2014 1:33 pm
Forum: Developers Sandbox - Meter Data
Topic: setting Pulse v.4. Not yet getting it right.
Replies: 7
Views: 16487

Re: setting Pulse v.4. Not yet getting it right.

Ubuntu 14.04. 32bit . Has just 4GB Ram, so there was no good reason
to run x64 :-) And I've been unable to find bigger RAM that (regardless
of specification and MOBO matching what original ram says)
passes memtest on this motherboard. So: 32bit pointer, 32bit long int.
by dandelot
Wed Sep 24, 2014 2:47 pm
Forum: Developers Sandbox - Meter Data
Topic: setting Pulse v.4. Not yet getting it right.
Replies: 7
Views: 16487

Re: setting Pulse v.4. Not yet getting it right.

On starting Dash and trying to run the free trial I get 'unhandled NilObjectException'. The Protocol.pdf is a sketch, isn't it. Not a definition. The forum article you mention does have some useful info. Thanks. Seems like the most productive approach would be to get dash running, but I have no idea...
by dandelot
Tue Sep 23, 2014 4:25 pm
Forum: Developers Sandbox - Meter Data
Topic: setting Pulse v.4. Not yet getting it right.
Replies: 7
Views: 16487

setting Pulse v.4. Not yet getting it right.

I successfully read A and B data, but I'm not understanding the sequence of operations for setting some things in the Pulse v.4. Writing in C on Linux. My rash assumptions were as follows. Not working so...what are the corrrect sequences? I don't send the Pulse v.4 12 byte meter addresss here, (what...
by dandelot
Thu Sep 11, 2014 4:01 pm
Forum: Developers Sandbox - Meter Data
Topic: iserial access and documentation
Replies: 6
Views: 12232

Re: iserial access and documentation

Yet another bug in my code trying to help me debug was confusing me. Now I am seeing correct-seeming response to Request Type A. Really simple socket coding. But the sleep() requirement was a small surprise and it was appalling how many mistakes I made in such a small test application. So: Now I can...
by dandelot
Thu Sep 11, 2014 3:23 pm
Forum: Developers Sandbox - Meter Data
Topic: iserial access and documentation
Replies: 6
Views: 12232

Re: iserial access and documentation

Adding a sleep(1) between write() and read() has improved things.
Now getting the initial hex 02. !
by dandelot
Thu Sep 11, 2014 3:18 pm
Forum: Developers Sandbox - Meter Data
Topic: iserial access and documentation
Replies: 6
Views: 12232

Re: iserial access and documentation

Getting a Malformed Packet on the initial byte ( a hex 02 ) of the response to a request type A sometimes. As reported by wireshark. The byte disappears from what my code sees. The next frame from wireshark after the 19 bytes ofa request type A I just sent is: 5 0.009522000 192.168.88.6 192.168.88.2...
by dandelot
Thu Sep 11, 2014 2:51 pm
Forum: Developers Sandbox - Meter Data
Topic: iserial access and documentation
Replies: 6
Views: 12232

Re: iserial access and documentation

The Dash software gets App.Event_Open Delegate.Invoke Application._CallFunctionWithExceptionHandling REALbasic._RunFrameworkInitialization from 'An unhandled NilObjectException has occurred". Ubuntu 14.04. So I went directly to writing my own code and watching the ethernet bytes. Still ironing ...
by dandelot
Thu Sep 11, 2014 1:23 pm
Forum: Developers Sandbox - Meter Data
Topic: iserial access and documentation
Replies: 6
Views: 12232

Re: iserial access and documentation

Uart settings ok, I think. Doing the read repeatedly till all 255 returned is looking ok. Should have thought of that right away. The write bytes: Hex ascii. non printable as . 2f3f3030 30333030 30303132 33373030 /?00030000123700 210d0a !.. It is not clear, in what I've found on the developer page, ...
by dandelot
Thu Sep 11, 2014 1:00 pm
Forum: Developers Sandbox - Meter Data
Topic: iserial access and documentation
Replies: 6
Views: 12232

iserial access and documentation

The only pdf I can find on iserial is for the v.2 device, and that doc is rather out of date as I have a new v.4 iserial: the web page served by the device has lots of things not mentioned for v.2. Is there a more recent pdf? I'm writing a to iserial using C and watching the Lan with wireshark. Turn...