Skip to content

could not import data of logic-channels #1

@elktrainer

Description

@elktrainer

Hello Devin,

to read the data of logic-channels I added/changed the follwing lines to your code:

line 296:

num_bytes = []

        for num,dk in enumerate(file_data['data_type']):
            if (dk == 'IS2') or (dk == 'B16'):
                num_bytes.append(2)
            else: 
                num_bytes.append(int(dk[2]))
        file_data['num_bytes'] = num_bytes

line 301:
letter = {'I':{'2':'h','4':'i','8':'q'},'F':{'4':'f','8':'d'},'B':{'6':'H'}}[fmt[0]][fmt[2]]

Thank you for your wvfreader. Now I'm able to analyse my wvf-data in python.

Kind regards

Tilo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions