Topic
Import ASCII Hex
Startseite ' Community ' Allgemein ' Import ASCII Hex
- Dieses Thema hat 2 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 13 Jahren, 3 Monaten von Marcel Bürger aktualisiert.
Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
-
AutorBeiträge
-
07.02.2012 um 15:14 Uhr #34350Marcel BürgerTeilnehmer
How could i import ASCII Hex values from CSV files and use them in FlexPro as integer?
For example: I’ve got ADC values like 0E41 (3649 decimal) without “0x” infront.
07.02.2012 um 15:14 Uhr #34352Marcel BürgerTeilnehmerHow could i import ASCII Hex values from CSV files and use them in FlexPro as integer?
For example: I’ve got ADC values like 0E41 (3649 decimal) without “0x” infront.
08.02.2012 um 15:03 Uhr #34351Bernhard KantzTeilnehmerYou can import those ASCII hex values as strings. To get the numerical value you may use a FPScript formula like in the following example:
Dim hex = “0E41”
Integer16 (“0x” : hex)It concatenates the “0x” prefix to the hex string and converts it to a 16 bit integer.
-
AutorBeiträge
Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.