Any change in code causes data to change from good to bad

I have a vi that receives its data from a UDP stream.  A C# created dll is used as a stream file (order of data, and size (char, short, Long, and Double))
The issue is this: if I change any part of the code and then run the vi, the data that used to show good (ex 28 volts) becomes bad (ex 15154898762 volts).
I have played around with rebuilding the .dll, but I can't get a solid way to remedy this problem.  It seems to have worked sometimes, and not others, but I have been stuck with the bad data version for the past 2 hours.
I am not able to post my code.
I have searched and have not come across any situation like this.
I am new to posting here so please forgive me if I have omitted any helpful data.
Thanks.

bomluuk wrote:
I have a vi that receives its data from a UDP stream.  A C# created dll is used as a stream file (order of data, and size (char, short, Long, and Double))
The issue is this: if I change any part of the code and then run the vi, the data that used to show good (ex 28 volts) becomes bad (ex 15154898762 volts).
I have played around with rebuilding the .dll, but I can't get a solid way to remedy this problem.  It seems to have worked sometimes, and not others, but I have been stuck with the bad data version for the past 2 hours.
I am not able to post my code.
I have searched and have not come across any situation like this.
I am new to posting here so please forgive me if I have omitted any helpful data.
Thanks.
I'm guessing you have serious race issues with your VI and every time it recompiles, you roll the dice and maybe it works, maybe it doesn't.
Bill
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

