Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to program SMC100

check tools/options and uncheck use locaied decimal point.

 

Our USA friends don't understand that it is a wrong default in LabVIEW to check this,,,,,

greetings from the Netherlands
0 Kudos
Message 11 of 18
(2,741 Views)

Thanks, I just had to reboot the computer and it worked ! 🙂

0 Kudos
Message 12 of 18
(2,739 Views)

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!

0 Kudos
Message 13 of 18
(1,514 Views)

Hi

a long time ago I had the same error. The library was the problem.

I'll try to find my rewrite with VISA.

takes some time to find it, have to be at home for this.

greetings from the Netherlands
0 Kudos
Message 14 of 18
(1,510 Views)

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.

 

greetings from the Netherlands
0 Kudos
Message 15 of 18
(1,499 Views)

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? 

0 Kudos
Message 16 of 18
(1,490 Views)

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

greetings from the Netherlands
0 Kudos
Message 17 of 18
(1,479 Views)

Thanks a lot Albert.Geven!! The issue got resolved.

0 Kudos
Message 18 of 18
(1,447 Views)