Jump to content

MartinPeeker

Members
  • Posts

    31
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by MartinPeeker

  1. I agree with Paul G. Sounds like it isn't really a text file (which is what the read spreadsheet is for).

    Although.To answer your other question about getting rid if \## values.....

    These are non-printable ascii values.

    Use the "search and replace string" primitive and right-click on it to select "regular expression". Then create a "search" string. Right click on it to select "\" codes display.

    Then you can use a string like [\04\12\14]+ to scan and remove the non-printable characters.

    Or you can use "vi.lib\Utility\config.llb\Escape String.vi" and "vi.lib\Utility\config.llb\Unescape String.vi" which are pretty good for dealing with these things (Although I believe I had to add something to deal with spave character '/20')

    //Martin

  2. What is strange is that there seems to be a tipping point in this code. Memory slows increases (not to concerned about this), but at one point in my program execution the CPU memory will almost double or triple and cause LV to stop responding. However, I am not changing what code I am executing at this point (that is, the subVI running during the crash has run many times before without this memory expansion).

    frusty.gif

    To me that sounds like an array that has is growing and need to allocate more memory. LV allocates a chunk of memory for the array when it is created, if that memory space is about to run out it allocates another chunk of memory. Have you tried using Initialize Array to define the array siza from the start?

    //Martin

  3. Obviously the Class is getting loaded or is loaded in other application instance?

    But that would suggest there is dependencies between the two projects - but the dependencies tree is has no elements in it (no expand button).

    ?

    Are the classes siblings? If there is a parent class that in one way or the other happen to have a dependancy on its child class I believe this might happen. Check if the second class is loaded when opening the first class.

  4. Ed, I'm not sure what the big deal is. I understand the behavior but if you just manually make it visible then invisible right away, everything works as desired.  :)   Under what conditions is this a big problem?

    2409[/snapback]

    I just want to comment about what the big deal is. We've encountered the problem, and thanks to forums like this managed to find out what the problem was. The problem struck us when we were upgrading to 7.1 from an earlier version, and since the application makes use of the properties of about a hundred captions it was a bit tedious. I could well imagine larger applications not wanting to upgrade due to this.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.