Similar Messages

  • Any solution for preventing converted data (to excel) from crashing?

    Any solution for preventing converted data (to excel) from crashing - file crashes on a consistent basis.

    Hi Shrinivas,
    LabVIEW is getting bug fixes and new features with each version step.
    But new features also can bring new bugs - and not all bugs from older versions are fixed by now…
    The MixedSignalGraph is a beast of it's own and known to have bugs inside. The one you noticed now is probably one of those.
    So it's not your fault your VI terminates rather "unhappy", but most probably NI's fault. You can have a workaround as described in the last post.
    If I have to take same data from wire as you mentioned, I need to save the data in some variable
    No, you don't need any "variable"! THINK DATAFLOW: the wire is the variable!
    I have to write the data to excel file using report generation tool kit or some other way. … Please let me know if I can do it in some other easy methods. 
    It all depends on the datatype of your data. There are functions to save to spreadsheet files. You can save in binary files. You can create TDMS files , which can be read by Excel too. All those functions are really easy to use - you just have to look at the example VIs coming with LabVIEW!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • My MacBook Air 13' (2013) will occasionally start the fan at full blast, not connect to any wifi or detect any wifi, and will remove the battery icon from my menu bad as well as tell me there is no battery connected. How do I fix this?

    My MacBook Air 13' (2013) will occasionally start the fan at full blast, not connect to any wifi or detect any wifi, and will remove the battery icon from my menu bad as well as tell me there is no battery connected. How do I fix this? I have restarted my computer multiple times, **** it down, and ran a diagnostic test to tell me nothing is wrong and my computer is not running any applications. There is no reason for the fan to be on full blast! when I try to set the option to show my battery icon in the menu bar, it will automatically uncheck. How do I fix all of this?

    Have you tried SMC and PRAM resets?
    http://support.apple.com/kb/HT3964
    http://support.apple.com/kb/ht1379
    Ciao.

  • Any sample program to fetch data with JSP from MySQL

    Hi,
    Anybody can you ple give me a sample code to fetch data from MySQL and show it.
    Database server : localhost
    Databasename : test
    Database User : root
    Database Password : (database have no password)
    Table Name : category
    Table column name : catName
    I am trying the following code, but it gives error:
    exception
    org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    <%@ page import="java.sql.*" %>
    <%
    String connectionURL = "jdbc:mysql://localhost:3306/test";
    Connection connection = null;
    Statement statement = null;
    ResultSet rs = null;
    %>
    <html><body>
    <%
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    connection = DriverManager.getConnection(connectionURL, "root", "");
    statement = connection.createStatement();
    rs = statement.executeQuery("SELECT * FROM category");
    while (rs.next()) {
    out.println(rs.getString("catName")+"<br>");
    rs.close();
    %>
    </body></html>
    any help is appreciated.
    ---Sujoy

    Just replace the following code. I think it will work for u.
    <%@ page import="java.sql.*" %>
    <%
    try{
    String connectionURL = "jdbc:mysql://localhost:3306/test";
    Connection connection = null;
    Statement statement = null;
    ResultSet rs = null;
    Class.forName("com.mysql.jdbc.Driver");
    connection = DriverManager.getConnection(connectionURL, "root", "");
    statement = connection.createStatement();
    rs = statement.executeQuery("SELECT * FROM category");
    %>
    <html><body>
    <table>
    <%
    while(rs.next())
    %>
    <tr><td><%=rs.getString("catName")%></td></tr>
    <%
    %>
    </table>
    </body>
    </html>
    <%
    rs.close();
    statement.close();
    connection.close();
    catch(Exception e)
           e.printStackTrace();
    finally()
      try{
       rs.close();
       statement.close();
       connection.close();
      catch(Exception e)
            e.printStackTrace();
    %>

  • WBS Status change from Good Receipt

    Hi All,
    Is there any way I can control the WBS System status at the time of creating good receipt. Any BAPI, BADI or useexit would help.
    Thanks
    MKR

    Hi,
    Could you elaborate your query? 
    Do you want to control or restrict system status of WBSE while doing GR?
    Regards,

  • SEO changes from CS4 to CS5

    My site that mainly has Flash was recently updated with a file made from CS5. In my google dashboard there are a lot of new keywords that are only in the Flash file. My page ranking also dropped from 4 to 11. Does anyone know if any changes from CS4 to CS5 could have caused this? If so, what can I do to disable this compatibility with search engines?

    I am not an expert on SEO matters and do not keep up with advancements relative to it.  It is unlikely the Flash version has anything to do with your SEO rankings.  SEO is based on the information that the engines can see when they read the page.  You should be able to see the words you mention listed in the embedding code if they are being included in your dashboard.  Flash will create comment tags in the html for different key elements in a file such as links used and whatnot.  As far as I know, they cannot yet see inside the Flash file, only the external embedding code that is used.

  • I have two graphics workers on osx 8.  They are both complaining that their files are changing label colors on it own.  Any idea what could cause this?

    I have two graphics workers on osx 8.  They are both complaining that their files are changing label colors on it own.  Any idea what could cause this?

    and there were and have been problems with any two nvidia cards which was the main part of my question.
    To provie details try pasting all but serial number from system profile. Sorry but Mac Pro tells me nothing, not model, year, or what graphic card it came with or updated with.

  • Just transferred data to iMac from working Mac Pro that is using Parallels and Windows 7 and the Biblesoft 5  and it will not open on the iMac the only change is the my new iPhone number is  OS.  Any ideas?

    Just transferred data to iMac from working Mac Pro that is using Parallels and Windows 7 and the Biblesoft 5  and it will not open on the iMac the only change is the new Maverick OS from the macpro Lion OS.  Any ideas?
    <Personal Information Edited by Host>

    Setup Assistant and Migration Assistant do not restore MS Windows, it only does the OS X partition. All of your Windows stuff must be backed up and restore using a MS Windows application. If no one on this forum is able to answer your question then I'd repost it on a Parallels forum to see how other Windows users approach this.

  • Problem with registering Parser - Recompiled source code, don't see any changes

    I had created a parser. I had register this parser with Ifs Manager. I had execute this following statement to see if been registered carefully:
    On user ifssys/ifssys
    sql)select name,stringvalue,bundle from odmv_property where name= 'p01';
    I see my parser....
    select name from odmv_propertybundle where id=1139;
    ParserLookupByFileExtension
    All it's ok. I upload a file with a 'p01' extension with option 'parser' on my Internet Explorer. All work fine.. My parser work. But I need to do some changes in my code. I update my code, recompile my code. My class file have been updated. After my parser (.class) file have been updated I upload a new file with parse option. I don't see any change I do in my code. Why??? How I can update my parser to view change. I have only recompile my code an place my new class files on the same directory. I have try again (change on code, recompile, test) and I don't see any changes.
    But I have test by change my classname. My classname before is Test1 and I have rename my classe by Test2. I have compiled this code and a file Test2.class have been generate. I have update my register parser with Ifs Manager to use the new classname Test2. I have chack with sql statement to see if my parser have been updated. I have been updated correctly. I have upload a new file with parse option and I see my change on my code..
    Do you have some explanations about that??
    How I can update my source code of a parser already registered to the parser take the change I do.
    Francois
    null

    Ok, but they have another manner to resolve this problem. If I upload a file with parser option on Windows Nt explorer (Using SmbServer or WcpServer). How I can update the class file into the JVM? I need the restart this those server or just one? If just one which server I need to restart?
    Thanks Francois
    null

  • Changes will cause Data to be deleted message

    Hi,
       Here is the issue I am experiencing:
    1. I have a UDO of Master Data type and created a custom form to Add/Update/Delete data.
    2. When I scroll through each record, I get a message "Changes will cause Data to be deleted". Continue?
    I have confirmed that the form is in OK mode. How can I make this message go away?
    Gopal

    Hi Gopal,
    Even if the form is in OK mode, the edits cause the form to go into Update mode, which is why you see this message.
    If it suits your scenario, set "AffectsFormMode" property to false for items which should not trigger a mode change (if loading the form from XML, set AffectsFormMode="0")
    You can also look at these form properties:
    Form.AutoManaged
    Form.SupportedModes
    Regards
    Aravind

  • How to make changes in company code global data

    Hi folks,
    Can some one suggest me how to make changes in company code global data (t code oby6). I want to assign 1 to co code > co Area which is blank.
    Thanks in advance

    Hi,
      actually if you want to change co code > co Area , it is under controlling (maintain controlling area), transaction code  OX06 .You change the assignment control and save it. It is automatic update you COmpany code global data.
    *give me a point if my answer solve your problem.
    Thank You.
    -akma-

  • Record about my phone (bought in Verizon store and connected to Verizon for 4 years) has been corrupted and now I can not make any changes to my data plan. Several sessions with the technical support and management have not resolved this issue. Each time

    Record about my phone (bought in Verizon store and connected to Verizon for 4 years) has been corrupted and now I can not make any changes to my data plan. Several sessions with the technical support and management have not resolved this issue. Each time technical people and top managers promised that this issue will be resolve tomorrow and they will cal me. Nothing happend!! I can not even cancel my service not just to upgrade it. Completely locked. 
    Any advice?
    Thanks.
    Alex.

    Cannot figure out what your talking about since it makes no sense.
    If you are the account owner you can go to the My Verizon web portal http://www.verizonwireless.com
    You must log in with your cell number and your my Verizon portal password. Not the account pin.
    Once there you can change your plan and services. However repeated incorrect login attempts will lock you out of the site. It a fraud prevention measure.
    1-800-922-0204 call support with your cell number and or account number and account pin and they can assist you.
    If you don't have the information then there is nothing they can do.
    If you can verify who you are they may be able to reset your account access. But only if you are the account owner.
    Good Luck

  • I changed my carrier , i can't send and receive any sms any call, i erase my data and after the problem still..ifone 4S ios 8.3..thank u

    iPhone 4S 16 Gb
    iOS 8.3
    I change my carrier , I can't send and receive any sms any call
    I erase my data .,after the problem still again
    can you help me please ?
    thank u

    thank u
    but when I make my sim card in another phone it work normaly.and when I make another sim card in my fone the problem still and I can't send
    have you another solutions ?

  • I am suddenly using my data download without any changes to my normal usage why?, I am suddenly using my data download without any changes to my normal usage why?

    Why am I suddenly using most of my data allowance without any changes to my normal pattern of usage. Never had this problem before and have been using iPhones for a number of years now!

    go to settings>cellular>toggle off the apps you dont want your phone to use data

  • CC wants to make changes - write your administrator code - no info on which changes it wants to make - keeps alerting me. I didn't ask for any changes.

    Every five seconds I get a notification that Adobe CC cannot install or uninstall Adobe add-ons without admin rights. I did'nt ask for any changes.
    If I press the upcoming alert, I get a window saying that CC wants to make changes, please write my admin code, but it doesn'r say which changes it is about to make.
    What do I do?

    Hi. I'm sure you've already tried this but are both you and your wife's accounts set as administrators?

Maybe you are looking for