I know a little the role of viSession in driver . my driver is a IVI-C custom driver and it just wants to controll a remote instrument by LAN. when an upper application calls a Pre_init(ViSession * vi) function, I should passe an Visession valuse out .
In this case , which value can i pass out ? thank you . can my function be implemented as below ? thank you
Pre_init(Visession * v)
{
*V = 100;
}