LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

modbus ethernet example

Solved!
Go to solution

hallo guys,

Í am using Labview Application Builder to creat a exe program based on MB Ethernet Example Slave.vi, but it can not communicate with MB Ethernet Example Master.vi correctly, before building, the original Slave and Master example programs can communicate well, but after turnning MB Ethernet Example Slave.vi into exe program, these two do not work in the desired way, is there anyone confronted this problem before?  Maybe some configeration need to be set during building.

 

great thanks.

0 Kudos
Message 1 of 8
(7,251 Views)

Hi Coolbear,

 

The first thing to check is the ini file of the exe. Copy the contents of the LabVIEW.ini file into the ini file created for your exe. Permisions and port numbers are defined therein.

 

Ben

 

(aka Fuzz Bear)

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 8
(7,249 Views)

thanks

I tried as your words, but it does not work. quit a strange problem

0 Kudos
Message 3 of 8
(7,245 Views)
any comments?
0 Kudos
Message 4 of 8
(7,184 Views)
any solution to this problem? thanks in advance
0 Kudos
Message 5 of 8
(7,150 Views)
Solution
Accepted by topic author coolbear

coolbear,

 

there are some dynamically called VIs inside of NI Modbus toolkit.

Simply include entire toolkit into your application, and  all will be screwed up:

 

 

Test project in attacment (assumed that you have installed toolkit from here)

Andrey.

 

Message Edited by Andrey Dmitriev on 02-09-2009 12:37 PM
Download All
Message 6 of 8
(7,147 Views)
it works. deeply appreciate.
0 Kudos
Message 7 of 8
(7,136 Views)

Hi Andrey Dmitriev,

 

 

I am facing same problem and i tried your solution, but i am not getting it,

 

I have installled ni modbus and using LV 86

 

regards,

 

Shrek

0 Kudos
Message 8 of 8
(6,598 Views)