Which IODDT data type would I use for an M340 analog input module that includes the input value and other channel information?



The IODDT for all channel properties is T_ANA_IN_BMX..
This Data Type will yield all of the channel's properties and diagnostic information.
If you only want the channel VALUE and CH_ERROR properties you can use the T_ANA_IN_GEN  Data Type.