Hello! I would like to read analog voltage from 10K potentiometer that will change voltage in range from 0 to 5V (I do understand that the reading will be coarse because full range for the board is 36.3V and with 8bit it is approximately 0.14V resolution) but that is for operator convenience to show on vcp panel so not critical. What do I need in HAL file for that? I have 5i24 board with 7i33 on first and 7i44 on third connector. 7i84 is on channel 4 on the 7i44 board. Manual does not explain how to change "software process data mode" from 0 to 1. The only piece of info I found is this: https://www.forum.linuxcnc.org/27-driver-boards/50030-7i84-analog-inputs
But I am not sure about the "sserial_port_0=1xxxxxxx" statement in the config line when loading hm2 driver. The driver is loaded in HAL file with this: loadrt [HOSTMOT2](DRIVER) config=[HOSTMOT2](CONFIG) And in the INI file I have these lines: [HOSTMOT2] DRIVER=hm2_pci BOARD=5i24 CONFIG="num_encoders=4 num_pwmgens=4 num_stepgens=0" So I am not sure about "sserial_port_0=1xxxxxxx" statement. I have a suspicion that I have to specify particular channel for the 7i84. Should I change 0 to 4 like this "sserial_port_4=1xxxxxxx"? And then the whole config line should look like this? CONFIG="num_encoders=4 num_pwmgens=4 num_stepgens=0 sserial_port_4=1xxxxxxx" I would appreciate any confirmation or correction on this. Viesturs _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users