|
I really like Realterm. You can really do the nuts and bolts of serial comms with it.
|
|
|
|
|
Need to add that to Free Tools[^]
I don't think before I open my mouth, I like to be as surprised a everyone else.
PartsBin an Electronics Part Organizer - Release Version 1.1.0 JaxCoder.com
Latest Article: SimpleWizardUpdate
|
|
|
|
|
|
Strange, going to have to look at Termite again used it on tried this morning with 11 and it wouldn't install...
|
|
|
|
|
Just installed it on a new W11 machine and works fine (Termite 3.4)
Mircea
|
|
|
|
|
|
Been a long time since I did serial ports but to be fair you are describing a problem with the device and not the port.
Which is what I remember. Devices were all odd. Even worse if one had to code to a spec rather than the actual device.
glennPattonWork3 wrote: Combined with the lack of Vis Studio .NET beyond version 2003
Not sure why that matters? The serial port code itself is going to be different when you move up?
|
|
|
|
|
Thing was .NET1.0 had no native serial ports, you had to come up with a method (many and varied my favorite was to use MSCOMM32 imported from Visual Studio 6) which was an ugly way to do it. NET2.0 had a native serial port class which was better/easier.
|
|
|
|
|
Yep ... There are query functions and commands. I spent a lot of time making sure the scale was "centered", "not moving", not in an "error state", etc. A button for "Weigh Now" instead of polling blindly erased a lot of "issues".
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
Oh it gets worse. Despite me saying do we need to do it this something will break. An expensive, new set of scales was bought disassembled and made to mimic what worked. Problem was what worked didn't and there was so much trouble is trying to get it working and they were so sensitive they were unusable for Production use. So muggins here cobbled together a Phidget thing (link Phidgets Inc. - Products for USB Sensing and Control to get something workable. My Phidget journey is just starting which me luck!!
|
|
|
|
|
I need eye surgery for a cataract could you use just one line of Python
and be gentle
|
|
|
|
|
Check the wires. Can't tell you how many days I wasted on a not quite completely broken ground wire. The only thing worse than no grounding is intermittent grounding.
|
|
|
|
|
Don't worry, I have checked the ground (& TX, RX) lines multiple times!
|
|
|
|
|
Hi,
Are you sure that after a zero the tare weight should be zero? Usually the zero command zeroes the NET weight, not the tare
|
|
|
|
|
I was going by the garbled instructions I had. A method of Zeroing everything is required. I have contacted the scale manufacturer to try to get some data on how to do it.
|
|
|
|
|
Per Vanniaz’s comment, maybe there is another “T\r\n” Tare command?
I could see Z meaning there is nothing on it/initial setup.
Empty truck/container/beaker is set on scale, send T to set Tare.
Later send P once truck/container/beaker is filled.
Documentation rules!
|
|
|
|
|
I suggest buying one of these[^]. I still have mine. The TRS-80 Model 100 was fantastic for debugging serial interface stuff.
Software Zen: delete this;
|
|
|
|
|
I often use this handy tool to debug serial issues:
Device Monitoring Studio: High-Performance Connections Data Logging & Analyzing Software
Despite the fact that it is a paid for product, thier is a "Free" version that has reduced features, but is perfectly usable for basic serial comms spying.
If the scale has a sample program with it for example, just run this, attach to the serial port, then run the demo app and see exactly what it's doing, byte for byte.
I've used it many times to do exactly that. In one case I figured out that the "visible" commands I could see, where actually all prefixed by a non visible 0x01 byte, and whoever had put the manual together, had not known this byte was in front, and thus just typed the manual up as "ABC..." rather than "0x01ABC" (I was told when I contacted the devices support team to report my findings.)
If you elect to go for the paid version, it does all sorts of neat things like Modbus protocol analysis and lot's of other protocol decoders.
|
|
|
|
|
Somewhere to mix your inner coat? (9)
Bonus point: the frog would know.
I'm heading out to a meeting, back in a couple of hours...
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
modified 21-Sep-23 4:08am.
|
|
|
|
|
CONTAINER?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
YAUT!
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
What's the "frog bit" about?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
What frog bit ?
Never mind just seen it
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
modified 21-Sep-23 6:50am.
|
|
|
|
|
CONNAITRE is another anagram...
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
As is Crenation
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|