12-07-2010 04:31 AM - last edited on 07-18-2016 04:12 PM by LiliMcDonald
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.
12-09-2010 11:11 AM
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
12-12-2010 05:00 PM - edited 12-12-2010 05:01 PM
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 ...
Best Regards
Martin
12-19-2010 11:28 PM
Hi guys,
Hope you didn't forgotten me !
just to relaunch the post!
Thanks !
Kind Regards ! ! !
01-03-2011 08:58 AM
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 !! !! !!
06-10-2013 07:40 AM
I am too facing this problem on Labview. Still not got the solution.
please help me !!
07-18-2016 02:49 PM
hello
did you find a solution i am facing thesame problem
thx