Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Isadora: Communication & Sensors:
Net Broadcaster--Data recived differently on different computers

 

 


dritter
Novice

May 21, 2008, 6:21 AM

Post #1 of 16 (2967 views)
Shortcut
Net Broadcaster--Data recived differently on different computers Can't Post

I have a strange problem involving a network of 4 computers running Isadora. I have one Mac sending data to three other Mac’s using Net Broadcaster, but one interprets the data incorrectly and it also responds slower to the received data that is used to trigger a QT movie. For example, If I send the number 98 to all three machines simultaneously, two machines receive it correctly while the problem machine receives it as –214783648. The three receiving machines are running the identical patch, and the problem machine is the fastest of the three, a 2.4Ghz Intel-Imac. I have checked the language and number preferences and they are set to US on all three machines, although the problem machine has a German keyboard. Below are the OS and QT versions for each machine.

Sending Mac: osx 10.4.2
Receiving Mac 1: osx 10.4.10 QT 7.1.6
Receiving Mac 2: osx 10.4.11 QT 7.3
Receiving Mac 3: osx 10.4.11 QT 7.4.5

If Mark or anyone knows what the problem could be, I would greatly appreciate a suggestion. Thank you.

Don


jhoepffner
User

May 22, 2008, 12:27 AM

Post #2 of 16 (2938 views)
Shortcut
Re: [dritter] Net Broadcaster--Data recived differently on different computers [In reply to] Can't Post

hello,

I don't use anymore netbroadcaster, too much problems. I prefer to use OSC, more robust and easyer to configure.

Since I use OSC, I don't have any problems.

jhoepffner


nick
User

May 22, 2008, 12:41 AM

Post #3 of 16 (2936 views)
Shortcut
Re: [jhoepffner] Net Broadcaster--Data recived differently on different computers [In reply to] Can't Post

What is the mix of machines in terms of ppc and intel - is the problem one the only intel one in the mix.

If it is then I would suspect a bug to do with the difference in the way ppc and intel represent numbers (big or little endian) meaning the intel one thinks its a really big negative number.

HTH
Cheers

Nick


dritter
Novice

May 22, 2008, 2:49 AM

Post #4 of 16 (2932 views)
Shortcut
Re: [nick] Net Broadcaster--Data recived differently on different computers [In reply to] Can't Post

Nick, thanks for your reply. Yes, the problem machine is the only Intel, the others are g5's.

Don


dritter
Novice

May 22, 2008, 3:28 AM

Post #5 of 16 (2928 views)
Shortcut
Re: [jhoepffner] Net Broadcaster--Data recived differently on different computers [In reply to] Can't Post

ok, thanks, I will try osc

Don


Mark Coniglio
TroikaTronix / Moderator

May 28, 2008, 11:59 PM

Post #6 of 16 (2123 views)
Shortcut
Re: [dritter] Net Broadcaster--Data recived differently on different computers [In reply to] Can't Post

Are you running 1.2.9 on all machines? There may have been a PPC/intel incompatibility in the previous versions.

Best,
Mark

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Mark Coniglio / TroikaTronix
Creator of Isadora


dritter
Novice

May 29, 2008, 2:21 AM

Post #7 of 16 (2098 views)
Shortcut
Re: [Mark Coniglio] Net Broadcaster--Data recived differently on different computers [In reply to] Can't Post

Hi Mark, yes, I am using 1.2.9. I have rewritten the communication between the machines using OSC instread of Net Broadcaster and am getting the same problem.

Don


Mark Coniglio
TroikaTronix / Moderator

May 29, 2008, 6:43 AM

Post #8 of 16 (2049 views)
Shortcut
Re: [dritter] Net Broadcaster--Data recived differently on different computers [In reply to] Can't Post

Dear Don,

Well this is very strange. There is another thread on this forum where someone else claimed to have the same problem, and I went and testing OSC on every configuration of PPC and Intel and it all worked. (PPC -> PPC, PPC -> Intel, Intel->PPC, Intel->Intel.)

I don't know exactly what to say... or, unfortunately, how to test this right now because I don't have the two required machines available to me.

