The idea of these instrument drivers is to abstract out the low level configuration and port communication and create a simple function and attribute list for a common instrument type. The IVI wizard lets you configure the default serial port settings for the session if you picked Serial as the instrument bus.
If you need to change these programmatically from the specification of the driver, you would get the VISA session from the instrument driver with:
prefix_GetAttributeViSession (instHandle, "",
TEST_ATTR_IO_SESSION, &visaSession);
where prefix is the prefix of your instrument driver.
Then with that visaSession, you can use the viSetAttribute in CVI to change the serial settings.
Again, the reason this is not in
the init function is that it is very uncommon to need to change the serial settings from the defaults defined in the instrument driver for the same instrument.
Best Regards,
Chris Matthews
National Instruments