Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

What does this error mean for Property Node (arg 1) in VISA Configure Serial Port (Instr).vi?

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.

boowon2222_0-1683704331255.png

 

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

0 Kudos
Message 1 of 6
(950 Views)

You have a blank VISA Resource on the input.  You have to tell VISA what resource to open and configure.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 6
(922 Views)

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

0 Kudos
Message 3 of 6
(849 Views)

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 6
(841 Views)

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

boowon2222_0-1684480402616.png

 

0 Kudos
Message 5 of 6
(815 Views)

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 6
(796 Views)