Search the web
Sign In
New User? Sign Up
m1oasys
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 161 - 190 of 190   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#190 From: "drbobplano" <bobgillard@...>
Date: Wed Aug 26, 2009 1:37 pm
Subject: Re: Success
drbobplano
Offline Offline
Send Email Send Email
 
Chris:
Here is expamples working code for computer M1 interface.  I hope it
helps....sorry about the delay or if I have already sent you this code.

Private Sub TimeIdle()
     Dim Message As String
     Dim Response As Integer
     Dim V As Variant
     Dim SaveSecond, SaveHour, SaveMinute As Integer
     Dim TimeDifferance As Double
     Dim CalAzimuth As Single

     On Error GoTo ErrorRecovery

     SaveSecond = Second(Now) '              get current second
     SaveHour = Hour(Now) '                  get current hour
     SaveMinute = Minute(Now)

     Do
         V = DoEvents

         If SaveSecond <> Second(Now) Then '     saved second is NOT equal to
current second
           LblCompTimeValue.Caption = Format(Now, "hh:mm:ss am/pm")
           SaveSecond = Second(Now)

           If InStr(TxtData.Text, "Connecting") > 0 Then
             R = Val(Mid(TxtData.Text, 28, 4))
             R = R - 1

             If R <= 0 Then
               TxtData.Text = "Unable to Connect to RoRo"
                 Else
               TxtData.Text = "Connecting to M1...may take" & Str(R) & " seconds"
               End If
             End If

           Message = "Connection ERROR: M1"
           Winsock1.SendData "06rr0056" & vbCrLf '              Request Real Time
Clock Data (rr)

           If ConnectRoRoFlag = True Then '                     Computer is
Linked to RoRo
             If TemperatureFlag = False Then '                  RoRo Temperature
has NOT be retrieved
               Winsock1.SendData "06lw0057" & vbCrLf '          Request
Temperature Data (lw)
               TemperatureFlag = True '                         RoRo Temperature
has been retrieved
               End If
             End If

             If SaveMinute <> Minute(Now) Then '                check RoRo
Temperature once an minute
               Winsock1.SendData "06lw0057" & vbCrLf '          Request
Temperature Data (lw)
               SaveMinute = Minute(Now) '                           save the new
hour
               TemperatureFlag = True '                         RoRo Found
Temperature Flag is ON
               End If
             End If

           If TeleLinkFlag = True Then
             Message = "Connection ERROR: Telescope Alt/Azi"
             Call objTele.GetAzAlt '                            get telescopes
current azimuth and altitude

             Altitude = objTele.dAlt
             LblAltitudeValue.Caption = Format(Altitude, "##.#") '
display the altitude
             DrawAltitude '                draw the Telescope Altitude
half-circle.  Horizon to Zenith

             Azimuth = objTele.dAz
             LblAzimuthValue.Caption = Format(Azimuth, "###.#") '
display the azimuth
             DrawAzimuth '                 draw the Telescope Azimuth circle

             End If

           Message = ""

           If TeleLinkFlag = False Then
             LblAltitudeValue.Caption = "" '      Erase Altitude Value
             LblAzimuthValue.Caption = "" '       Erase Azimuth Value

             AzHeading = -999 '                   default error value
             AltHeading = -999 '                  default error value

             DrawAzimuth '                        redraw azimuth, Without
Direction indicator
             DrawAltitude '                       redraw altitude , Without
Direction indicator
             End If

     Loop

ErrorRecovery:
     LblConnectStatus.Caption = Message

     Resume Next
End Sub

Private Sub CmdWinsock_Click()
     WinsockConnection
End Sub

Private Sub WinsockConnection()
     Dim IP_Address As String
     Dim M1_Port As Integer

     IP_Address = "192.168.2.101" '            current IP address of my M1 on my
LAN
     M1_Port = 1024 '                          current configure Port for my M1
on my LAN

     ConnectRoRoFlag = False
     TxtData.Text = "Connecting to M1...may take 30 seconds"

     If Winsock1.State <> sckClosed Then '      winsock connect is alread open
       Winsock1.Close '                         closes this connection if one is
already open
       End If

     Winsock1.Connect IP_Address, M1_Port '     connect to M1 via IP address and
port
End Sub

Private Sub Winsock1_ConnectionRequest(ByVal requestID As Long)
   Dim X As Integer

   If Winsock1.State <> sckClosed Then '      winsock connect is alread open
     Winsock1.Close '                         closes this connection if one is
already open
     End If

   Winsock1.Accept requestID
End Sub

Private Sub Winsock1_Error(ByVal Number As Integer, Description As String, ByVal
Scode As Long, ByVal Source As String, ByVal HelpFile As String, ByVal
HelpContext As Long, CancelDisplay As Boolean)
     Dim A As String

     A = "Winsock ERROR" & vbCrLf & "    Error Description= " & Description

     TxtData.Text = A
End Sub

Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
     Dim R, H As Integer
     Dim Zone As String
     Dim ZoneV As Integer
     Dim M1_Data As String
     Dim M1_Command As String
     Dim TotalBytes As Integer
     Dim RoSec, RoMin, RoHr As Integer
     Dim RoSecA, RoMinA, RoHrA As String

     Winsock1.GetData M1_Data, vbString '               gets the data sent by the
client

     ConnectRoRoFlag = False

     If Len(M1_Data) < 4 Then
       Exit Sub
       End If

     M1_Command = Mid(M1_Data, 3, 2)

     ConnectRoRoFlag = True
     TxtData.Text = ""
     'CmdWinsock.Enabled = False
     CmdTestClosure.Enabled = True

     CmdTurnEEye.Enabled = True
     CmdOpenRoof.Enabled = True
     CmdCloseRoof.Enabled = True

     Select Case M1_Command
         Case "XK"

         Case "CC" '                         Output Change Update
           OutPutChange = Mid(M1_Data, 5, 4)

         Case "LW" '                         Temperature
           LblTempValue.Caption = Str(Val(Mid(M1_Data, 5, 3)) - 40) & DegreeSign
& " F"
           ConnectRoRoFlag = True
           CmdTestClosure.Enabled = True

         Case "RR" '                         Real Time e.g. "06RR303023xxxxx...."
           RoSec = Val(Mid(M1_Data, 5, 2))
           RoMin = Val(Mid(M1_Data, 7, 2))
           RoHr = Val(Mid(M1_Data, 9, 2))

           RoSecA = Right(Str(100 + RoSec), 2)
           RoMinA = Right(Str(100 + RoMin), 2)
           RoHrA = Str(RoHr)
           RoHrA = Right(RoHrA, Len(RoHrA) - 1)

           LblRoRoTimeValue.Caption = Format(RoHrA & ":" & RoMinA & ":" & RoSecA,
"hh:mm:ss am/pm")
           CmdTimeSync.Enabled = True
           ConnectRoRoFlag = True
           CmdTestClosure.Enabled = True

         Case "ZS" '                                             Found Input Zone
Status
           ZoneStatus = Mid(M1_Data, 5, Len(M1_Data) - 4) '      Get and Save
Zone Status

           For R = 0 To 11
             Zone = Mid(ZoneStatus, R + 1, 1)

             If Zone >= "A" And Zone <= "F" Then
               ZoneV = Asc(Zone) - 55 '  Value of Zone 10 - 15
                 Else
               ZoneV = Val(Zone) '       Value of Zone  0 -  9
               End If

             If ZoneV = 0 Then
               LblZS(R).Caption = " 0. "
                 Else
               LblZS(R).Caption = Format(Str(ZoneV), "##. ")
             End If

             Select Case ZoneV
               Case 0
                 LblZS(R).Caption = LblZS(R).Caption & "Normal Unconfigured"

               Case 1
                 LblZS(R).Caption = LblZS(R).Caption & "Normal Open"

               Case 2
                 LblZS(R).Caption = LblZS(R).Caption & "Normal EOL"

               Case 3
                 LblZS(R).Caption = LblZS(R).Caption & "Normal Short"

               Case 4
                 LblZS(R).Caption = LblZS(R).Caption & "not used"

               Case 5
                 LblZS(R).Caption = LblZS(R).Caption & "Trouble Open"

               Case 6
                 LblZS(R).Caption = LblZS(R).Caption & "EOL"

               Case 7
                 LblZS(R).Caption = LblZS(R).Caption & "Touble Short"

               Case 8
                 LblZS(R).Caption = LblZS(R).Caption & "not used"

               Case 9
                 LblZS(R).Caption = LblZS(R).Caption & "Violated Open"

               Case 10
                 LblZS(R).Caption = LblZS(R).Caption & "Violated EOL"

               Case 11
                 LblZS(R).Caption = LblZS(R).Caption & "Violated Short"

               Case 12
                 LblZS(R).Caption = LblZS(R).Caption & "Soft Bypassed"

               Case 13
                 LblZS(R).Caption = LblZS(R).Caption & "Bypassed Open"

               Case 14
                 LblZS(R).Caption = LblZS(R).Caption & "Bypassed EOL"

               Case 15
                 LblZS(R).Caption = LblZS(R).Caption & "Bypassed Short"
             End Select

             If R = 6 Then
               If Mid(ZoneStatus, 7, 1) = "B" Then
                 LblZS(6).Caption = Format(Str(ZoneV), "##. ") & "Telescope SAFE
Position"
                 End If

               If Mid(ZoneStatus, 7, 1) = "1" Then
                 LblZS(6).Caption = Format(Str(ZoneV), "##. ") & "WARNING:
Telescope UnSafe"
                 End If
               End If

             If R = 10 Then
               If Mid(ZoneStatus, 10, 1) = "1" Then
                 LblZS(10).Caption = Format(Str(ZoneV), "##. ") & "Roof OPEN"
                 End If
               End If

             If R = 11 Then
               If Mid(ZoneStatus, 12, 1) = "3" Then
                 LblZS(11).Caption = Format(Str(ZoneV), "##. ") & "Roof CLOSED"
                 End If
               End If

             If LblZS(10).Caption = "Bypassed Open" And Mid(ZoneStatus, 11, 1) <>
"3" Then
               LblZS(10).Caption = Format(Str(ZoneV), "##. ") & "Roof Partially
Open"
               LblZS(11).Caption = Format(Str(ZoneV), "##. ") & "Roof Partially
Open"
               End If

            Next R

           ConnectRoRoFlag = True
           CmdTestClosure.Enabled = True

       Case "CS" '                                               Found OutPut
Status Data
         OutPutStatus = Mid(M1_Data, 5, Len(M1_Data) - 4) '      Get and save
current Output Status

         If Len(OutPutStatus) > 12 Then
           If Mid(OutPutStatus, 9, 1) = "0" Then '                 Output status
of 9 indicates that Roof Opening is OFF
             CmdOpenRoof.Caption = "START Roof Open" '             allow user to
Start Roof Opening
               Else '                                              Output status
of 9 indicates that Roof Opening is ON
             CmdOpenRoof.Caption = "STOP Roof Opening" '           allow user to
Stop Roof Opening
             End If

           If Mid(OutPutStatus, 10, 1) = "0" Then '                Output status
of 10 indicates that Roof Closure is OFF
             CmdCloseRoof.Caption = "START Roof Closure" '         allow user to
Start Roof Closure
               Else '                                              Output status
of 10 indicates that Roof Closure is ON
             CmdCloseRoof.Caption = "STOP Roof Closure" '          allow user to
Stop Roof Closure
             End If

           If Mid(OutPutStatus, 12, 1) = "0" Then '                Output status
of 12 indicates that Tel Pos. Transmitter is OFF
             CmdTurnEEye.Caption = "START Electric Eye" '          allow user to
