Search:

Type: Posts; User: chris24300

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,963

    Right, I made the changes. thanks Chris

    Right, I made the changes. thanks

    Chris
  2. Replies
    4
    Views
    1,963

    Ok so I have started with my coding but I'm...

    Ok so I have started with my coding but I'm puzzled on writing the receiver. I have to use UDP for this so I'm using sendto() and recvfrom(), the sender loops through the file and sends out packets...
  3. Replies
    4
    Views
    1,963

    sending JPGs in pieces?

    Hi,

    In C, I want to take a JPG image (<10KB) and send it to another machine on my network. I just started the code yet so I'm wondering if it'll work or if someone has done something similar...
  4. gcc: undefined reference for phidgets functions

    Hi,

    I'm trying to write a simple test program to make some calls to a Phidgets board. I have the test app in a directory and the Phidgets files in a subdirectory. my include in my app looks like...
  5. Replies
    15
    Views
    37,503

    No, i used both the device IP (10.0.0.X) and my...

    No, i used both the device IP (10.0.0.X) and my actual computer IPs. For some reason the destination port is lost when I'm on that specific machine as shown in my wireshark post previously.
  6. Replies
    15
    Views
    37,503

    OK now i'm really confused. I changed which...

    OK now i'm really confused. I changed which computers I used as the sender/receiver and everything works perfect....
  7. Replies
    15
    Views
    37,503

    How many logs are there? I only know of the log...

    How many logs are there? I only know of the log in /var/log/messages. I just tried a sample send/receive UDP(straight from a book) using my actual machines, not external devices. The results were...
  8. Replies
    15
    Views
    37,503

    Thanks for all the responses! I'm still getting...

    Thanks for all the responses! I'm still getting 'broken in' to linux and network programming, so please bare with me.

    When I run on lo (127.0.0.1) everything works fine. It's when I use...
  9. Replies
    15
    Views
    37,503

    @Salem: Thanks, I didn't think of that. I don't...

    @Salem: Thanks, I didn't think of that. I don't have the time but I'll check it out tomorrow morning and see what's being sent.

    idelovski, you mentioned there could be a problem with the client....
  10. Replies
    15
    Views
    37,503

    UDP receiver not receiving packets

    Hi, I have 2 programs; UDP sender and receiver. These programs are absolutely basic, trying to get the concept and understand how it works. I specify the target IP and port via arguments in the...
  11. matsp, Thank you for your hawk eye, I was...

    matsp,

    Thank you for your hawk eye, I was debugging for hours and didn't realize that. That solved the issue. Can you explain to me why in main the buffer doesn't need to be set to all zeroes? Why...
  12. Also, this is being compiled on an arm-linux...

    Also, this is being compiled on an arm-linux machine.
  13. OK, I already am including stdlib. By garbage I...

    OK, I already am including stdlib. By garbage I mean when it works I get two actual values, and by fails i get this instead of the two digits

    183, 254 // a working value
    ...
  14. Read from serial port only works in main... ??

    I am writing code to read from the serial port on my linux machine. I go through the initialization and then when i call read(fd...) in the main function I can read the data correctly. Once I try...
  15. Replies
    3
    Views
    5,052

    Reading from serial device

    Hello,

    I am trying to read from a device that spits out 2 values simultaneously per line when i read from the device through cat /dev/device. These readings are split up by a comma.

    Example: ...
  16. Replies
    2
    Views
    1,266

    Reading from a serial device

    Hello, I am trying to read from a device that spits out 2 values simultaneously per line when i read from the device through cat /dev/device. These readings are split up by a comma.

    Example: ...
  17. Replies
    25
    Views
    16,963

    Right, i tried that but everything I tried didn't...

    Right, i tried that but everything I tried didn't seem to work, maybe I screwed up the other vpath stuff I tried. I specified the directory and used the -include option flag and it returned the same...
  18. Replies
    25
    Views
    16,963

    Thanks for the responses! I forgot to mention the...

    Thanks for the responses! I forgot to mention the linux running on the machine is arm linux so I cannot use the full gcc. I have gotten my makefile to find the sources but now I cannot find the...
  19. Replies
    25
    Views
    16,963

    Makefile Problem: None rule to make target

    Hello, I am working with robotics (Koala from K-Team if it matters) and i'm trying to compile some code. The robot has arm linux on it. I am trying to use some low level calls but when I try to...
  20. Replies
    1
    Views
    1,193

    char* format conversion

    Hello, I am trying to convert from YUV to RGB. My problem is that I read in the file and I have YUV data as a unsigned char*. I do not know how to extract the Y U and V values from this char* so I...
  21. Replies
    6
    Views
    19,809

    I am also trying to do this in C.

    I am also trying to do this in C.
  22. Replies
    6
    Views
    19,809

    Well after looking at the VirtualDub requirements...

    Well after looking at the VirtualDub requirements I cannot use it. I am on a Linux machine and do not have Visual Studio 2005...
  23. Replies
    6
    Views
    19,809

    Mats, yes I searched and I have been to that...

    Mats, yes I searched and I have been to that website. I would be able to follow those formulas but I cannot extract my Y, U, and V so I wouldn't be able to satisfy those formula requirements.

    I...
  24. Replies
    6
    Views
    19,809

    Converting from YUV 420 P to 24-bit RGB

    Hello, I am trying to do a conversion of a file format. I know that it is in YUV 420 Planar format, but I need to convert it RGB. I know there are all these formulas and algorithms out there, but I...
  25. Thanks Salem. We ended up getting the correct...

    Thanks Salem. We ended up getting the correct device driver. My friend downloaded a version of the PWC library (not sure which one) and tried to get it to work but when he ran his code, it kept...
Results 1 to 25 of 26
Page 1 of 2 1 2