LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Examples for good programming practice with multiple DAQmx tasks

 


@dsdale24 wrote:

In my "native" language (python), I would create classes/subclasses with a common interface, and have my controller aggregate the instances of the various classes into a single collection (list or dictionary), and then iterate over the collection.


I would do this very thing in LabVIEW.  The controller could hold an array of the base interface class in its private data.

 

 

Best Regards,

John Passiak
0 Kudos
Message 11 of 12
(1,027 Views)

@John_P1 wrote:

 


@dsdale24 wrote:

In my "native" language (python), I would create classes/subclasses with a common interface, and have my controller aggregate the instances of the various classes into a single collection (list or dictionary), and then iterate over the collection.


I would do this very thing in LabVIEW.  The controller could hold an array of the base interface class in its private data.

 

 

Best Regards,


To add to that,  DAQmx already provides the class/subclasses Smiley Surprised

!0.png


"Should be" isn't "Is" -Jay
0 Kudos
Message 12 of 12
(999 Views)