Author Topic: how to send data through nrcomm1.senddata?  (Read 1670 times)

siliconin

  • Newbie
  • *
  • Posts: 8
    • View Profile
how to send data through nrcomm1.senddata?
« on: August 29, 2011, 12:49:50 pm »
i need to send data usesing nrcomm1.senddata i can send as string but i need to use senddata command
data what i need to send is :-
7E 7E 7E 09 00 04 F8 00 08 F3 88 8B 42 DF D8 8B 21 09 01 41 18 49 7B 00 29 1B D0 3F 4E 07 21 C9 01 75 18 E9 68 4B 1C 14 D0 29 78 02 19 D2 78 91 42 08 D1 E1 21 89 00 3C 4A 71 18 80 18 75 F0 4D FE 00 28 06 D0 00 20 C0 43 E8 60 E3 20 80 00 32 18 00 E0 04 E0 04 21 FF 20 1D 30 28 F0 D2 FE 2D 4E 30 68 00 19 80 7B FF F7 01 FF 95 21 30 68 09 01 00 24 40 18 04 70 F9 F7 34 FA 2C 49 04 28 17 D3 8D 22 30 68 12 01 80 18 42 78 C0 23 0A 72 82 78 94 06 00 2C 01 DA 1A 43 00 E0 82 78 4A 72 C2 78 94 06 02 D5 1A 43 10 1C 00 E0 C0 78 88 72 02 E0 8C 72 4C 72 0C 72 1A 4C E0 78 00 28 03 D1 FE F7 51 FA FE F7 E2 FA 0D 20 31 68 FB F7 76 FE 20 7B 00 28 0C D0 30 68 C1 7C 00 29 08 D0 69 21 09 01 41 18 89 78 80 7D 5E 81 42 01 D1 FF F7 3B F8 60 7B 00 28 0C D0 30 68 41 7D 5D 00 29 08 D0 21 21 89 01 41 18 09 7A 80 7D 5E 81 42 01 D1 FE F7 4A FF 00 98 4A E7 00 00 0C AC 01 30 54 E1 03 30 E7 03 00 00 C0 09 04 30 78 F5 03 30 C4 08 00 00 FF AB 01 30 F8 B5 05 1C 00 26 FF F7 7A FB 28 78 03 28 01 D0 0E 28 01 D1 EE 88 06 E0 16 28 04 D1 F9 F7 C9 F9 04 28 00 D3 6E 7B 00 24 F7 4F 20 E0 29 1C 20 1C FF F7 22 FC 29 1C 20 1C FF F7 CB FC 29 1C 20 1C FF F7 A8 FD 29 1C 20 1C FF F7 83 FC 29 1C 20 1C FF F7 06 FD 29 1C 20 1C FF F7 02 FE 29 1C 20 1C FF F7 54 FD 01 34 24 04 24 0C 28 2C 06 D2 38 68 60 30 C0 88 A0 42 01 D9 B4 42 D7 D3 28 1C FF F7 25 FE E2 48 C0 78 00 28 01 D1 FE F7 66 FA F8 BD 02 1C 08 1C 06 2A 80 B5 0F D0 75 F0 36 FC DB 4A 00 04 D1 8C 12 8B 00 0C 80 08 08 40 0A 40 90 42 03 D0 01 32 0A 40 82 42 01 D1 01 20 00 E0 00 20 00 06 00 0E 80 BD 20 30 C2 79 D0 49 08 7C 00 2A 04 D1 03 22 10 43 08 74 01 20 70 47 40 08 40 00 08 74 00 20 70 47 F8 B5 04 1C 20 34 0E 1C E1 7A C6 4F 00 29 03 D0 39 7C 02 22 11 43 39 74 18 30 05 1C FB F7 44 FE 00 28 19 D1 28 1C FB F7 1C FE 00 28 0D D0 20 79 29 1C FF F7 BA FF 00 28 03 D1 E0 7A 00 28 3B D1 0A E0 E0 7A 00 28 09 D1 06 E0 FB F7 02 FE 00 28 04 D0 E0 7A 00 28 01 D1 00 20 F8 BD 38 7C 01 21 08 43 02 1C B1 48 3A 74 05 7B AF 49 07 20 C0 01 20 39 08 18 FF 2D 0E D1 E1 79 00 29 0B D0 C1 68 4B 1C 19 D0 63 7A 00 2B 16 D1 A3 7A 00 2B 02 D0 B3 68 99 42 10 D3 07 2D 10 D8 21 7A 00 29 0D D0 C0 68 43 1C 08 D0 61 7A 00 29 05 D1 A1 7A 00 29 04 D0 B1 68 88 42 01 D2 01 20 CE E7 50 08 40 00 38 74 C9 E7 F7 B5 05 1C 97 48 00 24 C0 7A 00 28 01 D0 00 20 FE BD 2F 1C 20 37 29 1C 18 31 0E 1C 38 79 FF F7 62 FF 00 28 09 D1 30 1C FB F7 B9 FD 00 28 04 D1 30 1C FB F7 D7 FD 00 28 0D D0 38 79 05 28 06 D0 11 28 08 D1 28 1C 01 99 FF F7 78 FF 02 E0 28 1C FF F7 64 FF 04 1C 20 1C DA E7 10 B5 0C 1C FE F7 7F FA 00 28 11 D0 80 48 00 88 00 04 0D D5 00 20 4F F0 95 F8 01 1C 01 20 0E F0 6D F8 00 28 04 D1 03 20 7A 49 05 24 24 02 08 70 20 1C 10 BD F3 B5 CF B0 0D 1C 00 21 4D 91 08 AB 00 27 1F 73 00 20 08 90 4F 98 20 30 4E 90 00 79 4F 9C 18 34 06 28 0B D0 20 1C 75 F0 54 FB 00 04 00 0C 69 4A 81 08 D0 8C 01 40 4D 91 17 8B 07 40 00 21 28 1C 4A AB 4F 9A 0C F0 BE FE 06 1C 06 D0 0E F0 5A FA 4E 98 31 1C 00 79 15 F0 8D FC 00 2E 4F D0 01 2E 13 D0 02 2E 4A D1 00 20 5E 49 32 1C C8 70 4F 98 4A A9 FF F7 7D 5E FF 00 28 04 D0 29 1C 20 1C FF F7 A5 FF 05 1C FB F7 BD FD 38 E0 FB F7 BF FC 51 4A 00 26 D6 72 FB F7 CA FC F9 F7 6F F8 04 28 0E D3 4B 48 8D 21 00 68 09 01 40 18 80 7A 00 28 06 D0 0B F0 20 FE 00 28 02 D0 4B 48 FE F7 41 FA FE F7 FD F9 30 1C 44 4E FF 21 20 3E C9 31 88 55 4A A8 0C F0 C2 FE 48 AB 19 7A 58 7A 01 22 0D F0 B0 FE F9 F7 4B F8 04 28 04 D3 FF 36 D1 36 30 78 01 28 6C D0 3D 49 28 1C FE F7 F9 F9 05 1C 11 E0 4E 98 00 79 06 28 0D D0 32 1C 4A A9 4F 98 FF F7 31 FF 00 28 06 D0 29 1C 20 1C FF F7 58 FF 05 1C 01 20 08 90 4E 98 00 78 00 28 04 D0 00 21 00 20 15 F0 57 FC 4B E0 4D 99 B9 42 06 D0 26 4A 78 1C D1 8C 08 40 4D 99 88 42 41 D1 22 48 41 7A 10 20 88 40 01 38 06 04 36 0C 20 1C 75 F0 BB FA 00 04 00 0C 80 08 30 40 09 90 1B 48 00 8B 30 40 0A 90 08 98 00 28 64 D0 19 48 00 88 40 04 52 D5 09 20 40 AB 98 70 03 20 18 80 00 20 D8 70 28 A8 C0 F7 DA FD 00 23 0A 22 15 A1 28 A8 C1 F7 D8 FC 10 A8 C0 F7 D1 FD 09 22 14 A1 0C A8 AC F0 62 E8 09 20 08 AB 18 77 00 21 0B AA 07 92 40 AA 05 91 06 91 0C A9 04 92 28 A8 02 90 10 AA 03 91 1B E0 54 E0 00 00 0C AC 01 30 C0 09 04 30 74 E1 03 30 14 B8 02 30 78 F5 03 30 BC E5 03 30 02 03 00 00 30 30 30 30 30 30 30 30 30 30 00 00 44 49 41 47 20 43 41 4C 4C 00 00 00 02 21 01 92 CA 1E 00 91 00 21 00 23 00 20 C0 F7 A0 FE EF 48 EF 49 00 88 08 40 BE F7 7F F9 09 98 0A 99 88 42 0E D0 0A 98 09 99 01 30 30 40 88 42 11 D0 4D 99 B9 42 18 D1 14 E0 FF E7 09 98 0A 99 88 42 02 D1 22 1C 01 21 07 E0 0A 98 09 99 01 30 30 40 88 42 03 D1 22 1C 00 21 00 20 08 E0 4D 99 B9 42 02 D1 22 1C 01 21 01 E0 22 1C 00 21 01 20 15 F0 EC FB 28 1C 51 B0 F0 BD F8 B5 05 1C 00 78 0F 1C 00 26 07 28 3A D1 00 24 16 E0 28 20 60 43 40 19 01 1C 20 30 02 79 12 2A 0B D1 40 79 FF 28 08 D1 08 1D 00 21 0B F0 7C FF 00 28 02 D0 01 26 0E F0 26 F9 01 34 24 04 24 0C 68 88 A0 42 E5 D8 00 2E 1C D0 00 20 4F F0 AD F8 01 1C 01 20 0D F0 F9 FE 00 28 04 D1 10 20 BF 49 05 27 3F 02 08 70 BE 48 75 F0 FD F8 00 28 05 D0 FF 21 45 31 81 80 FD F7 37 FF 03 E0 BA 49 BA 48 28 F0 E0 F9 38 1C F8 BD 80 B5 24 30 1D F0 33 FA B7 49 08 20 08 71 B6 48 80 BD 70 B5 04 1C 20 34 06 1C 60 79 0D 1C 03 28 14 D1 20 79 01 28 11 D1 A0 79 01 28 0E D1 E0 79 00 28 0B D0 FF 20 2B 30 28 F0 A3 FB 32 1C 28 32 00 21 03 20 E3 79 C9 F7 F0 FB 09 E0 30 7A 05 28 06 D0 00 23 00 22 09 21 06 20 FE F7 FF F8 A2 4D 28 1C 70 BD F0 B5 87 B0 05 90 00 AB 01 25 1D 73 9F 4F F8 F7 FF FE 04 28 01 D3 0A 20 00 E0 07 20 38 70 05 9C 39 1C 20 34 20 79 30 31 06 91 08 71 60 79 48 71 A0 79 88 71 00 20 C8 71 20 79 00 28 01 D1 60 71 01 E0 01 28 00 D1 A5 71 01 20 04 90 E0 79 00 26 00 28 00 D1 04 90 00 25 2A E0 FF 20 F5 30 80 1B 01 04 B0 08 80 00 C0 19 38 30 00 90 05 98 09 0C 03 AA 02 92 01 91 40 19 20 30 03 7A A2 79 61 79 01 20 0C F0 BE FE 00 28 24 DB 14 D0 30 18 00 04 00 0C 81 07 03 D0 81 07 89 0F 04 30 40 1A 06 99 06 04 C8 79 36 0C 01 30 01 35 2D 04 2D 0C C8 71 E0 79 A8 42 D1 D8 04 98 00 28 0B D0 F8 F7 A8 FE 70 49 04 28 01 D3 0A 20 00 E0 07 20 08 71 6D 48 07 B0 F0 BD 00 AB 18 7B 00 24 00 22 0F 21 23 1C FE F7 8A F8 F3 E7 F8 B5 05 1C 06 1C 65 48 20 35 2A 79 10 38 0C 1C 12 2A 00 90 66 D0 39 DC 06 2A 4E D0 4D DC 01 2A 6F D0 02 2A 49 D1 60 4D FF 21 D5 31 02 20 48 55 11 21 49 01 6C 18 03 20 A0 70 01 20 E0 70 5B 48 75 F0 28 F8 07 1C 64 D0 02 20 38 74 B0 6A 78 61 B0 1E 7E

