LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1172 while using Newport ESP 302 Motion Controller

Hi, I am picking up on an old LabVIEW system which is used to control Newport's ESP 302 Motion Controller. I am using LabVIEW 2024 Q1(64 bit) and trying to run it. LabVIEW seems to recognize the device but when I run the program, I get this error- Invoke Node Error calling method CommandInterfaceESP302.ESP302.MD_Get, (System.ArgumentNullException: Key cannot be null.
Parameter name: key) <append><b>System.ArgumentNullException</b> in esp302.lvlib:esp302-is-motion-done.vi

This is a common error in all the VIs. I think it has something to do with the .NET esp302 reference in/out controls. I am attaching the zipped folder with the VIs and .lvlib file as well. Unfortunately, there is no .lvproj file.

Can someone help me fix this? Thanks 

0 Kudos
Message 1 of 2
(227 Views)

This appears to be just a set of manufacturer's VIs with no VI of your own that you created.  Did you make one on your own or have you just been running these VIs by themselves?

 

Can you get the "init" VI to run successfully?  It's likely that is the one that needs to succeed and then pass its reference into the other VIs.  If it doesn't work, does it have the same error message (not number...  message!) as the others?

 

Also, when you post VI (and by extension, lvlib files) it's best to save them back a few versions (I go back to 2019) as many people do not use the most recent LV version.

0 Kudos
Message 2 of 2
(189 Views)