03-10-2025 08:28 PM
I'm using a 9375 (16 DI, 16 DO). I plop the RSI module refnum on the block diagram, wire it into a Scanned Variable Read VI, give it a Boolean Array data type and voila, I'm reading all 32 bits (the outputs are in read mode). This seems like a great idea eliminating serpentine error wire mess if you're just reading all the shared variables.
However, instead of a logical data order they are scrambled. DO2 shows up at bit 4 of the array, D01 bit 8 and D03 bit 11. I could go through all thirty two bits, but I was wondering if there is a logical sorting to these values or will they change over time and/or software changes?
04-14-2025 06:46 AM
Hello Stuart,
Can you please attach a screenshot of the output/code? I suspect the issue might be related to the pinout, but maybe the output can help us decipher the origin.
04-16-2025 04:49 PM
The shared variables are in order from top to bottom, DO0 to D015. On the front panel, Data Write is a 16-element array and Data Read is a 32-element array. When I toggle each of the 16 elements of Data Write they map to Data Read like this (the ones in red are DI bits):