These adverts are supporting the forum's costs and the products/services are not endorsed by the forum owners.
First have you tried?
Log in to Search the Forum for help!
Learn more about using FreeStyler at the FreeStyler WIKI HERE
Learn more about DMX in General at The DMX Wiki HERE

if all else fails and you need a fixture consider the fixture building service HERE

Android Server TCP/IP

Discuss the latest developments or get support for them HERE.
User avatar
Spirit
Pro Supporter! (Moderator)
Posts: 1421
Joined: July 10th, 2010, 8:55 pm
FreeStyler Version: 3.5.9
I Use FreeStyler for: Nightclub Lighting

Re: Android Server TCP/IP

Post by Spirit »

I also have a laptop with touchscreen, and i can rotate the screen so i have a Tablet.

but i have been thinking about RDP (Remote desktop).


AMD FX-6100 (3.6ghz)x6, Nvidia 770GTX 4GB, 8GB Ram,ROG MB, enttec Pro, Open enttec, Velleman, T2250MTS-B1 22"touchscreen, Ilyama 23" screen, scans, dimm, rgbled, laser, soundsystem Just a drive-in show. Live and Dance
vinnygogo
Starting to get to grips with FreeStyler
Posts: 15
Joined: September 7th, 2011, 1:49 pm
FreeStyler Version: 3.3.2
I Use FreeStyler for: Stage Show

Re: Android Server TCP/IP

Post by vinnygogo »

ok, could be an option. but how does that work on your network using only 2 laptops and a router without internet connection?
User avatar
Spirit
Pro Supporter! (Moderator)
Posts: 1421
Joined: July 10th, 2010, 8:55 pm
FreeStyler Version: 3.5.9
I Use FreeStyler for: Nightclub Lighting

Re: Android Server TCP/IP

Post by Spirit »

Yes thats a Realy good Quastion only i don't have the anwser.
Still need to figure that out my self. :)

Like i sad i have been Thinking about that only i don't need it at the moment, so no use to figure that out.
AMD FX-6100 (3.6ghz)x6, Nvidia 770GTX 4GB, 8GB Ram,ROG MB, enttec Pro, Open enttec, Velleman, T2250MTS-B1 22"touchscreen, Ilyama 23" screen, scans, dimm, rgbled, laser, soundsystem Just a drive-in show. Live and Dance
vinnygogo
Starting to get to grips with FreeStyler
Posts: 15
Joined: September 7th, 2011, 1:49 pm
FreeStyler Version: 3.3.2
I Use FreeStyler for: Stage Show

Re: Android Server TCP/IP

Post by vinnygogo »

nobody else with a different solution?
User avatar
Mattotone
Android Dev (Moderator)
Posts: 1238
Joined: July 10th, 2007, 5:30 pm
FreeStyler Version: BETA
I Use FreeStyler for: Just for the Fun of it.

Re: Android Server TCP/IP

Post by Mattotone »

Remote desktop or real vnc may be your friend in this instance. No internet connection required just your 2 pc and for simplcity a wireless router.
Freestyler Addons www.120db.uk
Free Dropbox. 2GB account http://db.tt/J4c5G8C
$100 free credit @DigitalOcean Private Server: https://m.do.co/c/5c4a7c7d6693
Freestyler Android App: https://play.google.com/store/apps/deta ... rts.fs1024
vinnygogo
Starting to get to grips with FreeStyler
Posts: 15
Joined: September 7th, 2011, 1:49 pm
FreeStyler Version: 3.3.2
I Use FreeStyler for: Stage Show

Re: Android Server TCP/IP

Post by vinnygogo »

ok, ill try out a little with that in the weekend. thanks in advance!
vinnygogo
Starting to get to grips with FreeStyler
Posts: 15
Joined: September 7th, 2011, 1:49 pm
FreeStyler Version: 3.3.2
I Use FreeStyler for: Stage Show

Re: Android Server TCP/IP

Post by vinnygogo »

