Get data into a tag from an ASCII command

I can open up a Terminal Session to this camera and get data from it with an ASCII request over a at IP : PORT.

Once in terminal if I send ?Char it will respond.

I would like to be able to create a Tag and query this data doing the same thing.

I've started by creating a TCP device at the IP/Port which shows connected but then trying to create a tag at the Device/?Char address scheme isn't a magical solve. If anyone has any pointers, I'd be curious.

Thanks!

What does the response message look like? How is the message delimited?

Did you enable writeback when creating the tcp device? Its in the advanced settings
this will give you a writable tag for this connection

This is from the Camera (Fluke Endurance Pyrometer with Camera):

11.2.2 Requesting a Parameter (Poll Mode)
?E “?” is the command for “request”
“E” is the parameter requested
carriage return (0Dhex) is closing the request

11.2.3 Setting a Parameter (Poll Mode)
E=0.975 “E” is the parameter to be set
“=” is the command for “set a parameter”
“0.975” is the value for the parameter
carriage return (0Dhex) is closing the setting

11.2.4 Sensor Response
!E0.975 “!” is the parameter for “answer”
“E” is the parameter
“0.975” is the value for the parameter
(0Dhex 0Ahex) is closing the answer

I have not, and I will. Thank you.

This is helpful, I've now tried then in the Writeable tag sending it the request
?I
then
?I
then
?I0D

trying to get a response back on the message field with no luck yet. Here is a raw view of the data via quick client:

What do you have for writeback delimiter and message delimiter.
For write back \r would be needed and for the message delimiter try \r\n

1 Like

Thanks. Between this response, the earlier response and Kevin's question asking for analysis of the return it's working. I don't know how you get \r and \r\n syntax for the delimiters but some googling on the ASCII data will likely get me there.

1 Like