LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

etch-a-sketch.vi control with 2 micrometers

How can control the cursor in the etch-a-sketch.vi example using 2 micrometers? One micrometer would control the up/down movement and the second would control left/right movement. The two micrometers I have are Mitutoyo (No. 164-172) connected to a Mitutoyo MUX which then connects to COM1 serial port. I would also like to display the xy coordinate of the cursor.

Many thanks.

Bharesh
0 Kudos
Message 1 of 2
(2,623 Views)
Ther hard part would be communicating with the muc over the serial port? Do you have any kind of driver for it? What kind of data does it return? If you look at the diagram, a x and y coordinate is bundled together and wired to the Draw Point function. If you have a VI that returns two separate numbers from the micrometers, then all of the code in the example that deals with the Left/Right, Up/Down Booleans can be replaced. If you need help in communicating with the mux/micrometers, can you explain a little more about the problems you're having? If you do have communications working, post that VI.
Message 2 of 2
(2,602 Views)