11-03-2013 09:35 AM
11-03-2013 09:42 AM
Thanks, I just had to reboot the computer and it worked ! 🙂
08-16-2022 04:37 AM
Hi, I am trying to programme SMC100 using LabVIEW. I have few codes which used to work but suddenly started showing error at initialization VI 'port initialize'. The error code is -1073807343. The inputs are com port, axis number and timeout. The controller works fine when operated through the GUI. Can someone suggest a possible way of fixing this error?. Thanks!
08-16-2022 04:46 AM
08-16-2022 10:47 AM
Hi
I only found a library from 2005 from Newport.
The problem inside that library is that they are using "bytes at port" to determine the end of the communication but you can better update that with waiting in VISA for the termination character. Timing in windows and trying to ask a lot of small data parts only makes everything slower.
I don't know if you have the same lib but it is called
SMC100-Controller-Drivers
sorry for not finding my specialised version.
08-16-2022 11:49 PM
Thanks Albert. Geven,
Yes, I am using the library SMC100-controller-Drivers. Sorry, but I am new to programming VISA resources. The error is at the initialization VI. I have attached a screenshot of the VI for reference. After I input the COM port (checked in device manager and SMC100 GUI) and timeout (300ms) , the error is happening in the function 'Old VISA Open'. Could you please see if there is any possible mistakes I am doing?
08-17-2022 07:22 AM
I attached a version LabVIEW 2020
If this still does not work increase the timeout
You now should select the correct com port in the VISA resource.
If you don't have one check windows device manager and MAX from NI.
I only removed old stuff that is for over 10 years nonsens
08-26-2022 10:05 AM
Thanks a lot Albert.Geven!! The issue got resolved.