09-05-2023 10:21 AM
Hi All,
I have a problem with a correct implementation of IO control. The problem goes like this.
I have a user interface for a DUT which uses TCPIP, Serial and USB connection. On user interface, type of connection is selected from a drop down. which lets user input address of the DUT. This loads the appropriate class implementation for the module.
I am trying to avoid having three IO input controls on the interface, and ideally trying to avoid creating abstractions for the parent class to implement the required class.
I have tried type casting but there are mismatches at different parts of the code where some methods are expecting TCPIP instr. session as an input. I will need to use type casting in a lot of places and I am trying to avoid it.
"To a more specific class function does not work with IO VISA Class".
Is there a more cleaner way to programmatically select correct VISA class?
Any help will be appreciated!
Solved! Go to Solution.
09-05-2023 10:43 AM - edited 09-05-2023 10:50 AM
In few words...
IVI: Interchangeable Virtual Instrumentation. VISA isn't where you want to be.
09-05-2023 11:34 AM
Thank you for your help 🫨