AIN_ALL_EF_INDEX - Name / Modbus Address | LabJack
 

AIN_ALL_EF_INDEX - Name / Modbus Address

3 posts / 0 new
Last post
MrDeathStar
MrDeathStar's picture
AIN_ALL_EF_INDEX - Name / Modbus Address

I was setting up my T7 configuration methods and found the following issue:

LJM_eReadName/LJM_eWriteName will not understand "AIN_ALL_EF_INDEX" and return a 1202 error.

LJM_eReadAddress/LJM_eWriteAddress understands 43906, but only if I use LJM_UINT16 instead of the Modbus table specified LJM_UINT32 (as with AINx_EF_INDEX commands).

Could this be an oversight in the driver, documentation error, or something else I might be doing incorrectly?  Thanks.

LabJack Support
labjack support's picture
The AIN_ALL registers are all

The AIN_ALL registers are all using uint16 for their data type, but all AIN_EF registers use uint32. We will discuss whether the JSON or firmware needs to be changed.

LabJack Support
labjack support's picture
We decided to change firmware

We decided to change firmware to match the JSON. The next beta release will contain the change.