10-08-2009 04:18 AM
I have had a lot of issues with silly things not working in LV2009!
current issues seem to revlove arround compatabitiy in firstly the file config palette.
I had a tool i wanted to compile that controlled the DTR on up to 8 serial ports. I loaded the visa resource for these ports from a config file. In the IDE the tool worked perfectly. I compiled it and it failed to work altough it built without issue. I dug into the sub vi that handled the config file details and found LV had modified the icon for the config file open function with a 8.6 in the top right corner.
I replaced this vi with one from the current pallete and attempted a recompile. This time I got an error 42 - GENERIC error...
I replaced the remainder of the config vi with ones from the 2009 and now I could compile but the serial function stil did not work
Using NI spy I observed red visa resource errors occurring in the loop that polled the serial ports for the DTR status.
I replaced all the visa tools with ones from the 2009 pallete and recompiled. Now it worked. Of note is that it always worked in the IDE.
I would like to know if there is an option or a switch or a place to look for compatabilty information that relates to the vi being compiled. From the above example there is a funtion that identified the open config as being a risk but not any of the other config tools, and the visa function did not get tagged at all.
It would be really usefull to get a warning that a project contained stale tools ...
henry
10-09-2009 03:49 PM
henryk,
Thank you for posting your experience to the forums. Unfortunately, I have not ran into this issue, nor can I find any documentation on this being a known bug.
If you can post your 8.6, I can check it out and pass the information into the bug-fixing machine, if appropriate.
Cheers,