From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus can't share variables: error -1967353901

Hi guys,

 

I'm using for my first time the dsc module,
and specially the modbus communication part.

 

I've tried on winXP (installed on VMware) the given exemples:
Modbus Fundamentals.vi and ModbusSimulator.vi work,
but when i want to build mine, it's going on errors.

 

 - 1: Error -1967353901 occurred at Shared Variable in P1_server_vi.vi
 Possible reason(s):

 LabVIEW DSC:  (Hex 0x8ABC8FD3) The Modbus I/O server
 failed to connect to the Modbus Ethernet slave device.
 Ensure that the Modbus Ethernet slave device works properly
 and that the connection between the Modbus master and slave
 devices is configured correctly.

 This error or warning occurred while writing the following
 Shared Variable:
 \\My Computer\P1_server_lib\000001
 \\my_ip\P1_server_lib\000001
file://\\192.168.242.1\P1_server_lib\000001

 

 - 2: it's running but the values of the shared variables are not shared,
  between the server and the client.

 

 - 3: when i'm using the library of the given exemples, its working,
  I can even add or remove some variables.


 So i looked the configuration of the given library, and the one
 i've created, to compare them, but they are strickly the same.
 Restarted my PC, run it again still the same errors.


I've tried too on Win7, (no WMware) none of them work,
neither the given exemples or my program.
I've enable all NIs software from the firewall.

0 Kudos
Message 1 of 7
(4,867 Views)

Hi,

 

Thank you for posting your question on National Instruments’ Forums.

 

Such an error is not a known issue. I will need to reproduce the problem you are seeing in order to help you solve this issue. Could you please attach the Vis you have created?

 

I will use them with a virtual machine and see if I have the same behavior.

 

Thanks,

 

Best regards.

Guillaume H.
National Instruments France

0 Kudos
Message 2 of 7
(4,835 Views)

Of course,

 

Thanks for the reply, I'll be pleased to get the why of this matter.

 

I sent you in a .zip file, two projects and their .lvproj, .vi, .lvlib and .aliases

 

You have P1_server which is to simulate the server, and P2_client for the client,

using just one shared variable (create bound variable from the serve) named 000001.

An action from the server on the boolean button should occured on client Boolean Led.

But ...Smiley Sad

 

Best Regards

 

Martin

 

0 Kudos
Message 3 of 7
(4,818 Views)

Hi guys,

 

Hope you didn't forgotten me !

 

just  to relaunch the post!

 

Thanks !

 

Kind Regards ! ! !

0 Kudos
Message 4 of 7
(4,741 Views)

Hi guys,

Did you get any idea of why isn't working ?

I'm still looking for an answer.

 

This thing ain't work even download and run nimodbus161 library.

But...

 

Please Let me know about the file i've sent to you.

 

Thanks

 

Kind Regards !! !! !!

 

0 Kudos
Message 5 of 7
(4,674 Views)

I am too facing this problem on Labview. Still not got the solution.

 

please help me !!

0 Kudos
Message 6 of 7
(4,276 Views)

hello

did you find a solution i am facing thesame problem 

thx 

0 Kudos
Message 7 of 7
(3,783 Views)