Start Telescope Position Transmitter
               Else '                                              Output status
of 12 indicates that Tel. Pos. Transmitter is ON
             CmdTurnEEye.Caption = "STOP Electric Eye" '           allow user to
Stop Telescope Position Transmitter
             End If
           End If

         For R = 0 To 9 '                               look at 10 Outputs,
Starting at Output 9 to 18
           LblOutValue(R).Caption = Mid(OutPutStatus, R + 9, 1) & " " '      get
value of each Output Status for display

           If Mid(OutPutStatus, R + 9, 1) = "0" Then
             LblOutValue(R).Caption = LblOutValue(R).Caption & "Off"
             End If

           If Mid(OutPutStatus, R + 9, 1) = "1" Then
             LblOutValue(R).Caption = LblOutValue(R).Caption & "On"
             End If

           If InStr(LblOutValue(0).Caption, "Off") > 0 Then '
             LblOutValue(0).Caption = "0 Opening OFF"
             End If

           If InStr(LblOutValue(0).Caption, "On") > 0 Then
             LblOutValue(0).Caption = "1 OPENING Roof ON"
             End If

           If InStr(LblOutValue(1).Caption, "Off") > 0 Then
             LblOutValue(1).Caption = "0 Close OFF"
             End If

           If InStr(LblOutValue(1).Caption, "On") > 0 Then
             LblOutValue(1).Caption = "1 CLOSING Roof ON"
             End If

           If InStr(LblOutValue(3).Caption, "Off") > 0 Then
             LblOutValue(3).Caption = "0 Electric Eye OFF"
             End If

           If InStr(LblOutValue(3).Caption, "On") > 0 Then
             LblOutValue(3).Caption = "1 Electric Eye ON"
             End If
         Next R
         ConnectRoRoFlag = True
         CmdTestClosure.Enabled = True
       Case Else

     End Select

     TxtData.Text = M1_Data '                  show received data from M1
End Sub

Private Sub M1_CheckSum_Calculation()
     Dim Lf, Rt As String
     Dim M1_CmdStrLen As Integer
     Dim ASCTotal As Integer

     '           get Left ASCII character of string length e.g. "0"
     Lf = Mid(CheckSum_Data, 1, 1)
     '           determine the characters value 0 to 15
     If Lf >= "A" And Lf <= "F" Then
       M1_CmdStrLen = (75 - Asc(Lf)) * 16
         Else
       M1_CmdStrLen = Val(Lf) * 16
       End If

     '           get Right ASCII character of string length e.g. "6"
     Rt = Mid(CheckSum_Data, 2, 1)
     If Rt >= "A" And Rt < "F" Then
       M1_CmdStrLen = M1_CmdStrLen + (75 - Asc(Rt))
         Else
       M1_CmdStrLen = M1_CmdStrLen + Val(Rt)
       End If

     '       Sum decimal value of each character in the string
     ASCTotal = 0
     For R = 1 To M1_CmdStrLen
       ASCTotal = ASCTotal + Asc(Mid(CheckSum_Data, R, 1))
     Next R

     ASCTotal = ASCTotal Mod 256

     M1_CheckSum = Hex(CByte(((Not ASCTotal) + 1) And 255))

     If Len(M1_CheckSum) < 2 Then
       M1_CheckSum = String(2 - Len(M1_CheckSum), "0") & M1_CheckSum
       End If
End Sub
Bob Gillard
Plano, Texas
--- In m1oasys@yahoogroups.com, Chris Johnson <yahoo@...> wrote:
>
> Hi Bob,
>
> I desperately need to learn how to send commands to my M1 from my
> computer for startup sequences of my UPB equipment.   Any code
> examples would be greatly appreciated.
>
> On Jul 29, 2009, at 2:38 PM, Bob Gillard wrote:
>
> > Fellow RoRos:
> > After much work, I have been able to successfully install, configure
> > and write vbasic code for the M1OASYS. Despite the website claim of
> > a do-it-yourself project, you need moderate to advance electrical
> > ability. The documentation is weak. Accurate electrical connection
> > schematics need to be added to the documentation.
> >
> > I want to thank Chuck Faranda for his vbasic code snippets that
> > allowed me to communicate between the computer and the M1OASYS via
> > Winsock. I will be happy to help anyone else with installation and
> > vbasic coding.
> >
> > Kindest regards,
> > Bob Gillard
> > Plano, Texas
> >
> >
> >
>

#189 From: Chris Hetlage <chrishet55@...>
Date: Fri Jul 31, 2009 9:51 pm
Subject: RE: Success
chrishet55
Online Now Online Now
Send Email Send Email
 
Bob,  Thanks for the info....

You can purchase a reflective type sensor from Diane at BYO, or you can order them direct from Automation Direct, http://www.automationdirect.com .  We use Cutler-Hammer  sensors and they work quite well, here is the part number...Sensor 1451E-6514 and Bracket 6150E-6502 and here are the specs:

http://www.automationdirect.com/static/specs/e50peretro.pdf

The reflective sensor works better than pass through sensors for multiple scope configurations but it does require that you mount a small, bicycle-type, reflector on your mount/scope.  This sensor also uses a red light and not IR, although the IR light that is transmitted in the photoelectric beam sensors is very, very minimal.  Also the red light is very dim.  I have not seen any IR or red effect on either of my 2 imaging setups.  I did post a rule to this list a while back to activate and deactate these sensors based on roof position.

Good luck...
-Chris


--- On Fri, 7/31/09, Christopher J Abissi <cabissi@...> wrote:

From: Christopher J Abissi <cabissi@...>
Subject: RE: [m1oasys] Success
To: m1oasys@yahoogroups.com
Date: Friday, July 31, 2009, 5:27 PM

 

Bob,

 

Well at least I don't need to buy another sensor. Thanks for explaining.

 

Chris A.

 

From: m1oasys@yahoogroups .com [mailto:m1oasys@ yahoogroups. com] On Behalf Of Bob Gillard
Sent: Friday, July 31, 2009 4:51 PM
To: m1oasys@yahoogroups .com
Subject: Re: [m1oasys] Success

 

 

Chris:

Unfortunately, my Telescope Sensor...... is a IR sensor.  But no problem, just wire the IR sensor's Transmitter into one of the Outputs e.g. Output 12 and you can elect to power the IR Transmitter only when you need to use it as a Telescope position sensor.  Then your observatory will not be filled with that invisible but CCD image damaging IR radiation.

 

Kindest regards,

Bob Gillard

Plano, TX

 

----- Original Message -----

Sent: Friday, July 31, 2009 2:29 PM

Subject: RE: [m1oasys] Success

 

 

Can you elaborate on this telescope position sensor? How does it work and where can it be found online? I was going to use an IR sensor, but I would rather not.

Chris Abissi

Dark Horse Observatory

From: m1oasys@yahoogroups .com [mailto:m1oasys@ yahoogroups. com] On Behalf Of Bob Gillard
Sent: Friday, July 31, 2009 11:41 AM
To: m1oasys@yahoogroups .com
Subject: Re: [m1oasys] Success

 

Chris:

Because of my day job I worked on the installation on and off.  I would estimate that it took about 8 hours.  Because of my lack of experience in the installation of this system, there was some hesitation and uncertainty.

I also need to order another Telescope position/ receiver.  Who do I order that from?

I have wired the Telescope position transmitter through Output 12.  This will reduce IR in the observatory to only times when I want to determine the telescope position prior to opening/closing the roof.

Kindest regards,

Bob Gillard

Plano, TX

----- Original Message -----

Sent: Wednesday, July 29, 2009 7:52 PM

Subject: Re: [m1oasys] Success

 

Glad to hear ya got your code working Bob....

I appreciate the comments and I agree we need to update the doc, a new version is in the works and we will take you advice to add a more detail schematic diagram.  For most our directions, in addition to all the manufacturers doc included, has been sufficient.  So far all but 2 customers have done it themselves, and these 2 folks simply hired a Certified Elk Installer to do the work for them.   

I wish it was simpler to automate all these functions but until we get to a more wireless world it will require some effort to connect all these devices and sensors.  The goal of the m1OASYS is to provide a architectural platform to automate ones observatory, and not to be a plug and play solution, thus it is a Do-It-Yourself solution.  Advertising it as anything else would not be honest IMO.  Along this line perhaps you could let me know how many hours it took to install your system (and others may chime in here as well).  I will be happy to add this information to our new website.   

Again, I appreciate hearing any and all suggestions to improve the product... Thanks again and congratulations. ..Enjoy and Clear Skies.

-Chris

--- On Wed, 7/29/09, Bob Gillard <bobgillard@verizon. net> wrote:


From: Bob Gillard <bobgillard@verizon. net>
Subject: [m1oasys] Success
To: m1oasys@yahoogroups .com
Date: Wednesday, July 29, 2009, 5:38 PM

 

Fellow RoRos:
After much work, I have been able to successfully install, configure and write vbasic code for the M1OASYS. Despite the website claim of a do-it-yourself project, you need moderate to advance electrical ability. The documentation is weak. Accurate electrical connection schematics need to be added to the documentation.

I want to thank Chuck Faranda for his vbasic code snippets that allowed me to communicate between the computer and the M1OASYS via Winsock. I will be happy to help anyone else with installation and vbasic coding.

Kindest regards,
Bob Gillard
Plano, Texas

__________ Information from ESET Smart Security, version of virus signature database 4294 (20090731) __________

The message was checked by ESET Smart Security.

http://www.eset. com



__________ Information from ESET Smart Security, version of virus signature database 4294 (20090731) __________

The message was checked by ESET Smart Security.

http://www.eset. com

 

__________ Information from ESET Smart Security, version of virus signature database 4295 (20090731) __________

 

The message was checked by ESET Smart Security.

 

http://www.eset. com



__________ Information from ESET Smart Security, version of virus signature database 4295 (20090731) __________

The message was checked by ESET Smart Security.

http://www.eset. com

#188 From: "Christopher J Abissi" <cabissi@...>
Date: Fri Jul 31, 2009 9:27 pm
Subject: RE: Success
cja2173
Offline Offline
Send Email Send Email
 

Bob,

 

Well at least I don't need to buy another sensor. Thanks for explaining.

 

Chris A.

 

From: m1oasys@yahoogroups.com [mailto:m1oasys@yahoogroups.com] On Behalf Of Bob Gillard
Sent: Friday, July 31, 2009 4:51 PM
To: m1oasys@yahoogroups.com
Subject: Re: [m1oasys] Success

 

 

Chris:

Unfortunately, my Telescope Sensor......is a IR sensor.  But no problem, just wire the IR sensor's Transmitter into one of the Outputs e.g. Output 12 and you can elect to power the IR Transmitter only when you need to use it as a Telescope position sensor.  Then your observatory will not be filled with that invisible but CCD image damaging IR radiation.

 

Kindest regards,

Bob Gillard

Plano, TX

 

----- Original Message -----

Sent: Friday, July 31, 2009 2:29 PM

Subject: RE: [m1oasys] Success

 

 

Can you elaborate on this telescope position sensor? How does it work and where can it be found online? I was going to use an IR sensor, but I would rather not.

Chris Abissi

Dark Horse Observatory

From: m1oasys@yahoogroups.com [mailto:m1oasys@yahoogroups.com] On Behalf Of Bob Gillard
Sent: Friday, July 31, 2009 11:41 AM
To: m1oasys@yahoogroups.com
Subject: Re: [m1oasys] Success

 

Chris:

