Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Sun Nov 19, 2017 8:55 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Jul 09, 2009 9:18 am 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
Here is some example code with an object instance named ethernetclient_1.

Code:
    if ethernetclient_1.getConnectionState() == ec_notconnected then
        'connection closed
    elseif ethernetclient_1.getConnectionState() == ec_connectionpending then
        'connection is in a pending state, wait up to 4 minutes for the connection
        'to be established or time out and change to closed
    elseif ethernetclient_1.getConnectionState() == ec_connectionmade then
        'connection is established, send/recieve data or close the connection
    endif

_________________
Ron L.

http://www.beijerelectronicsinc.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group