Communication with EtherCAT defective modules with executable startup

Hello

I have a deployment with a hypervisor OR 3110 and four NI 9144 chassis that are connected via EtherCAT. The RT VI I created works perfectly when they are deployed since in the LabView project. However, when I create a start executable (startup.rtexe), it fails somehow communicate with 3 out of the 4 chassis. I can read/set values for the frame that plugs directly into the hypervisor, but cannot control the chassis more far. If I build the executable to start with debugging enabled, the behavior is the same. Strangely, when I connect to the startup.rtexe running through the 'Debug Application or Shared Library' menu in the LabView project, I start getting values as it should. When I disconnect from the debug version, I lose the modules again.

What I'm missing here?

Thank you much for the help.

Christoph

I found the root of the problem: for iterations inside my call loops, I use property on variables unconnected (type defs) nodes to determine the number of iterations that I need. This doesn't seem to work if the FP is closed, as is the case in a deployed executable startup. If I replace these nodes of property with the constants, everything works as expected. It semms that the compiler removes variables unconnetced, because it "thinks" that they are not used.

Tags: NI Products

Similar Questions

  • Open FPGA references change to no. target when compiled with executable in time real start

    Hello again you useful forum fans!  I have a problem that I hope someone can give me a hand with.

    I have a project that has a Windows component and a component of the target in real time, that are running on a hypervisor type NI PXI-8110 system.  Communication both sides between them using shared variables.

    On the real-time side, I have four FPGA targets who are reading and writing various analog and discrete inputs and outputs.  I several periods loops which opens a reference to one of the FPGA targets during the first call, then pass this reference in several subVIs that read and write to panels prior to the FPGA.  The loops the FPGA reference thus made available and reuse it in the next iteration through the shift registers.  Each FPGA target has only a single reference open to him.  One of the loops is using the FPGA reference directly and does not pass it in any subVIs.

    It all works very well in the development environment, I can read and control inputs and outputs FPGAS via the front panel of the application of the side Windows.  It also works very well if I start the game real time in the development environment, and run the code of windows as a stand-alone executable file.

    However, when I compile the code in real-time in an executable startup and deploy it to the target, it does not work.  I enabled debugging on the executable, and when I connect to it via the operation-> debug executable in the menu, I see an arrow broken at execution.  Further investigation shows that each of the four open screw reference FPGA is now empty, the text under them is "no target" and the thread for reference on their part to my first Subvi is broken.  I need your help to understand how to operate as it does in the development environment.

    I followed the instructions of these two knowledge base articles to compile and download the bitfiles FPGA on the FPGA target and execute on start or restart:

    http://digital.NI.com/public.nsf/allkb/39795847AC67296D862575FB0046944F

    http://digital.NI.com/public.nsf/allkb/BC513C2A0DC29C89862574BF0002B0B9?OpenDocument

    Open FPGA reference screw are configured for the FPGA to build specifications that I created for each target in the LabVIEW FPGA project.

    I called technical support, NO phone, and yet were able to determine this one out, so additional "brownie" points if you do!  I would offer you the same no detailed screenshot that I have (I can't give more detailed code out because its owner, unfortunately), but apparently the forum doesn't like my image file, as I can't seem to load.

    Please let me know if you have any ideas regarding what is happening!  I appreciate it.

    Jon,

    I'm always up for the challenge.  Have you tryied recompile the FPGA VI that accesses the RT VI?  I also suggest to try and open the bitfile instead of the FPGA VI.  You run in dynamic mode (this is not a suggestion, it's just a question)? There is no difference if you try to open the FPGA VI reference outside the while loop, then past the reference to use inside the while loop without shift registers, then close the reference to the FPGA VI outside the while loop?

    Let me know if these suggestions makes no difference.

  • I removed Applian freecorder in my programs, but I find myself with a toolbar of community with a button for Freecorder help page. How can I get rid of this, preferably on the entire toolbar

    I installed and now have uninstalleda Applian program (freecorder I think) but find myself with a toolbar of community with a button leading to the theFreecorder help page. I don't want the additional toolbar or button. How can I get rid of him? I tried to remove and reinstall Firefox, but this has not done it.

    Hello

    Please try to go to Tools (or Alt + T) > modules, Extensions , click on the left and if it is listed on the right, delete it. Otherwise, you will need to go to Add/Remove Programs in the Control Panel of BONE and remove it from there.

  • DASYLab is not communicating with the hardware dbk25a3

    Hello:

    I'm trying to troubleshoot a high pressure processing equipment. This system uses a PID controller. The level of pressure does not stop at the set point, but continue to increase. I am trying to solve this problem. As the program was written by someone else and there is no documentation on what each represent module and done. It is very difficult for me to solve the problems. Therefore, I decided to start all over again with my own module.  However, I have a problem. My hardware (DBK25 and others) is not communicating with the module of Dasylab. I tried several different things, that nothing seemed to work. I get this error.

    DBK25A3O

    An entry of a module is open.

    Any help is highly appreciated

    Thank you

    Krishna

    The error message indicates that you have a module that has one input open - nothing is connected. You must have a data wire to all entries.

  • RS 232 communication with a projector

    Hello! I work in communication with my prjector. The controls are pretty simple, just PWR it for OFF\r PWR to turn off and LAMP? How many hours have the lamp worked \r to land the aircraft. So I just used the example of the writing/reading series with labview, but had a few problems.

    1º) it works but it keeps giving me an error, I can't handle. Is the current operation of visa wait time. I tried it here and all the people say something on the lines of commands, but I put them and set up in the port, so I don't really know how to handle this error. Another thing, it is how can I put \r or 0xD for my end of just the default write command?

    2º) how can I make my request just be an exe that you don't have to press ' EXECUTE ' always to use it?

    3º) my last question is to ask questions about how to manage this thing, I need to read used with the control LAMP lamp hours?, and projector will answer me with something like: LAMP = xxx. How to handle this response to send it via TCP/IP? Should I have to create a new variable or something? I mean, I just need with another application in order to power switch of the projector via tcp/ip and calling hours of lamps via TCP/IP, so I don't really know how to handle. Thanks for all the peoples and let me know if you need more information, I'm not native English sorry for my mistakes.

    Edit: I forgot to put my vi.

    1. you will obviously get a timeout when you send the commands that do not generate a frequency of the instrument. Only do a reading when you send the LAMP? interview and to automatically send \r, set the stop to "0 D" character.

    2. you have the app Builder to create an exe file. In order to make the VI automatically running, go to the properties of VI > execution and check "run then '.

    3. I do not understand. First, you talk about RS - 232 and now you want to convert this TCP/IP communication VI?

  • Dell Inspiron 531 is not communicating with the Dell AIO 926 Photo printer.

    Dell Inspiron 531 is not communicating with the Dell AIO 926 Photo printer.  Maintains documents in the print queue and print them when the computer is restarted.  In addition, the computer does not recognize my Promaster digital converter when I plug it into a port.

    Hello

    Thanks for posting in the Microsoft Community Forum, please be assured that we would do our best to help you.

    Please answer the following questions that would help us provide a better solution.

    What version of Windows are you using?

    Try to follow the steps and check:

    Step 1:

    Visit the link following if you are using Windows 7.

    Printer in Windows problems

    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    If you are using Windows Vista, see the steps mentioned in the link.

    http://Windows.Microsoft.com/is-is/Windows-Vista/troubleshoot-printer-problems

    Try the steps from the link following if you are using Windows XP.

    Resources for the resolution of the printer in Windows XP problems

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

    Step 2:

    Try to activate the devices associated with the Dell printer and disable the rest by performing the clean boot, once done try to print.

    You can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts. The following article explains how to solve problems in Windows Vista or Windows 7 by performing a clean boot:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

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

    Note: Put the normal computer as mentioned in step 7 of section.

    Step 3:

    About the issue with Promaster digital converter try to connect to another USB device or run the fixit and check:

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Please feel free to respond if you have any other questions, we would be happy to help.

  • Internet Backgammon no work, receive error message: "a network error occurred during communication with the game server.

    Original title: All of a sudden internet backgammon works not

    Just your portable Windows 7 computer base. Everything worked well. Started playing internet backgammon... has won EACH game Yes! Took a break for an hour or so... came back and now have message saying a problem to connect to the internet game server.  Someone knows what's the problem?  What it says is specifically "a network error occurred when communicating with the game server". That the devil which means?

    Hello

     

    1. what browser do you use?

    2 are you facing the same issue with other games like asset stings on the internet?

    I suggest you follow these methods and check.

    Method 1: You can check if the problem appears in a clean boot state.

    Refer to this link: http://support.microsoft.com/kb/929135

    If the problem is solved, check which service non-Microsoft is the source of the problem; referring to article and following the other steps.

    Note: After you check the clean boot feature configure Windows to use a Normal startup using step 7 proposed in the above mentioned link.

     

    Method 2: Temporarily disable the security software and check if the game works very well.

    Refer to this link: turn off the antivirus software

    http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software

    When you disable the Antivirus: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

     

    Method 3: If the previous step fails, temporarily disable the Windows Firewall and check if the game works very well.

    Refer to this link: turn enable or disable Windows Firewall

    http://Windows.Microsoft.com/en-us/Windows7/turn-Windows-Firewall-on-or-off

    Note: After checking the functionality enable the Windows Firewall.
     

    I hope this helps!

  • Windows has encountered a problem communicating with a device connected to your computer.

    When you start the computer laptop, windows Boot Manager appears.

    He reads

    Windows has encountered a problem communicating with a device connected to your computer.

    file: \Boot\BCD

    status: 0xc00000e9

    Info: an unexpected i/o error has occurred.

    When I I go through F8, safe mode, last known good configuration, running in debug ect mode.

    running in safe mode past with him, freezes for abit in the past to a black screen with just the cursor and the Center recovery running VAIO, last good configuration, known debug mode. This windows is loading files, then the windows boot screen were it freezes then goes to a black screen with just a cursor.

    Place the cursor, I am unable to do anything else on this screen.

    is it far from getting the laptop to function normally again or is it finally the end of his life?

    the laptop is a sony VAIO E series (VPCEA25FG) running under windows 7.

    Hello

    The error - an unexpected i/o error has occurred, status: (0Xc00000e9) is a material error in the BIOS of your computer.

    Basically, it's to tell you that the computer is not able to communicate effectively with the hard drive.

    Try the Startup Repair.  Startup Repair is designed to prevent a reinstall tedious to diagnose and repair problems that prevent Windows startup.

    To run the Startup Repair tool, see the links below for more details:

    What are the system recovery options in Windows 7?
    http://Windows.Microsoft.com/en-us/Windows7/what-are-the-system-recovery-options-in-Windows-7


    Startup Repair: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows7/Startup-Repair-frequently-asked-questions

    I also suggest you to update the BIOS. Update the BIOS, contact the manufacturer of the system!

    Warning of the BIOS:

    BIOS change / semiconductor (CMOS) to complementary metal oxide settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

    To ask your question in the Forum of Sony, refer to this link.

    http://community.Sony.com/?XID=M:header:eSupport

  • My ipad 3 has stopped communicating with my airport extreme.

    My ipad 3 has stopped communicating with my airport extreme.  I rebooted, both so that made a network reset on the ipad.  He sees the airport but does not connect.  It will work on the personal hotspot on my phone.

    Hello

    If your ipad works with a hot spot that's the Aiirport is the problem

    Go to the Apple Web site

    support. Apple.com

    You may need a software update for airport how old is this do you have another

    Router, you can try?

    See you soon

    Brian

  • How can I make Thunderbird start car with windows startup

    How can I make Thunderbird start car with windows startup

    You can by placing a shortcut in the startup folder of windows, just like any other windows program.

    However if you do, you are likely to encounter problems such as downloading email while still load the antivirus and the network is busy, announcing the arrival of machines on the network (which can be a network a) and any other program of a dozen are loading is heavy risk of timeouts and disconnections of the server as well as error messages that make little sense because they are something that still load.

    The bottom line is so safe that you can, but if there are any questions bring her out of there first.

  • SPI Communication with PIC24HJ256GP210

    Hello

    I need make the SPI Communication with hardware PIC24HJ256GP210 in LabVIEW 2010 with NI USB 8451.I want to send 8 bytes data and receive data of 8 bytes of PIC. I'll send data byte-by-byte change the signal of the chip Select (CS). Before you send the data I will send ENQ (mark 3A) to check the status PIC, then after receiving ACK (Acknowledge as A1), I will send the data packet.

    My test procedure indicated below,

    • Setting clock polarity at zero (LOW idle), a second Edge clock Phase) and the clock frequency of 1 MHz to device NI USB-8451

    • 3 sending data (ENQ) and followed meaningless data byte by byte, also change state Chip Select

    • No explicit deadline has provided since the sending of the API takes 20msec to run

    • Receive the acknowledgment of receipt (A1) of the sensor

    • Send DataPacket [Eg: A5, 03, 02, 00, 00, A6, 2 c, DD] byte by byte, also changing chip select signal

    • No explicit delay gave between each byte from API takes 20msec to perform sending

    • Send 8 bytes , which means less data byte-by-byte, and receive byte-by-byte data PEAK

    • Received all of the data of 8 bytes with an incorrect value

    If please review my test procedure and give your comments if you have worked with SPI or if you have any input for my query.

    Thanks in advance.

    Note: Tie my code with this mail for your reference.

    Kind regards

    Nicolas.

    Hello O_Proulx,

    Thanks for your reply.

    Communication SPI after sending the data we send again meaningless bytes, which equals how many bytes we would like to receive the answer System.So we cannot read the data in the same VI as you mentioned in the code.

    My problem has been resolved. Byte meaningless, I need to send the file HEX .beacuse 'AB' has been developed in this way.

    Kind regards

    Nicolas.

  • Checking the status of communication with NI DAQmx or NI6143

    Hello world
     
    I'm working on checking the status of communication with NI DAQmx or NI6143 in Microsoft Visual Studio 6.0 C++ on Windows XP. The communication situation is checked between the DLL and the NOR-DAQmx/NI6143. I wonder what is the command for the control of communication for NI DAQmx or NI6143, and if there is no code available. Any suggestion or advice is greatly appreciated.

    Thanks in advance.

    There are many examples available on your computer that install with NI DAQmx. For examples in C/C++, follow the steps listed in this white paper:

    http://www.NI.com/white-paper/6999/en

    If you are new to data acquisition, that I suggest using LabVIEW. LabVIEW has several examples to begin to use a data acquisition equipment. To find them, open LabVIEW and select help > find examples... > Input and Output material > DAQmx.

    As a note of clarification, NI DAQmx is the driver used to communicate with your device (NI 6143). You do not communicate with OR-DAQmx itself, but use it to send commands and receive data from your device.

    Cameron T

  • Problem with getting communication with old instrument GPIB-ENET/100

    Hello!

    I'm trying to get my program in VB.net to communicate with an older instrument (Infratek 305 A, measure of power) via a GPIB-ENET/100 device.

    The manual of the instrument does not say what GPIB standard, it supports, but the instrument is detected by the measurement and Automation Explorer.

    Detected by that I mean that MAE has detected an instrument located on the right GPIB address, but indicated identification is the output measure instrument string

    instead of the name of instrument (as shown for some more recent instruments of Agilent).

    When I run my application, I followed the communication with NISpy.

    Configuration of the device seems to work and I present only once in the program.

    The problem is reading data from the instrument. Whenever I read the data, I get a correct string of the instrument. But the problem is

    I get the same data in two consecutive and all readings first after that I get new data and also these new data are received in two consecutive readings.

    According to the manual of the instrument the instrument generates the data as follows:

    "A row of data ends with CRLF. The instrument can send multiple rows of data. "When all of the data transfer is complete the EOI (end or identify) is sent.

    My endpoint settings are:

    Send EOI to write complete: YES

    Terminate read on EOS: No.

    EOS byte: 2

    8 bit EOS compare: YES

    Define EOI with EOS on write: No.

    How can I configure the GPIB-ENET/100 to work with my instrument?

    Here are som NISpy logs:

    # Configuration #.

    61 ibwrt(UD3, "C0C2C4C8..", 10 (0xA))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.671 call duration 00:00:00.079
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    62 ThreadIbcntl()

    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.750 call duration 00:00:00.000
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    63 ibwrt(UD3, "K0K3K5K9..", 10 (0xA))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.765 call duration 00:00:00.125
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    64 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.890 call duration 00:00:00.000
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    65 ibwrt(UD3, "F14F18F24..", 11 (0xB))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.890 call duration 00:00:09.250
    ibsta: 0 x 100 iberr: 0 ibcntl: 11 (0xb)

    66 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:53.140 call duration 00:00:00.000
    ibsta: 0 x 100 iberr: 0 ibcntl: 11 (0xb)

    ### LU ###

    437 ibrd(UD3, "*AC/1.0A480V/...", 1024 (0x400))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:58:52.484 call duration 00:00:00.094
    ibsta: 0 x 2100 iberr: 0 ibcntl: 225 (0xe1)

    438 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:58:52.578 call duration 00:00:00.000
    ibsta: 0 x 2100 iberr: 0 ibcntl: 225 (0xe1)

    439 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:58:52.578 call duration 00:00:00.000
    ibsta: 0 x 2100 iberr: 0 ibcntl: 225 (0xe1)

    Hello!

    I don't have the opportunity to test with other controllers.

    However, I found a solution to my problem.

    The instrument should output 4 lines of data.

    L1 - line with comments

    L2 - line with current values

    L3 - line with the values of voltage

    L4 - line with power values

    The first line of the reading stops the instrument of implementation of additional measures.

    The measurements in the instrument began reading the last line of data (L4)

    The problem was that the instrument for a reason any also released a fifth line, which was empty.

    Read this line 5' th stopped the instrument again.

    By configuring the HW to finish reading on EOS, with EOS PMQS, the value byte, I could read the

    buffer of the instrument with a line output instead. This way I could read just L1 - L4

    and the instrument could work again.

    Next time I should read data from the Instr. first of all, I would like to read the empty line, then

    L1 - L4.

    Why the outputs Instr. an additional empty line will be left not resolved.

    My problem is solved.

  • Modbus communication with a piezoelectric dynamometer

    Hello..!

    I am a new user of LV and I try to communicate with a piezoelectric dynamometer in modbus RS232.

    After you install NI Modbus Library, I created a master VI with labview 8.6 using these libraries and I can get communication with scale, these values are added in the registry U32Bit 1 and it's good, if I press a load cell, I can see the values exceed. (from 0 to 65535). Now, I want to show on the front the weight in KG, as the decimal separator, for a proper interpretation of the value for my client, so I added a block table to unbundle that I convert a value with I32Bit (-32768 a 32768) with a flag, but I don't see not all values...

    I guess I did something wrong (conversion), I read a few KB, but I do not see a solution...

    Can someone give me a link or information to show me an example to convert this value... ?

    Thanks in advance for any help to...

    Configuration of master VI:

    Read now register

    Address starting 2012 (query to get the net value of the load cell)

    Quantity 1

    Slave address: 1

    RTU

    9600

    3 com

    parity none

    Can you post some examples of bytes you receive from the Modbus read and you expect that these values are?  It's probably just a matter of the right of casting, or the number endianism, or operation of scale that must be done.

  • Games on the Internet give the error "a network error occurred during communication with the game server. "Error code: 0 x 80041006.

    I ran the System File Checker tool analysis. Response has been no problem with the configurations. Also, I did uninstall and reinstall. I keep getting the message: "a network error occurred during communication with the game server. "Error code: 0 x 80041006 ' this error message occurs on all the computers I own.

    Actually, no, the answer in the links were also less than helpful... suggested this, that.  Things that I had already done b4 posting my question.
    More funny: after that I posted my comment about the fault is not not in my machine and those of thousands of others, but in MS, spades servers suddenly started working again.  Coincidence? No doubt, but still...

Maybe you are looking for