Because of my day job I worked on the installation on and off.  I would estimate that it took about 8 hours.  Because of my lack of experience in the installation of this system, there was some hesitation and uncertainty.

I also need to order another Telescope position/ receiver.  Who do I order that from?

I have wired the Telescope position transmitter through Output 12.  This will reduce IR in the observatory to only times when I want to determine the telescope position prior to opening/closing the roof.

Kindest regards,

Bob Gillard

Plano, TX

----- Original Message -----

Sent: Wednesday, July 29, 2009 7:52 PM

Subject: Re: [m1oasys] Success

 

Glad to hear ya got your code working Bob....

I appreciate the comments and I agree we need to update the doc, a new version is in the works and we will take you advice to add a more detail schematic diagram.  For most our directions, in addition to all the manufacturers doc included, has been sufficient.  So far all but 2 customers have done it themselves, and these 2 folks simply hired a Certified Elk Installer to do the work for them.   

I wish it was simpler to automate all these functions but until we get to a more wireless world it will require some effort to connect all these devices and sensors.  The goal of the m1OASYS is to provide a architectural platform to automate ones observatory, and not to be a plug and play solution, thus it is a Do-It-Yourself solution.  Advertising it as anything else would not be honest IMO.  Along this line perhaps you could let me know how many hours it took to install your system (and others may chime in here as well).  I will be happy to add this information to our new website.   

Again, I appreciate hearing any and all suggestions to improve the product... Thanks again and congratulations...Enjoy and Clear Skies.

-Chris

--- On Wed, 7/29/09, Bob Gillard <bobgillard@...> wrote:


From: Bob Gillard <bobgillard@...>
Subject: [m1oasys] Success
To: m1oasys@yahoogroups.com
Date: Wednesday, July 29, 2009, 5:38 PM

 

Fellow RoRos:
After much work, I have been able to successfully install, configure and write vbasic code for the M1OASYS. Despite the website claim of a do-it-yourself project, you need moderate to advance electrical ability. The documentation is weak. Accurate electrical connection schematics need to be added to the documentation.

I want to thank Chuck Faranda for his vbasic code snippets that allowed me to communicate between the computer and the M1OASYS via Winsock. I will be happy to help anyone else with installation and vbasic coding.

Kindest regards,
Bob Gillard
Plano, Texas

__________ Information from ESET Smart Security, version of virus signature database 4294 (20090731) __________

The message was checked by ESET Smart Security.

http://www.eset.com



__________ Information from ESET Smart Security, version of virus signature database 4294 (20090731) __________

The message was checked by ESET Smart Security.

http://www.eset.com

 

__________ Information from ESET Smart Security, version of virus signature database 4295 (20090731) __________

 

The message was checked by ESET Smart Security.

 

http://www.eset.com



__________ Information from ESET Smart Security, version of virus signature database 4295 (20090731) __________

The message was checked by ESET Smart Security.

http://www.eset.com

#187 From: "Bob Gillard" <bobgillard@...>
Date: Fri Jul 31, 2009 8:50 pm
Subject: Re: Success
drbobplano
Offline Offline
Send Email Send Email
 
Chris:
Unfortunately, my Telescope Sensor......is a IR sensor.  But no problem, just wire the IR sensor's Transmitter into one of the Outputs e.g. Output 12 and you can elect to power the IR Transmitter only when you need to use it as a Telescope position sensor.  Then your observatory will not be filled with that invisible but CCD image damaging IR radiation.
 
Kindest regards,
Bob Gillard
Plano, TX
 
----- Original Message -----
Sent: Friday, July 31, 2009 2:29 PM
Subject: RE: [m1oasys] Success

 

Can you elaborate on this telescope position sensor? How does it work and where can it be found online? I was going to use an IR sensor, but I would rather not.

Chris Abissi

Dark Horse Observatory

From: m1oasys@yahoogroups.com [mailto:m1oasys@yahoogroups.com] On Behalf Of Bob Gillard
Sent: Friday, July 31, 2009 11:41 AM
To: m1oasys@yahoogroups.com
Subject: Re: [m1oasys] Success

 

Chris:

Because of my day job I worked on the installation on and off.  I would estimate that it took about 8 hours.  Because of my lack of experience in the installation of this system, there was some hesitation and uncertainty.

I also need to order another Telescope position/ receiver.  Who do I order that from?

I have wired the Telescope position transmitter through Output 12.  This will reduce IR in the observatory to only times when I want to determine the telescope position prior to opening/closing the roof.

Kindest regards,

Bob Gillard

Plano, TX

----- Original Message -----

Sent: Wednesday, July 29, 2009 7:52 PM

Subject: Re: [m1oasys] Success

 

Glad to hear ya got your code working Bob....

I appreciate the comments and I agree we need to update the doc, a new version is in the works and we will take you advice to add a more detail schematic diagram.  For most our directions, in addition to all the manufacturers doc included, has been sufficient.  So far all but 2 customers have done it themselves, and these 2 folks simply hired a Certified Elk Installer to do the work for them.   

I wish it was simpler to automate all these functions but until we get to a more wireless world it will require some effort to connect all these devices and sensors.  The goal of the m1OASYS is to provide a architectural platform to automate ones observatory, and not to be a plug and play solution, thus it is a Do-It-Yourself solution.  Advertising it as anything else would not be honest IMO.  Along this line perhaps you could let me know how many hours it took to install your system (and others may chime in here as well).  I will be happy to add this information to our new website.   

Again, I appreciate hearing any and all suggestions to improve the product... Thanks again and congratulations...Enjoy and Clear Skies.

-Chris

--- On Wed, 7/29/09, Bob Gillard <bobgillard@verizon.net> wrote:


From: Bob Gillard <bobgillard@verizon.net>
Subject: [m1oasys] Success
To: m1oasys@yahoogroups.com
Date: Wednesday, July 29, 2009, 5:38 PM

 

Fellow RoRos:
After much work, I have been able to successfully install, configure and write vbasic code for the M1OASYS. Despite the website claim of a do-it-yourself project, you need moderate to advance electrical ability. The documentation is weak. Accurate electrical connection schematics need to be added to the documentation.

I want to thank Chuck Faranda for his vbasic code snippets that allowed me to communicate between the computer and the M1OASYS via Winsock. I will be happy to help anyone else with installation and vbasic coding.

Kindest regards,
Bob Gillard
Plano, Texas

__________ Information from ESET Smart Security, version of virus signature database 4294 (20090731) __________

The message was checked by ESET Smart Security.

http://www.eset.com



__________ Information from ESET Smart Security, version of virus signature database 4294 (20090731) __________

The message was checked by ESET Smart Security.

http://www.eset.com


#186 From: "Christopher J Abissi" <cabissi@...>
Date: Fri Jul 31, 2009 7:29 pm
Subject: RE: Success
cja2173
Offline Offline
Send Email Send Email
 

Can you elaborate on this telescope position sensor? How does it work and where can it be found online? I was going to use an IR sensor, but I would rather not.

 

 

Chris Abissi

Dark Horse Observatory

 

 

 

From: m1oasys@yahoogroups.com [mailto:m1oasys@yahoogroups.com] On Behalf Of Bob Gillard
Sent: Friday, July 31, 2009 11:41 AM
To: m1oasys@yahoogroups.com
Subject: Re: [m1oasys] Success

 

 

Chris:

Because of my day job I worked on the installation on and off.  I would estimate that it took about 8 hours.  Because of my lack of experience in the installation of this system, there was some hesitation and uncertainty.

 

I also need to order another Telescope position/ receiver.  Who do I order that from?

 

I have wired the Telescope position transmitter through Output 12.  This will reduce IR in the observatory to only times when I want to determine the telescope position prior to opening/closing the roof.

 

Kindest regards,

Bob Gillard

Plano, TX

 

 

----- Original Message -----

Sent: Wednesday, July 29, 2009 7:52 PM

Subject: Re: [m1oasys] Success

 

 

Glad to hear ya got your code working Bob....

I appreciate the comments and I agree we need to update the doc, a new version is in the works and we will take you advice to add a more detail schematic diagram.  For most our directions, in addition to all the manufacturers doc included, has been sufficient.  So far all but 2 customers have done it themselves, and these 2 folks simply hired a Certified Elk Installer to do the work for them.   

I wish it was simpler to automate all these functions but until we get to a more wireless world it will require some effort to connect all these devices and sensors.  The goal of the m1OASYS is to provide a architectural platform to automate ones observatory, and not to be a plug and play solution, thus it is a Do-It-Yourself solution.  Advertising it as anything else would not be honest IMO.  Along this line perhaps you could let me know how many hours it took to install your system (and others may chime in here as well).  I will be happy to add this information to our new website.   

Again, I appreciate hearing any and all suggestions to improve the product... Thanks again and congratulations...Enjoy and Clear Skies.

-Chris

--- On Wed, 7/29/09, Bob Gillard <bobgillard@...> wrote:


From: Bob Gillard <bobgillard@...>
Subject: [m1oasys] Success
To: m1oasys@yahoogroups.com
Date: Wednesday, July 29, 2009, 5:38 PM

 

Fellow RoRos:
After much work, I have been able to successfully install, configure and write vbasic code for the M1OASYS. Despite the website claim of a do-it-yourself project, you need moderate to advance electrical ability. The documentation is weak. Accurate electrical connection schematics need to be added to the documentation.

I want to thank Chuck Faranda for his vbasic code snippets that allowed me to communicate between the computer and the M1OASYS via Winsock. I will be happy to help anyone else with installation and vbasic coding.

Kindest regards,
Bob Gillard
Plano, Texas

 

__________ Information from ESET Smart Security, version of virus signature database 4294 (20090731) __________

 

The message was checked by ESET Smart Security.

 

http://www.eset.com



__________ Information from ESET Smart Security, version of virus signature database 4294 (20090731) __________

The message was checked by ESET Smart Security.

http://www.eset.com

#185 From: "Bob Gillard" <bobgillard@...>
Date: Fri Jul 31, 2009 3:40 pm
Subject: Re: Success
drbobplano
Offline Offline
Send Email Send Email
 
Chris:
Because of my day job I worked on the installation on and off.  I would estimate that it took about 8 hours.  Because of my lack of experience in the installation of this system, there was some hesitation and uncertainty.
 
I also need to order another Telescope position/ receiver.  Who do I order that from?
 
I have wired the Telescope position transmitter through Output 12.  This will reduce IR in the observatory to only times when I want to determine the telescope position prior to opening/closing the roof.
 
Kindest regards,
Bob Gillard
Plano, TX
 
 
----- Original Message -----
Sent: Wednesday, July 29, 2009 7:52 PM
Subject: Re: [m1oasys] Success

 

Glad to hear ya got your code working Bob....

I appreciate the comments and I agree we need to update the doc, a new version is in the works and we will take you advice to add a more detail schematic diagram.  For most our directions, in addition to all the manufacturers doc included, has been sufficient.  So far all but 2 customers have done it themselves, and these 2 folks simply hired a Certified Elk Installer to do the work for them.   

I wish it was simpler to automate all these functions but until we get to a more wireless world it will require some effort to connect all these devices and sensors.  The goal of the m1OASYS is to provide a architectural platform to automate ones observatory, and not to be a plug and play solution, thus it is a Do-It-Yourself solution.  Advertising it as anything else would not be honest IMO.  Along this line perhaps you could let me know how many hours it took to install your system (and others may chime in here as well).  I will be happy to add this information to our new website.   

Again, I appreciate hearing any and all suggestions to improve the product... Thanks again and congratulations...Enjoy and Clear Skies.

-Chris

