Date   

Driver Tester Example Binary, Please

W. Christopher Moses
 

Hi,

If anybody happens to be near a dev machine, could you please send me a binary of the driver tester example?


Thanks,

Chris


Re: Wired Connection

hubbell_jerry@...
 

Hi Chris,

You need to refer to the Application Note AN002 I have posted on the PMC-Eight webpage to switch communications over to the serial port


Re: Wired Connection

W. Christopher Moses
 

Hi,
Thanks. That's what I though, just wanted to make sure and haven't had time to go through the source yet.


Re: Driver Tester Example Binary, Please

hubbell_jerry@...
 

The installation for the ASCOM driver tester is included in the SDK


Re: Driver Tester Example Binary, Please

W. Christopher Moses
 

Yeah, I'm out observing. Don't have VS on these machines. 

But I'm good. Just had to move things around a bit


Re: Driver Tester Example Binary, Please

hubbell_jerry@...
 

I am observing also with our remote observatory equipped with the G11 PMC-Eight and TDM


Problem Compiling

W. Christopher Moses
 

Hi Jerry,

I just tried to compile the Driver Tester example and it looks like a couple of files are missing:


app.config

resources.resx

The signing key


I added the first two and turned off signing. 


Now I get :


file 'C:\Users\Chris\Desktop\Astro\PMC-Eight SDK 20170328\ES ASCOM Driver Tester Example VB.net Code\My Project\Application.Designer.vb' could not be found


file 'C:\Users\Chris\Desktop\Astro\PMC-Eight SDK 20170328\ES ASCOM Driver Tester Example VB.net Code\My Project\AssemblyInfo.vb' could not be found


file 'C:\Users\Chris\Desktop\Astro\PMC-Eight SDK 20170328\ES ASCOM Driver Tester Example VB.net Code\My Project\Settings.Designer.vb' could not be found


These sound like they should be easily fixable, after an hour or two of spelunking around StackOverflow.  It's been a while since I've done any VB.


Could you please post a zip of a fully compilable version?

BTW - Which version of VS are you using?


Thanks,

Chris


Re: Problem Compiling

hubbell_jerry@...
 

Hi Chris,

The code included in the SDK for the Driver Tester is all you should need after you install VB. I am using Visual Studio 2015 Professional now, and I always assumed that when you installed the free version of VB from Microsoft that it would create the other files. The App.config file should be created by your system and the signing keys are specific to my installation of my licensed version, so you should not need those. If you open the .vbproj file in your installation, it should load it up without any problems as far as I know. This issues you are having now may be related to the version of VB you are using.


New file uploaded to ESPMC-Eight

ESPMC-Eight@...
 

Hello,

This email message is a notification to let you know that
a file has been uploaded to the Files area of the ESPMC-Eight
group.

File : /ASCOM.ES_PMC8.Test_Installation.zip
Uploaded by : hubbell_jerry <hubbell_jerry@...>
Description : Explore Scientific ASCOM Driver Tester Installation Setup program

You can access this file at the URL:
https://groups.yahoo.com/neo/groups/ESPMC-Eight/files/ASCOM.ES_PMC8.Test_Installation.zip

To learn more about file sharing for your group, please visit:
https://help.yahoo.com/kb/index?page=content&y=PROD_GRPS&locale=en_US&id=SLN15398

Regards,

hubbell_jerry <hubbell_jerry@...>


Re: Problem Compiling

hubbell_jerry@...
 

Hi Chris,

I just uploaded into the Files section the installation setup program for the Explore Scientific PMC-Eight ASCOM Driver Tester.  Keep in mind that this is an internal test program I created and certain functions may not work 100%. USE AT YOUR OWN RISK!  The main purpose of the code is to show you how to use the standard function calls and demonstrate how to code an ASCOM Client. This program should work for any ASCOM driver you may have for other mounts also.


Re: Problem Compiling

W. Christopher Moses
 


Hi, 
I'm running Enterprise versions of vs 2015 and 2017. I've tried it in both. 

It seems to have references to the files, but is not creating the actual files.  All the referenced files in My Project are missing.

I can't image their would be any significant difference between Pro and Enterprise.


Re: Problem Compiling

hubbell_jerry@...
 

Did you load the ASCOM-Standards development tools? They may contain what you need. They are available on the ASCOM website.


Re: Problem Compiling

W. Christopher Moses
 

Hi,

Thanks.
I've worked with ASCOM drivers before and glanced through the code. It looked very standard.  You had mentioned that it had some code to flip the driver back and forth between wired and wireless mode.  That was really what I was looking for.  

It's probably a short enough routine that it would be easier to just extract it, but it is always good to make sure the example works as expected before transplanting the code.


Re: Problem Compiling

W. Christopher Moses
 

Hi,
Yeah, I have the ASCOM developers tools installed.


Re: Problem Compiling

hubbell_jerry@...
 

You could try creating a new ASCOM client program and cut and paste the code into the new project.  I don't know why the original code doesn't work. That's all there is in my project directory minus the files you were able to create or find.


Re: Problem Compiling

hubbell_jerry@...
 

The code just sends an "ESX!" serial string as shown in the Programmer's Reference to toggle the communications channel from WiFi to Serial and Back. The code in the tester is generic in that it will send any command string you want out the serial port when you hit the send button. Are you looking also for the code that starts the connection? Look under the Connect button. Both the Connect and Send buttons use the standard ASCOM API calls.


Re: Problem Compiling

hubbell_jerry@...
 

Not to change the subject, but I was curious if you have done any work using the ESP 8266 WiFi module, or the new ESP-WROOM-32 module?


Re: Problem Compiling

W. Christopher Moses
 

Hi,
RIght now I'm just looking for the fastest way to switch it over to a wired connection. I'm hoping to head to a dark(ish) sky site tomorrow.


Re: Problem Compiling

hubbell_jerry@...
 

did you see the application note I have uploaded in the files section? You can use Putty and the Parallax Serial Terminal to swap the channels Here is a link to the file



 


Re: Problem Compiling

W. Christopher Moses
 

Hi,
I have read through that. I will try it in just a minute. I was just thinking that the tester program might be easier if I need to switch back and forth in the field.