02-23-2025 10:53 PM
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
02-24-2025 11:29 AM
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.