--- On Wed, 7/29/09, Bob Gillard <bobgillard@verizon.net> wrote:

From: Bob Gillard <bobgillard@verizon.net>
Subject: [m1oasys] Success
To: m1oasys@yahoogroups.com
Date: Wednesday, July 29, 2009, 5:38 PM

 

Fellow RoRos:
After much work, I have been able to successfully install, configure and write vbasic code for the M1OASYS. Despite the website claim of a do-it-yourself project, you need moderate to advance electrical ability. The documentation is weak. Accurate electrical connection schematics need to be added to the documentation.

I want to thank Chuck Faranda for his vbasic code snippets that allowed me to communicate between the computer and the M1OASYS via Winsock. I will be happy to help anyone else with installation and vbasic coding.

Kindest regards,
Bob Gillard
Plano, Texas


#184 From: "Bob Gillard" <bobgillard@...>
Date: Fri Jul 31, 2009 3:17 pm
Subject: Re: Success
drbobplano
Offline Offline
Send Email Send Email
 
Chris:
I have attached a vbasic project with working code which demonstates how computer connects with the M1 and how varible commands are sent to the M1 in order to retreive data, activated switches, etc.  You will also need ELK Products ASCII Protocol RS-232 Interface Specification Rev. 1.77, which lists the computer commands.
 
Good Luck
Bob Gillard
Plano, Texas
 
----- Original Message -----
Sent: Wednesday, July 29, 2009 9:03 PM
Subject: Re: [m1oasys] Success

 

Hi Bob,


I desperately need to learn how to send commands to my M1 from my computer for startup sequences of my UPB equipment.   Any code examples would be greatly appreciated.

On Jul 29, 2009, at 2:38 PM, Bob Gillard wrote:

Fellow RoRos:
After much work, I have been able to successfully install, configure and write vbasic code for the M1OASYS. Despite the website claim of a do-it-yourself project, you need moderate to advance electrical ability. The documentation is weak. Accurate electrical connection schematics need to be added to the documentation.

I want to thank Chuck Faranda for his vbasic code snippets that allowed me to communicate between the computer and the M1OASYS via Winsock. I will be happy to help anyone else with installation and vbasic coding.

Kindest regards,
Bob Gillard
Plano, Texas



4 of 4 File(s)


#183 From: Chris Johnson <yahoo@...>
Date: Thu Jul 30, 2009 2:03 am
Subject: Re: Success
ozy_311
Offline Offline
Send Email Send Email
 
Hi Bob,

I desperately need to learn how to send commands to my M1 from my computer for startup sequences of my UPB equipment.   Any code examples would be greatly appreciated.

On Jul 29, 2009, at 2:38 PM, Bob Gillard wrote:

Fellow RoRos:
After much work, I have been able to successfully install, configure and write vbasic code for the M1OASYS. Despite the website claim of a do-it-yourself project, you need moderate to advance electrical ability. The documentation is weak. Accurate electrical connection schematics need to be added to the documentation.

I want to thank Chuck Faranda for his vbasic code snippets that allowed me to communicate between the computer and the M1OASYS via Winsock. I will be happy to help anyone else with installation and vbasic coding.

Kindest regards,
Bob Gillard
Plano, Texas



#182 From: "Chuck Faranda" <mail_lists2@...>
Date: Thu Jul 30, 2009 1:02 am
Subject: Re: Success
cfaranda24
Offline Offline
Send Email Send Email
 
Great news Bob!  I'm glad I could help.  Drop me a note any time if you need
anything.

Regards,
Chuck Faranda
http://ccdastro.com


----- Original Message -----
From: "Bob Gillard" <bobgillard@...>
To: <m1oasys@yahoogroups.com>
Sent: Wednesday, July 29, 2009 5:38 PM
Subject: [m1oasys] Success


> Fellow RoRos:
> After much work, I have been able to successfully install, configure and
> write vbasic code for the M1OASYS.  Despite the website claim of a
> do-it-yourself project, you need moderate to advance electrical ability.
> The documentation is weak.  Accurate electrical connection schematics need
> to be added to the documentation.
>
> I want to thank Chuck Faranda for his vbasic code snippets that allowed me
> to communicate between the computer and the M1OASYS via Winsock.  I will
> be happy to help anyone else with installation and vbasic coding.
>
> Kindest regards,
> Bob Gillard
> Plano, Texas
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>

#181 From: Chris Hetlage <chrishet55@...>
Date: Thu Jul 30, 2009 12:52 am
Subject: Re: Success
chrishet55
Online Now Online Now
Send Email Send Email
 
Glad to hear ya got your code working Bob....

I appreciate the comments and I agree we need to update the doc, a new version is in the works and we will take you advice to add a more detail schematic diagram.  For most our directions, in addition to all the manufacturers doc included, has been sufficient.  So far all but 2 customers have done it themselves, and these 2 folks simply hired a Certified Elk Installer to do the work for them.   

I wish it was simpler to automate all these functions but until we get to a more wireless world it will require some effort to connect all these devices and sensors.  The goal of the m1OASYS is to provide a architectural platform to automate ones observatory, and not to be a plug and play solution, thus it is a Do-It-Yourself solution.  Advertising it as anything else would not be honest IMO.  Along this line perhaps you could let me know how many hours it took to install your system (and others may chime in here as well).  I will be happy to add this information to our new website.   

Again, I appreciate hearing any and all suggestions to improve the product... Thanks again and congratulations...Enjoy and Clear Skies.

-Chris

--- On Wed, 7/29/09, Bob Gillard <bobgillard@...> wrote:

From: Bob Gillard <bobgillard@...>
Subject: [m1oasys] Success
To: m1oasys@yahoogroups.com
Date: Wednesday, July 29, 2009, 5:38 PM

 

Fellow RoRos:
After much work, I have been able to successfully install, configure and write vbasic code for the M1OASYS. Despite the website claim of a do-it-yourself project, you need moderate to advance electrical ability. The documentation is weak. Accurate electrical connection schematics need to be added to the documentation.

I want to thank Chuck Faranda for his vbasic code snippets that allowed me to communicate between the computer and the M1OASYS via Winsock. I will be happy to help anyone else with installation and vbasic coding.

Kindest regards,
Bob Gillard
Plano, Texas


#180 From: "Bob Gillard" <bobgillard@...>
Date: Wed Jul 29, 2009 9:38 pm
Subject: Success
drbobplano
Offline Offline
Send Email Send Email
 
Fellow RoRos:
After much work, I have been able to successfully install, configure and write
vbasic code for the M1OASYS.  Despite the website claim of a do-it-yourself
project, you need moderate to advance electrical ability.  The documentation is
weak.  Accurate electrical connection schematics need to be added to the
documentation.

I want to thank Chuck Faranda for his vbasic code snippets that allowed me to
communicate between the computer and the M1OASYS via Winsock.  I will be happy
to help anyone else with installation and vbasic coding.

Kindest regards,
Bob Gillard
Plano, Texas

#179 From: Jim Fakatselis <jfakatse@...>
Date: Sat Jul 18, 2009 4:29 pm
Subject: Re: Re: Temperature log file creation
jfakatselis
Offline Offline
Send Email Send Email
 
Hmmm...looks like I need to brush back up on my software skills to do that. Am not uncomfortable with writing the logging code it's connecting via Winsock to the unsecured port I could use some advice on.
THanks so much Bob for your feedback.
If you or someone in the group could show me a code snippet that works it would be enormously helpful.

Best regards,

Jim Fakatselis
Peppermill Skies Observatory
Huntington, NY

Bob Gillard wrote:
 


Jim:

Sure...do you have access to visual basic. An executable program can be
written that will connect with the M1 via Winsock to the unsecured port
on the M1. Then a request for Temperature either from the keypad or
other temperature sensing device can be made every second, every minute,
every hour, or any other time segment depending on the users
requirement. Then the recieved temperature data and the time that it
was received could be saved to a disk file.

Kindest regards,

Bob Gillard

--- In m1oasys@yahoogroups.com, "jfakatselis" <jfakatse@...> wrote:
>
> Does anyone know if there is any way to create a temperature log by
polling the temperature periodically and writing it to a file on the
hard drive? How could that be done, or could it be done at all?
>
> Thanks for your help,
>
> Jim Fakatselis
> Peppermill Skies Observatory
> Huntington, NY
>


#178 From: "Bob Gillard" <bobgillard@...>
Date: Sat Jul 18, 2009 1:57 pm
Subject: Re: Temperature log file creation
drbobplano
Offline Offline
Send Email Send Email
 
Jim:

Sure...do you have access to visual basic.  An executable program can be
written that will connect with the M1 via Winsock to the unsecured port
on the M1.  Then a request for Temperature either from the keypad or
other temperature sensing device can be made every second, every minute,
every hour, or any other time segment depending on the users
requirement.  Then the recieved temperature data and the time that it
was received could be saved to a disk file.

Kindest regards,

Bob Gillard


--- In m1oasys@yahoogroups.com, "jfakatselis" <jfakatse@...> wrote:
>
> Does anyone know if there is any way to create a temperature log by
polling the temperature periodically and writing it to a file on the
hard drive? How could that be done, or could it be done at all?
>
> Thanks for your help,
>
> Jim Fakatselis
> Peppermill Skies Observatory
> Huntington, NY
>

#177 From: "jfakatselis" <jfakatse@...>
Date: Fri Jul 17, 2009 10:33 pm
Subject: Temperature log file creation
jfakatselis
Offline Offline
Send Email Send Email
 
Does anyone know if there is any way to create a temperature log by polling the
temperature periodically and writing it to a file on the hard drive? How could
that be done, or could it be done at all?

Thanks for your help,

Jim Fakatselis
Peppermill Skies Observatory
Huntington, NY

#176 From: "Chuck Faranda" <mail_lists2@...>
Date: Wed Jul 15, 2009 2:18 pm
Subject: Re: Re: checksum
cfaranda24
Offline Offline
Send Email Send Email
 
Actually, the correct formatted CRC for that string is 0806rr00EE  the leading 08 is the length.

Regards,
Chuck Faranda
http://ccdastro.com
 
 
----- Original Message -----
Sent: Wednesday, July 15, 2009 10:11 AM
Subject: Re: [m1oasys] Re: checksum

Chuck:
Thank you for your help in resolving this programming problem.  Your help is greatly appreicated.  Your code snippet works to generate the correct M1 Check Sum....with modification.  Why do you add two bytes onto the left side of the M1 command string? 
 
        MyDataLen = Len(MyData) + 2
        MyData2 = MyDataLen & MyData
 
When I use just the M1 Command string e.g. "06rr00" and preform the Check Sum calculation, your code produces the correct Check Sum of 56 for this command i.e. "06rr0056" CrLf.  What am I missing.
 
Thanks again and kindest regards,
Bob Gillard
Plano, TX
       
----- Original Message -----
Sent: Tuesday, July 14, 2009 6:13 PM
Subject: Re: [m1oasys] Re: checksum

I sent a snippet via your private email.

Regards,
Chuck Faranda
http://ccdastro.com
 
 
----- Original Message -----
Sent: Tuesday, July 14, 2009 6:13 PM
Subject: Re: [m1oasys] Re: checksum

Chuck:
I'm using visual basic 6.  The code example in the docs is in C and apparently C has the ability to directly convert hex to binary.  Here is the comments:
To generate the checksum for an ASCII string to be transmitted,

clear the checksum value (CC = 0;)

Add each byte of the string to be transmitted to the checksum value

(CC += ASCII byte).

Do a two’s compliment of the checksum (CC = (CC ^ 0xff) + 1;).

