Error executing ethernet modbus slave demon in an executable

I wrote an application that integrates a modbus ethernet slave - similar to that included in the examples of LabView (2013). If I run this as a VI, then there is no problem. However, if I create an executable file then I get an error message on the version of demon slave being too old to convert it into 2013 version 8.6. I use NI Modbus Library 1.2.1 and the 86 folder.

To isolate the problem of modbus to my initial request, I took the slave example LabView MB Ethernet (2013) and launched a project which includes the demon slave vi and the vi.lib modbus 8.6. I changed the path to the slave demon in the example of the slave so that it points to the location of the slave vi demon in my project. If I build the application and run it I get a slightly different error - "the demon slave vi is not executable.

I don't understand why the demon of the slave will not run an exe program but will be in a VI.

This error does not much sense.  LV 2013 can certainly open and run LV8.6 files.

You said that the executable file it who gives you this error.  When you run this executable?  It is on the same PC, you have developed and created the .exe on?  Or another PC?

I wonder if you run it on another PC, you do not have the runtime engine proper installed.

In addition, once you moved the VI Modbus to your most recent LV2013 environment, you've been through and mass compiled this library?

Tags: NI Software

Similar Questions

  • "MB Ethernet Slave Demon.vi" connection lost when opening a windows dialog box in my application

    Hello everyone,

    I am currently working on a LabVIEW application that communicates with a PLC using a Modbus Protocol (with an ethernet cable). The PLC is the master and the PC is the slave.

    The code is based on the Modbus of LabVIEW examples: "MB Ethernet example Master.vi, MB Ethernet example Slave.vi and MB Ethernet slave Demon.vi. It is not the first time I use it.

    But I recently discovered a problem. In my application, I have a pop-up with a button that opens a windows dialog box to select a result file.

    When the windows dialog box opens, the "MB Ethernet Slave Demon.vi" crashes (I put a meter inside to see what happened and it stops at the moment opens the dialog box), then when I close the dialog box, the counter continues to count, the connection ID is empty, and the number of the demon slave VI connection resets to 0. When communication is re-established between the PC and PLC (like 10 seconds after the closure of the dialog box), the number of connection go to 1 and table of login ID is no longer empty.

    Otherwise, the communication works very well. But not when the dialog box opens and is a significant problem for me because the user must be able to open results file during production that needs the Modbus communication at work because it's the controller who gives orders the computer to run the production cycle.

    Thanks in advance for your help.

    If you think that the problem is inside the library NI Modbus (old), why don't you use the most recent which is available on the network of tools? Link is here: https://decibel.ni.com/content/docs/DOC-30140

    Looking into some of the screws in the library, she uses methods of Server VI as "Run a VI" that will perform the loop of the root, as it crashes while the file dialog is open. I suspect that the new version of the library is not the problem.

  • Debugging of Modbus slave on tatger in real time

    Hello!

    I have problems when you debug an application that contains a slave modbus on a real-time target.

    The connection is lost when I run the program.

    Change the port from 502 (default value) to other values seems to solve the problem.

    LabVIEW uses the same port to connect to the target RT?

    THA same problem notified here, but I received no response:

    http://forums.NI.com/T5/LabVIEW/NI-Modbus-TCP-slave-on-LabVIEW-RT/m-p/1565842#M575497

    Kind regards

    Marco

    p.s., We use the libray modbus labview (http://zone.ni.com/devzone/cda/epd/p/id/4756)

    Hi Marco,.

    as far as I know the port 502 is used only by the Modbus Slave Servers (Ethernet) i/o to connect with e/s Modbus master servers so you should not see any conflict using this port.

    (no other LabVIEW service is using this port).

    You can check if you have deployed Modbus Slave (Ethernet) i/o duplicate servers. Modbus Slave (Ethernet) i/o duplicate servers cause errors when these I/O servers listen on port 502.

    Hope this helps

    Clara

  • Stop the Modbus slave server works if have the request to address 0 frame (from

    Stop the Modbus slave server works if have the request at the address 0 (broadcast massage) frame

    Hi alexart,

    How do you define the address 0? When I put my server Modbus slave address 0 in the communication parameters, it is by default to 1, so I am not able to change the address 0.

    In addition, the server does not work? What is happening and how do you know? Is there an error code, or what else is happening?

    Kind regards

    Stephen S.

  • MB series slave Demon & dialog

    Hello

    I don't have an answer on the french forum. I try here.

    I have a problem with the 'MB series slave Demon vi"(NI MODBUS). In fact, when I open a dialog box (file or message) in a parallel to "MB series slave Demon.vi" loop, the "communication MB series slave Demon.vi" stop with the master (reading / writing of registers). "." The problem is that the method of ExecVI (sorry I have the french version) in ' MB series call wait on Query.vi ' (see image below) does not give the hand until the dialog box is displayed. Why? :

    Model 'MB series example Slave.vi' modified attached, I added to the event structure an Add button to see the problem. This example can be tested with 'MB series example Master.vi'.

    Any idea?

    Thank you

    I don't understand why the method does not have the hand. But to solve the problem, I replaced ' MB series call wait on Query.vi ' by 'MB series wait on Query.vi.

  • Error code: 6004; MODBUS Exception code: 4

    Hello

    What means this error: error code: 6004; MODBUS Exception code: 4

    Thank you

    Hi Peter,.

    Here is the description of the error:

    error

    concerning

  • Full load: Error executing: TRUNCATE TABLE: S_ETL_PARAM

    Hi all

    We use the Bi 7.9.6.1 Apps. Full load worked fine. But now, we are facing a problem with truncate a table "S_ETL_PARAM".
    I also restarted server and DAC Srever informatica. But still I get the same thing in the DAC journal, * "NOMALY INFO: Error executing: TRUNCATE TABLE: S_ETL_PARAM."
    * MESSAGE: com.siebel.etl.database.IllegalSQLQueryException: DBConnection_OLTP:SIEBTRUN ('siebel.) S_ETL_PARAM') *.
    * Values :*
    * Null map *.
    * EXCEPTION CLASS: java.lang.Exception "*"


    Any Suggestion...

    Thanks in advance,
    Deepak

    Hi Deepak,

    There is no table name s_etl_param, it should be w_etl_param. Correct the name of the table and build your execution plan and launch the load.

    Thank you
    Navin Kumar Bolla

  • Helps air: Error executing database query

    I get the message 'Error executing database query' whenever I click on the 'Préférences' button in the help air (if model Classic or cross-tab Malaccaaccordian). I can reject the message and the Preferences dialog box is displayed, but while the content tab seems to work the comments tab seems to be ignored.

    I get the same message when I try to add a comment to a topic.

    Any ideas?

    EDIT: I should mention that I'm on Vista Home Premium.

    UPDATE: seems to only affect projects upgraded X 5; the native projects v7 are have (so far).

    No worries. I need this only for demo AIR help anyway - so the project used native v7 exclusively.

  • Error 1073807346 series Modbus

    Hello world

    I am trying to acquire data from a microcontroller Infineon XMC 4500 with Protocol Modbus Series 9600 8 N 1; I also use a USB-RS232 converter.

    When I read books I get an error 1073807346 ("the given reference of session or object is invalid"). In particular, the error appears in the functions of reading records and read of input registers.

    I checked all possible solutions of document suopport, NOR in relation to this kind of error.

    Someone at - he never tackled this problem?

    I also include an excerpt of selection VI.

    Thanks in advance for any advice.

    Andrea.

    One or more of your events are not passing the name of the resource through the register shift. You have chosen by default if Unwired. The default is a blank resource name.

  • cRIO and 9234 modules do not work or communicate via fpga with accelerometers, fpga, connected to the real-time application is also related to shared variables related to modbus slave

    Hello

    I have a compact rio, which has a 4 way frame this chassis is the three modules of ni9234, they are related using FPGAs for application in real time, then using shared variables in the low-speed loop associated with a slave modbus to communicate with the domain controllers, the nor 9234 accelerometers linked to them with option ac coupled iepe on c modules , my problem is the real-time application seems to work well even when power loss occurs it restarts without problem and the fpga written hard disk portable bin files very well, but without an accelerometer connected I get readings of low noise as soon as I connect an accelerometer to one of the outputs 10 it just goes to a fixed number (0.03125) as soon as you unplug it again He returned to readout noise, I ran a scan on the modules and get only a spike when I connect or disconnect the accelerometer, I tested voltage at the pins on the module and I get 22 volts CC which makes it more likely that the material is not the problem, but software is perhaps the cause to hang up, I join the project and files for your perusal. I also realized a new project which, in mode directly linked scan has the module entry in the shared variable and the scenerio even once again. Help would be appretiated.

    Thank you very much

    Jason

    Whren using waveform with the 9234 acquisition, we recommend the following FPGA and RT model.

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/209114

    It can be extended as a datalogger with:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/6388

    or using shared variables combined with the analytical engine

    http://zone.NI.com/DevZone/CDA/tut/p/ID/9851

    The FPGA in all this, as well as the framework of RT have used successfully by 1000s of users.  I recommend giving these a try.

  • Error 651 ethernet but ok when wireless

    I bought an ASUS laptop 8 months ago with Windows 7 installed. It was working fine when connected by ethernet to a router, just recently (maybe a month ago), that I turned on my laptop and it showed that it was not connected. So, I restarted and still the problem. I went through a trouble shooting process to shut down the computer and disconnect the cable from the computer is off the router for a few minutes then plugged everything and checked, still does not work. So, I decided to use a netbook, I had to check that maybe it was the cable, it was not. I plugged the modem with the ASUS, and it did not work. So, now that I knew that it was something to do with the computer, I started studying why. I noticed that I didn't have a "connection to the local network' just a"manage wireless networks", 'change the map settings' and change advanced sharing settings. So, I tried maybe set up a new connection to the router with the ethernet and every time I tried to set up a new network to the router, I got a message "error 651". I was confused, so I searched through my wifi online - since I've always had the wifi - and I continued to get something on exchanging information with Vista drivers driver but why would I want to change a new operating system with an old driver? I don't know why I do not have a 'Connection to the local network' tab or even connect to the ethernet connection? Same connection when I use Linux, it connects via ethernet. Anyone can shed some light on my problem? If you want more info I can try to give it do you. I went into Device Manager, but I still can't find a local connection tab. I know usually automatic Windows to connect to the device its connected to.

    Hi JoeJ1986,

    • Did you try to run the troubleshooter and to uninstall and reinstall the network card using the steps above?

    Connection to the local network should be present even if its connected through wireless. However, try to uninstall the network adapter, and then reinstall it and check if it works.

    Alternatively, you can try to check if the network connection and the list of network services are started and set to automatic. To do this follow the steps below:

    1. Click Start.
    2. In the start search box type services.msc and press enter
    3. In the services window, do scroll down to the network connection.
    4. Right-click on it and click Properties.
    5. Check if the startup type is set to automatic, otherwise it is set to automatic.
    6. Click the Start button, this will start network connection services.
    7. Click on apply and Ok.

    Repeat this procedure for the network list service and check that it helps.

    I hope this helps. Let us know the result.

    Thank you and best regards,

    Srinivas R

    Microsoft technical support.

    Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • Unable to play zoo tycoon 2, error: executable has stopped working

    Original title: executable of tycoon 2 zoo does not

    I recently installed Zoo Tycoon 2 on my Windows 7 laptop. It has installed completely, but when I try to run it a message pops up saying: Zoo Tycoon 2 executable has stopped working. I put the boot parameters to use memory maximum as I've seen in other posts, but its still does not. Is it possible to make it work for Windows 7?

    Hello

    The game Zoo Tycoon: complete Collection is not compatible with Windows 7.

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/search.aspx?l=en-us&type=software&s=Zoo%20Tycoon%3A%20Complete%20Collection%20

    If the program is not compatible, then you try to install and run the program in compatibility mode.

    Use the following steps:

    (a) right click on the program

    (b) click on Properties

    (c) click on the compatibility tab

    (d) select run this program in compatibility modeand select Windows Vista or what to use the system, the program has been run successfully.

    Check out the link here: make sure to run older programs in this version of Windows

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    See also:

    Game hangs or quits unexpectedly

    http://support.Microsoft.com/kb/303032

    You can also check the event viewer for the detailed error message

    Let us know if it helps.

  • Error message: Ethernet is not a valid ip address configuration and cannot connect to the Internet after installing Windows 8.

    Original title: Internet not working after installing Windows 8. Help, please

    I installed Windows 8 a week before, which had Windows Vista. When I was with Vista, I had no problem with the Internet, I had. But shortly after I installed Windows 8, the problem began. The connection is hardly 2 minutes. In addition, it is not navigate beyond my home page. After troubleshooting the result came as Ethernet is not a valid ip address configuration. It makes me really frustrated. After all, I was looking forward to navigate in windows 8, this problem makes me think really bad. If someone could help me, it will be grateful to you.

    Manorajan respected,

    I too had d same problem but I solved it later on myself.
    Here's how to: -.
    1-make sure you have intel network driver I installed your windows it pc. Download (on any other pc and transfer and install in it) and install it in your pc respective windows 8. Here is the link to download:-http://drivers.softpedia.com/get/NETWORK-CARD/INTEL/Intel-Network-Adapter-Driver-172-for-Windows-8.shtml
    Den DOWNLOAD realtek lan driver here to install http://drivers.softpedia.com/get/NETWORK-CARD/REALTEK/Intel-Realtek-LAN-Driver-80030730-for-Windows-8.shtml..if in the installation of theres no error ignore it... do not panic and reinstall... as it is already installed

    2 - unplug your LAN cable and Wi - Fi

    3 - go to network and sharing den center left side d click on change adapter settings clik left on the network card intel

    4-go to "Ethernet Adapter local area connection' properties and Deselect"Internet Protocol Version 6 (TCP/IPv6) "

    "5 - Select" ""Protocol Internet Version 4 (TCP/IPv4) '

    Press the properties button

    6 - Select "use the following IP address:" option and set this ips

    IP = "ip address".

    subnet mask = 255.255.255.0

    default gateway = your ip from the router (you can recheck all say on any other pc having a successful conection even wid tell by checking the properties of dial-up connection or any smart phone like any iphone or android mobile, if it is used as a wifi too in led staus/properties to your respective wifi name)

    7. in the second section select "use the following DNS server address:"

    Set "Server DNS PreferAlternate:" your router ip that entered u in "default gateway of" this. " pinterested ok and try to connect in wireless lan

  • : Error communication with ASM slave; 20344 termination process

    Hello

    My db version: 11 GR 2

    When im waiting for my instance creation is shown like this... acutally my prod to + ASM .im created my standby instance is non - asm is there any problem with Controlfiles?

    How you create the database pending?

    What are the other messages are found in the log of alerts? There is no problem with the control on which file it is, but he must know how have the parameters there are resolved.

    Hope that helps you to create a physical primary ASM wait (Doc ID 787793.1)

    You could also hit a bug RMAN RESTORE from ASM to no - ASM fails with ORA-03113 ORA-01403 / shows Alert.log slave communication error with the ASM (Doc ID 1368809.1)

    -Jonathan Rolland

  • "ORA-12154: TNS: could not resolve the connect identifier specified" error executing the execution in CAD Plan.

    Hi friends,

    We do face-down question when executing the execution Plan in DAC for full charge. We are working on the project of modernization of the OBI Applications and my client has worked on this environment is a few days. Before this, they load to the source 'EBSTST' instance and now changed data for instance 'EBSWKLY '. We have changed the details of connection under the tab 'Physical Data Sources' DAC. Test the connection Source and target are good. We have added input TNS of EBSWKLY in the path: u01/app/oracle/oracle11g/product/11.2.0/client_1/network/admin.

    ORA-12154: TNS: could not resolve the connect identifier specified

    Database driver error...

    Function name: connect

    [The database error: could not connect to the database using the [apps] user and the connection string [EBSWKLY].].

    Please suggest me if I m done mistake anywhere...

    Thanks in advance.

    Raghu Jen7782

    I was saying about the environment variables defined by you on the server of informatica/dac under the .profile or .bash_profile as below:

    TNS_ADMIN = $ORACLE_HOME/network/admin; Export TNS_ADMIN

    ORACLE_BASE = / home/oracle/app/oracle; export ORACLE_BASE

    ORACLE_HOME=$ORACLE_BASE/product/11.2.0/; Export ORACLE_HOME

    ORACLE_SID = InstanceName; export ORACLE_SID

    Path = $PATH: / usr/sbin: $ORACLE_HOME/bin. export PATH

    LD_LIBRARY_PATH=.:$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH

    CLASSPATH = $ORACLE_HOME/jlib: $ORACLE_HOME/rdbms/jlib. Export CLASSPATH

    Here are some examples I mentioned everything. You can set them in the user profile from which you installed the server informatica/dac.

    If it is a CAR Forum, try to set the value of the instance-specific SID for example: orcl11 or orcl12 or orcl13... try to connect to each instance. Sometimes the general SID does not recognize configuration

Maybe you are looking for