Skip to content

Create a synchronization example for TDMS logging #820

@HugoRamsey

Description

@HugoRamsey

The examples in synchronisation (required for multiple task types eg. analogue in and counter in) do not show how to log all tasks to a single TDMS file. It would be useful to have all synchronised tasks in one place as the NI hardware supports multiple tasks.

Doing something like this raises the error "File specified is already opened for output. NI-DAQmx requires exclusive write access.

ai_task.in_stream.configure_logging( filepath, LoggingMode.LOG, operation=LoggingOperation.CREATE_OR_REPLACE ) ci1_task.in_stream.configure_logging( filepath, LoggingMode.LOG, operation=LoggingOperation.OPEN )

AB#3252273

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