06-10-2011 03:20 AM
Hi,
I have a following question. I have to communicate with a device over serial port. I am trying to use Basic Serial Write and Read.vi from NI examples. The problem is that I don't know how does data frame should look like. Data frame is as following:
0xFC
10
200
200
I tried to send it in this form: \nFC\n0A\nC8\nC8 but my device doesn't react to this data. Communication using NINJA IO works OK. Could you help me with this problem?
thanks in advance,
Marcin
06-13-2011 09:43 AM
anyone?
06-13-2011 10:11 AM
Try setting the control to Hex display and type 'FC0AC8C8'. If you really need the carriage return, you need to preface each hex character with the '\' escape code with '\' Codes turned on - '\n\FC\n\01n\C8\n\C8'