06-10-2014 11:00 AM
Hi everyone,
So, I need help setting up a code for my treadmill to change speeds automatically with time. For example, is it possible to have a code set up where the treamill initally runs at 1Mph for 20 seconds and then automatically changes to 1.8 Mph for 40 seconds followed by a ramp down of 12 seconds. (total treadmill running time is 72 seconds). I don't have a lot of experience setting up codes so any help would be greatly appreciated.
Thanks,
Devina
06-10-2014 03:13 PM
Yes it is possible to do what you want -- and it's not even too hard. The best way to approach this is for you to give it a try and post your efforts for comment.
Mike...
06-10-2014 03:36 PM
Is this a commercial treadmill with some kind of interface (USB, RS232)? Then what does the manufacture manual tell you?
Or is this a treadmill that you are building? Then what kind of a motor controller have you purchased?
06-12-2014 05:18 PM
Hi Omar,
So it's a split belt treadill by Bertec. It's basically two belts on a treadmill where each belt can be moved at different speeds. For example, the left belt can be moved at 0.5 m/s and the right at 0.8 m/s with both running together. It has a regular program for controlling speeds but for my lab I need them to change speeds over a period of time automatically.
The manual says a remote control feature is present which can be used by creating a code either in Matlab or Labview. They have also mentioned that treadmill has a remote.dll (C library) having the minimum functionality for connecting to the Treadmill Control Panel using API. I am basically trying to figure out what information do I need to from the company before I start writing the code.Are there any specific parameters?
Thank you,
Devina
06-12-2014 05:35 PM
06-12-2014 05:36 PM
@Dkumar wrote:
It has a regular program for controlling speeds
So you already have it connected to your PC with a cable of some type (USB?, RS232? Ethernet?) and can you now control it using the Bertec "regular program" Yes/No? If not you need to get it working FIRST with the Bertec program before you even think about LabVIEW.
@Dkumar wrote:
The manual says a remote control feature is present which can be used by creating a code either in Matlab or Labview.
Did Bertec give you any LabVIEW code examples? Yes/No?
@Dkumar wrote:
They have also mentioned that treadmill has a remote.dll (C library) having the minimum functionality for connecting to the Treadmill Control Panel using API.
Did Bertec provide you with any information about that remote.dll. Yes/No
Do you have a copy of the Bertec remote.dll. Yes/No
Do you have a header file from Bertec for the remote.dll? A remote.h file? Yes/No
Did Bertec provide you with any information on the "Treadmill Control Panel" API?