In the examples I get two multi channel examples. One uses AIN_ALL_RANGE the other uses AIN#(0:254)_EF_READ_A
Both of these read or set all the AIN channels.
Does it carrie over to be able to do something like this?
AIN#(8:11)_EF_INDEX
AIN#(8:11)_EF_CONFIG_A
I ask because it hasn't worked for me, but as I am new to the T7 I just may be doing it wrong.
I'm not really sure what you are asking, but I will point out that the following is the exact name of a single register. You write to this 1 register and it sets the range of all analog inputs:
AIN_ALL_RANGE
The following is not the actual name of a register you write to:
AIN#(0:254)_EF_READ_A
Rather that is just a shorthand notation for 255 different register names:
AIN0_EF_READ_A
AIN1_EF_READ_A
AIN2_EF_READ_A
.
.
.
My question is can to use AIN#(8:11)_EF_READ_A to reference just the AIN channels I need.
Is is an all or 1 type of situation.
AIN#(8:11)_EF_READ_A is not a valid name that can be passed to the LJM name functions, if that is what you are asking.
Perhaps post a code snippet of what you are trying to do and we can comment on it.