Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

CFA631 Arkusz danych(PDF) 72 Page - Crystalfontz America, Inc.

Numer części CFA631
Szczegółowy opis  INTELLIGENT DISPLAY MODULE
Download  81 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  CRYSTAIFONTZ [Crystalfontz America, Inc.]
Strona internetowa  https://www.crystalfontz.com/
Logo CRYSTAIFONTZ - Crystalfontz America, Inc.

CFA631 Arkusz danych(HTML) 72 Page - Crystalfontz America, Inc.

Back Button CFA631 Datasheet HTML 68Page - Crystalfontz America, Inc. CFA631 Datasheet HTML 69Page - Crystalfontz America, Inc. CFA631 Datasheet HTML 70Page - Crystalfontz America, Inc. CFA631 Datasheet HTML 71Page - Crystalfontz America, Inc. CFA631 Datasheet HTML 72Page - Crystalfontz America, Inc. CFA631 Datasheet HTML 73Page - Crystalfontz America, Inc. CFA631 Datasheet HTML 74Page - Crystalfontz America, Inc. CFA631 Datasheet HTML 75Page - Crystalfontz America, Inc. CFA631 Datasheet HTML 76Page - Crystalfontz America, Inc. Next Button
Zoom Inzoom in Zoom Outzoom out
 72 / 81 page
background image
Crystalfontz
Data Sheet Release 2014-11-17
www.crystalfontz.com
CFA631 Intelligent Display Modules
Page 72
'My understanding of visual basic is very limited--however it appears that there is no way
'to initialize an array of structures. Nice language. Fast processors, lots of memory, big
'disks, and we fill them up with this . . this . . this . . STUFF.
Sub Initialize_CRC_Lookup_Table()
crcLookupTable(0).Lo = &H0
crcLookupTable(0).Hi = &H0
. . .
'For purposes of brevity in this data sheet, I have removed 251 entries of this table, the
'full source is available in our forum:
'http://www.crystalfontz.com/forum/showthread.php?postid=9921#post9921
. . .
crcLookupTable(255).Lo = &H78
crcLookupTable(255).Hi = &HF
End Sub
'This function returns the CRC of the array at data for length positions
Private Function Get_Crc(ByRef data() As Byte, ByVal length As Integer) As WORD
Dim Index As Integer
Dim Table_Index As Integer
Dim newCrc As WORD
newCrc.Lo = &HFF
newCrc.Hi = &HFF
For Index = 0 To length - 1
'exclusive-or the input byte with the low-order byte of the CRC register
'to get an index into crcLookupTable
Table_Index = newCrc.Lo Xor data(Index)
'shift the CRC register eight bits to the right
newCrc.Lo = newCrc.Hi
newCrc.Hi = 0
' exclusive-or the CRC register with the contents of Table at Table_Index
newCrc.Lo = newCrc.Lo Xor crcLookupTable(Table_Index).Lo
newCrc.Hi = newCrc.Hi Xor crcLookupTable(Table_Index).Hi
Next Index
'Invert & return newCrc
Get_Crc.Lo = newCrc.Lo Xor &HFF
Get_Crc.Hi = newCrc.Hi Xor &HFF
End Function
Private Sub Send_Packet(ByRef packet As PACKET_STRUCT)
Dim Index As Integer
'Need to put the whole packet into a linear array
'since you can’t do type overrides. VB, gotta love it.
Dim linear_array(26) As Byte
linear_array(0) = packet.command
linear_array(1) = packet.data_length
For Index = 0 To packet.data_length - 1
linear_array(Index + 2) = packet.data(Index)
Next Index
packet.crc = Get_Crc(linear_array, packet.data_length + 2)
'Might as well move the CRC into the linear array too
linear_array(packet.data_length + 2) = packet.crc.Lo
linear_array(packet.data_length + 3) = packet.crc.Hi
'Now a simple loop can dump it out the port.
For Index = 0 To packet.data_length + 3
MSComm.Output = Chr(linear_array(Index))
Next Index
End Sub
Algorithm 5: “Java” Table Implementation
This code was posted in our forum by user “norm” as a working example of a Java CRC calculation.
public class CRC16 extends Object
{
public static void main(String[] args)
{
byte[] data = new byte[2];


Podobny numer części - CFA631

ProducentNumer częściArkusz danychSzczegółowy opis
logo
Crystalfontz America, I...
CFA631-RMF-KU CRYSTAIFONTZ-CFA631-RMF-KU Datasheet
5Mb / 81P
   INTELLIGENT DISPLAY MODULE
CFA631-TMF-KU CRYSTAIFONTZ-CFA631-TMF-KU Datasheet
5Mb / 81P
   INTELLIGENT DISPLAY MODULE
CFA631P-TMF-KU CRYSTAIFONTZ-CFA631P-TMF-KU Datasheet
5Mb / 81P
   INTELLIGENT DISPLAY MODULE
More results

Podobny opis - CFA631

ProducentNumer częściArkusz danychSzczegółowy opis
logo
Crystalfontz America, I...
CFA631-TMF-KU CRYSTAIFONTZ-CFA631-TMF-KU Datasheet
5Mb / 81P
   INTELLIGENT DISPLAY MODULE
logo
List of Unclassifed Man...
MDL-IDM-L35 ETC2-MDL-IDM-L35 Datasheet
347Kb / 8P
   Intelligent Display Module with
logo
4D Systems Pty Ltd
ULCD-90D 4DSYSTEMS-ULCD-90D Datasheet
4Mb / 26P
   9.0 DIABLO16 INTELLIGENT DISPLAY MODULE
18 th March 2021/REVISION: 1. 2
logo
List of Unclassifed Man...
ULCD-35DT ETC2-ULCD-35DT Datasheet
1Mb / 25P
   3.5 DIABLO16 Intelligent Display Module
ULCD-70DT ETC2-ULCD-70DT Datasheet
2Mb / 22P
   7.0??DIABLO16 Intelligent Display Module
logo
Texas Instruments
MDL-IDM-L35 TI-MDL-IDM-L35 Datasheet
441Kb / 8P
[Old version datasheet]   Intelligent Display Module with 3.5" Landscape Display
logo
Purdy Electronics Corpo...
AND721GST PURDY-AND721GST Datasheet
115Kb / 2P
   Intelligent Character Display
AND791GST PURDY-AND791GST Datasheet
151Kb / 3P
   Intelligent Character Display
logo
OSRAM GmbH
DLX2416 OSRAM-DLX2416 Datasheet
222Kb / 5P
   Intelligent Display Device
DLX1414 OSRAM-DLX1414 Datasheet
202Kb / 4P
   Intelligent Display Products
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81


Arkusz danych Pobierz

Go To PDF Page


Link URL




Polityka prywatności
ALLDATASHEET.PL
Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Linki   |   Lista producentów
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com