• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » DLP & MEMS » DLP LightCrafter Development Platform » Connecting via TCP/port through matlab
Share
DLP & MEMS
  • Forums
Options
  • Subscribe via RSS

Forums

Connecting via TCP/port through matlab

This question is answered
Samir Zutshi
Posted by Samir Zutshi
on Jun 26 2012 07:33 AM
Prodigy120 points

Hello,

I am trying to control the lightcrafter via TCP in matlab and using

tcpObject = tcpip('192.168.1.100',80) But im not able to connect as im not sure what port i need to be connecting to.

If there is another way to connect to it that is simpler please let me know. I just figured i needed the connection parameters.

Please let me know,

Thanks,

Samir

Matlab
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Sureshkumar Manimuthu
    Posted by Sureshkumar Manimuthu
    on Jun 13 2012 22:33 PM
    Verified Answer
    Verified by Samir Zutshi
    Prodigy350 points

    Hi Samir,

    The TCP port number for the connection is 21845.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Samir Zutshi
    Posted by Samir Zutshi
    on Jun 14 2012 07:46 AM
    Prodigy120 points

    Thank you, i overlooked the port 5555 on the command interface document. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Cem Girit
    Posted by Cem Girit
    on Jun 14 2012 09:26 AM
    Prodigy70 points

    Hello Samir,

               Could you send me the code for Matlab? We are trying to control a pair of PointGray cameras together with the LightCrafter through Matlab. We ar every new to this interface. Your help will be appreciated. Thank you.

    Cem

    LightCrafter Matlab
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Samir Zutshi
    Posted by Samir Zutshi
    on Jun 14 2012 10:39 AM
    Prodigy120 points

    Hi Cem,

    My code is still being worked on but you can take a look at this earlier post to get you started.

    http://e2e.ti.com/support/dlp__mems_micro-electro-mechanical_systems/f/850/t/170200.aspx

    Best,

    Samir

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Oline Olesen
    Posted by Oline Olesen
    on Jun 26 2012 07:33 AM
    Prodigy60 points

    Hi,

    Perhaps you have a hint for me as well. I cannot get any response.

    Is this correct?

    tcpObject = tcpip('192.168.1.100', 21845)
    fopen(tcpObject);
    fwrite(tcpObject,uint8(hex2dec(['02';'01';'03';'00';'01';'00';'00';'07']))) 

    matlab output text:

    TCPIP Object : TCPIP-192.168.1.100
       Communication Settings       
    RemotePort:         21845       
    RemoteHost:         192.168.1.100       
    Terminator:         'LF'       
    NetworkRole:        client
       Communication State       
    Status:        closed       
    RecordStatus:       off
       Read/Write State        
    TransferStatus:     idle       
    BytesAvailable:     0       
    ValuesReceived:     0       
    ValuesSent:         0
     
    Thanks, 
    Oline

    LifghtCrafter Matlab
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use