Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2015-12-07 09:37:26

jinyistudio
Member
From: Taichung/Taiwan
Registered: 2015-12-07
Posts: 24
Website

Arbitrary script executable on the Raspberry Pi ??

Hi

Could you tell me what is "Arbitrary script executable on the Raspberry Pi" ?

Offline

#2 2015-12-07 10:29:50

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: Arbitrary script executable on the Raspberry Pi ??

Hi,
for sure I could, but what topic forum, webpage or documentation is this question related to?

Arbitrary script means that it can be a shell script (on Windows this would be a batch file), a Python script or a script in any other language (e.g. PHP).

If you are referring to this general description of REX on the Raspberry Pi then it means that you can e.g. read some sensor value using e.g. a Python script and then pass the value to the control algorithm. Or you can have some control algorithm in REX and pass its output to a script which will execute the necessary actions.

To be more specific, you can e.g. have a Python script which will read text messages from a GSM modem, parse them and pass the numeric values into the control algorithm. This allows you to define e.g. the desired temperature in your house via a text message.

Offline

#3 2015-12-07 11:19:32

jinyistudio
Member
From: Taichung/Taiwan
Registered: 2015-12-07
Posts: 24
Website

Re: Arbitrary script executable on the Raspberry Pi ??

Hi

Thank's for your reply.

I have a another question. does java could be a script and then pass data into rex ? wink

Offline

#4 2015-12-07 21:15:04

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: Arbitrary script executable on the Raspberry Pi ??

If you are able to run Java program on your Raspberry Pi, then you can exchange data with REX. The same holds for any script or program.

Offline

Board footer

Powered by FluxBB