Hi
I'm trying to write a program in C#.NET to send and receive data from/to DT80 (Series 2). Has anyone done this? To connect I do this:
string result = axdataTaker1.comConnect();
I'm sure this succeeds ok because result returns
"1@9600,n,8,1,nofc"
Now I try and send the command "test" to the DT80. I do this:
string message = "test" + Environment.NewLine; string result = ""; try { result = axdataTaker1.comSend(ref message); } catch (Exception) { }
I don't think this works because result is the empty string. Any hints or tips as to why result is not returning anything?
Regards,
Doug
Hi
I'm trying to write a program in C#.NET to send and receive data from/to DT80 (Series 2). Has anyone done this? To connect I do this:
````
string result = axdataTaker1.comConnect();
````
I'm sure this succeeds ok because result returns
````
"1@9600,n,8,1,nofc"
````
Now I try and send the command "test" to the DT80. I do this:
````
string message = "test" + Environment.NewLine; string result = ""; try { result = axdataTaker1.comSend(ref message); } catch (Exception) { }
````
I don't think this works because result is the empty string. Any hints or tips as to why result is not returning anything?
Regards,
Doug