05-10-2023 02:37 AM - edited 05-10-2023 02:39 AM
Hello.
I am working on a project to drive an optical switch using LabVIEW.
However, when I checked the block diagram, the Property Node (arg 1) error of VISA Configure Serial Port (Instr).vi kept occurring,
so I left a message because I couldn't find a solution.
You can see that vi is configured as shown in the figure below.
The same text is displayed in the error output box.
Does anyone have any suggestions on how to narrow down the cause of this error?
For reference, I'm using LabVIEW 2018.
Thank you very much.
Boo Won
05-10-2023 06:46 AM
You have a blank VISA Resource on the input. You have to tell VISA what resource to open and configure.
05-15-2023 06:07 AM
Thank you for your reply.
However, 'You must tell VISA which resources to open and configure.' I don't understand what you mean.
Can you explain again?
Thank you
05-15-2023 06:54 AM
Your VISA Resource In is empty. So you are telling VISA to try to open a resource that does not exist. It does have a drop-down to make it easy for you to select the proper resource.
05-19-2023 02:13 AM
Thanks for suggesting a solution.
That part was solved, but another error occurred.
Can you provide a solution for this part too?
The part and code where the error occurs in the block diagram are as follows.
Error 1172 occurred at: start.vi->SM FGV.vi->Main.vi in property node (Arg :1) Error accessing property NetOceanDirect.Devices.Id, (System.ArgumentNullException: key is null can't be
Parameter name: key)
Possible reasons:
LabVIEW: (Hex 0x494) An external assembly threw an exception in .NET. If you need information on how to fix this error, copy the following exception in bold and search the web or the Microsoft Developer Network (MSDN) website for an explanation.
System.ArgumentNullException
05-19-2023 10:38 AM
That looks like your .NET library was not able to find your device. My wild guesses are that you do not have drivers installed or the device is not connected to your computer. Other than that, you might want to talk to the manufacturer for support.