I understand the purpose of the ‘97’ command… perhaps my post did not provide enough detail.
Let me start over.
I downloaded and installed the "RMCLink.NET Assembly and Active X Control (for 64-bit Windows).
(deltamotion.com/files/rmclinkinstall64.exe)
From that installation I obtained the sample C# program located at “C:\Program Files\RMCLink\Samples\VC# 2008\BasicUI”.
The solution is named “RMCLinkBasicUI.sln”.
Using the URL: “rmc70.deltamotion.com” with the project code, I compiled and ran it but with only partial success.
The app did connect and when “Update Status” was clicked - values were obtained and displayed.
However the “Move to Set Point” functionality resulted in a popup window displaying a message about the Axis not being enabled.
Hence my addition of a new button to enable the axis. (See code of my previous post.)
As a sanity check I used the RMCTools IDE to connect to the same remote simulation (i.e. rmc70.deltamotion.com), and with that tool I enabled the axis.
Then I tested the “Move to Set Point” button again on the sample C# program. It worked as expected.
So the question remains, why couldn’t I achieve the same result using the code from my original post?
It should be easy enough for someone to duplicate these steps and verify it one way or another. As long as they “leave” the axis in an un-enabled state before testing the sample program.