Topic
Import ASCII Hex
- This topic has 2 replies and 2 voices and was last updated 13 years, 3 months ago ago by Marcel Bürger.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
07.02.2012 at 15:14 #34350Marcel BürgerParticipant
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 at 15:14 #34352Marcel BürgerParticipantHow 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 at 15:03 #34351Bernhard KantzParticipantYou 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.
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.