Hi,
I use NI-CAN ncOpen.vi to open a CAN port (say, CAN0). It returns a objHandle to be used for further accesses to that CAN port (say again, CAN0). That's all fine, access to CAN0 works. Problem is, when I run a vi inside a Sub Panel (via Invoke Node), that vi is not directly wired in the blcok diagram. I have to pass parameters to that vi to function properly. If I pass the objHandle to that vi so it could access CAN0, the objHandle value (it is a U32 originally) is retained (OK) but access to CAN0 fails.
Anyone with an idea, how to access same CAN port from different vi that are open but not directly wired?
Thanks,
Ran