Possible to record analog input with roborun+

5 years 3 months ago #29530664 by fred.o
Hi there,

I am using a HBL2350 for a project of mine and wanted to know if there is an easy way to record the analog input. Like you can do it with internal volts, amps, etc...

Thanks in advance

Please Log in or Create an account to join the conversation.

5 years 3 months ago #29530666 by TechSupport
You would have to connect the serial input to the controller to either another program that can log data, or a device that can record serial data.

Writing a microbasic script can send the queries for you in a loop so it is constant requesting and printing out data, but again, you have to have some device that can receive the serial data back and record it.

Please Log in or Create an account to join the conversation.

5 years 3 months ago #29530670 by fred.o
Is it possible to emulate this function over usb? (i'm not good at programming)

Please Log in or Create an account to join the conversation.

5 years 3 months ago #29530671 by TechSupport
You can try, however the USB is not a reliable connection.

Forgot to mention the following. The roborun does log data, but at some point there is a finite limit as to how much data it can log before the old data gets over written. In the console, data that you query can be printed there using print statements if using micro basic scripting. At the bottom it says "copy log". This is the data that runs through the console screen that you see. click on that button and then open up note pad or any other word document file, and right click and select paste. The log file will appear.

Please Log in or Create an account to join the conversation.

5 years 3 months ago #29530693 by fred.o
Thanks very much. I got it working.

I programmed a microbasic script which sends the data formated as csv to the console. This way I can easily import the output to Excel.

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.168 seconds