07-31-2012 10:43 AM
I need to send/receive some RS-232 messages at 300 baud. I want to provide a blinking LED to let the user know that communication is occurring. So I set up an asynchronous timer to blink it during communication. Unfortunately, that is exactly when the LED refuses to blink. Do ComWrt() and ComRd disable asynchronous timers while they have control of program flow?
08-02-2012 11:22 AM
Hi RodneyH,
I found this article that may be helpful:
Why is Serial Data Not Sent Immediately After Calling ComWrt Function in LabWindows/CVI?
http://digital.ni.com/public.nsf/allkb/FE4320E6970017A88625697A00714DA8?OpenDocument
Does this problem occur outside of a debugging environment (ie, in an executable)? If not, it looks like you could try using a ProcessSystemEvents() call a
fter the ComWrt
in your code.
Let me know how things go.