09-01-2011 10:12 AM
HI,
I have one doubt related to call to reentrant Vi's. My application(say APP) is calling a reentrant VI(say RA) has a nonrenentrant subVI(say NRB) which again has reentrant VI's(say RC) (hope not much confusing).
Purpose of VIs
Reentrant VI RA: As interface for udp read/write operation
NonReentrant VI NRB: Configures hardware through udp by opening udp port and does some IO operation
Reentrant VI RC: Does read/write operation through UDP read/write APIs'
Well my application APP runs perfectly on Windows environment but some of clones of RC remains on memory. On the other hand it does not work on RT target. Since I want to configure my hardware only once therefore NRB has been nonreentrant with function global variable to avoid reopening udp port.
I am struggling to identify my mistake if at all to have those code workable on RT target and should be flushed out from memory as well.
Please help if anyone has any clue on this.
Thanks in Advance
Vivek
Well my application APP successfully calls instances to RA and does the hardware configuration which is actually done by NRB through RC. The communication with hardware is through UDP and therefore09-02-2011 01:49 AM
Hi
Could you please share your project with me so that I can look and try to figure out the problem?
Regards,
Ashutosh Singh