diff --git a/Ohmpi_4elec.py b/Ohmpi_4elec.py
index 3919b2ceb684f3968430aa5ea90ec07f3c156500..691fa5dcf4e3601d4966c81fb4ed1fea44b629eb 100644
--- a/Ohmpi_4elec.py
+++ b/Ohmpi_4elec.py
@@ -33,6 +33,8 @@ print(current_time.strftime("%Y-%m-%d %H:%M:%S"))
 hardware parameters
 """
 R_shunt = 2# reference resistance value in ohm
+Imax=4800/50/2
+print(colored('The maximum current cannot be higher than 48 mA', 'red'))
 coef_p2 = 2.50# slope for current conversion for ADS.P2, measurement in V/V
 coef_p3 = 2.50 # slope for current conversion for ADS.P3, measurement in V/V
 offset_p2= 0