We used the "TCP Write.vi" to send commands, formatted based on the document here: https://bl831.als.lbl.gov/~gmeigs/PDF/Applied_Motion_Motor.pdf
The specific code we have requires multiple internal company libraries, so sharing the code directly will result in missing dependencies.