Convert the checksum’s upper and lower nibble’s to ASCII hex.

Send a carriage return (0x0D) and line feed (0x0A).

The following is an example C code for sending the checksum after

building the initial checksum value.

*/

I understand the format of the Send string i.e. 2 byte length (ASCII hex), 2 byte command, Message of varible length, 2 zeros for future use, 2 byte Checksum, CrLf.  As I understand the documentation, all of the Send string is used to calculate the CheckSum Value except the the CheckSum and CrLf.

Do you have any vbasic code samples that demostates the calculation of the M1 command checksum?

Kindest regards,

Bob Gillard

 

----- Original Message -----
Sent: Tuesday, July 14, 2009 4:12 PM
Subject: Re: [m1oasys] Re: checksum

The docs have a code example. Basically, the format is the ASCII characters
you want to send preceded by the length of the string including the 2
characters of the length and the 2 characters of the CRC. So, 06ff00 would
be 0806ff0006.

What code are you programming with?

Regards,
Chuck Faranda
http://ccdastro.com

----- Original Message -----
From: "Bob Gillard" <bobgillard@verizon.net>
To: <m1oasys@yahoogroups.com>
Sent: Tuesday, July 14, 2009 9:38 AM
Subject: [m1oasys] Re: checksum

> Fellow RoRos:
> I am inexorably moving forward with the implementation of my M1 in my roll
> off roof observatory. I am writing my own visual basic code to interface
> and control the M1. I finally jumped over the "can't connect with the
> Unsecured port problem". Who knew you had to go to Printers and Faxes to
> adjust the Server settings.
>
> I am able to communicate with the M1 sending and receiving parameters.
> However, I'm unable to sucessfully code the CheckSum routine. My current
> logic is as follows:
>
> 1. Sum the ASCII values of each character in the Command string. For
> example "06rr00" = 426.
> 2. Divide this number by 256 (sucessive subtracts) to equal the Mod of
> the 256 divide = 170.
> 3. I then find the 2's compliment (binary number) of 170 = 01100101.
> 4. I then find the Hexidecimal value of this Binary number = 65.
>
> Obviously, this is the incorrect CheckSum for this command. Does anyone
> have any vb code that correctly calculates the ELK M1 Checksum?
>
> Kindest regards,
> Bob Gillard
> Plano, TX
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>


#175 From: "Bob Gillard" <bobgillard@...>
Date: Wed Jul 15, 2009 2:11 pm
Subject: Re: Re: checksum
drbobplano
Offline Offline
Send Email Send Email
 
Chuck:
Thank you for your help in resolving this programming problem.  Your help is greatly appreicated.  Your code snippet works to generate the correct M1 Check Sum....with modification.  Why do you add two bytes onto the left side of the M1 command string? 
 
        MyDataLen = Len(MyData) + 2
        MyData2 = MyDataLen & MyData
 
When I use just the M1 Command string e.g. "06rr00" and preform the Check Sum calculation, your code produces the correct Check Sum of 56 for this command i.e. "06rr0056" CrLf.  What am I missing.
 
Thanks again and kindest regards,
Bob Gillard
Plano, TX
       
----- Original Message -----
Sent: Tuesday, July 14, 2009 6:13 PM
Subject: Re: [m1oasys] Re: checksum

I sent a snippet via your private email.

Regards,
Chuck Faranda
http://ccdastro.com
 
 
----- Original Message -----
Sent: Tuesday, July 14, 2009 6:13 PM
Subject: Re: [m1oasys] Re: checksum

Chuck:
I'm using visual basic 6.  The code example in the docs is in C and apparently C has the ability to directly convert hex to binary.  Here is the comments:
To generate the checksum for an ASCII string to be transmitted,

clear the checksum value (CC = 0;)

Add each byte of the string to be transmitted to the checksum value

(CC += ASCII byte).

Do a two’s compliment of the checksum (CC = (CC ^ 0xff) + 1;).

Convert the checksum’s upper and lower nibble’s to ASCII hex.

Send a carriage return (0x0D) and line feed (0x0A).

The following is an example C code for sending the checksum after

building the initial checksum value.

*/

I understand the format of the Send string i.e. 2 byte length (ASCII hex), 2 byte command, Message of varible length, 2 zeros for future use, 2 byte Checksum, CrLf.  As I understand the documentation, all of the Send string is used to calculate the CheckSum Value except the the CheckSum and CrLf.

Do you have any vbasic code samples that demostates the calculation of the M1 command checksum?

Kindest regards,

Bob Gillard

 

----- Original Message -----
Sent: Tuesday, July 14, 2009 4:12 PM
Subject: Re: [m1oasys] Re: checksum

The docs have a code example. Basically, the format is the ASCII characters
you want to send preceded by the length of the string including the 2
characters of the length and the 2 characters of the CRC. So, 06ff00 would
be 0806ff0006.

What code are you programming with?

Regards,
Chuck Faranda
http://ccdastro.com

----- Original Message -----
From: "Bob Gillard" <bobgillard@verizon.net>
To: <m1oasys@yahoogroups.com>
Sent: Tuesday, July 14, 2009 9:38 AM
Subject: [m1oasys] Re: checksum

> Fellow RoRos:
> I am inexorably moving forward with the implementation of my M1 in my roll
> off roof observatory. I am writing my own visual basic code to interface
> and control the M1. I finally jumped over the "can't connect with the
> Unsecured port problem". Who knew you had to go to Printers and Faxes to
> adjust the Server settings.
>
> I am able to communicate with the M1 sending and receiving parameters.
> However, I'm unable to sucessfully code the CheckSum routine. My current
> logic is as follows:
>
> 1. Sum the ASCII values of each character in the Command string. For
> example "06rr00" = 426.
> 2. Divide this number by 256 (sucessive subtracts) to equal the Mod of
> the 256 divide = 170.
> 3. I then find the 2's compliment (binary number) of 170 = 01100101.
> 4. I then find the Hexidecimal value of this Binary number = 65.
>
> Obviously, this is the incorrect CheckSum for this command. Does anyone
> have any vb code that correctly calculates the ELK M1 Checksum?
>
> Kindest regards,
> Bob Gillard
> Plano, TX
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>


#174 From: "edgellmh" <marshall@...>
Date: Wed Jul 15, 2009 12:38 am
Subject: Inexpensive Bare Bones Kit
edgellmh
Offline Offline
Send Email Send Email
 
I purchased a Bare Bones Kit last winter but have since decided to handle remote
operations of my observatory in a different fashion. Consequently I am
interested in selling my m1 OASYS Bare Bones set of parts to someone who would
like such a system but is having trouble affording the purchase. I will sell for
70% of list ($1225) plus shipping. I have taken some of the parts out of their
boxes but none have been used and they are back in their original boxes. My
system comes with two Elk Z-Wave Interface modules and two Intermatic Heavy Duty
(15A) Z-Wave Appliance modules to avoid the X-10 system for inverter driven
power systems. I will throw in the Simply Automated UMC-DB9 Computer Interface
Module and the UML-20 Lamp Module that I used to show that an X-10 system would
not work in my inverter driven power system.

marshall edgell

#173 From: "Chuck Faranda" <mail_lists2@...>
Date: Tue Jul 14, 2009 11:13 pm
Subject: Re: Re: checksum
cfaranda24
Offline Offline
Send Email Send Email
 
I sent a snippet via your private email.

Regards,
Chuck Faranda
http://ccdastro.com
 
 
----- Original Message -----
Sent: Tuesday, July 14, 2009 6:13 PM
Subject: Re: [m1oasys] Re: checksum

Chuck:
I'm using visual basic 6.  The code example in the docs is in C and apparently C has the ability to directly convert hex to binary.  Here is the comments:
To generate the checksum for an ASCII string to be transmitted,

clear the checksum value (CC = 0;)

Add each byte of the string to be transmitted to the checksum value

(CC += ASCII byte).

Do a two’s compliment of the checksum (CC = (CC ^ 0xff) + 1;).

Convert the checksum’s upper and lower nibble’s to ASCII hex.

Send a carriage return (0x0D) and line feed (0x0A).

The following is an example C code for sending the checksum after

building the initial checksum value.

*/

I understand the format of the Send string i.e. 2 byte length (ASCII hex), 2 byte command, Message of varible length, 2 zeros for future use, 2 byte Checksum, CrLf.  As I understand the documentation, all of the Send string is used to calculate the CheckSum Value except the the CheckSum and CrLf.

Do you have any vbasic code samples that demostates the calculation of the M1 command checksum?

Kindest regards,

Bob Gillard

 

----- Original Message -----
Sent: Tuesday, July 14, 2009 4:12 PM
Subject: Re: [m1oasys] Re: checksum

The docs have a code example. Basically, the format is the ASCII characters
you want to send preceded by the length of the string including the 2
characters of the length and the 2 characters of the CRC. So, 06ff00 would
be 0806ff0006.

What code are you programming with?

Regards,
Chuck Faranda
http://ccdastro.com

----- Original Message -----
From: "Bob Gillard" <bobgillard@verizon.net>
To: <m1oasys@yahoogroups.com>
Sent: Tuesday, July 14, 2009 9:38 AM
Subject: [m1oasys] Re: checksum

> Fellow RoRos:
> I am inexorably moving forward with the implementation of my M1 in my roll
> off roof observatory. I am writing my own visual basic code to interface
> and control the M1. I finally jumped over the "can't connect with the
> Unsecured port problem". Who knew you had to go to Printers and Faxes to
> adjust the Server settings.
>
> I am able to communicate with the M1 sending and receiving parameters.
> However, I'm unable to sucessfully code the CheckSum routine. My current
> logic is as follows:
>
> 1. Sum the ASCII values of each character in the Command string. For
> example "06rr00" = 426.
> 2. Divide this number by 256 (sucessive subtracts) to equal the Mod of
> the 256 divide = 170.
> 3. I then find the 2's compliment (binary number) of 170 = 01100101.
> 4. I then find the Hexidecimal value of this Binary number = 65.
>
> Obviously, this is the incorrect CheckSum for this command. Does anyone
> have any vb code that correctly calculates the ELK M1 Checksum?
>
> Kindest regards,
> Bob Gillard
> Plano, TX
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>


#172 From: "Bob Gillard" <bobgillard@...>
Date: Tue Jul 14, 2009 10:13 pm
Subject: Re: Re: checksum
drbobplano
Offline Offline
Send Email Send Email
 
Chuck:
I'm using visual basic 6.  The code example in the docs is in C and apparently C has the ability to directly convert hex to binary.  Here is the comments:
To generate the checksum for an ASCII string to be transmitted,

clear the checksum value (CC = 0;)

Add each byte of the string to be transmitted to the checksum value

(CC += ASCII byte).

Do a two’s compliment of the checksum (CC = (CC ^ 0xff) + 1;).

Convert the checksum’s upper and lower nibble’s to ASCII hex.

Send a carriage return (0x0D) and line feed (0x0A).

The following is an example C code for sending the checksum after

building the initial checksum value.

*/

I understand the format of the Send string i.e. 2 byte length (ASCII hex), 2 byte command, Message of varible length, 2 zeros for future use, 2 byte Checksum, CrLf.  As I understand the documentation, all of the Send string is used to calculate the CheckSum Value except the the CheckSum and CrLf.

Do you have any vbasic code samples that demostates the calculation of the M1 command checksum?

Kindest regards,

Bob Gillard

 

----- Original Message -----
Sent: Tuesday, July 14, 2009 4:12 PM
Subject: Re: [m1oasys] Re: checksum

