Hey y'all, I'm trying to read input data from an IR temp sensor, omega os151-ht. (Through DirectSoft also)
I'm using the analog input card F2-04AD-1. I've hooked the omega to the last two slots (CH4- and CH4+).

Right here you can see the input address is set to octal so the address start from the card is v2120-v2123 Since its a 4 channel

And here you can see the V2120-v2123 input addresses are indeed there, and are other IR temp sensors, however, in this program there is a random function that sets v2123 (the input address I need to use) to a calculated number that does nothing. See pic below

This line of code starts on first scan and v2123 is never used in the program again, and before today was not even connected to anything physically. But when I set up the temp sensor, it now won't do or read anything. Should I delete this code and see what happens? Or is some addressing wrong and I just missed it. Any suggestion would be great! Ask any questions if need be
I'm using the analog input card F2-04AD-1. I've hooked the omega to the last two slots (CH4- and CH4+).

Right here you can see the input address is set to octal so the address start from the card is v2120-v2123 Since its a 4 channel

And here you can see the V2120-v2123 input addresses are indeed there, and are other IR temp sensors, however, in this program there is a random function that sets v2123 (the input address I need to use) to a calculated number that does nothing. See pic below

This line of code starts on first scan and v2123 is never used in the program again, and before today was not even connected to anything physically. But when I set up the temp sensor, it now won't do or read anything. Should I delete this code and see what happens? Or is some addressing wrong and I just missed it. Any suggestion would be great! Ask any questions if need be