I will just have to look into it as soon as I am able...

Please do file a bug report though at

http://www.troikatronix.com/isadorabugs.html

Best,
Mark

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Mark Coniglio / TroikaTronix
Creator of Isadora


dritter
Novice

May 29, 2008, 7:26 AM

Post #9 of 16 (2040 views)
Shortcut
Re: [Mark Coniglio] Net Broadcaster--Data recived differently on different computers [In reply to] Can't Post

ok, thanks Mark, at the moment I am dealing with some other aspects of the patch, but will get back to the communciation details in a few days.

Don


dritter
Novice

May 31, 2008, 12:03 PM

Post #10 of 16 (1864 views)
Shortcut
Re: [Mark Coniglio] Net Broadcaster--Data recived differently on different computers [In reply to] Can't Post

Mark, I have looked into this problem and it seems to be related to outputs from macros. The osc listener actor is inside of a macro. Inside the macro the data is correct, but outside it is not correct. See attached file: commerror.izz. There was nothing attached to the output on the outside of the macro. This problem only appears on an Intel mac, not on PPC’s.

I also discovered that the error exists when the data type is set to “match property” but it is gone if it is set to “Integer.”So this is a solution.

Don


Mark Coniglio
TroikaTronix / Moderator

May 31, 2008, 9:29 PM

Post #11 of 16 (1845 views)
Shortcut
Re: [dritter] Net Broadcaster--Data recived differently on different computers [In reply to] Can't Post

I don't think you added the attachment!

Best,
Mark

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Mark Coniglio / TroikaTronix
Creator of Isadora


dritter
Novice

Jun 1, 2008, 2:22 AM

Post #12 of 16 (1826 views)
Shortcut
Re: [Mark Coniglio] Net Broadcaster--Data recived differently on different computers [In reply to] Can't Post

Hi Mark, sorry, here it is.

Don
Attachments: commerror.izz (6.89 KB)


Mark Coniglio
TroikaTronix / Moderator

Jun 1, 2008, 4:04 AM

Post #13 of 16 (1821 views)
Shortcut
Re: [dritter] Net Broadcaster--Data recived differently on different computers [In reply to] Can't Post

OK -- well this does seem to be a bug. The type of the output in question is a float -- i.e., a floating point number with numbers after the decimal point. But you have the 'type' input of the OSC Listener set to ingteger. Isadora should handle the conversion properly, but it ain't. Smile

To solve this for the moment, double click the User Output in question (inside the User Actor) and change it's type to Integer.

(Probably what happened is this: you connected the OSC Listener and User Output while it was still a float, i.e., before you changed the 'type' input to integer. But since the User Output was set to "Match Property" it had already mutated into a float. That's understandable and probably what would be best for UI consistency. But the fact that it doesn't convert properly is certainly a problem.)

Best,
Mark

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Mark Coniglio / TroikaTronix
Creator of Isadora


dritter
Novice

Jun 1, 2008, 6:20 AM

Post #14 of 16 (1817 views)
Shortcut
Re: [Mark Coniglio] Net Broadcaster--Data recived differently on different computers [In reply to] Can't Post

Thanks Mark, the input being sent is integer, not float. It is just a 0 or a 1 being sent from the other machine. I had been programming Isadora on a PPC machine for the past few weeks, but today I was programming on the Intel machine. I noticed the same problem with other macro outputs on this so it doesn't seem to be related to OSC.

all the best
Don


Mark Coniglio
TroikaTronix / Moderator

Jun 2, 2008, 11:02 PM

Post #15 of 16 (1707 views)
Shortcut
Re: [dritter] Net Broadcaster--Data recived differently on different computers [In reply to] Can't Post

I've already implemented a fix in the upcoming version for your problem.

Best,
Mark

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Mark Coniglio / TroikaTronix
Creator of Isadora


dritter
Novice

Jun 3, 2008, 1:06 AM

Post #16 of 16 (1700 views)
Shortcut
Re: [Mark Coniglio] Net Broadcaster--Data recived differently on different computers [In reply to] Can't Post

thanks Mark!

Don

 
 
 


Search for (options) copyright © TroikaTronix 2007