LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CTS Status

Hi,
I 'm beginer and i read here a solution for checking the CTS Status
using GetComLineStatus... But I don't have this function ???
I used CVI 5.0
Some one can help me please

Fred
0 Kudos
Message 1 of 3
(3,410 Views)
As you have found, GetComLineStatus isn't in CVI 5.0, it was introduced in later versions.

Unfortunately, if you need to check the line status in CVI 5.0, you will have to use the Windows SDK functions for accessing, reading and writing COM ports (in particular, the GetCommModemStatus() function for finding the state of the CTS line). Regrettably, I think you cannot use these functions in combination with the CVI RS-232 library.

Martin.
--
Martin
Certified CVI Developer
0 Kudos
Message 2 of 3
(3,410 Views)
Thanks,
After multiple investigation.... i do exactly wath you say ,
it's work now using the sdk :).

Fred

"msaxon" a écrit dans le message de
news:506500000005000000C0060100-1042324653000@exchange.ni.com...
> As you have found, GetComLineStatus isn't in CVI 5.0, it was
> introduced in later versions.
>
> Unfortunately, if you need to check the line status in CVI 5.0, you
> will have to use the Windows SDK functions for accessing, reading and
> writing COM ports (in particular, the GetCommModemStatus()
> function for finding the state of the CTS line). Regrettably, I think
> you cannot use these functions in combination with the CVI RS-232
> library.
>
> Martin.
0 Kudos
Message 3 of 3
(3,410 Views)