09-14-2011 04:49 AM
Hi
I am trying to run the set set point driver for my Neslab RTE-17 water bath. I have managed to get it to communitcate with the waterbath so that the water bath will tell me the temperature it is at and set points etc. However when it comes to sending a command such as changing the set point it won't do it.
If I put in the hex code to change the temperature to 62.5oC I would put in CA00 01FO 0202 71 the output code is CA00 010F 0203 F0FA I think this is an error code but I don't have a clue what it means.
Someone please help
Thanks
Laura
09-14-2011 07:39 AM - edited 09-14-2011 07:43 AM
Opening and closing the com port for every single write/read command is bad style. Open the comport once, do all the task and close it at the end.
The stacked sequence is not needed (maybe the wait need a 'stamp' all the rest is lined up correctly by the error cluster).
I simplified your conversion to the string written to the port 😉
And guess what the rg stand for 😉
If you can read values but not send commands, maybe it's because the protocol has some kind of checksum you do not provide, but that should be noted in the manual. Same with the answer you do not understand. (Looks like a bus type protocol)
Have you searched the web for a LabVIEW driver for your device? Or asked Neslab?
If you post vis please don't forget subvis..
and provide a link to the manual if you don't understand it.
09-14-2011 12:36 PM
There is a checksum in the Neslab RTE-17 protocol. I'm having trouble finding a manual for it online (I know one was available a year ago, though) - but I'm pretty sure it's the same protocol as for the RTE-140. There's also a LabVIEW driver already available. It's poorly written and uses the old serial VIs rather than VISA, but might be a good starting point..