found a great solution between the 2 windows pc's. using real vnc. works like a charm!
CutDMX12
Starting to get to grips with FreeStyler
Posts: 29
Joined: January 27th, 2008, 2:10 pm
FreeStyler Version: 3.5.2
I Use FreeStyler for: Theater

Re: Android Server TCP/IP

Post by CutDMX12 »

Hi all,

This might be a silly question... Is there a way to send a commend to the TCP/IP server to select X fixture???

Because I tried:
select 1
select1
select 1 PAR64 L-1
locate 1
locate1
etc...
And nothing works except the selectAll...

Thanks
C12,
User avatar
Mattotone
Android Dev (Moderator)
Posts: 1238
Joined: July 10th, 2007, 5:30 pm
FreeStyler Version: BETA
I Use FreeStyler for: Just for the Fun of it.

Re: Android Server TCP/IP

Post by Mattotone »

i don't beleave fs has an option for this and therefore the server doest support it.
Freestyler Addons www.120db.uk
Free Dropbox. 2GB account http://db.tt/J4c5G8C
$100 free credit @DigitalOcean Private Server: https://m.do.co/c/5c4a7c7d6693
Freestyler Android App: https://play.google.com/store/apps/deta ... rts.fs1024
poland fun
Just started using FS
Posts: 13
Joined: September 15th, 2011, 12:58 am
FreeStyler Version: 3.3.2
I Use FreeStyler for: Theater

one bug and one request

Post by poland fun »

i am working on an android app (first one ever) for controlling individual channel values and playing and controlling speed of sequences, unfortunately i have ran into one problem; as the server accept packets i think it leaks the memory somewhere because when it gets to several thousand, it stops accepting packets and stops responding when you try to close it.

i have done this using a simple php script on my webserver like so:

Code: Select all

<?php

$IP  = '127.0.0.1';
$PORT    = '3000';

$socket = pfsockopen($IP,$PORT);

while(1!=0)
{
fputs($socket,'Ch 1 @ DMX 100');
usleep(20000);
}

?>
to get to the crash number you might have to refresh this script a few times because of the 30 second page timeout. I understand this bug is a bit out of reach for normal use, but heavy use like a show might just stop working

thats the bug, and now the feature request. Is it possible to include a way to send a string of commands in one tcp packet and just have the server process it as it gets to it? something like this "Ch 1|2|3 @ DMX 100|200|300" and this packet would be split upon reception and put into a buffer and channel 1 would be set to 100, ch 2 to 200, and 3 to 300; maybe include the command in a separate identifier like [*....*] so it can have a separate execution path to split it into buffer

this would greatly serve to cut down on the number of packets needed to be sent. it would also cut down on the data transfer needed if you wanted to update all 512 channels at once, instead of having a separate commands for each channel
User avatar
Mattotone
Android Dev (Moderator)
Posts: 1238
Joined: July 10th, 2007, 5:30 pm
FreeStyler Version: BETA
I Use FreeStyler for: Just for the Fun of it.

Re: Android Server TCP/IP

Post by Mattotone »

unfortunately the server has been discontinued and has been replaced with the one built into freestyler its self.

nice idea for the multiple value update.
The leak had been detected and i think it was fixed for the next release that never came due to the new server implementation.

Kind regards
Matt
Freestyler Addons www.120db.uk
Free Dropbox. 2GB account http://db.tt/J4c5G8C
$100 free credit @DigitalOcean Private Server: https://m.do.co/c/5c4a7c7d6693
Freestyler Android App: https://play.google.com/store/apps/deta ... rts.fs1024
poland fun
Just started using FS
Posts: 13
Joined: September 15th, 2011, 12:58 am
FreeStyler Version: 3.3.2
I Use FreeStyler for: Theater

Re: Android Server TCP/IP

Post by poland fun »

ah thank you for the quick reply.

time to learn the internal server mechanics now :)
Locked

Return to “FreeStyler 3rd Party Addons and utilities”