LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

newbie : working with INTERRUPTS with SERIAL com port ?

hi guys !

here is the deal :

my app needs to
monitor a com port while doing something else
or to be interrupted when something is available on the com port.
0 Kudos
Message 1 of 3
(2,653 Views)
oops... sorry for the double posting !!!

here is the deal :

my app needs to :

monitor a com port while doing something else (thread ?)
or
be interrupted when something is available on the com port. (interrupt
?)

any of the 2 solutions would do the job for me even if prefer the interrupt
method...

please be indulgent i am new to labview
i know cvi better and i know it is super easy to do the trick with
InstallComCallback()

any help appreciated...

jerry
0 Kudos
Message 2 of 3
(2,653 Views)
Ive been trying to do something similar

so far I launch a new thread, which sets up a comcallback to trigger on
0x05 comming through the serial port (ENQ)

unfortunately, this seems to ltake like 100% CPU

Grahh!

im doing this in cvi...but i should think you can do the same in labview

andy

jerry wrote in message
news:7sqnad$45u$1@jaydee.iway.fr...
> hi guys !
>
> here is the deal :
>
> my app needs to
> monitor a com port while doing something else
> or to be interrupted when something is available on the com port.
>
>
0 Kudos
Message 3 of 3
(2,653 Views)