Zvezdana, thanks for the reply to Oliver. I have a similar situation that I am trying to resolve. At my client's labs they have several different home-grown test executives with a large body of code behind each. I have been tasked with porting some code from one text exec (TE) to another.
The first TE uses VISA classes of "GPIB Instr" through out, the other uses only "Instr". I need to get the two codes working together and it is not an option to make them both use the same class.
Is there a way to change to a more or less specific VISA class?
I tried to use the typecasts "To More Specific" "To More Generic" from the Application Control palette, but that did not work. I tried using the Type Cast from the Data Manipulation palette. That appears to work, in that you can run the VI, but when you get to the Type Cast node, more often than not I get "error: memory.cpp Line 352" followed by "your toast!!" and LabVIEW dies. Well, it doesn't actually say that, but it might as well, cause LabVIEW really does die.
If there is a way to cast these classes and make them play together, could you CC to my emails, I'm often in a secure lab that I can't get to the NI forums.
Thanks!!
Mike Ashe