RT code works since the LabVIEW environment, but not when I create and deploy

I think there are a lot of reasons why this can happen, but I can't seem to pin one.

I have a classic controls program that runs on a cRIO. We recently decided to change the communication of a ProfiBus comsoft on Ethernet/IP card. (Industrial Protocol for Allen Renaud automata). For various reasons, we put the fuse in communication in the control loop.

Now when I run the LabVIEW now, it works fine. I can see data going to and coming from the controller. I can sniff packets and they look good. I get about 30 milliseconds on the loop, which is long, but since I am running in the IDE, I think is not bad. (In other words, I get data in and out every 30 milliseconds).

When I compile and set the binary on the cRIO, it breaks. I can still sniff packets, but what I'm getting now, is that all traffic to the controller of read requests. My write requests are missing. In addition to reading queries are poorly trained. Rather than ask 43 items in a table, they ask 1.

A test that I tried was to disable the read request. For the binary file, I don't see any traffic. For the IDE, I see write queries.

I use LV 2009 SP1. I have the version of NOR-Labs of the Ethernet/IP driver. (We have a request for a quote, but do not have the official driver.) In the meantime, faster I get this done, the happier everyone will be ;-)

Any suggestions?

Attention to the nodes of property which is usually my problem when it happens.  Some who say they work in RT do not work in compiled RT

Tags: NI Software

