Skip to content
  • 0 Votes
    18 Posts
    7 Views
    R
    There are (at least) two variants of the protocol. One is called RTU and has the checksum because it sends the data purely in a binary format. The other is called ASCII and as the name implies it sends the data in ASCII hexadecimal mode with two bytes for each byte of data. It has also been adapted for use with TCP and that data is sent in binary mode but it relies on the TCP packet checksum so there isn't an explicit one sent with the data. That reminds of a funny old story. Sorry, I'm an old codger and I have a million of 'em. :cool: In the late 1980s I was working on automation projects that used VAXes as controllers. We were polling a bunch of actual RTUs with a VAX-750 and the CRC calculation was taking the CPU to its knees. DEC was aware of the problem so they decided to do the CRC calculation in hardware using the table lookup method. To implement the instruction(s) required them to retrofit the CPU boards of the computer and to do that they sent out their local service representative. He proceeded to remove the CPU circuit board, which was about a two foot square, and he changed a whole bunch of wire-wrapped lines on the board. This was a bit-slice architecture minicomputer using AMD 4-bit wide chips. I was truly blown away seeing this transpire as I had never seen anything like it before or since. It worked too as we used much less of the CPU after the changes. "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
  • And that's how the fight started

    The Lounge announcement com hardware question
    23
    0 Votes
    23 Posts
    0 Views
    J
    "Sure, I'll grab them! How thick are your hands again?"
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    3 Posts
    0 Views
    N
    Either that or this[^] M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • This can turn out to be really bad!

    The Lounge com linux hardware security tools
    6
    0 Votes
    6 Posts
    0 Views
    D
    Ron Anders wrote: I've stubbornly use MBR on all my machines for concern the real reason for UEFI is so Microsoft can control from where your pc loads it's boot code C'mon, even the hardcore Linux guys have come around on that one.
  • 0 Votes
    9 Posts
    0 Views
    H
    Thanks. I mean in hindsight, I agree because I used the stuff I engineered for. :) Edit: As far as directx, that's true, except for the format used for the last mile native draw surface. the alpha channel is not used in that situation. I actually do use variadic templates to do my template definitions. (background docs if you're interested: https://honeythecodewitch.com/gfx/wiki/pixels.md[^]) Each pixel has one or more channel_traits that are fed into it using variadic templates. Like so: // creates an RGB pixel by making each channel // one third of the whole. Any remainder bits // are added to the green channel template using rgb_pixel = pixel< channel_traits, channel_traits, channel_traits ; // creates an RGBA pixel by making each channel // one quarter of the whole. Any remainder bits // are added to the green channel template using rgba_pixel = pixel< channel_traits, channel_traits, channel_traits, channel_traits ; // creates a grayscale or monochome pixel template using gsc_pixel = pixel< channel_traits ; // creates a Y'UV pixel by making each channel // one third of the whole. Any remainder bits // are added to the Y' channel template using yuv_pixel = pixel< channel_traits, channel_traits, channel_traits ; // creates a Y'UV/A pixel by making each // channel 1/4 of the whole. Remaining bits // are added to Y' template using yuva_pixel = pixel< channel_traits, channel_traits, channel_traits, channel_traits ; And here's the actual pixel class. // represents the pixel base class template str
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Google & Firefox issues

    The Lounge question database sqlite hardware tutorial
    8
    0 Votes
    8 Posts
    0 Views
    C
    Steve I decided to ask a question and try to solve the issue by opening Google and login when I opened the YouTube video. The mistake I only need to open Chrome.exe then open the YouTube channel. Now everything works sort of the ads show but I just mute or skip after a few second's here is the link to the question with the solution by OG Set default browser from a VB.NET application[^]
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 10,000 Hours Into a Project

    The Lounge hardware help announcement
    12
    0 Votes
    12 Posts
    0 Views
    D
    It's easy, I ust cratch the project until I get some epiphany. CQ de W5ALT Walt Fair, Jr.PhD P. E. Comport Computing Specializing in Technical Engineering Software
  • I've been so productive!

    The Lounge hardware asp-net graphics design iot
    7
    0 Votes
    7 Posts
    0 Views
    H
    Good luck! Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • Espressif, you're not the boss of me!

    The Lounge design css graphics hardware iot
    3
    0 Votes
    3 Posts
    0 Views
    H
    raddevus wrote: Was it a bug or a conscious decision by espressif? I'm not sure. If I had to guess it's a bug but since it's a "hacky" feature they can't be bothered to make it work again. raddevus wrote: Why have they done that? The scuttlebutt I've heard is one of two things (or maybe both) A) the third party that was building the packages was getting paid by Espressif, and there was disagreement over compensation. I can't verify this. B) (What I found out since making this post) Espressif never officially supported it, but they had it in their docs until it became a nightmare for them because they were getting issue reports for stuff they didn't make. I think this is more likely. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • I never fail to be impressed by this

    C / C++ / MFC c++ hardware question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    2 Posts
    0 Views
    N
    I think tech companies are like "The last one pays the bill" or something like that... M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Progress

    The Lounge hardware database algorithms help tutorial
    3
    0 Votes
    3 Posts
    0 Views
    H
    Fortunately in the latest revision that went away. What's still really ugly is that static template field initialization code. I hate that C++ makes you do it that way instead of putting the initializer inline. At least C++17 - maybe they've changed that since. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • 0 Votes
    6 Posts
    0 Views
    T
    Haha, we can only hope that getting some (only moderately corrupted) info from the (only barely) pre-distopian world archive will cause the LLMS to generate better, more accurate answers. I'll take anything I can get these days
  • Clear text credentials

    The Lounge com windows-admin hardware tools question
    3
    0 Votes
    3 Posts
    0 Views
    R
    So you're saying it's some sort of pseudo-sudo? :-D "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • 0 Votes
    2 Posts
    0 Views
    N
    Kent Sharkey wrote: Sorry you non-TPM users, you can't enjoy this hack. oh... are you sure? I don't want to get excluded to the party... not :rolleyes: :laugh: :laugh: :laugh: M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • 0 Votes
    8 Posts
    0 Views
    K
    I didn’t see a lot of it, but what I remember of that show was that it was hella-weird. TTFN - Kent