11-10-2010 10:18 AM
.Net supports events as well... I believe I put together a simple example of doing that in my VIs
@amandarila wrote:
Because VISA serial port use inquiry mode to read serial data, that wastes too much CPU timeslice.
However MScomm32 support event-triggered, it will work efficiently.
11-14-2010 02:17 AM
Hi Paul,
Yeah, I feel it still don't work as I expected.
I have download and checked your DoNet serial port example, but it seems we should define a user Event about how many data received.
However, MSCOMM32 will trigger if the serial port have one character in the buffer. both of them can not recognize the end of line. and I also can not
get all the buffer at one time as I expected.
I donot want to use while loop and time-wait to re-pick the buffer data.so I am not satisfied. they are not fixable as MSCOMM in Visual C++.
so do anybody have better idea?
11-14-2010 10:30 AM
Yes.
Use the VISA functions like Dennis and Smercurio pointed out in messages 9 and 10.