Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1073807346 Serial Modbus

Solved!
Go to solution

Hi everybody,

 

I'm trying to acquire data from an Infineon XMC 4500 microcontroller with serial Modbus protocol (9600 8 N 1); I also use a USB-RS232 converter.

When I read registers I get a 1073807346 Error ("The given session or object reference is invalid"). In particular the error appears in Read Holding Registers and Read Input Registers functions.

I checked all possible solutions from NI suopport document relative to this kind of error.

Does anybody ever dealt with this problem? 

I also include a VI snippet from selection.

 

Thanks any advance for any advice.

 

Andrea.

0 Kudos
Message 1 of 2
(3,780 Views)
Solution
Accepted by topic author andreab93
One or more of your events is not passing the resource name through to the shift register. You have selected Use Default if Unwired. The default is an empty resource name.
Message 2 of 2
(3,773 Views)