The docs have a code example. Basically, the format is the ASCII characters
you want to send preceded by the length of the string including the 2
characters of the length and the 2 characters of the CRC. So, 06ff00 would
be 0806ff0006.

What code are you programming with?

Regards,
Chuck Faranda
http://ccdastro.com

----- Original Message -----
From: "Bob Gillard" <bobgillard@verizon.net>
To: <m1oasys@yahoogroups.com>
Sent: Tuesday, July 14, 2009 9:38 AM
Subject: [m1oasys] Re: checksum

> Fellow RoRos:
> I am inexorably moving forward with the implementation of my M1 in my roll
> off roof observatory. I am writing my own visual basic code to interface
> and control the M1. I finally jumped over the "can't connect with the
> Unsecured port problem". Who knew you had to go to Printers and Faxes to
> adjust the Server settings.
>
> I am able to communicate with the M1 sending and receiving parameters.
> However, I'm unable to sucessfully code the CheckSum routine. My current
> logic is as follows:
>
> 1. Sum the ASCII values of each character in the Command string. For
> example "06rr00" = 426.
> 2. Divide this number by 256 (sucessive subtracts) to equal the Mod of
> the 256 divide = 170.
> 3. I then find the 2's compliment (binary number) of 170 = 01100101.
> 4. I then find the Hexidecimal value of this Binary number = 65.
>
> Obviously, this is the incorrect CheckSum for this command. Does anyone
> have any vb code that correctly calculates the ELK M1 Checksum?
>
> Kindest regards,
> Bob Gillard
> Plano, TX
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>


#171 From: "Chuck Faranda" <mail_lists2@...>
Date: Tue Jul 14, 2009 9:12 pm
Subject: Re: Re: checksum
cfaranda24
Offline Offline
Send Email Send Email
 
The docs have a code example.  Basically, the format is the ASCII characters
you want to send preceded by the length of the string including the 2
characters of the length and the 2 characters of the CRC.  So,  06ff00 would
be 0806ff0006.

What code are you programming with?

Regards,
Chuck Faranda
http://ccdastro.com


----- Original Message -----
From: "Bob Gillard" <bobgillard@...>
To: <m1oasys@yahoogroups.com>
Sent: Tuesday, July 14, 2009 9:38 AM
Subject: [m1oasys] Re: checksum


> Fellow RoRos:
> I am inexorably moving forward with the implementation of my M1 in my roll
> off roof observatory.  I am writing my own visual basic code to interface
> and control the M1.  I finally jumped over the "can't connect with the
> Unsecured port problem".  Who knew you had to go to Printers and Faxes to
> adjust the Server settings.
>
> I am able to communicate with the M1 sending and receiving parameters.
> However, I'm unable to sucessfully code the CheckSum routine.  My current
> logic is as follows:
>
>    1.  Sum the ASCII values of each character in the Command string.  For
> example "06rr00" = 426.
>    2.  Divide this number by 256 (sucessive subtracts) to equal the Mod of
> the 256 divide = 170.
>    3.  I then find the 2's compliment (binary number) of 170 = 01100101.
>    4.  I then find the Hexidecimal value of this Binary number = 65.
>
> Obviously, this is the incorrect CheckSum for this command.  Does anyone
> have any vb code that correctly calculates the ELK M1 Checksum?
>
> Kindest regards,
> Bob Gillard
> Plano, TX
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>

#170 From: "Bob Gillard" <bobgillard@...>
Date: Tue Jul 14, 2009 1:45 pm
Subject: Re: checksum correction
drbobplano
Offline Offline
Send Email Send Email
 
Sorry:
The Command string is incorrect on my previous post.  It should be:
"06ff00" not "o6rroo"
Bob Gillard
Plano, Tx

#169 From: "Bob Gillard" <bobgillard@...>
Date: Tue Jul 14, 2009 1:38 pm
Subject: Re: checksum
drbobplano
Offline Offline
Send Email Send Email
 
Fellow RoRos:
I am inexorably moving forward with the implementation of my M1 in my roll off
roof observatory.  I am writing my own visual basic code to interface and
control the M1.  I finally jumped over the "can't connect with the Unsecured
port problem".  Who knew you had to go to Printers and Faxes to adjust the
Server settings.

I am able to communicate with the M1 sending and receiving parameters.  However,
I'm unable to sucessfully code the CheckSum routine.  My current logic is as
follows:

     1.  Sum the ASCII values of each character in the Command string.  For
example "06rr00" = 426.
     2.  Divide this number by 256 (sucessive subtracts) to equal the Mod of the
256 divide = 170.
     3.  I then find the 2's compliment (binary number) of 170 = 01100101.
     4.  I then find the Hexidecimal value of this Binary number = 65.

Obviously, this is the incorrect CheckSum for this command.  Does anyone have
any vb code that correctly calculates the ELK M1 Checksum?

Kindest regards,
Bob Gillard
Plano, TX

#168 From: "Chuck Faranda" <mail_lists2@...>
Date: Fri Jun 19, 2009 9:55 pm
Subject: Re: Re: Re: M1 communication
cfaranda24
Offline Offline
Send Email Send Email
 

Odd, I have not encountered any issues using port 2101 unless a router or other firewalls were blocking it.  Enjoy your vacation, we will sort things out when you get back.

Regards,
Chuck Faranda
http://ccdastro.com
 
 
----- Original Message -----
Sent: Friday, June 19, 2009 5:09 PM
Subject: Re: Re: Re: [m1oasys] M1 communication

Chuck:
I really appreciate your information and patience.
 
Here is my current sticking point.  I have written a vbasic program using the Client/Server Winsock using the information you emailed me along with other documentation.  In order to test the connection, I have been using HyperTerminal with a Winsock connection...but I am having difficulty communicating with the M1 system.  I enabled the nonsecure port (2101), but I'm unable to communicate with the M1 via HyperTerminal.  HyperTerminal reports that it is unable to connect to port 2101.  This lack of communication is present even after turning off Spyware plus the Windows and Norten firewalls.
 
I am able to connect with the M1 via HyperTermial on port 2601 (secured) but, as you are probably aware, the commands/data send and received are encrypted.  I have not yet tested my vbasic program with Winsock using the unsecure port yet.  I have communicated with ELK products and their customer support but I have yet to resolve this issue.  Do your have any insight or ideas.
 
I am on vacation for the next 10 days and will be in and out of WiFi range so I may or may not be able to respond immediately.  Again, thank you very much for your information and patience.
 
Bob Gillard
Currently in the North Woods


Jun 19, 2009 03:32:39 PM, m1oasys@yahoogroups.com wrote:




Bob,
 
Also, check out the ASCOM Dome driver's exposed methods/properties that you can access via scripts by looking in your 'Start/All Programs/ASCOM Platform/Docs/Interface Specs/Dome Reference' help file. I hope this helps. 

Regards,
Chuck Faranda
http://ccdastro.com
 
 
----- Original Message -----
Sent: Friday, June 19, 2009 4:04 PM
Subject: Re: Re: [m1oasys] M1 communication

Chris:
My question still remains.  I will write my own code to automate the roof closure.  I appreciated the fact that other software exists to accomplish this function (I own CCDAutoPilot).  Where is the documentation, which would allow me to interface with the driver with a vbasic program.  I have everything I need...M1 installed, vbasic, ASCOM v5, ASCOM driver, I just need documentation e.g. CCSSoft Help nicely describes the Methods, Properties and Events that allow a vb program to either Call CCSoft or interface with CCDSoft as a plugin.
 
My kingdom for the documentation.
 
Bob Gillard
Plano, Texas


Hi Bob,  The ASCOM driver is included on your m1OASYS Installation CD.  The filename is m1OASYS.exe.  You can use this driver to communicate with CCDAutoPilot or ACP or CCDCommander.  It allows you to automate the opening and closing of the roof to coinside with your imaging runs.

This driver connects to the ELM M1 Gold system in the same fashion as your VB program would, i.e. through the m1XEP Ethernet adapter using the ASCII protocol we sent you earlier.  The driver requires ASCOM Platform 5 be installed prior to installing it.  Sorry the directions are not very clear on this...we are working on a much improved driver and installation guide.

Here is a blurb from our upcoming webpage....
The m1OASYS system includes an ASCOM driver that will integrate your observatory functions and automation rules, with popular image automation programs such as CCDAutopilot, ACP or CCD Commander. Included in our upcoming release of this driver is the ability to monitor, control and automate functions in your observatory based on weather conditions (support for a variety of weather stations as well as Boltwood I and II) and observatory conditions (such as AC Power Loss or Internet Failure).

-Chris
--- On Tue, 6/16/09, Bob Gillard <bobgillard@...> wrote:

From: Bob Gillard <
bobgillard@...>
Subject: Re: [m1oasys] M1 communication
To:
m1oasys@yahoogroups.com
Date: Tuesday, June 16, 2009, 12:37 PM

Chuck:
Please explain.  I know how to connect a vbasic program to TheSky or CCDsoft, but I'm not sure what ASCOM driver you are talking about.  Is there any documentation of commands for this ASCOM driver?  What is the file name of the Driver?
Bob Gillard
 
----- Original Message -----
Sent: Tuesday, June 16, 2009 10:29 AM
Subject: Re: [m1oasys] M1 communication

Bob,

Can you connect using the supplied ASCOM driver?

Regards,
Chuck Faranda
http://ccdastro. net

----- Original Message -----
From: "Bob Gillard" <bobgillard@verizon. net>
To: <m1oasys@yahoogroups .com>
Sent: Tuesday, June 16, 2009 9:14 AM
Subject: [m1oasys] M1 communication

> Folks:
> I'm working slowly, but surely in the implementation of the M1 system for
> my RoRo. Everything wired, able to connect via Ethernet with both the
> ELK-RP and browser. However, in the never ending quest to reinvent the
> wheel, I am writing vbasic code to coordinate imaging with unattended roof
> closure. I know, there is software that preforms this task.....but bear
> with me.
>
> My current problem is communicating with the M1 and the unencrypted port
> 2101. Despite turning off ALL Spyware and Firewalls I cannot connect my
> computer with the M1 thru this port e.g. HyperTerminal. I can connect
> HyperTerminal with the M1 thru port 2601, but the data is encrpyted. Any
> ideas and/or solutions will be appreciated.
>
> Kindest regards,
> Bob Gillard
> Plano, Texas
>
>
>
> ------------ --------- --------- ------
>
> Yahoo! Groups Links
>
>
>
>


#167 From: bobgillard@...
Date: Fri Jun 19, 2009 9:09 pm
Subject: Re: Re: Re: M1 communication
drbobplano
Offline Offline
Send Email Send Email
 
Chuck:
I really appreciate your information and patience.
 
Here is my current sticking point.  I have written a vbasic program using the Client/Server Winsock using the information you emailed me along with other documentation.  In order to test the connection, I have been using HyperTerminal with a Winsock connection...but I am having difficulty communicating with the M1 system.  I enabled the nonsecure port (2101), but I'm unable to communicate with the M1 via HyperTerminal.  HyperTerminal reports that it is unable to connect to port 2101.  This lack of communication is present even after turning off Spyware plus the Windows and Norten firewalls.
 
I am able to connect with the M1 via HyperTermial on port 2601 (secured) but, as you are probably aware, the commands/data send and received are encrypted.  I have not yet tested my vbasic program with Winsock using the unsecure port yet.  I have communicated with ELK products and their customer support but I have yet to resolve this issue.  Do your have any insight or ideas.
 
I am on vacation for the next 10 days and will be in and out of WiFi range so I may or may not be able to respond immediately.  Again, thank you very much for your information and patience.
 