data size in byte is 810

please let me know how can i send it

thanks

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: how to send data through nrcomm1.senddata?
« Reply #1 on: August 30, 2011, 05:18:13 am »
Hello

It is strange to use so large binary data hardcoded in sources. Better if you will load data from external file.
Also you should care about data integrity checking. Because serial connection is not reliable and byte can be lost or distorted during transmission.

But following code works:

Code: [Select]
Var
  dataBig: array [0..2063] of byte = (
  $7E,$7E,$7E,$09,$00,$04,$F8,$00,$08,$F3,$88,$8B,$42,$DF,$D8,$8B,$21,$09,$01,$41,$18,$49,$7B,$00,$29,$1B,$D0,$3F,$4E,$07,$21,$C9,
  $01,$75,$18,$E9,$68,$4B,$1C,$14,$D0,$29,$78,$02,$19,$D2,$78,$91,$42,$08,$D1,$E1,$21,$89,$00,$3C,$4A,$71,$18,$80,$18,$75,$F0,$4D,
  $FE,$00,$28,$06,$D0,$00,$20,$C0,$43,$E8,$60,$E3,$20,$80,$00,$32,$18,$00,$E0,$04,$E0,$04,$21,$FF,$20,$1D,$30,$28,$F0,$D2,$FE,$2D,
  $4E,$30,$68,$00,$19,$80,$7B,$FF,$F7,$01,$FF,$95,$21,$30,$68,$09,$01,$00,$24,$40,$18,$04,$70,$F9,$F7,$34,$FA,$2C,$49,$04,$28,$17,
  $D3,$8D,$22,$30,$68,$12,$01,$80,$18,$42,$78,$C0,$23,$0A,$72,$82,$78,$94,$06,$00,$2C,$01,$DA,$1A,$43,$00,$E0,$82,$78,$4A,$72,$C2,
  $78,$94,$06,$02,$D5,$1A,$43,$10,$1C,$00,$E0,$C0,$78,$88,$72,$02,$E0,$8C,$72,$4C,$72,$0C,$72,$1A,$4C,$E0,$78,$00,$28,$03,$D1,$FE,
  $F7,$51,$FA,$FE,$F7,$E2,$FA,$0D,$20,$31,$68,$FB,$F7,$76,$FE,$20,$7B,$00,$28,$0C,$D0,$30,$68,$C1,$7C,$00,$29,$08,$D0,$69,$21,$09,
  $01,$41,$18,$89,$78,$80,$7D,$5E,$81,$42,$01,$D1,$FF,$F7,$3B,$F8,$60,$7B,$00,$28,$0C,$D0,$30,$68,$41,$7D,$5D,$00,$29,$08,$D0,$21,
  $21,$89,$01,$41,$18,$09,$7A,$80,$7D,$5E,$81,$42,$01,$D1,$FE,$F7,$4A,$FF,$00,$98,$4A,$E7,$00,$00,$0C,$AC,$01,$30,$54,$E1,$03,$30,
  $E7,$03,$00,$00,$C0,$09,$04,$30,$78,$F5,$03,$30,$C4,$08,$00,$00,$FF,$AB,$01,$30,$F8,$B5,$05,$1C,$00,$26,$FF,$F7,$7A,$FB,$28,$78,
  $03,$28,$01,$D0,$0E,$28,$01,$D1,$EE,$88,$06,$E0,$16,$28,$04,$D1,$F9,$F7,$C9,$F9,$04,$28,$00,$D3,$6E,$7B,$00,$24,$F7,$4F,$20,$E0,
  $29,$1C,$20,$1C,$FF,$F7,$22,$FC,$29,$1C,$20,$1C,$FF,$F7,$CB,$FC,$29,$1C,$20,$1C,$FF,$F7,$A8,$FD,$29,$1C,$20,$1C,$FF,$F7,$83,$FC,
  $29,$1C,$20,$1C,$FF,$F7,$06,$FD,$29,$1C,$20,$1C,$FF,$F7,$02,$FE,$29,$1C,$20,$1C,$FF,$F7,$54,$FD,$01,$34,$24,$04,$24,$0C,$28,$2C,
  $06,$D2,$38,$68,$60,$30,$C0,$88,$A0,$42,$01,$D9,$B4,$42,$D7,$D3,$28,$1C,$FF,$F7,$25,$FE,$E2,$48,$C0,$78,$00,$28,$01,$D1,$FE,$F7,
  $66,$FA,$F8,$BD,$02,$1C,$08,$1C,$06,$2A,$80,$B5,$0F,$D0,$75,$F0,$36,$FC,$DB,$4A,$00,$04,$D1,$8C,$12,$8B,$00,$0C,$80,$08,$08,$40,
  $0A,$40,$90,$42,$03,$D0,$01,$32,$0A,$40,$82,$42,$01,$D1,$01,$20,$00,$E0,$00,$20,$00,$06,$00,$0E,$80,$BD,$20,$30,$C2,$79,$D0,$49,
  $08,$7C,$00,$2A,$04,$D1,$03,$22,$10,$43,$08,$74,$01,$20,$70,$47,$40,$08,$40,$00,$08,$74,$00,$20,$70,$47,$F8,$B5,$04,$1C,$20,$34,
  $0E,$1C,$E1,$7A,$C6,$4F,$00,$29,$03,$D0,$39,$7C,$02,$22,$11,$43,$39,$74,$18,$30,$05,$1C,$FB,$F7,$44,$FE,$00,$28,$19,$D1,$28,$1C,
  $FB,$F7,$1C,$FE,$00,$28,$0D,$D0,$20,$79,$29,$1C,$FF,$F7,$BA,$FF,$00,$28,$03,$D1,$E0,$7A,$00,$28,$3B,$D1,$0A,$E0,$E0,$7A,$00,$28,
  $09,$D1,$06,$E0,$FB,$F7,$02,$FE,$00,$28,$04,$D0,$E0,$7A,$00,$28,$01,$D1,$00,$20,$F8,$BD,$38,$7C,$01,$21,$08,$43,$02,$1C,$B1,$48,
  $3A,$74,$05,$7B,$AF,$49,$07,$20,$C0,$01,$20,$39,$08,$18,$FF,$2D,$0E,$D1,$E1,$79,$00,$29,$0B,$D0,$C1,$68,$4B,$1C,$19,$D0,$63,$7A,
  $00,$2B,$16,$D1,$A3,$7A,$00,$2B,$02,$D0,$B3,$68,$99,$42,$10,$D3,$07,$2D,$10,$D8,$21,$7A,$00,$29,$0D,$D0,$C0,$68,$43,$1C,$08,$D0,
  $61,$7A,$00,$29,$05,$D1,$A1,$7A,$00,$29,$04,$D0,$B1,$68,$88,$42,$01,$D2,$01,$20,$CE,$E7,$50,$08,$40,$00,$38,$74,$C9,$E7,$F7,$B5,
  $05,$1C,$97,$48,$00,$24,$C0,$7A,$00,$28,$01,$D0,$00,$20,$FE,$BD,$2F,$1C,$20,$37,$29,$1C,$18,$31,$0E,$1C,$38,$79,$FF,$F7,$62,$FF,
  $00,$28,$09,$D1,$30,$1C,$FB,$F7,$B9,$FD,$00,$28,$04,$D1,$30,$1C,$FB,$F7,$D7,$FD,$00,$28,$0D,$D0,$38,$79,$05,$28,$06,$D0,$11,$28,
  $08,$D1,$28,$1C,$01,$99,$FF,$F7,$78,$FF,$02,$E0,$28,$1C,$FF,$F7,$64,$FF,$04,$1C,$20,$1C,$DA,$E7,$10,$B5,$0C,$1C,$FE,$F7,$7F,$FA,
  $00,$28,$11,$D0,$80,$48,$00,$88,$00,$04,$0D,$D5,$00,$20,$4F,$F0,$95,$F8,$01,$1C,$01,$20,$0E,$F0,$6D,$F8,$00,$28,$04,$D1,$03,$20,
  $7A,$49,$05,$24,$24,$02,$08,$70,$20,$1C,$10,$BD,$F3,$B5,$CF,$B0,$0D,$1C,$00,$21,$4D,$91,$08,$AB,$00,$27,$1F,$73,$00,$20,$08,$90,
  $4F,$98,$20,$30,$4E,$90,$00,$79,$4F,$9C,$18,$34,$06,$28,$0B,$D0,$20,$1C,$75,$F0,$54,$FB,$00,$04,$00,$0C,$69,$4A,$81,$08,$D0,$8C,
  $01,$40,$4D,$91,$17,$8B,$07,$40,$00,$21,$28,$1C,$4A,$AB,$4F,$9A,$0C,$F0,$BE,$FE,$06,$1C,$06,$D0,$0E,$F0,$5A,$FA,$4E,$98,$31,$1C,
  $00,$79,$15,$F0,$8D,$FC,$00,$2E,$4F,$D0,$01,$2E,$13,$D0,$02,$2E,$4A,$D1,$00,$20,$5E,$49,$32,$1C,$C8,$70,$4F,$98,$4A,$A9,$FF,$F7,
  $7D,$5E,$FF,$00,$28,$04,$D0,$29,$1C,$20,$1C,$FF,$F7,$A5,$FF,$05,$1C,$FB,$F7,$BD,$FD,$38,$E0,$FB,$F7,$BF,$FC,$51,$4A,$00,$26,$D6,
  $72,$FB,$F7,$CA,$FC,$F9,$F7,$6F,$F8,$04,$28,$0E,$D3,$4B,$48,$8D,$21,$00,$68,$09,$01,$40,$18,$80,$7A,$00,$28,$06,$D0,$0B,$F0,$20,
  $FE,$00,$28,$02,$D0,$4B,$48,$FE,$F7,$41,$FA,$FE,$F7,$FD,$F9,$30,$1C,$44,$4E,$FF,$21,$20,$3E,$C9,$31,$88,$55,$4A,$A8,$0C,$F0,$C2,
  $FE,$48,$AB,$19,$7A,$58,$7A,$01,$22,$0D,$F0,$B0,$FE,$F9,$F7,$4B,$F8,$04,$28,$04,$D3,$FF,$36,$D1,$36,$30,$78,$01,$28,$6C,$D0,$3D,
  $49,$28,$1C,$FE,$F7,$F9,$F9,$05,$1C,$11,$E0,$4E,$98,$00,$79,$06,$28,$0D,$D0,$32,$1C,$4A,$A9,$4F,$98,$FF,$F7,$31,$FF,$00,$28,$06,
  $D0,$29,$1C,$20,$1C,$FF,$F7,$58,$FF,$05,$1C,$01,$20,$08,$90,$4E,$98,$00,$78,$00,$28,$04,$D0,$00,$21,$00,$20,$15,$F0,$57,$FC,$4B,
  $E0,$4D,$99,$B9,$42,$06,$D0,$26,$4A,$78,$1C,$D1,$8C,$08,$40,$4D,$99,$88,$42,$41,$D1,$22,$48,$41,$7A,$10,$20,$88,$40,$01,$38,$06,
  $04,$36,$0C,$20,$1C,$75,$F0,$BB,$FA,$00,$04,$00,$0C,$80,$08,$30,$40,$09,$90,$1B,$48,$00,$8B,$30,$40,$0A,$90,$08,$98,$00,$28,$64,
  $D0,$19,$48,$00,$88,$40,$04,$52,$D5,$09,$20,$40,$AB,$98,$70,$03,$20,$18,$80,$00,$20,$D8,$70,$28,$A8,$C0,$F7,$DA,$FD,$00,$23,$0A,
  $22,$15,$A1,$28,$A8,$C1,$F7,$D8,$FC,$10,$A8,$C0,$F7,$D1,$FD,$09,$22,$14,$A1,$0C,$A8,$AC,$F0,$62,$E8,$09,$20,$08,$AB,$18,$77,$00,
  $21,$0B,$AA,$07,$92,$40,$AA,$05,$91,$06,$91,$0C,$A9,$04,$92,$28,$A8,$02,$90,$10,$AA,$03,$91,$1B,$E0,$54,$E0,$00,$00,$0C,$AC,$01,
  $30,$C0,$09,$04,$30,$74,$E1,$03,$30,$14,$B8,$02,$30,$78,$F5,$03,$30,$BC,$E5,$03,$30,$02,$03,$00,$00,$30,$30,$30,$30,$30,$30,$30,
  $30,$30,$30,$00,$00,$44,$49,$41,$47,$20,$43,$41,$4C,$4C,$00,$00,$00,$02,$21,$01,$92,$CA,$1E,$00,$91,$00,$21,$00,$23,$00,$20,$C0,
  $F7,$A0,$FE,$EF,$48,$EF,$49,$00,$88,$08,$40,$BE,$F7,$7F,$F9,$09,$98,$0A,$99,$88,$42,$0E,$D0,$0A,$98,$09,$99,$01,$30,$30,$40,$88,
  $42,$11,$D0,$4D,$99,$B9,$42,$18,$D1,$14,$E0,$FF,$E7,$09,$98,$0A,$99,$88,$42,$02,$D1,$22,$1C,$01,$21,$07,$E0,$0A,$98,$09,$99,$01,
  $30,$30,$40,$88,$42,$03,$D1,$22,$1C,$00,$21,$00,$20,$08,$E0,$4D,$99,$B9,$42,$02,$D1,$22,$1C,$01,$21,$01,$E0,$22,$1C,$00,$21,$01,
  $20,$15,$F0,$EC,$FB,$28,$1C,$51,$B0,$F0,$BD,$F8,$B5,$05,$1C,$00,$78,$0F,$1C,$00,$26,$07,$28,$3A,$D1,$00,$24,$16,$E0,$28,$20,$60,
  $43,$40,$19,$01,$1C,$20,$30,$02,$79,$12,$2A,$0B,$D1,$40,$79,$FF,$28,$08,$D1,$08,$1D,$00,$21,$0B,$F0,$7C,$FF,$00,$28,$02,$D0,$01,
  $26,$0E,$F0,$26,$F9,$01,$34,$24,$04,$24,$0C,$68,$88,$A0,$42,$E5,$D8,$00,$2E,$1C,$D0,$00,$20,$4F,$F0,$AD,$F8,$01,$1C,$01,$20,$0D,
  $F0,$F9,$FE,$00,$28,$04,$D1,$10,$20,$BF,$49,$05,$27,$3F,$02,$08,$70,$BE,$48,$75,$F0,$FD,$F8,$00,$28,$05,$D0,$FF,$21,$45,$31,$81,
  $80,$FD,$F7,$37,$FF,$03,$E0,$BA,$49,$BA,$48,$28,$F0,$E0,$F9,$38,$1C,$F8,$BD,$80,$B5,$24,$30,$1D,$F0,$33,$FA,$B7,$49,$08,$20,$08,
  $71,$B6,$48,$80,$BD,$70,$B5,$04,$1C,$20,$34,$06,$1C,$60,$79,$0D,$1C,$03,$28,$14,$D1,$20,$79,$01,$28,$11,$D1,$A0,$79,$01,$28,$0E,
  $D1,$E0,$79,$00,$28,$0B,$D0,$FF,$20,$2B,$30,$28,$F0,$A3,$FB,$32,$1C,$28,$32,$00,$21,$03,$20,$E3,$79,$C9,$F7,$F0,$FB,$09,$E0,$30,
  $7A,$05,$28,$06,$D0,$00,$23,$00,$22,$09,$21,$06,$20,$FE,$F7,$FF,$F8,$A2,$4D,$28,$1C,$70,$BD,$F0,$B5,$87,$B0,$05,$90,$00,$AB,$01,
  $25,$1D,$73,$9F,$4F,$F8,$F7,$FF,$FE,$04,$28,$01,$D3,$0A,$20,$00,$E0,$07,$20,$38,$70,$05,$9C,$39,$1C,$20,$34,$20,$79,$30,$31,$06,
  $91,$08,$71,$60,$79,$48,$71,$A0,$79,$88,$71,$00,$20,$C8,$71,$20,$79,$00,$28,$01,$D1,$60,$71,$01,$E0,$01,$28,$00,$D1,$A5,$71,$01,
  $20,$04,$90,$E0,$79,$00,$26,$00,$28,$00,$D1,$04,$90,$00,$25,$2A,$E0,$FF,$20,$F5,$30,$80,$1B,$01,$04,$B0,$08,$80,$00,$C0,$19,$38,
  $30,$00,$90,$05,$98,$09,$0C,$03,$AA,$02,$92,$01,$91,$40,$19,$20,$30,$03,$7A,$A2,$79,$61,$79,$01,$20,$0C,$F0,$BE,$FE,$00,$28,$24,
  $DB,$14,$D0,$30,$18,$00,$04,$00,$0C,$81,$07,$03,$D0,$81,$07,$89,$0F,$04,$30,$40,$1A,$06,$99,$06,$04,$C8,$79,$36,$0C,$01,$30,$01,
  $35,$2D,$04,$2D,$0C,$C8,$71,$E0,$79,$A8,$42,$D1,$D8,$04,$98,$00,$28,$0B,$D0,$F8,$F7,$A8,$FE,$70,$49,$04,$28,$01,$D3,$0A,$20,$00,
  $E0,$07,$20,$08,$71,$6D,$48,$07,$B0,$F0,$BD,$00,$AB,$18,$7B,$00,$24,$00,$22,$0F,$21,$23,$1C,$FE,$F7,$8A,$F8,$F3,$E7,$F8,$B5,$05,
  $1C,$06,$1C,$65,$48,$20,$35,$2A,$79,$10,$38,$0C,$1C,$12,$2A,$00,$90,$66,$D0,$39,$DC,$06,$2A,$4E,$D0,$4D,$DC,$01,$2A,$6F,$D0,$02,
  $2A,$49,$D1,$60,$4D,$FF,$21,$D5,$31,$02,$20,$48,$55,$11,$21,$49,$01,$6C,$18,$03,$20,$A0,$70,$01,$20,$E0,$70,$5B,$48,$75,$F0,$28,
  $F8,$07,$1C,$64,$D0,$02,$20,$38,$74,$B0,$6A,$78,$61,$B0,$1E,$7E
  );

procedure TForm1.Button2Click(Sender: TObject);
begin
  nrComm1.SendData(@dataBig, SizeOf(dataBig));
end;


Roman Novgorodov
DeepSoftware LLC
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.