07-21-2012 06:30 AM
I'am trying to program for a motor which the company people supplied an exe file containing its commands. Can I directly put this exe file to the labview and work with the motor. Please help
07-21-2012 07:41 AM
No, you cannot directly put this exe into LabVIEW, just like you cannot directly put the exe into Java, C, C++, or any other programming language. If the executable is a command-line program and has command-line parameters then you could call it that way using System Exec. If it has some other interface, like an ActiveX interface, then you could use that. Perhaps the company provides a library to use in other programming languages. Basically, check with the company to find out if they provide a library that can be used in a programming language.
If you know the communication protocol, and it's something simple, like a serial interface, then you can simply program the communication interface directly in LabVIEW.
07-21-2012 10:40 PM
thank you for your reply