04-23-2011 10:12 PM
We have a complicated program written using LabView 5 years ago by a person who does not work in our company anymore. It works perfectly with LabView 5 and LabView 6. It contains vis from Keithley, Fluke, Lakeshore. When we open this program using Labview 2010 it shows a lot of errors in a lot of subvis. For example, the wiring is not connected the correct way (correct terminals), etc. (I do not remember the exact wording) What changed between labview 5, labview 6 and 2010? Can it be fixed easily or I will have to recheck the whole program and rewire everything?
Thank you very much for all your help.
04-23-2011 10:22 PM
There are a lot of versions between LabVIEW 5 or 6 and LabVIEW 2010. It could be any number of things, but there is no way we can tell you what with just the description "it shows a lot of errors in subVI's".
You are going to need to track down the errors one by one and see what they say. Have you installed the drivers for all the instruments in LabVIEW 2010? The changes could be due to the driver VI's being rewritten in a later version.
If you can give us a specific error, and an example subVI, then we might be able to help you figure things out.
04-25-2011 09:59 AM
Thank you for your reply.
One of the subVIs that opens perfectly in LabView 5 and 6 but when it is opened in LabView 2010 it shows the following errors:
Block diagram errors:
SubVI 'Fluke 8840 Read Measurement.vi' Bad linkage to to subVI
SubVI 'Keithley 2000 Read Singe.vo' Bad linkage to subVI
I am completely confused, all the terminals look the same, why it would not recognize the wiring?
04-25-2011 10:34 AM
As asked, did you install different/updated instrument drivers? If so, that's the likely cause of the problem. The original program probably had the instrument drivers installed in the LabVIEW\instr.lib directory. Look there and see if you see folders for the 8840 and the 2000. These would be the LabVIEw 5/6 drivers. If you downloaded udpated drivers from the NI site these would not necessarily have the same connector pane, and it would give you the "bad linkage" error. So, again, the question is: did you download/install new drivers? If you did, right-click on the VI in question and select "Relink to SubVI".
04-25-2011 11:02 AM
Thank you very much for all your suggestions.
I checked the instr.lib folder and it looks like that there are some new and old drivers but I do not know if they were updated inside the program. There was so much messing around with this program by couple of people, that I will have to recheck everything carefully. I will do like you are suggesting.
04-25-2011 07:07 PM
Hello monica1234
There are definitely a number of issues when making that kind of jump, particularly when third party instruments are involved. Raven's fan is correct, if you are able to track down these errors individually and provide the error codes, that would be very helpful to me in order to help you. smercurio_fc has also provided some excellent advice.
I am more than happy to help with this issue. I can be of better assistance to you if you can provide me individual error codes. Can you tell me which driver versions you are currently using for the third party systems. Breaking down this situation as much as we can will be our best bet to ensuring a resolution.
Thank you very much for supporting National Instruments!
Sincerely,
Greg S.