Serial Connection - New Protocol


Ben

Recommended Posts

Hi, i am trying to read and send some data via a new serial protocol. I have tried using a few samples elsewhere on the forum but i cant seem to prod the device as per the DAQ Factory serial guide.

I have so far got the comms setup and in the monitor i can send and see a TX entry but i don't get a response. Probably because the command i am sending isn't formatted correctly. More info on how it should be formatted is attached.

 

Any help would be appreciated.

extract.pdf

Link to comment
Share on other sites

Thanks for the reply. This probably shows my naivety here. I was simply trying to send the example commands from the manual i attached via the monitor windows. Such as..

01 02 01 EA E5 00 01 0F D0 04

But to no avail. Being a complete novice I should probably educate myself in serial protocols, CRC etc.

Link to comment
Share on other sites

After a bit of research (probably not enough) and some testing of another device that connects to the controller i think that the string below is correct including the CRC.

01 02 01 EA E2 00 23 17 04

I am putting     \x01\x02\x01\xEA\xE2\x00\x23\x17\x04    into the Monitor Output String but i am not seeing a response. Is my string formatted incorrectly?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.