Start a new topic

How Can I get value of a system variable to Arduino?


I'm using library "".

I would like to get value of "sys0", "sys1", or new system variable "dp" to Arduino. 

I have not been able to find out how to read the system variables via the serial port using arduino library.


I am sending the command with the following code.



SendCommand ("get dp");



But how do I read the return value?


If I want to get the data on a certain page, there is no problem with it. I define the variable as follows and read the return value.



NexVariable dpk1_Gun = NexVariable(7, 4, "Gun");





So, if I wanted to define the system variable, how would I describe it in arduino, or how would I read the return value of a command like "SendCommand ("get dp");".

Login or Signup to post a comment