12-01-2006 01:09 AM
12-01-2006 01:35 AM
12-01-2006 08:50 AM
One thing that I came across is that someitmes when you add fiels to be loaded dynamically/set as include only if referenced, the front panel gets removed. This is in the source file settings.
I tried to create the subpanel with a tab, within a tab and tried it on a 2k machine and it still worked, I based it off the example that you created.
Kenny
12-04-2006 01:15 AM
12-04-2006 08:19 AM - edited 12-04-2006 08:19 AM
sure, if you want to email me at kenny.kreitzer@bradleycorp.com, I will take a look at it as soon as I can.
I agree that if you can do it in an example, it should be done corrctly in the main program. But it nver seems to go that way.
Kenny
Message Edited by Kenny K on 12-04-2006 08:36 AM
12-11-2006 08:47 AM
Hello All;
Still no solution for the Win2K crashes. I've pretty much gone through as much as the forums (items relating to Runtime crashes) as I can, and where-ever there was even a remote similarity, it has been investigated. Here are some of the items investigated and their reults:
- In LabVIEW 8.0/8.0.1, when selecting a VI to go to a particular destination directory during application build, it only sends the selected dynamic VI to be placed there. LabVIEW 8.2 seems to place any subservient associated VI in this directory as well. This being the case, it may have been possible that there was some sort of conflict going on here. I redid some code to allow me to place everything within the DIAAS.exe (i.e. Application.exe) file during runtime. Result: Win2K still crashes with WinXP fine (i.e. no change).
- There were threads regarding the List Folder Contents vi being buggy or simply not working in LabVIEW 8.2. Since my program makes use of this to identify certain Add-On VIs in separate folders (during runtime and development system), I replaced all of this with an INI file listing of all applicable framegrabber drivers and add-on client VIs for this applicable release, thereby eliminating the search-and-add-to-list functionality of the List Folder Contents VI. Result: no change.
- There were still more threads regarding problems during initialisation of the program during runtime, particularly when it came to the use of shift registers. Since my program makes use of shift registers, I looked into this. My program uses shift registers that are initialised in a separate case statement that is run immediately upon startup via the use of a "First Call" function. I rewrote this to eliminate the need for the First Call and I now initalise the shirt registers using a constant on the leftmost side of the register. Result: no change. By the way, this also includes going through the code (painstakingly) and making sure that all representations (i.e. I32 --> I32) were being converted properly.
- Still another thought was that if I used subpanels imbedded within tab displays, that there might be a conflict there (this brought on since setting a delimiter such as "Synchronous Display" for a single subpanel within the tab display caused all subpanels contained within the tab display to take on the same feature. So, code was rewritten to limit a single subpanel per tab display. Result: no change.
So far, there have been no favourable results in this endeavour. Others (thanks, Kenny!) have also looked at my source code without finding anything that would cause Win2K to crash while WinXP is fine. If I do not use subpanels at all and simply use multiple windows the program is fine. Also, with subpanels, the program is fine during development mode. Upgrading to LabVIEW 8.2 does not help.
At this point, should this simply be attributed to a subpanel bug? If so, how is this brought to NI's attention? Or is there another option I am overlooking? Thanks!
DJH
12-11-2006 08:56 AM
12-12-2006 09:00 AM
12-12-2006 09:17 AM