Writing data to PM4

Post questions and issues with Concept2 PM3 SDK
Post Reply
sylco
Paddler
Posts: 10
Joined: February 22nd, 2014, 4:23 pm

Writing data to PM4

Post by sylco » February 22nd, 2014, 4:39 pm

Hi there!

I have downloaded and installed the SDK and PMI. This will basically be for creating personalized apps for myself which I will code in Microsoft Office VBA. I see that the PMI seems to be an ActiveX control to retrieve data from the PM4, but how do I get data into the PM4? I would rather do this in VBA since I am familiar with it.

For example, I would like modify my favorite workouts often as I progress (increasing durations, intervals, distances...), but it is quite tedious to redo them from scratch every time when using the PM4; is there a way I can write my favorite workouts from VBA directly into the PM4. I do not need programming help per se, simply a few pointers about which type of functions I could use, presuming it is at all possible to write data into the PM4.

Thanks for any help!

User avatar
Citroen
SpamTeam
Posts: 8060
Joined: March 16th, 2006, 3:28 pm
Location: A small cave in deepest darkest Basingstoke, UK

Re: Writing data to PM4

Post by Citroen » February 23rd, 2014, 4:48 am

PMI is an ActiveX wrapper round the CSAFE protocol.

CSAFE doesn't have any way to update favourite or custom workouts, so sorry it can't be done.

sylco
Paddler
Posts: 10
Joined: February 22nd, 2014, 4:23 pm

Re: Writing data to PM4

Post by sylco » February 23rd, 2014, 11:25 am

Thanks Citroen,

I understand the limitation of PMI, which I am still planning to use for other purposes, but is there any other way (none PMI) to add/delete/modify favorites from code?

If not, how do people usually change their customized workouts? Unless I am mistaken and there is another way to do this from the PM4, right now, if I want to change one interval from 1 to 2 min, I have to reenter the whole workout and replace the old one. When you have 20 intervals, this gets a little tidious. And since I am just starting to row, I make rather quick improvements and need to modify my workouts often.

User avatar
Citroen
SpamTeam
Posts: 8060
Joined: March 16th, 2006, 3:28 pm
Location: A small cave in deepest darkest Basingstoke, UK

Re: Writing data to PM4

Post by Citroen » February 23rd, 2014, 2:12 pm

You can't do it programatically.

You can only do it by creating a "favourite" workout using the PM4 menu. Then move "favourite" to "custom" using the menus.

sylco
Paddler
Posts: 10
Joined: February 22nd, 2014, 4:23 pm

Re: Writing data to PM4

Post by sylco » February 23rd, 2014, 2:36 pm

Well, if this is the case, then I think this is one weakness of an otherwise really fine product. I think adding the workout modifying functionality to the PM4 would be great.

I suppose that in a few months, my personalized workouts will be more stable and there will be less need for frequent modifications.

Thanks again for your help.

Post Reply