08-14-2007 03:13 PM
08-15-2007 12:18 PM
02-11-2008 05:27 PM
02-12-2008 10:03 AM
The CVI TCP events are just like UI events. They can only occur if your program (thread) is processing events - by calling RunUserInterface or continuously calling ProcessSystemEvents or ProcessTCPEvents.
But the CVI TCP library can also be used without events - you can always call the TCP Read functions (client and server functions) anywhere in your program and they will just return an error if there is no data to read. Nicolas, this is probably a better solution for you since you mention that you are not sure when exactly your program knows to call ProcessTCPEvents.
jtush, I am not sure why the events stop occuring for you - if you are using ProcessSystemEvents instead of RunUserInterface, may be there are too many events happening in your system per call of ProcessSystemEvents. You can try using RunUserInterface instead. Also, try running the shipping server and client example programs and see if they work fine.
02-12-2008 10:16 AM
02-13-2008 02:32 AM
02-13-2008 09:29 AM
02-14-2008 04:17 AM
02-14-2008 04:52 AM