(See below for full transcript)
This video tutorial is a quick introduction to using our free RCbenchmark software. This is part 2, where we cover the automatic scripting features. Click here for part 1.
Hi I’m Dominic from rcbenchmark.com. In part 1 linked below, we covered all the software features except the automatic control. If you want to automate your experiments and get repeatable, consistent results and save time testing the same things over and over, this video is for you!
Let’s start by connecting the dynamometer. Next we go to the automatic control tab. We see a warning reminding us of safety measures. To activate scripting mode, just go to the setup tab, check the scripting mode option, answer yes, and go back to the automatic control tab. You will only need to do this the first time.
Ok, let’s hide the plots for now to have more space. We are greeted with a super simple starting script. This script has two lines of code. The first one will print something on the console and the second will stop the script. Let’s run this script by pressing the “run” button. To start the script, just press the “start” button. We see the script’s output in the console. This simple script runs fine, but it doesn’t do anything useful. Let’s go back to the script editor by pressing ‘return”, and let’s instead pick one of the stock scripts available. I am choosing the “sweep discrete” script, which is the one you will likely use the most. The software preloaded this script for us and any code in green is a comment. If you read the comments, you will understand what this script does. But now, let’s just run the script and see what it does. So I press the start button, and… let’s watch.
Cool huh! The software automatically controlled the throttle in a number of discrete steps for you. We also see that a file was generated automatically by the script. If you look inside the file, you see that the script increased the throttle in four steps, then decreased the throttle back in four other steps. At each step, a data sample was recorded. Awesome! But let’s say I wanted to do more steps or change other test parameters. Well it is easy and you don’t need to understand the code.
Go back to the script editor, and click the “Clone” button to make your own copy. If you look at the beginning of the code, there is a section called “User Defined Variables”. Remember how the script made four steps? This is defined here. So let’s change it to 10. And let’s assume we just want the steps to go up and the script to stop right after. We just change the stepsGoDown variable to false. And now you can run the modified script.
Thank you for your interest in our product, we hope you will find the automatic control features very useful. Please don’t forget to visit the Tutorials section on our website for more videos. Thank you for watching.