03-02-2020 10:36 AM
Hi everyone, I am having issues controlling a Conex-CC linear stage using the Newport labVIEW vis (I am using LabVIEW 2011). The stage initialises, moves and its position is being tracked if I use NSTRUCT (the software supplied by Newport) but nothing seems to work if I try to control it from labVIEW. In the best case scenario I get the error attached (worst case scenario software seems to work fine buy nothing happens) and the .vi called "move Conex" is shown in the picture attached. I have already tried to reinstall NSTRUCT and update and fix Windows .NET Framework with no success.
any suggestions are welcome.
thanks a lot
Giovanni
03-04-2020 08:00 AM
Hello Giovanni,
Is that image your whole program?
Or is that a subvi?
Where does the "ConexCC Reference In" comes from?
If that's all you have then there are lots of things you're missing.
I don't have that actuator and driver, but I have a driver from Newport SMC100.
You need the .NET Constructor Node to get a proper refence to use later on.
Then yo need to open comunications to the driver using the correct com port.
You configre your actuator, maybe velocity, enable it, Home it, etc.
After all this is done then you're ready to use it.
And before you exit don't forget to close the communications.
Also I recomend you to include error handling in your program so that you don't think the program is working when it's not.
Saludos.