LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The controlling of an ethernet-based drive

Hello everyone,

I am new to LabVIEW, right now we need to control the movement of an ethernet-based stage drive. We got the sample code from a collaborator but their instrument is USB-based, so we changed it a little bit to make LabVIEW understand the ethernet input, however, it does not work. Could you please have a look at the code and point out what we are missing? Thank you so much.

 

 

This is the sample code, which part we can copy for the same function?

EmmaTran_0-1720761495025.png

This is our modification. We already make the NI MAX recognize the input of the device, as follows. What do we need more?

EmmaTran_1-1720761525341.png

EmmaTran_2-1720761550199.png

The main purpose here is input X,Y position of relative distance to ask the stage to move to that position.

 

0 Kudos
Message 1 of 2
(244 Views)

Hi Emma,

 


@EmmaTran wrote:

This is the sample code, which part we can copy for the same function?

EmmaTran_0-1720761495025.png


Why don't you use the very same code (maybe without the serial configuration) with a different VISA resource (as shown in your MAX screenshot)?

 

Btw. attaching downscaled images doesn't make a lot of sense…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(229 Views)