Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"Standardized" (Fixed) Output Format...
#1
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!
Reply


Messages In This Thread
"Standardized" (Fixed) Output Format... - by David_Schofield - 02-12-2020, 02:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)