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.