Bob Gillard
Currently in the North Woods


Jun 19, 2009 03:32:39 PM, m1oasys@yahoogroups.com wrote:




Bob,
 
Also, check out the ASCOM Dome driver's exposed methods/properties that you can access via scripts by looking in your 'Start/All Programs/ASCOM Platform/Docs/Interface Specs/Dome Reference' help file. I hope this helps. 

Regards,
Chuck Faranda
http://ccdastro.com
 
 
----- Original Message -----
Sent: Friday, June 19, 2009 4:04 PM
Subject: Re: Re: [m1oasys] M1 communication

Chris:
My question still remains.  I will write my own code to automate the roof closure.  I appreciated the fact that other software exists to accomplish this function (I own CCDAutoPilot).  Where is the documentation, which would allow me to interface with the driver with a vbasic program.  I have everything I need...M1 installed, vbasic, ASCOM v5, ASCOM driver, I just need documentation e.g. CCSSoft Help nicely describes the Methods, Properties and Events that allow a vb program to either Call CCSoft or interface with CCDSoft as a plugin.
 
My kingdom for the documentation.
 
Bob Gillard
Plano, Texas


Hi Bob,  The ASCOM driver is included on your m1OASYS Installation CD.  The filename is m1OASYS.exe.  You can use this driver to communicate with CCDAutoPilot or ACP or CCDCommander.  It allows you to automate the opening and closing of the roof to coinside with your imaging runs.

This driver connects to the ELM M1 Gold system in the same fashion as your VB program would, i.e. through the m1XEP Ethernet adapter using the ASCII protocol we sent you earlier.  The driver requires ASCOM Platform 5 be installed prior to installing it.  Sorry the directions are not very clear on this...we are working on a much improved driver and installation guide.

Here is a blurb from our upcoming webpage....
The m1OASYS system includes an ASCOM driver that will integrate your observatory functions and automation rules, with popular image automation programs such as CCDAutopilot, ACP or CCD Commander. Included in our upcoming release of this driver is the ability to monitor, control and automate functions in your observatory based on weather conditions (support for a variety of weather stations as well as Boltwood I and II) and observatory conditions (such as AC Power Loss or Internet Failure).

-Chris
--- On Tue, 6/16/09, Bob Gillard <bobgillard@...> wrote:

From: Bob Gillard <
bobgillard@...>
Subject: Re: [m1oasys] M1 communication
To:
m1oasys@yahoogroups.com
Date: Tuesday, June 16, 2009, 12:37 PM

Chuck:
Please explain.  I know how to connect a vbasic program to TheSky or CCDsoft, but I'm not sure what ASCOM driver you are talking about.  Is there any documentation of commands for this ASCOM driver?  What is the file name of the Driver?
Bob Gillard
 
----- Original Message -----
Sent: Tuesday, June 16, 2009 10:29 AM
Subject: Re: [m1oasys] M1 communication

Bob,

Can you connect using the supplied ASCOM driver?

Regards,
Chuck Faranda
http://ccdastro. net

----- Original Message -----
From: "Bob Gillard" <bobgillard@verizon. net>
To: <m1oasys@yahoogroups .com>
Sent: Tuesday, June 16, 2009 9:14 AM
Subject: [m1oasys] M1 communication

> Folks:
> I'm working slowly, but surely in the implementation of the M1 system for
> my RoRo. Everything wired, able to connect via Ethernet with both the
> ELK-RP and browser. However, in the never ending quest to reinvent the
> wheel, I am writing vbasic code to coordinate imaging with unattended roof
> closure. I know, there is software that preforms this task.....but bear
> with me.
>
> My current problem is communicating with the M1 and the unencrypted port
> 2101. Despite turning off ALL Spyware and Firewalls I cannot connect my
> computer with the M1 thru this port e.g. HyperTerminal. I can connect
> HyperTerminal with the M1 thru port 2601, but the data is encrpyted. Any
> ideas and/or solutions will be appreciated.
>
> Kindest regards,
> Bob Gillard
> Plano, Texas
>
>
>
> ------------ --------- --------- ------
>
> Yahoo! Groups Links
>
>
>
>


#166 From: "Chuck Faranda" <mail_lists2@...>
Date: Fri Jun 19, 2009 8:32 pm
Subject: Re: Re: M1 communication
cfaranda24
Offline Offline
Send Email Send Email
 

Bob,
 
Also, check out the ASCOM Dome driver's exposed methods/properties that you can access via scripts by looking in your 'Start/All Programs/ASCOM Platform/Docs/Interface Specs/Dome Reference' help file. I hope this helps. 

Regards,
Chuck Faranda
http://ccdastro.com
 
 
----- Original Message -----
Sent: Friday, June 19, 2009 4:04 PM
Subject: Re: Re: [m1oasys] M1 communication

Chris:
My question still remains.  I will write my own code to automate the roof closure.  I appreciated the fact that other software exists to accomplish this function (I own CCDAutoPilot).  Where is the documentation, which would allow me to interface with the driver with a vbasic program.  I have everything I need...M1 installed, vbasic, ASCOM v5, ASCOM driver, I just need documentation e.g. CCSSoft Help nicely describes the Methods, Properties and Events that allow a vb program to either Call CCSoft or interface with CCDSoft as a plugin.
 
My kingdom for the documentation.
 
Bob Gillard
Plano, Texas



Jun 17, 2009 08:28:43 AM, m1oasys@yahoogroups.com wrote:


Hi Bob,  The ASCOM driver is included on your m1OASYS Installation CD.  The filename is m1OASYS.exe.  You can use this driver to communicate with CCDAutoPilot or ACP or CCDCommander.  It allows you to automate the opening and closing of the roof to coinside with your imaging runs.

This driver connects to the ELM M1 Gold system in the same fashion as your VB program would, i.e. through the m1XEP Ethernet adapter using the ASCII protocol we sent you earlier.  The driver requires ASCOM Platform 5 be installed prior to installing it.  Sorry the directions are not very clear on this...we are working on a much improved driver and installation guide.

Here is a blurb from our upcoming webpage....
The m1OASYS system includes an ASCOM driver that will integrate your observatory functions and automation rules, with popular image automation programs such as CCDAutopilot, ACP or CCD Commander. Included in our upcoming release of this driver is the ability to monitor, control and automate functions in your observatory based on weather conditions (support for a variety of weather stations as well as Boltwood I and II) and observatory conditions (such as AC Power Loss or Internet Failure).

-Chris
--- On Tue, 6/16/09, Bob Gillard <bobgillard@...> wrote:

From: Bob Gillard <bobgillard@...>
Subject: Re: [m1oasys] M1 communication
To: m1oasys@yahoogroups.com
Date: Tuesday, June 16, 2009, 12:37 PM

Chuck:
Please explain.  I know how to connect a vbasic program to TheSky or CCDsoft, but I'm not sure what ASCOM driver you are talking about.  Is there any documentation of commands for this ASCOM driver?  What is the file name of the Driver?
Bob Gillard
 
----- Original Message -----
Sent: Tuesday, June 16, 2009 10:29 AM
Subject: Re: [m1oasys] M1 communication

Bob,

Can you connect using the supplied ASCOM driver?

Regards,
Chuck Faranda
http://ccdastro. net

----- Original Message -----
From: "Bob Gillard" <bobgillard@verizon. net>
To: <m1oasys@yahoogroups .com>
Sent: Tuesday, June 16, 2009 9:14 AM
Subject: [m1oasys] M1 communication

> Folks:
> I'm working slowly, but surely in the implementation of the M1 system for
> my RoRo. Everything wired, able to connect via Ethernet with both the
> ELK-RP and browser. However, in the never ending quest to reinvent the
> wheel, I am writing vbasic code to coordinate imaging with unattended roof
> closure. I know, there is software that preforms this task.....but bear
> with me.
>
> My current problem is communicating with the M1 and the unencrypted port
> 2101. Despite turning off ALL Spyware and Firewalls I cannot connect my
> computer with the M1 thru this port e.g. HyperTerminal. I can connect
> HyperTerminal with the M1 thru port 2601, but the data is encrpyted. Any
> ideas and/or solutions will be appreciated.
>
> Kindest regards,
> Bob Gillard
> Plano, Texas
>
>
>
> ------------ --------- --------- ------
>
> Yahoo! Groups Links
>
>
>
>


#165 From: "Chuck Faranda" <mail_lists2@...>
Date: Fri Jun 19, 2009 8:24 pm
Subject: Re: Re: M1 communication
cfaranda24
Offline Offline
Send Email Send Email
 

Hi Bob,
 
I sent you the basics for communicating.  That coupled with the command protocols listing in the ELK docs I think Chris sent to you  is all you need.  If you are asking if there is source code for the existing software, sorry, no it is proprietary.

Regards,
Chuck Faranda
http://ccdastro.com
 
 
----- Original Message -----
Sent: Friday, June 19, 2009 4:04 PM
Subject: Re: Re: [m1oasys] M1 communication

Chris:
My question still remains.  I will write my own code to automate the roof closure.  I appreciated the fact that other software exists to accomplish this function (I own CCDAutoPilot).  Where is the documentation, which would allow me to interface with the driver with a vbasic program.  I have everything I need...M1 installed, vbasic, ASCOM v5, ASCOM driver, I just need documentation e.g. CCSSoft Help nicely describes the Methods, Properties and Events that allow a vb program to either Call CCSoft or interface with CCDSoft as a plugin.
 
My kingdom for the documentation.
 
Bob Gillard
Plano, Texas



Jun 17, 2009 08:28:43 AM, m1oasys@yahoogroups.com wrote:


Hi Bob,  The ASCOM driver is included on your m1OASYS Installation CD.  The filename is m1OASYS.exe.  You can use this driver to communicate with CCDAutoPilot or ACP or CCDCommander.  It allows you to automate the opening and closing of the roof to coinside with your imaging runs.

This driver connects to the ELM M1 Gold system in the same fashion as your VB program would, i.e. through the m1XEP Ethernet adapter using the ASCII protocol we sent you earlier.  The driver requires ASCOM Platform 5 be installed prior to installing it.  Sorry the directions are not very clear on this...we are working on a much improved driver and installation guide.

Here is a blurb from our upcoming webpage....
The m1OASYS system includes an ASCOM driver that will integrate your observatory functions and automation rules, with popular image automation programs such as CCDAutopilot, ACP or CCD Commander. Included in our upcoming release of this driver is the ability to monitor, control and automate functions in your observatory based on weather conditions (support for a variety of weather stations as well as Boltwood I and II) and observatory conditions (such as AC Power Loss or Internet Failure).

-Chris
--- On Tue, 6/16/09, Bob Gillard <bobgillard@...> wrote:

From: Bob Gillard <bobgillard@...>
Subject: Re: [m1oasys] M1 communication
To: m1oasys@yahoogroups.com
Date: Tuesday, June 16, 2009, 12:37 PM

Chuck:
Please explain.  I know how to connect a vbasic program to TheSky or CCDsoft, but I'm not sure what ASCOM driver you are talking about.  Is there any documentation of commands for this ASCOM driver?  What is the file name of the Driver?
Bob Gillard
 
----- Original Message -----
Sent: Tuesday, June 16, 2009 10:29 AM
Subject: Re: [m1oasys] M1 communication

Bob,

Can you connect using the supplied ASCOM driver?

Regards,
Chuck Faranda
http://ccdastro. net

----- Original Message -----
From: "Bob Gillard" <bobgillard@verizon. net>
To: <m1oasys@yahoogroups .com>
Sent: Tuesday, June 16, 2009 9:14 AM
Subject: [m1oasys] M1 communication

