Skip to content

Error in example #117

@mikeWShef

Description

@mikeWShef

The task.read exaple has an error:

task = Task()
task.ai_channels.add_voltage_channel('Dev1/ai0:3') # this line
data = task.read()
type(data)
<type 'list'>
type(data[0])
<type 'float'>

>>> task.ai_channels.add_voltage_channel('Dev1/ai0:3')

It should be:
task.ai_channels.add_ai_voltage_chan('Dev1/ai0:3')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions