LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D cordinate of multiple points

Hello!

i need some help.i am doing programming for a coordinate measuring machine.i have to send command from my PC to machine in format of X,Y,Y(coordinates of the point) through TCP/IP,then machine will move accordingly to that point in the box with a dimension 50*50*20cm(machine already knows that where is this point).and i want i can take measurements with a step size of 1cm.i am new user to LABVIEW and i am unable to programme that how i can send command(X,Y,Z) to machine and machine move to that point.please if any one can help me in this regard.
thanks
0 Kudos
Message 1 of 3
(2,689 Views)
Hi ghazala,

I am a little unclear about the exact question, but it definately sounds like you want to use TCP/IP communication. Here is a link that may help you get started with TCP/IP communication in LabVIEW:

Basic TCP/IP Communication in LabVIEW

http://zone.ni.com/devzone/cda/tut/p/id/2710

You may also want to take a look at some of the shipping examples in the LabVIEW example finder (Help >> Find Examples) in the Networking >> TCP&UDP folder.

I hope this helps get you pointed in the right direction.

Best regards,

Steven
0 Kudos
Message 2 of 3
(2,655 Views)

Yes I have done this where a labview computer acts as a TCP/IP listener/ server that controls a robot.  Essentially you will make a TCP/IP listener which can recieve a message sent to it, parse it (you choose the string format and use the same format at the sender), once a valid string is recieved you will execute the action.  a state machine is good fro this.  The program will open the TCP/ip port for listening, wait for a message, parse message, do action (as governed by the message recieved), handle errors and close port.

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 3
(2,649 Views)