DCC-EX / Support-Planning

DCC++EX Repo to hold project planning documentation and processes
1 stars 1 forks source link

Ticket Submitted via Website #511

Closed fire-bot closed 1 year ago

fire-bot commented 1 year ago

Sent by (dccextended@gmail.com). Created by fire.


Edwin created a ticket

Name: Edwin Simon

Email: simonedwin41@gmail.com

Timezone: -6

Software: EX-CommandStation

Version: 4.0.x

Title: Graphical Program Integration

Description: I have previously written a Windows program for the design and simulation of model railroad layouts. I would now like to integrate this simulation to the physical hardware. I can currently control turnouts and block power through an Arduino mega or multiple Arduino microprocessors. I would like to expand this to controlling engines using the DCC interface. Is there available a User-control or DLL available that can be used with your DCC-EX that would provide the functions needed to integrate with my graphical interface software? PS: The simulator I wrote contains many of the functions in EX-RAIL. Is there a User-control or a DLL available for this software? Thanks Ed PS: Fantastic write-up of the DCC-EX software. I write HOW-TO articles for a national magazine, and I know how hard it is to cover all options and still be understandable by the novice.

Remaining email Quota: 100


Attachments:

  1. Train_-_Challange01-IDE-_Interactive_Develpmernt_Environment.jpg
Asbelos commented 1 year ago

No we don't have a dll but you should be able to do the controls via a simple socket (not a websocket!) if you have wifi on your command station. Basically you will have to open a socket to the commnd station, send easily formatted text commands and asynchronously accept responses and broadcast messages which are human readable and readily parsed.First thing to do is write a minimal test program to do the connect, send "" and display the result... after that everything is easy. On 26 Feb 2023 16:50, Fire @.> wrote: Sent by @.). Created by fire.

Edwin created a ticket Name: Edwin Simon Email: @.*** Timezone: -6 Software: EX-CommandStation Version: 4.0.x Title: Graphical Program Integration Description: I have previously written a Windows program for the design and simulation of model railroad layouts. I would now like to integrate this simulation to the physical hardware. I can currently control turnouts and block power through an Arduino mega or multiple Arduino microprocessors. I would like to expand this to controlling engines using the DCC interface. Is there available a User-control or DLL available that can be used with your DCC-EX that would provide the functions needed to integrate with my graphical interface software? PS: The simulator I wrote contains many of the functions in EX-RAIL. Is there a User-control or a DLL available for this software? Thanks Ed PS: Fantastic write-up of the DCC-EX software. I write HOW-TO articles for a national magazine, and I know how hard it is to cover all options and still be understandable by the novice. Remaining email Quota: 100

Attachments: Train_-Challange_01-IDE-_Interactive_Develpmernt_Environment.jpg

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>