AI - Internet Commands

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AI - Internet Commands >

AI - Internet Commands

AIC.Test if Online

Previous Top Next


MiniRobotLanguage (MRL)

 

AIC.Test if Online
Test if the SPR can reach out to the Open AI-API Server

 

clip0595

 

Intention

 

The AIC.Test if Online Command will leave the Information if the PC is connected to the Internet, on TOS or in a specified Variable as "0" or "1".

This way you can easily use this Information in your Scripts.

 

 

' Usage for TIO
AIC.tio

' Show TOS

DMP.6

MBX.!

ENR.

 

clip0599

 

Syntax

 

 

AIC.Test if Online[|P1]

AIC.TIO[|P1]

 

 

Parameter Explanation

 
P1 - opt. Variable for Result, if omitted result is placed on TOS.

 

 

Example

 

'*****************************************************

' EXAMPLE 1: AIC.-Commands

'*****************************************************

' Usage for TIO

AIC.tio

' Show TOS

DMP.6

MBX.!

ENR.

 

 

Remarks

-

 

Limitations:

-

 

 

See also:

 

  DMP. Dump System Values