OBD-II Problems

i'm sorry if someone as already ask this question...

i know something about the car chip tuning and i know that if something happens while you are writing the code on the chip, somatimes you have to change it. so i'm asking if is it dangerous to keep connected the pc to the OBD port (and so to the chip) while the car is moving... ??? can if have problems?