02-12-2020, 02:29 PM
Love my board, and it's helping (forcing) me to learn Python for my application!
One of the current features of the board is that "If no known protocol is detected, the input will be turned off and data for that axis will not be sent to the application."
If you're rolling your own application, this feature means additional parsing and conditional logic needs to be present in the application.
That's no big deal for anyone but beginners, but most industrial and scientific equipment interface protocols I've worked with over the years features a "fixed" or standardized output. That is, instead of not sending the data at all, they'll send an empty/off/NC/NAN indicator for that channel.
I would love to see this implemented, so that if there's no W/X/Y/Z axis you at least get a placeholder in the data stream, if not a minimal diagnostic.
Also, most ASCII output instruments I've worked with uses a cr/lf pair to indicate end of record.
So rolling that all together, here's an example:
I have scales connected only to the X, Y, and Z inputs (not W, so it's No Connection), but Z seems faulty and can't be read. So I'd get...
W:NC;X:1252;Y:6593;Z:FAULT;cr/lf
W:NC;X:1263;Y:6594;Z:FAULT;cr/lf
W:NC;X:1275;Y:6593;Z:FAULT;cr/lf
etc.
Variations on the theme might minimally be
W:;X:1275;Y:6593;Z:;cr/lf (empty data variant)
or
W:;X:1275;Y:6593;Z:FAULT;cr/lf (empty data+fault indicator variant)
etc.
Thanks for your consideration!
One of the current features of the board is that "If no known protocol is detected, the input will be turned off and data for that axis will not be sent to the application."
If you're rolling your own application, this feature means additional parsing and conditional logic needs to be present in the application.
That's no big deal for anyone but beginners, but most industrial and scientific equipment interface protocols I've worked with over the years features a "fixed" or standardized output. That is, instead of not sending the data at all, they'll send an empty/off/NC/NAN indicator for that channel.
I would love to see this implemented, so that if there's no W/X/Y/Z axis you at least get a placeholder in the data stream, if not a minimal diagnostic.
Also, most ASCII output instruments I've worked with uses a cr/lf pair to indicate end of record.
So rolling that all together, here's an example:
I have scales connected only to the X, Y, and Z inputs (not W, so it's No Connection), but Z seems faulty and can't be read. So I'd get...
W:NC;X:1252;Y:6593;Z:FAULT;cr/lf
W:NC;X:1263;Y:6594;Z:FAULT;cr/lf
W:NC;X:1275;Y:6593;Z:FAULT;cr/lf
etc.
Variations on the theme might minimally be
W:;X:1275;Y:6593;Z:;cr/lf (empty data variant)
or
W:;X:1275;Y:6593;Z:FAULT;cr/lf (empty data+fault indicator variant)
etc.
Thanks for your consideration!