3 years 2 months ago #29532989 by GlennC
I've been trying to configure a telemetry string on an SBL1360 controller to no avail. The string I'm trying is "?A:?V:?T:# 1000:". As you can see, I've tried the suggestions made elsewhere in the forums such as putting a space between the # and 1000 and putting a colon at the end. I've tried setting this up on the configuration page as well as from the console using ^TELS "?A:?V:?T:# 1000:" followed by %EESAV. Nothing seems to work! If it matters, the firmware ID is 'Roboteq SBL1XXX 10/01/2015'.
3 years 2 months ago #29532990 by blake
It would be better to instead use a MicroBasic script using the print function. Below is a sample script for printing data points from the controller. You may adjust to print your desired data points and print frequency. Doing this and enabling the script to auto start upon controller startup will be simpler than the telemetry string.
Option Explicit dim AnaIn as Integer dim Command as Integer dim Power as Integer dim MotorAmps as Integer dim BatAmps as Integer dim Fault as Integer Top: AnaIn = getvalue(_ai,x) 'replace x with the analog chanel you are using Command = getvalue(_M,1) Power = getvalue(_p,1) MotorAmps = getvalue(_A,1) BatAmps = getvalue(_BA,1) Fault = getvalue(_FF) print(AnaIn,"\t",Command,"\t",Power,"\t",MotorAmps,"\t",BatAmps,"\t",Fault,"\r" ) wait(10) 'loop every 10ms **adjust this based on frequency you'd like to monitor goto Top 'loop forever
Time to create page: 0.107 seconds