News:

  • June 28, 2026, 06:01:52 PM

Login with username, password and session length

Author Topic: Data Acquisition From Do-More  (Read 40420 times)

Maxwell

  • Jr. Member
  • **
  • Posts: 18
Re: Data Acquisition From Do-More
« Reply #15 on: March 20, 2013, 05:17:09 PM »
So you do have Ethernet ports on your CPUs?

No.  I don't have Ethernet ports on the CPU's.  Right now, the design incorporates a sealed, portable Pelican case with several Brad Harrison connectors on the sides of the case for connection of power and control cables.  When you open the cover of the case, you gain access to a faceplate that has a c-more, sealed breaker reset buttons, a sealed power switch, and a sealed USB port.  Inside the case behind the faceplate, the USB port connects to a splitter that allows the single external USB port to connect to both the C-more and Do-more programming ports.  When a technician needs to check on the system or modify the settings, he opens the cover, does his thing, and then seals it back up.

It is certainly possible for me to modify the design to swap the Do-mores to the Ethernet version, to add an Ethernet switch, and to install a sealed Ethernet connector on the faceplate.  In the future, I'll certainly consider designing all new systems to operate using Ethernet even if it does add to the cost.  The problem now; however, is that if I convert to Ethernet, I have to try and recall units back for modification, process a design change, modify the units, requalify the units for field service, and provide the units back to the end users.  In additon, if all of the units don't get returned for upgrade, I then have to maintain 2 versions going forward.  All of this is doable, but before I went down that road I wanted to make sure that there wasn't a command that would allow me to stream out to USB, or some program out there that allows me to connect over the USB port.  I still don't understand why I can't get the data by exporting the data view that I was using the other day to look at the logged data on one of the units.  I could see the values, and when I right clicked and picked export, a CSV file was created, but it was empty.  I don't have a unit in the shop at the moment cause I loaned out my development unit, but when I get it back I'll try playing with the the data view option some more.  (Data View would only let me look at 99 values at a time.  Maybe it will not export if you have that many open?)

Rather than do all the hardware modifications, I think I'll wait on the device being developed by BizwareDirect.  Their engineer expects it to be available around September and he expects it to cost less than $100.  If I do decide to convert to Ethernet instead, then I'll set up a stramout loop to cycle through the data and send it over Ethernet.
« Last Edit: March 20, 2013, 05:19:55 PM by Maxwell »

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: Data Acquisition From Do-More
« Reply #16 on: March 20, 2013, 10:55:26 PM »
So you do have Ethernet ports on your CPUs?

No.  I don't have Ethernet ports on the CPU's.

I didn't think you did, but you referenced Ethernet in a previous post, so I wanted to be sure. We're eyeballs deep in the 1.1 development right not, so I'm not as focused on the forum as I normally am. Realizing that it isn't possible, but it is a very simple thing to get data out with Ethernet, using any of several possible methods.

I don't know of any reason why the data view export wouldn't work, but stranger things have happened. It's working fine for me, but if you can offer any additional thoughts on what you are seeing, we'll try to dupe it and get a fix in 1.1.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Maxwell

  • Jr. Member
  • **
  • Posts: 18
Re: Data Acquisition From Do-More
« Reply #17 on: April 06, 2013, 10:47:02 AM »
I don't know of any reason why the data view export wouldn't work, but stranger things have happened. It's working fine for me, but if you can offer any additional thoughts on what you are seeing, we'll try to dupe it and get a fix in 1.1.

I think I've figured out why I was getting blank CSV files when I attempted to export the memory locations from DataView.  I had pulled the data view of the memory locations over to a second monitor and then expanded it so that I could see more locations at a time.  For some reason, if I leave the data view docked on the lower left corner of Do-more Designer the way that it is when it first opens, the CSV file will be created correctly when I export the data.  When I attempt to export the memory locations from the undocked DataView window, that's when I get the problem of the empty CSV file.  I guess this is just an "undocumented feature" of Do-more Designer.  If anyone else runs into the problem of empty CSV files being created, try leaving the DataView window docked as it is when it first opens.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: Data Acquisition From Do-More
« Reply #18 on: April 06, 2013, 01:36:43 PM »
We leave our best features undocumented!  ;)

We'll look into it, and should have it fixed in the upcoming 1.1.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: Data Acquisition From Do-More
« Reply #19 on: April 06, 2013, 09:46:06 PM »
Easily duped. Thanks for following up!
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

DLTimmons

  • Hero Member
  • *****
  • Posts: 232
Re: Data Acquisition From Do-More
« Reply #20 on: September 16, 2013, 11:57:30 AM »
Host can provide the source to DmLogger to anyone who wants it, for free.  We have two versions, a C++/MFC version that ships with Do-more Designer, and a C# version that is functionally equivalent.

Anybody could take that source and tweak it to always log to disk or USB drive or wherever, possibly eliminating the UI to create a "service" or a command-line utility or ? ? ?

Note that since the source is provided for free, you will be responsible for enhancing the C++ or C# code, but we will definitely point you in the right direction.

Could I get this code in C# version?

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3827
    • Host Engineering
Re: Data Acquisition From Do-More
« Reply #21 on: September 16, 2013, 01:57:31 PM »
Could I get this code in C# version?
I will email you to confirm.

DLTimmons

  • Hero Member
  • *****
  • Posts: 232
Re: Data Acquisition From Do-More
« Reply #22 on: September 16, 2013, 03:52:22 PM »
Thanks