@manueldsandoval,
Perhaps you can say what is your source of power (power supply). If you're generating Direct Current (DC) or Alternating Current (AC), you'd have beein using different power supplies.
FYI, you cannot, to my knowledge, simultaneously run a/c and d/c on the exact same wire. The voltage source (transformer) is fussy that way.
Frankly, you need to understand what you're doing basically in this experiment and how your doing it. Then you need to learn how to express your question in a way someone else can understand what you're asking.