08-25-2022 05:02 AM
Solved! Go to Solution.
08-25-2022 10:57 AM
Determines how you write data to DAQmx Write API
08-25-2022 11:00 AM
08-25-2022 02:30 PM
Hi Manik,
@Manik981211 wrote:
What is the difference between one channel for each line and one channel for all lines selection in line grouping for daqmx create channel digital output.
Drop a DAQmxWrite function in your block diagram and look at those 6 options you have when selecting Digital->Multiple Channel->Single Sample->"...". Now think about how "one channel for each line"/"one channel for all lines" relate to those options!
When handling multiple digital channels I prefer the "port" options...
08-26-2022 12:46 AM
08-26-2022 01:14 AM
Hi Manik,
@Manik981211 wrote:
in what occasion I have to choose one channel for all lines and one channel for each line with some example and Discrription
"One channel for each line" relates to using boolean arrays, with one element per channel.
"One channel for all lines" relates to using U8/16/32 data, with each bit in the unsigned integers relating to one digital channel.
You don't "have to", but you "can" choose which datatype suits your requirements. Keep in mind: using boolean data in LabVIEW will increase memory requirements (8 times) as each bit is stored/handled in memory as a byte. Using unsigned integers is more memory efficient, but you need to learn how to set/reset single bits in those U-INTs…
08-26-2022 04:57 AM
08-26-2022 07:05 AM