labscript-suite-temp / labscript_devices

Module containing labscript suite hardware compatibility, separate from the main programs. Device compatibility is implemented with a plugin architecture, for modularity and extensibility. Each file in this module contains a labscript device class, a BLACS tab class, a BLACS worker class and a runviewer parser class for a particular device. These implement functionality for the device which the programs in question call on when they encounter each device in user labscript code, hdf5 files, or connection tables.
0 stars 0 forks source link

BLACS tabs for NI Cards do not show correct labels #4

Closed philipstarkey closed 10 years ago

philipstarkey commented 10 years ago

Original report (archived issue) by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).


If the user has renamed analog output channels in NI MAX, then the names of the outputs are not shown in BLACS it just shows dashes. This is because the current implementation of the BLACS tabs assumes that the names are as default,

philipstarkey commented 10 years ago

Original comment by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).


philipstarkey commented 10 years ago

Original comment by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).


philipstarkey commented 10 years ago

Original comment by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).


Turns out you can always use he canonical names, and furthermore it would seem that if you do, you are not subject to the scalings set in MAX that the 'virtual' channels with custom names might have.

So we simply should not support renaming of channels in this way. These sorts of abstractions belong at the labscript level, not at the level of MAX.