Thanks for all the detailed screen shots. Very helpful to understand your setup.
Before you uninstall and re-install, I have a few suggestions and items to check:
a) Is your logical name "AFG1" configured to link to the driver session "tkafg3x0" in MAX. I'm guessing so, but check the obvious. You have lots of other drivers sessions, it might be something as simple as your logical name is linked to a session with only one channel defined.
b) Your "exception" error message has me concerned about your I/O Name control constant that you are using in LabVIEW. Right click on this constant and select "IVI Class". When you view the pull right menus, what IVI class has the check mark next to it? It should be "IviFgen". If it isn't, change it to "IVIFgen".
d) Is it at all possible that you might have checked the class on the Get Channel Name VI and accidently saved the VI? On the front panel of the Get Channel Name VI, check the "IVI Class" as noted in "b" above. It should also be "IviFgen".
c) Have you tried using the IVI Class example for the IVIFgen? You might want to start with the example and change the channel to be channel 2.
d) Have you tried using channel 2 through the specific driver before using the class driver? Again, if you installed the LabVIEW version of the AFG driver, you should have examples and VIs for the specific driver. You can test the channel 2 in the specific driver. First try just passing the resource name in the IVI I/O Name control (e.g., "GPIB0::17"). If that works, then pass ing the logical name "AFG1". The specific driver should handle both the resource name and the IVI logical name. If that works, then we know that the specific driver is OK, but something is going wrong in the class driver.