622.74  Fees in advance.
  Witnesses, except parties to the action, are entitled to receive in advance, if demanded when subpoenaed, their traveling fees to and from the court, with their fees for one day’s attendance. At the commencement of each day after the first, they are further entitled, on demand, to receive the legal fees for that day in advance. If not thus paid, they are not compelled to attend or remain as witnesses.
[C51, §2417; R60, §4015; C73, §3674; C97, §4662; C24, 27, 31, 35, 39, §11331; C46, 50, 54, 58, 62, 66, 71, 73, 75, 77, 79, 81, §622.74]