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
Hi Samir,
The TCP port number for the connection is 21845.
Thank you, i overlooked the port 5555 on the command interface document.
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
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,
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
Oline