10-19-2010 04:00 AM
Hello
I am using two drivers to build a main program: from Keithley switch 7002 and keithley multimeter 2001.
My program uses both libraries VI´s but always when I open the program, an error message appears telling me about a warning that could affect some VI´s. When I read the details, It says , for example: the read message Vi supposed to be at instr.lib,...2001 was read from instrlib,...k7002.
I notice that It depends on which program is opened first, and It stays in the memory and It is used by the other driver opened in the sequence.
Is there any way to fix it?
I am doing the hard way, to change the names of the VI and reconnect everything but is not the best option.
thank you
10-19-2010 09:56 PM - edited 10-19-2010 09:58 PM
As far as I can tell, there are two VIs in each of the same name - 'Error Query Global' and 'Read SCPI Error Queue (GPIB)'. Since these are in the obsolete llb's, there is no name space protection. You can either ignore the warning (it's not an error) since the functions seem to be identical or rename VIs in one or both of the llbs. That's the easy way. The little more time consuming but most 'elegant' would be to convert both to a lvlib like all of the current project-style drivers. If you do that, might as well rewrite them to use VISA and current style guidelines.
p.s. Next time post to the instrument control board. As it says, this is for NI DMMs.