Sending commands to Nightshade over a network

Asked by Scott Sumner

Hello,

I'd like to be able to send commands to Nightshade over a network. The idea would be to have kiosks where "I want to see this" is entered and then send the info as stratoscript commands up to a Nightshade machine to actually display.

Thanks,
Scott

Question information

Language:
English Edit question
Status:
Answered
For:
Nightshade Legacy Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Lionel RUIZ (astro2kpremium) said :
#1

Hi Scott,

Three ways are possible to do the job.

1) the CTRL+D trick
Maybe you are aware that CTR+D launch the demo.sts script.
If you manage to open a FTP connection through this folder, you can upload your own script
doing what you want in this position.
Then, by pressing CTRL+D you can launch your prepared stratoscript commands.

2) the nscontrol
Rob and his staff developped the Skypad using a special protocol to interact with nightshade.
It's poorly documented at the moment but it's the best possibility to do interactive communications.
I let Rob talk about the possibility to use it. I didn't manage to get something from it at the moment.

3) the masterput control
As I needed to get want you want, I developped a coding to do the stuff. But digitalis didn't accepted
it in their main branch, so I kept it for the LSS system. This source code is available through the LSS main website. http://www.lss-planetariums.info/
To use it you have to create a ~/.nightshade/ftp/pub/ folder and put in it a script.sts file containing the commands and a void masterput.launch file launching the activation. This last file is automatically erased after use.

Best regards,

Lionel RUIZ

Revision history for this message
Rob Spearman (rob-digitaliseducation) said :
#2

The nscontrol library is the supported method of controlling Nightshade. It is design for local control on the same machine, however. So you would need to handle your own network interface code.

We need to get the documentation finished and posted, but check out the nscontrol directory in the source.

If you just need something off the shelf, Digitalis has embedded computers set up with Nightshade that can be controlled over the network out of the box for this type use. Contact me directly for more info.

Rob

Revision history for this message
Scott Sumner (scottinthebooth) said :
#3

Any update on nscontrol documentation? I've got a project coming up that I'd like to control this way.

Thanks,
Scott

Revision history for this message
Rob Spearman (rob-digitaliseducation) said :
#4

We are in the process of making major changes for Nightshade 12. One almost certain change is the nscontrol interface. Therefore we are not devoting time to documenting until the changes are done.

We are hoping to have NS12 ready by July. If you need something in the meantime, you would need to look through the nscontrol source code (look in the nscontrol directory).

Rob

Can you help with this problem?

Provide an answer of your own, or ask Scott Sumner for more information if necessary.

To post a message you must log in.