Hi, everybody!
I have an engine and I want to control it by means of rs485.
wData = new SerialSession("COM7"); wData.BaudRate = 9600; wData.TerminationCharacterEnabled = true; String Command = "AV10000"+"\r"; byte[] bytes = new byte[8]; int bWritten = ASCIIEncoding.ASCII.GetBytes(Command, 0, Command.Length, bytes, 0); wData.Write(bytes); wData.Clear();
through visa and c# there is no response
Problem is "#0D" but I send it through "\r"
Through the terminal program everything works