Jazz Soft お問い合わせ   JazzSoft@live.com     日本語   英語  日本語  中国語(繁体字)  中国語(簡体字)
工場自動化と歩留り管理ソリューション 
Skip Navigation Linksホーム > 製品一覧 > Swing > Swing SECS II リファレンス > プロパティ > ValueHex

Jazz Softは2024年、日本からニューヨークに移転しました。
これに伴い、2025年4月1日より日本円での価格が変わり、為替レートに基づいて米ドル価格から決定されます。現在1ドル150円前後なため、値上がりになる可能性が高いです。ご注文を予定されている方は、2025年3月31日までにご注文・入金お願いいたします。
4月1日以降も日本のJazz Softよりご購入は可能です。米国Jazz Softからのご購入も可能ですが、支払い通貨は米ドルとなります。その代わり輸入となりますので消費税がかかりません。

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.

構文

Visual Basic



Visual C++


戻り値

使用例

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";

特記事項

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.

参照

お問い合わせ   JazzSoft@live.com
  Copyright © 1997 - 2025 Jazz Soft, Inc.