• es

    Hello,

    I have written some vi's with Labview and I can send messages from labview via TCP to PD. Now I want to get the messages in PD and than unpack them or write them in a file with a specific format. I mean the messages are motion Data in x,y an z direction like this:

    x y z

    45 63 23
    44 32 21
    98 23 11
    .
    .
    .
    .
    I have written a patch using [tcpclient]to get the Data but I dont know

    1-how the messages come to pd, I mean in which order.
    2-is there any index for the messages and recieved data to access a specific element of a message?
    2-how can I save the Data in original order in a file?

    Can somebody help me solving these problems?

    see Attachment

    http://www.pdpatchrepo.info/hurleur/TCP_out.pd

    posted in technical issues read more
  • es

    Hello,

    I recieve osc messages in my pd patch in a sequence and they are printed like this:

    /wii/a 0;
    /wii/b 0;
    /wii/x 0.122659;
    /wii/y 0.598212;
    /wii/z -0.0285929;
    /wii/roll 10.5434;
    .
    .
    .

    Now I am trying to concatenate only the floating numbers in a list and than split them through [unpack f f f f] to use the Data separately and parallel but not sequentially.
    Can somebody tell me, how can I make such a list.

    posted in technical issues read more
  • es

    Hello,

    I have written a patch, which recieves Data as OSC messages and can print them. How can I save this messages to a local file?
    I have tried to use the [textfile] to save the Data to a file. Unfortunately it is something wrong with it. The patch recieves Data via OSC and can print them but it cannot write it to a local file.
    can somebody help me?
    I attach the patch as well.

    http://www.pdpatchrepo.info/hurleur/DataRecord_21.01.pd

    posted in technical issues read more
  • es

    Hi,

    cool, I am doing it for my thesis as well. What is the subject of your major?

    with OSCroute I can split up the message but not making a list of the numbers.

    @scape said:

    es, I see your using the Wii Remote to bring data into PD?
    Thats interesting. I'm doing that kind of thing for my major degree project :p

    Try using OSCroute.

    It will split up your osc messages like this:

    [OSCroute /wii]
    |
    [OSCroute /a]
    |
    [numbers!]

    posted in technical issues read more
  • es

    Thanks alot. I will use accordint to my need and tell you if it functions.

    @obiwannabe said:

    A list sequencer.

    Use a combo of

    and to fill a list in a loop, then keep a temporary copy in another list until it's ready to send in one go.

    See attached.

    posted in technical issues read more
  • es

    wow, thanks alot. I have tried to do all what you worte and its done. I am so happy :-)

    posted in technical issues read more
  • es

    I am trying to connect a sofware named glovepie to pd using osc. I have written a skript for glovepie, which reads the acceleration information of Nintendo Wii controller. Then I have connected glovepie with this pd-patch. The patch recieves the messages in form of floating point numbers and print them one by one. If you know something about glovepie, I can attach the skript.
    After runnig the skript and patch. I get this Data printed

    print: /wii/a 0
    print: /wii/b 0
    print: /wii/x 0.0173142
    print: /wii/y 0.000775725
    print: /wii/z 0.00689533
    print: /wii/roll -87.4347
    print: /wii/a 0
    print: /wii/b 0
    print: /wii/x 0.0205716
    print: /wii/y 0.00186337
    print: /wii/z 0.00869571

    x is the acceleration in x direction and so on

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!