Brad Keryan

Results 41 comments of Brad Keryan

Some of the types in nidaqmx.system are not public yet. Also, the docs refer to nonexistent modules like nidaqmx.system.collections and nidaqmx.system.device_collection: https://nidaqmx-python.readthedocs.io/en/latest/collections.html (This is really nidaqmx.system._collections, which is private.)

> nidaqmx.system.collections: making the submodules in collections private and update docs Also make `nidaqmx.system.collections` itself public & add aliases for the collection types. > nidaqmx.system.storage: upadate docs `nidaqmx.system.storage` and `nidaqmx.system.storage.persisted_channel`...

@jgersti, thank you for reporting this. To work around this issue without using private implementation details, you should be able to index the channel collection to create a new channel...

Hi @StSav012, thank you for your contribution. Making types public to support type hints is a prerequisite for #209 and I recognize that it has value even before type hints...

@QDO164, thanks for reporting this. I think the "error expected" code is confusing and should be removed from the example. Examples should demonstrate what to do, not what not to...

I think we should keep this issue open until this code is removed from the example.

@zhindes I think this is about running the nidaqmx-python tests for each new build of NI-DAQmx.

Now there is a deprecation schedule: https://github.com/actions/upload-artifact > actions/upload-artifact@v3 is scheduled for deprecation on November 30, 2024. [Learn more.](https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/) Similarly, v1/v2 are scheduled for deprecation on June 30, 2024. Please...

Updated link to calibration info properties: https://www.ni.com/docs/en-US/bundle/ni-daqmx-c-api-ref/page/mxcprop/attributeclasscalibrationinfo.html

FYI, here are two ways to pass user variables to the callback without using local functions (untested): - Use [functools.partial](https://docs.python.org/3/library/functools.html#functools.partial) ``` def callback_with_extra_param(extra_param, task_handle, every_n_samples_event_type, number_of_samples, callback_data): ... callback =...