OutReal Method
Description
Gets or sets the output port status as the 32 bits floating-point data (IEEE754 compliant).
Syntax
Function OutReal (WordPortNumber As Integer) As Single
Sub OutReal (WordPortNumber As Integer, Value As Single)
Parameters
- WordPortNumber
An integer indicating the output port. - Value
A real number indicating the output data.
Return Value
Returns the specified output port status in 32 bits floating-point data (IEEE754 compliant).
See Also
In Method, InBCD Method, InReal Method, InW Method, Out Method, OutW Method
OutReal Example
VB Example:
Dim val As Single
val = m_spel.OutReal(32)
C# Example:
float val;
val = m_spel.OutReal(32);