FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro Support
Knowledge
Community
About us
References
Jobs
General Contact
List Of Retailers
FlexPro Support
EN
DE
FR
Placeholder
Products and Solutions
Support and Downloads
Company
Magazine
Contact Us
Language
MyWeisang

Account settings

Topic

Import ASCII Hex

Home page Community General Import ASCII Hex

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34350
    Marcel Bürger
    Participant

    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.

    #34352
    Marcel Bürger
    Participant

    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.

    #34351
    Bernhard Kantz
    Participant

    You 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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.