Hallo,habe da ein kleines Problem,wie schreibt man diese Zeilen um von Visual Basic nach XProfan 11
Dim bMarkerByte() As Byte = {1, 2, 3, 4, 5, 6, 7, 8}
Dim bRawByte(8) As Byte
ComError = easyCOM.MC_Read_Object_Value(bRawByte(0))
If (ComError = easyCOM.easy_COM_Err_Success) Then
textBox1.Text += String.Format("hex {1,2:X2}{0,2:X2}", bRawByte(0), bRawByte(1))
textBox1.Text += "write MB1...MB8: {01 02 03 04 05 06 07 08} "
ComError = easyCOM.MC_Write_Object_Value(bMarkerByte(0))
Habe es mit Bereichsvariabeln versucht (bRawByte#[8],klappt nicht
Für eine Antwort wäre ich dankbar..
Grüße Ewald