Similar Questions

  • Why build application vi works in the development environment, but not in the executable file; error 1025

    Hello

    I have a request ('A') that I am trying to build another application ("BuildA").

    I can create a request for A manually of its project using the Build specification, and it works fine (A.exe).

    Also, when I run BuildA.vi in the development environment he calls the "Build.vi" properly and again generates application A.exe very well.

    Then, when I ask BuildA (manually) and run BuildA.exe, I would expect that it also creates A.exe as BuildA.vi did in the development environment.

    However, it fails with the error:

    Code: 1025

    Reference VI opened in .vi NI_App_Builder_API.lvlib:Build (path)-> BuildA.vi
    Path of the VI: C:\TEMP\AppBuild\BuildA\vi.lib\AppBuilder\BuildTarget.vi

    I noticed this thread , which looks like a similar problem, but has reached no conclusion.

    Why BuildA.vi works fine in the LabVIEW environment, but the application that builda.exe does not work?  All paths are hard-coded, so it shouldn't be a path problem.

    Thank you

    -john

    eye_in_the_sky wrote:

    I guess we will have to keep the application building separated the disappointment... automated scripts

    There are still other options.  Lets say configure you VI to run then.  If you ran the following command from your script line

    "C:\Program NIUninstaller Instruments\LabVIEW 2011\LabVIEW.exe" "C:\BuildA.vi".

    It would then open your BuildA.vi in LabVIEW and run in the development environment.

  • Code works in the timeline panel, but not in the class

    Hello, I have the following code which works in the timeline, but if I change it to the class I get this error.

    I will be very happy if someone can help me solve this problem.

    Error here:

    TypeError: Error #2007: Parameter child must be non-null.
              at flash.display::DisplayObjectContainer/addChild()
              at Function/Main/private:completeMenuLoad/goContent()
    

    Code scenario here:

    import flash.display.*;
    import com.greensock.*;
    import com.greensock.easing.*;
    import flash.net.URLRequest;
    import flash.net.URLLoader;
    
    
    var signUpUrl:URLRequest = new URLRequest("../swf/signUp.swf");
    var logInUrl:URLRequest = new URLRequest("../swf/logIn.swf");
    
    
    var content1Loader:Loader = new Loader();
    var content2Loader:Loader = new Loader();
    
    
    content1Loader.load(signUpUrl);
    content2Loader.load(logInUrl);
    
    
    var buttonA:Array = [signUp_btn, logIn_btn];
    
    var prevOnStageLoader:Loader;
    
    for(var i:int=0;i<buttonA.length;i++){
    buttonA[i].addEventListener(MouseEvent.CLICK, goContent);
    }
    function goContent(e:MouseEvent):void
    {
    if(prevOnStageLoader){
    TweenLite.to(prevOnStageLoader,1,{x:stage.stageWidth});
    }
    prevOnStageLoader=Loader(this["content"+(1+buttonA.indexOf(e.currentTarget))+"Loader"]);
          addChild(prevOnStageLoader);
          prevOnStageLoader.x = -1250;
          TweenLite.to(prevOnStageLoader, 1, {x:0, ease:Elastic.easeInOut});
    }
    

    Code of the class here:

    package 
    {
    
    
              import flash.display.*;
              import flash.net.*;
              import flash.events.*;
              import com.greensock.*;
              import com.greensock.easing.*;
    
    
    
              public class Main2 extends MovieClip
              {
                        private var signUpUrl:URLRequest = new URLRequest("../swf/signUp.swf");
                        private var logInUrl:URLRequest = new URLRequest("../swf/logIn.swf");
                        private var content1Loader:Loader = new Loader();
                        private var content2Loader:Loader = new Loader();
    
    
                        public function Main2()
                        {
                                  content1Loader.load(signUpUrl);
                                  content2Loader.load(logInUrl);
    
    
                                  var buttonA:Array = [signUp_btn,logIn_btn];
                                  var prevOnStageLoader:Loader;
    
    
                                  for (var i:int=0; i<buttonA.length; i++)
                                  {
                                            buttonA[i].addEventListener(MouseEvent.CLICK, goContent);
                                  }
                                  function goContent(e:MouseEvent):void
                                  {
                                         if (prevOnStageLoader)
                                         {
                                                   TweenLite.to(prevOnStageLoader,1,{x:stage.stageWidth});
                                         }
                                         prevOnStageLoader = Loader(this["content" + (1 + buttonA.indexOf(e.currentTarget)) + "Loader"]);
                                         addChild(prevOnStageLoader);
                                         prevOnStageLoader.x = -1250;
                                         TweenLite.to(prevOnStageLoader, 1, {x:0, ease:Elastic.easeInOut});
                                  }
                        }
                }
    }
    
    

    OK, so the problem is SOLVED. I don't know where the problem was because I solved as so much ' try & test - try & test...» ', but

    I think that the problem was a table that should look like this:

    in the Main() public class

    private var buttonA:Array = new Array();

    in constructor

    Button = [signUp, login];

    and the full code here:

    package

    {

    import flash.display. *;

    flash.net import. *;

    import flash.events. *;

    import com.greensock;

    com.greensock.easing import. *;

    SerializableAttribute public class extends MovieClip Main2

    {

    private var container: charger;

    private var content1Loader:Loader = new Loader();

    private var content2Loader:Loader = new Loader();

    private var signUpUrl:URLRequest = new URLRequest("..) ("/ swf/signUp.swf");

    private var logInUrl:URLRequest = new URLRequest("..) ("/ swf/logIn.swf");

    private var buttonA:Array = new Array();

    constructor function

    public void Main2()

    {

    content1Loader.load (signUpUrl);

    content2Loader.load (logInUrl);

    Button = [signUp, login];

    for (var i: int = 0; i

    {

    buttonA [i] .addEventListener (MouseEvent.CLICK, goContent);

    }

    }

    private void goContent(e:MouseEvent):void

    {

    If (container)

    {

    TweenLite.to (container, 0.8, {x: 1250, ease:Cubic.easeInOut});})

    }

    container Loader = (this ["happy" + (1 + buttonA.indexOf (e.currentTarget)) + "Loader"]);

    addChild (container);

    Container.x =-1250;

    TweenLite.to (container, 0.6, {x: 0, ease:Quart.easeInOut});})

    }

    }

    }

  • If sendAndLoad() returns correctly in the swf file, but not when they are incorporated...

    If sendAndLoad() returns correctly in the swf file, but not when they are incorporated, does this mean that I am missing something in my html code?

    I use generic Flash embed code generated from Dreamweaver.  I can post more information if necessary.

    Thank you

    Peter

    peterbrinson wrote:

    Very useful.

    Is it because my swf/html and the database are in very different places?

    Yes, they are in different domains and adobe imposes restrictions on what a swf file can do with the data from one server to another (from the swf) area.

    Are you talking about a PHP or ASP file that integrates the swf?

    lol you create an executable file on the same server that hosts your swf.  This executable can query your database and not trigger cross-domain issues.

    your swf file can send and receive data from and to this executable without triggering cross-domain issues.

  • Query works well in an environment, but not in the other environment

    Hello

    I have a question that I am trying to run in two different environments.

    Test: - Oracle Database 11 g Release 11.2.0.1.0 - 64 bit Production
    Prod: - Oracle Database 11 g Release 11.2.0.1.0 - 64 bit Production

    Now the query runs fine in one environment and fails in the other environment.
    It gives following error.


    ORA-01861: literal does not match the format string
    01861 00000 - "literal does not format string.

    The query is too long and contains CHAR-DATE and DATE-CHAR conversions.

    The same query works very well on the TEST environment and the PROD environment.

    Any help related to it would be appreciated.

    Thank you
    Mahesh

    MaheshGx wrote:
    Hello

    I have a question that I am trying to run in two different environments.

    Test: - Oracle Database 11 g Release 11.2.0.1.0 - 64 bit Production
    Prod: - Oracle Database 11 g Release 11.2.0.1.0 - 64 bit Production

    Now the query runs fine in one environment and fails in the other environment.
    It gives following error.

    ORA-01861: literal does not match the format string
    01861 00000 - "literal does not format string.

    The query is too long and contains CHAR-DATE and DATE-CHAR conversions.

    The same query works very well on the TEST environment and the PROD environment.

    Any help related to it would be appreciated.

    Thank you
    Mahesh

    This is called a bug. One caused by the person who developed the code. They relied on an implicit conversion between strings and dates when
    production quality code will always use the function to_char and to_date with a format mask.

  • How to load Firefox version I was using before the update for Firefox 29? The Norton toolbar has worked in the last version, but not in Version 29.

    I've just updated to 29 of Firefox. Since the update the Norton Toolbar is no longer compatible. The Norton toolbar has worked in the last version of Firefox that I had installed. Is there a way to get back to the last version of Firefox where this toolbar is compatible and keep all the settings (favorites) in the old version I am reloading? All my passwords (99) are in the toolbar Norton Safe ID. Now I can not connect to many Web sites.

    Hello jimb01, yes norton supports only the stable versions of firefox and Firefox 29 you are using the beta version of the browser. You can download the normal version of firefox 28 of https://www.mozilla.org/firefox/channel/#firefox and install it on top of your current installation...

  • My site works in the United States but not in the Canada (I know sounds crazy)

    I have a client in the Canada who is having a few problems of very annoying site. The problem is when I test the site here in the United States, it works fine. I clear my caches and test the site on Chrome/Safari/Firefox and it works fine. I have my client the same thing, but they still run questions.

    They say the site:

    (1) takes more than 20 seconds to load, it takes only 8 seconds here in the United States.

    (2) they tell me that when they try and share a link on directly linked from the blog, they get a 404 error.

    (3) they say that the site does not work on the iPhone 5.

    Yet once, all these things have been tested here in the USA and I'm not able to replicate questions. What in the world could possibly happen?

    Here is the link to the site Kneed | Home

    Thank you

    Morgana

    Well, you use widgets 'localized' like the one for the card that, depending on the regions and the Internet, location of the provider may give different reslts, possibly including break completely, then the carrier of the supplier registration point to a different location than the one you are actually. The rest could be simply regional caching problems with TypeKit and your images and videos, but even on my fast fiber your page access charge with delay due to a large images used. The 404 would probably also fall into this category - you are being invited to a different resource at the regional level rather than one you do reference on the page. Loading times are also confirmed by your own comments - another 8 seconds is something that I would find much too long on what should be a simple thing. You need to spend time optimizing everything and check when cross-border is the features that you use, somehow...

    Mylenium

  • Contact form works on the host server, but not the Web Page

    I created my first site with CS6. I decided to throw a contact form, so I went to my host providesr, Network Solutions, which has a Wizard for a contact form. I used the wizard to create a contact form. When I access the page on the Host Site for Network Solutions, the contact page is formatted with colors, I chose and it works correctly. Declined, I hit Submit, the message is sent to the approprate address.

    I used the GET function to bring the new page of my local site and then synced it with the real Web site. The formatting, I've created on the server host does not appear, but the Contact form is on the Web site I created in all white. Fill the fields of the form, but when I click on the botton to SUBMIT, a dialog box appears saying it does not find the Web page.,.

    Does anyone know what error I do?

    Thank you

    Put the complete url in the field of action.

    "action ="http://yourWebAddress.com/cgi-bin/FormMail.contact.pl"

    Then see what happens

  • Interactive buttons, working on the Adobe Viewer, but not on the final application

    Hello world

    I had a lot of problems with interactive buttons:

    I made buttons with link with 'pageTo' and 'getURL' (and the "navto://Article#2" syntax).

    What I already know:

    • When you use the "navto" syntax, the first page is 0 (and not the 1 page);

    • I double check spelling of the Article and that's okay.

    the problem is that when I test the application with the Adobe Viewer on my iPad these links work well, but when I create the app and I test on my iPad .ipa file these links no longer work.

    I work on Mac.

    someone has an idea?

    Thank you very much!

    It is a known problem with the simple editing applications. Do not submit this app to

    Apple and keep an eye on things here for an announcement on a fix.

  • Pinch &amp; Zoom works in the content viewer but not the developer application

    I have all articles in PDF format, version of the viewer just tried 24. The work of pinch & zoom very well in viewer content but I just tried to create the application (simple edition for now), and the p & z does not work in the application of the developer. If that is not allowed in simple edition or am I missing something?

    The zoom allow PDF has been checked in the application builder DPS as well as advanced options in the first window.

    As always, thanks for the help!

    Yes, that makes sense. Some customers have reported problems pinch and zoom to trigger reliably with the pinch gesture. We're investigating.

    Neil

  • FM11 to RH10: FM Cross Refs works on the FM band, but not in HR.

    Using Win7 32 bit, 4 CHT (FM11/RH10)

    FM11 Cross Refs work in FM11 as well as in the output PDF of FM11.

    When they are imported into RH10, Cross referees appear as blue text with an underscore (planned). Ctrl-click on the link that is supposed to show the mouse cursor (hand with pointing finger) and a circle with a line through, as shown below.

    https://www.evernote.com/shard/s140/sh/a19720a0-3970-4b7a-9d2d-558fdc5ef106/483497a127d4e6050700b4ee3502d479/res/f54d391b-a98c-4838-a664-1c1f8352d922/xref_broken-20130116-113257.jpg.jpg

    The html code from one of the link of non-functioing HR cross reference is shown below:

    < class p = "BodyLevel1" > polygon alerts allow the user to define a series

    alerts for a specified region (polygon) in the desired geographic direction

    location. The following paragraphs describe the necessary configuration steps

    Polygon METWATCH alerts. All the features of Metwatch are covered in the < a >

    & quot; METWATCH Mode & quot; < /a >. < /p >

    < / body >

    < / html >

    Conversion of FrameMaker for the cross reference parameters are shown below:

    https://www.evernote.com/shard/s140/sh/380dbd5a-8e2a-4966-a6b8-cc1bedef868d/fad1d51ce2985e37416bc960beedd5ab/res/8834ea01-ca71-4a66-b583-8c344942448f/fm_conv-20130116-112956.jpg.png

    Please help. Thank you.

    I never really worked on the length of path correct max, I just kept shorten until it seemed to work.

    The path "long" ran like this:

    P:\Departments\QA Department\Jonas Conversion Project\doc_projects\Jonas\content\Banquet & Catering\really_long_filename.fm Documentation

    I think the longest 'short' trail is now - P:\Departments\QA Department\doc_projects\content\Banquet & Catering\really_long_filename.fm

    I did it by copying the original files and sticking them in their new locations because I was afraid to disrupt all my internal FM xrefs. Which perhaps not necessary. Because there is another author that accesses files FM, I had to keep it on a network location. If I was a totally solo author, I'd keep the premises in a really short project path.

    It is not the length of the reference itself that is the question (even if it's maybe - I just never knew it), this is the full path to the file is xref refers to. Why? Adobe engineers don't know us mere mortals!

  • restart of the computer from standby when I press start on the system unit, but not when a scheduled task is started

    Windows XP Professional SP3, updates, motherboard Asus P4P800 series (2006). The original system dates back to 2002, but there have been many additions and replacement upgrade. More recently, 2011, two old hard drives have been replaced (XP had destroyed itself requiring a reinstallation), with a much larger and HD, and the cpu has been replaced by a 3 GHz one.

    I've configured the BIOS to enable the use of standby mode (standby). I wanted to be able to run scheduled backup jobs early in the morning, a little before I wake up normally. The goal was to conserve energy. Whenever I leave the computer for more than an hour or two, I put it in sleep mode. In recent years, that it worked well.

    Scheduled tasks are still, in fact, more surely than ever. But now, when I press the Start button on the system unit, the operating system is restarted rather than restore the State of the system at the time of Eve. This happened almost constantly for maybe a week. I was always a guard never enter sleep mode when I'm aware of any application running who has not completed a requested operation (save a file, defragment a disk, etc.).

    I searched on the basis of knowledge, but not found any problems like that. There has been no hardware changes, no new devices; only change of important software (but it is difficult to see how it might be relevant) was the resettlement of Java Runtime Environment 6.x to support the help of OpenOffice. Although I have not checked, I am reasonably sure that all drivers are up-to-date.

    No idea why this should suddenly become a problem or how to fix?

    Hello

    I suggest you follow these methods and check.

    Method 1: View the steps suggested in the following link.

    How to solve the problems of hibernation and standby in Windows XP

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

    Method 2: Use the Powercfg.exe utility to restore the default power mode

    You can use the Powercfg.exe utility to copy the power mode of the user by default to the currently logged user profile. You can do this because eating patterns are only related to individual user accounts. To copy the default user schema using the Powercfg.exe utility, follow these steps:

    1. click on Start, click run, type cmdand then click OK.

    2. at the command prompt, type the following command and press ENTER:
    powercfg /RestoreDefaultPolicies

    Method 3: How to perform the check and clean boot if the problem persists.

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

    NOTE: Once you check the functionality, follow the suggestions under steps to configure Windows to use a Normal startup state.

    I hope this helps!

  • PALM TX will turn on and work with power cable plugged but not when disconnected?

    Hello all-

    I have a PALM TX, who bought in 2005. It worked fine but I changed my position and my last job stop supporting. That being said, I can use now and have recently it turned on and loaded schedule, etc. However, it does work when I plugged in the power cord. It works very well with the connection, no problems. That said, once disconnected from the power source it not light?

    I finished the soft reset several times. With reconnected to the power cord it works fine. However, it still not work with the power cord?

    I was reading online in various forums and it seems like it might be my power button?

    Does anyone else have this problem?

    Any ideas or help would be greatly appreciated that now I can use and really want to use it to its full capacity.

    Thank you!

    Joe

    The connections of welding of switch on the motherboard have been a little weak on the TX line.

    It seems to me that the battery is dead.  The TX can also turn on by pressing the front buttons.  Try to press one of them and see if it lights.

    There are several online sites for repair and PDA batteries.  TX peut battery be user servicable, although it is a little intimidating for a novice.  If you Google 'Palm TX battery replacement', many hits will occur as well as how to videos!

    WyreNut

  • Dell XPS 8700 - failure of the keyboard when the bios boot (but not when Windows is loaded)

    My Dell XPS 8700 has 10 Windows and a Logitech Keyboard wireless, connected by USB. The keyboard works absolutely fine when Windows has loaded. I have the latest version of the bios, A11.

    However, when the computer is turned on and starts the bios start, it displays 'Keyboard Failure' on the screen for about half a second. When I try to go into the bios setup by pressing "F2" at the counter (I keep typing "F2" from the moment when I press the power button on the computer), there is no answer. The "keyboard failure" and inability to enter the bios setup seems to happen if I do a cold immediately after a stop start, a cold start after the computer is turned off for an extended period or a reboot.

    I tried to connect the wired keyboard original Dell one of the USB ports on the front of the unit (without disconnecting the wireless keyboard) with the same problem at the start of the bios.

    I encountered this problem on versions of bios A11 both A03. I know that in the past, although I don't remember when - I was able to enter the bios setup by pressing "F2".

    Any thoughts on how to solve this problem?

    You can try and reset the CMOS. It will return your settings to factory settings, but not the version. Usually, this erases these problems because CMOS stores data editable such as your wireless keyboard settings. BIOS stores the information about the basic material that is unchangable as your keyboard usb, mouse and other essential equipment. If you notice, when you just plugin any keyboard and mouse, its recognized at startup. Your needs software to run wireless device and that is stored in the CMOS.

    So once reset you the CMOS, you may need to then install the wireless software.

    Good luck.

  • Color of police present in the Design tab, but not when viewed or downloaded

    This has been me angry the last days and I can't seem to find any info on this subject. I found a site, but they want you to pay a subscription to view the answers. Basically, my question is, when creating a site that I can see the police of colors in the Design tab, but when I download or even look at the page in IE 7 or Firefox the font color is the default value of the page, not what is described in my code (attached) CSS. I'll admit I'm trying a new style of page. I normally do a shell and use iFrames for content, but I wanted to be more search engine friendly so I use Div scrolling layers instead. I don't think that's the question, but I could be wrong. Any help explaining why this is happening and how to fix it would be greatly appreciated.

    I fixed it. The problem came from a library that I had on the page. I had 3 different styles, he listed, and one of them was style 3 then he drew the color and the make-weight of one as apposed to the style 3 in my CSS of the page. I went to my library and renamed the 3 different numbers and bingo, my policy is that showing red when downloaded.

Maybe you are looking for

  • Desktop HP ENVY h8-1410

    I was wondering if I could put my HP Pavilion HPE h8-1030 460w power in this computer comes with a 300w power supply. I want to use a video card ATI Radeon HD6770 PCIe 1 GB Dual DVI-HDMI from HP.

  • Track numbering on MicroSD card

    My rocket is playing tracks in the wrong order in Album mode. But this problem is present only for the tracks on my microSD, not those of the main memory. When I go to the file information, it shows a weird number for the track #. For example, Nine I

  • HP Pavilion 14-n001tx: replacement of Mediatek MT7630E 802.11 wireless card bgn

    Hello Forgive me if I don't sift through the whole forum, but I was not able to get enough information. I currently own a 14-n001tx Pavilion, which has a Mediatek MT7630E 802.11 bgn 1 x 1 Wi - Fi + Bluetooth Combo Adapter 4.0. The problem is that I r

  • Questions of OS/C drive (I'm very new to windows 8)

    I just took my new Dell Inspiron computer yesterday.  It has a 1 TB hard drive and Windows 8.  Forgive my simple question, but Windows 8 is very new to me.  I want to create folders on my drive hard that I have on the latest computers, but this new "

  • Where is NUM LOCK on your laptop please?

    Don't know how but I lost NumLock on my laptop.  I know it's silly, but I can't get back.  Help please!