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

TCP Server Client C#

Discuss the latest developments or get support for them HERE.
Post Reply
User avatar
Mattotone
Android Dev (Moderator)
Posts: 1238
Joined: 10 Jul 2007, 17:30
FreeStyler Version: BETA
I Use FreeStyler for: Just for the Fun of it.

Re: TCP Server Client C#

Post by Mattotone »

never used but imagine it increments the gobo channel value by one ie. 1,2,3,4,5,6 ... 255
where as next gobo selects the next gobo in the fixtures list


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
User avatar
Mattotone
Android Dev (Moderator)
Posts: 1238
Joined: 10 Jul 2007, 17:30
FreeStyler Version: BETA
I Use FreeStyler for: Just for the Fun of it.

Re: TCP Server Client C#

Post by Mattotone »

well max byte is 255.
i imagine it will be {70,83,79,68,255,49,0 to 255,0,0}
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
Knight
Knows how to turn Lights ON
Posts: 7
Joined: 27 Nov 2010, 08:12
FreeStyler Version: 3.4.6

Re: TCP Server Client C#

Post by Knight »

Mmax, did you already find out how to send 1@dmx255 or simulair ?

When i see your code i don't understand how you define 1 click.
The table says command 1 = 320
So i guess it has to be:
{70,83,79,68,320,0,255,0,0) // 1 click
{70,83,79,68,320,0,0,0,0) // 1 release

@Mattotone - can you please help me/us out.

Lot off commands do work, but only single line commands like ' select next fixture = 288' or 'Master 100% = 151'.
Still i can't get the commands to work that sends values to channels.

When i open the command line feature in, and i sent i.e command 1, can i actually see the number in the command line ? So does the command line tool get filled with all the commands we send until we cleat it ?
Because i don't see anything happen, but when i set master 100% i see it pop up.
Knight
Knows how to turn Lights ON
Posts: 7
Joined: 27 Nov 2010, 08:12
FreeStyler Version: 3.4.6

Re: TCP Server Client C#

Post by Knight »

ah clear, missed the 'split up' part.

Fog level does work. When i send FSOC304100 it sets the level to 39%.
Knight
Knows how to turn Lights ON
Posts: 7
Joined: 27 Nov 2010, 08:12
FreeStyler Version: 3.4.6

Re: TCP Server Client C#

Post by Knight »

It;s the same table you use for byte protocol except there is no need to recalculate.

For example blackout = 002 then you send FSOC002255 (where 255 is click)
In the table it says: Fog level 304 0 to 255 this makes: FSOC304xxx (where xxx= 0-255).
User avatar
LJ_krede.dk
Moderator
Posts: 1028
Joined: 29 Oct 2007, 20:01
FreeStyler Version: 3.3.7
I Use FreeStyler for: Where do I start?

Re: TCP Server Client C#

Post by LJ_krede.dk »

/LJ_krede.dk
Aalborg, Denmark
Moderator, Supporter and Bug report manager for the FreeStyler community
Found a bug? Submit a Bug Report
jg5985
Knows how to turn Lights ON
Posts: 8
Joined: 06 Feb 2008, 04:09
FreeStyler Version: 3.0.1
I Use FreeStyler for: Stage Show

Re: TCP Server Client C#

Post by jg5985 »

How do you tell freestyler your disconnecting and close the connection?
If i close then reopen my sending application the connection )or close and reopen the socket) the connect is refused by freestyler unless i click the disconnect all button first within freestyler.
jg5985
Knows how to turn Lights ON
Posts: 8
Joined: 06 Feb 2008, 04:09
FreeStyler Version: 3.0.1
I Use FreeStyler for: Stage Show

Re: TCP Server Client C#

Post by jg5985 »

never mind solved the issue just added the following before terminating the executable.

clientStream.Close();
client.Close();
youngkwangk
Knows how to turn Lights ON
Posts: 3
Joined: 24 Sep 2012, 20:38
I Use FreeStyler for: Church

Re: TCP Server Client C#

Post by youngkwangk »

Hello I have a question.

I understand that you should split codes greater than 255, but how would you do codes greater than 510.
For example, 595 - submaster list change 1 ?
User avatar
Mattotone
Android Dev (Moderator)
Posts: 1238
Joined: 10 Jul 2007, 17:30
FreeStyler Version: BETA
I Use FreeStyler for: Just for the Fun of it.

Re: TCP Server Client C#

Post by Mattotone »

dont think it is reachable.
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
Mitologico
Knows how to turn Lights ON
Posts: 3
Joined: 15 Jun 2016, 12:02
FreeStyler Version: 3.6.3
I Use FreeStyler for: Stage Show

Re: TCP Server Client C#

Post by Mitologico »

Hello!
How can i read the caption of override buttons using c#?
Thaks!
Mitologico
Knows how to turn Lights ON
Posts: 3
Joined: 15 Jun 2016, 12:02
FreeStyler Version: 3.6.3
I Use FreeStyler for: Stage Show

Re: TCP Server Client C#

Post by Mitologico »

Solved! I used StreamReader object!
Mitologico
Knows how to turn Lights ON
Posts: 3
Joined: 15 Jun 2016, 12:02
FreeStyler Version: 3.6.3
I Use FreeStyler for: Stage Show

Re: TCP Server Client C#

Post by Mitologico »

In the next relaese can you implement a code for request the override button tab caption? i'm working for a web GUI using jquery and php
MDAR
Knows how to turn Lights ON
Posts: 7
Joined: 20 Aug 2015, 18:26
I Use FreeStyler for: Home Lighting Control

Re: TCP Server Client C#

Post by MDAR »

Hi

Just a quick question...

Can someone tell me where i can find the list of TCP/IP command codes.

I've been searching for an hour and can't locate them..

Thanks in advance.

Stuart

Now I feel like a fool...

There was I looking on the website and forums, it never occured to me to look on my own harddrive....

"Full documentation for this and the send message protocol can be found in your FS instalation directory"
Post Reply

Return to “FreeStyler 3rd Party Addons and utilities”