> Folks:
> I'm working slowly, but surely in the implementation of the M1 system for
> my RoRo. Everything wired, able to connect via Ethernet with both the
> ELK-RP and browser. However, in the never ending quest to reinvent the
> wheel, I am writing vbasic code to coordinate imaging with unattended roof
> closure. I know, there is software that preforms this task.....but bear
> with me.
>
> My current problem is communicating with the M1 and the unencrypted port
> 2101. Despite turning off ALL Spyware and Firewalls I cannot connect my
> computer with the M1 thru this port e.g. HyperTerminal. I can connect
> HyperTerminal with the M1 thru port 2601, but the data is encrpyted. Any
> ideas and/or solutions will be appreciated.
>
> Kindest regards,
> Bob Gillard
> Plano, Texas
>
>
>
> ------------ --------- --------- ------
>
> Yahoo! Groups Links
>
>
>
>


#164 From: bobgillard@...
Date: Fri Jun 19, 2009 8:04 pm
Subject: Re: Re: M1 communication
drbobplano
Offline Offline
Send Email Send Email
 
Chris:
My question still remains.  I will write my own code to automate the roof closure.  I appreciated the fact that other software exists to accomplish this function (I own CCDAutoPilot).  Where is the documentation, which would allow me to interface with the driver with a vbasic program.  I have everything I need...M1 installed, vbasic, ASCOM v5, ASCOM driver, I just need documentation e.g. CCSSoft Help nicely describes the Methods, Properties and Events that allow a vb program to either Call CCSoft or interface with CCDSoft as a plugin.
 
My kingdom for the documentation.
 
Bob Gillard
Plano, Texas



Jun 17, 2009 08:28:43 AM, m1oasys@yahoogroups.com wrote:


Hi Bob,  The ASCOM driver is included on your m1OASYS Installation CD.  The filename is m1OASYS.exe.  You can use this driver to communicate with CCDAutoPilot or ACP or CCDCommander.  It allows you to automate the opening and closing of the roof to coinside with your imaging runs.

This driver connects to the ELM M1 Gold system in the same fashion as your VB program would, i.e. through the m1XEP Ethernet adapter using the ASCII protocol we sent you earlier.  The driver requires ASCOM Platform 5 be installed prior to installing it.  Sorry the directions are not very clear on this...we are working on a much improved driver and installation guide.

Here is a blurb from our upcoming webpage....
The m1OASYS system includes an ASCOM driver that will integrate your observatory functions and automation rules, with popular image automation programs such as CCDAutopilot, ACP or CCD Commander. Included in our upcoming release of this driver is the ability to monitor, control and automate functions in your observatory based on weather conditions (support for a variety of weather stations as well as Boltwood I and II) and observatory conditions (such as AC Power Loss or Internet Failure).

-Chris
--- On Tue, 6/16/09, Bob Gillard <bobgillard@...> wrote:

From: Bob Gillard <bobgillard@...>
Subject: Re: [m1oasys] M1 communication
To: m1oasys@yahoogroups.com
Date: Tuesday, June 16, 2009, 12:37 PM

Chuck:
Please explain.  I know how to connect a vbasic program to TheSky or CCDsoft, but I'm not sure what ASCOM driver you are talking about.  Is there any documentation of commands for this ASCOM driver?  What is the file name of the Driver?
Bob Gillard
 
----- Original Message -----
Sent: Tuesday, June 16, 2009 10:29 AM
Subject: Re: [m1oasys] M1 communication

Bob,

Can you connect using the supplied ASCOM driver?

Regards,
Chuck Faranda
http://ccdastro. net

----- Original Message -----
From: "Bob Gillard" <bobgillard@verizon. net>
To: <m1oasys@yahoogroups .com>
Sent: Tuesday, June 16, 2009 9:14 AM
Subject: [m1oasys] M1 communication

> Folks:
> I'm working slowly, but surely in the implementation of the M1 system for
> my RoRo. Everything wired, able to connect via Ethernet with both the
> ELK-RP and browser. However, in the never ending quest to reinvent the
> wheel, I am writing vbasic code to coordinate imaging with unattended roof
> closure. I know, there is software that preforms this task.....but bear
> with me.
>
> My current problem is communicating with the M1 and the unencrypted port
> 2101. Despite turning off ALL Spyware and Firewalls I cannot connect my
> computer with the M1 thru this port e.g. HyperTerminal. I can connect
> HyperTerminal with the M1 thru port 2601, but the data is encrpyted. Any
> ideas and/or solutions will be appreciated.
>
> Kindest regards,
> Bob Gillard
> Plano, Texas
>
>
>
> ------------ --------- --------- ------
>
> Yahoo! Groups Links
>
>
>
>


#163 From: Chris Hetlage <chrishet55@...>
Date: Wed Jun 17, 2009 1:27 pm
Subject: Re: M1 communication
chrishet55
Online Now Online Now
Send Email Send Email
 
Hi Bob,  The ASCOM driver is included on your m1OASYS Installation CD.  The filename is m1OASYS.exe.  You can use this driver to communicate with CCDAutoPilot or ACP or CCDCommander.  It allows you to automate the opening and closing of the roof to coinside with your imaging runs.

This driver connects to the ELM M1 Gold system in the same fashion as your VB program would, i.e. through the m1XEP Ethernet adapter using the ASCII protocol we sent you earlier.  The driver requires ASCOM Platform 5 be installed prior to installing it.  Sorry the directions are not very clear on this...we are working on a much improved driver and installation guide.

Here is a blurb from our upcoming webpage....
The m1OASYS system includes an ASCOM driver that will integrate your observatory functions and automation rules, with popular image automation programs such as CCDAutopilot, ACP or CCD Commander. Included in our upcoming release of this driver is the ability to monitor, control and automate functions in your observatory based on weather conditions (support for a variety of weather stations as well as Boltwood I and II) and observatory conditions (such as AC Power Loss or Internet Failure).

-Chris
--- On Tue, 6/16/09, Bob Gillard <bobgillard@...> wrote:

From: Bob Gillard <bobgillard@...>
Subject: Re: [m1oasys] M1 communication
To: m1oasys@yahoogroups.com
Date: Tuesday, June 16, 2009, 12:37 PM

Chuck:
Please explain.  I know how to connect a vbasic program to TheSky or CCDsoft, but I'm not sure what ASCOM driver you are talking about.  Is there any documentation of commands for this ASCOM driver?  What is the file name of the Driver?
Bob Gillard
 
----- Original Message -----
Sent: Tuesday, June 16, 2009 10:29 AM
Subject: Re: [m1oasys] M1 communication

Bob,

Can you connect using the supplied ASCOM driver?

Regards,
Chuck Faranda
http://ccdastro. net

----- Original Message -----
From: "Bob Gillard" <bobgillard@verizon. net>
To: <m1oasys@yahoogroups .com>
Sent: Tuesday, June 16, 2009 9:14 AM
Subject: [m1oasys] M1 communication

> Folks:
> I'm working slowly, but surely in the implementation of the M1 system for
> my RoRo. Everything wired, able to connect via Ethernet with both the
> ELK-RP and browser. However, in the never ending quest to reinvent the
> wheel, I am writing vbasic code to coordinate imaging with unattended roof
> closure. I know, there is software that preforms this task.....but bear
> with me.
>
> My current problem is communicating with the M1 and the unencrypted port
> 2101. Despite turning off ALL Spyware and Firewalls I cannot connect my
> computer with the M1 thru this port e.g. HyperTerminal. I can connect
> HyperTerminal with the M1 thru port 2601, but the data is encrpyted. Any
> ideas and/or solutions will be appreciated.
>
> Kindest regards,
> Bob Gillard
> Plano, Texas
>
>
>
> ------------ --------- --------- ------
>
> Yahoo! Groups Links
>
>
>
>


#162 From: "Chuck Faranda" <mail_lists2@...>
Date: Tue Jun 16, 2009 9:12 pm
Subject: Re: M1 communication
cfaranda24
Offline Offline
Send Email Send Email
 
Bob,
 
Didn't you get the installation CD with m1OASYS Live on it?  This SW is the ASCOM driver and control for the m1.

Regards,
Chuck Faranda
http://ccdastro.com
 
 
----- Original Message -----
Sent: Tuesday, June 16, 2009 12:37 PM
Subject: Re: [m1oasys] M1 communication

Chuck:
Please explain.  I know how to connect a vbasic program to TheSky or CCDsoft, but I'm not sure what ASCOM driver you are talking about.  Is there any documentation of commands for this ASCOM driver?  What is the file name of the Driver?
Bob Gillard
 
----- Original Message -----
Sent: Tuesday, June 16, 2009 10:29 AM
Subject: Re: [m1oasys] M1 communication

Bob,

Can you connect using the supplied ASCOM driver?

Regards,
Chuck Faranda
http://ccdastro.net

----- Original Message -----
From: "Bob Gillard" <bobgillard@verizon.net>
To: <m1oasys@yahoogroups.com>
Sent: Tuesday, June 16, 2009 9:14 AM
Subject: [m1oasys] M1 communication

> Folks:
> I'm working slowly, but surely in the implementation of the M1 system for
> my RoRo. Everything wired, able to connect via Ethernet with both the
> ELK-RP and browser. However, in the never ending quest to reinvent the
> wheel, I am writing vbasic code to coordinate imaging with unattended roof
> closure. I know, there is software that preforms this task.....but bear
> with me.
>
> My current problem is communicating with the M1 and the unencrypted port
> 2101. Despite turning off ALL Spyware and Firewalls I cannot connect my
> computer with the M1 thru this port e.g. HyperTerminal. I can connect
> HyperTerminal with the M1 thru port 2601, but the data is encrpyted. Any
> ideas and/or solutions will be appreciated.
>
> Kindest regards,
> Bob Gillard
> Plano, Texas
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>


#161 From: "Bob Gillard" <bobgillard@...>
Date: Tue Jun 16, 2009 4:37 pm
Subject: Re: M1 communication
drbobplano
Offline Offline
Send Email Send Email
 
Chuck:
Please explain.  I know how to connect a vbasic program to TheSky or CCDsoft, but I'm not sure what ASCOM driver you are talking about.  Is there any documentation of commands for this ASCOM driver?  What is the file name of the Driver?
Bob Gillard
 
----- Original Message -----
Sent: Tuesday, June 16, 2009 10:29 AM
Subject: Re: [m1oasys] M1 communication

Bob,

Can you connect using the supplied ASCOM driver?

Regards,
Chuck Faranda
http://ccdastro.net

----- Original Message -----
From: "Bob Gillard" <bobgillard@verizon.net>
To: <m1oasys@yahoogroups.com>
Sent: Tuesday, June 16, 2009 9:14 AM
Subject: [m1oasys] M1 communication

> Folks:
> I'm working slowly, but surely in the implementation of the M1 system for
> my RoRo. Everything wired, able to connect via Ethernet with both the
> ELK-RP and browser. However, in the never ending quest to reinvent the
> wheel, I am writing vbasic code to coordinate imaging with unattended roof
> closure. I know, there is software that preforms this task.....but bear
> with me.
>
> My current problem is communicating with the M1 and the unencrypted port
> 2101. Despite turning off ALL Spyware and Firewalls I cannot connect my
> computer with the M1 thru this port e.g. HyperTerminal. I can connect
> HyperTerminal with the M1 thru port 2601, but the data is encrpyted. Any
> ideas and/or solutions will be appreciated.
>
> Kindest regards,
> Bob Gillard
> Plano, Texas
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>


Messages 161 - 190 of 190   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help