Jazz Soft 您要联络吗?   JazzSoft@live.com     简体字汉语   英语  日语  繁体字汉语  简体字汉语
提供半导体工厂自动化与生产效率改善法 
Skip Navigation Links首页 > 产品一览 > Swing > Swing SECS II 详细资料 > Properties > ValueHex

Jazz Soft has been moved from Japan to New York in 2024.

Swing SECS II 详细资料   

Properties
Appearance
Array
BlockNumber
BorderStyle
DeviceID
EBit
Function
List
Msg
Pointer
PType
RBit
SessionID
Show
SourceID
Stream
SType
SystemBytes
TransactionID
Type
Value
ValueHex
WBit

Methods
Add
Init
Reply

Events

ValueHex Property

This property indicates node value as hexadecimal.

Syntax

Visual Basic



Visual C++


Return Value

Example

Visual Basic

If .ValueHex = "ff" Then
  Text1.Text = "Value is 0xff"
End If


Visual C++

if(m_msg.GetValueHex()=="ff")
  m_text1="Value is 0xff";

Remarks

If node is array, the result is separated by space code.

Visual Basic


.List = "{<u2 0x10 0x20 0x30 0x40>}"
Dim strResult As String
.Pointer = "1"
strResult = .ValueHex   ' "0010 0020 0030 0040"


Visual C++


m_msg.SetList("{<u2 0x10 0x20 0x30 0x40>}");
m_msg.SetPointer("1");
CString strBuf=m_msg.GetValueHex();   // "0010 0020 0030 0040"

If you want to extract one of array, use bracket. Index of array begins with 0.

Visual Basic


.List = "{<u2 0x10 0x20 0x30 0x40>}"
Dim strResult As String
.Pointer = "1[2]"
strResult = .ValueHex   ' "0030"


Visual C++


m_msg.SetList("{<u2 0x10 0x20 0x30 0x40>}");
m_msg.SetPointer("1[2]");
CString strBuf=m_msg.GetValueHex();   // "0030"

This property is read only. You can not set value.

See Also

您要联络吗?   JazzSoft@live.com
  Copyright © 1997 - 2024 Jazz Soft, Inc.