Skip to content

first_samp_timestamp_val property does not work because LibraryInterpreter is missing a method #639

@bkeryan

Description

@bkeryan

The nidaqmx.Timing.first_samp_timestamp_val property does not work because LibraryInterpreter is missing the get_timing_attribute_timestamp method.

>>> t = nidaqmx.Task()
>>> t.timing.first_samp_timestamp_val
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\dev\nidaqmx-python\generated\nidaqmx\task\_timing.py", line 424, in first_samp_timestamp_val
    val = self._interpreter.get_timing_attribute_timestamp(self._handle, 0x313a)
AttributeError: 'LibraryInterpreter' object has no attribute 'get_timing_attribute_timestamp'

Workaround: use task.wait_for_valid_timestamp(TimestampEvent.FIRST_SAMPLE) to get the timestamp.

AB#3064756

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions