Kemp

Members
  • Posts

    2
  • Joined

  • Last visited

Kemp's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thank you for you council and recognizing and commenting on the problem of the sequential problems of the valves opening and closing. Cogitating on the problem overnight and before I received your response, i had started to puzzle on that problem. I realize my problem/program is very simple compared others on the forum. Learning to write a "DAQ" computer program from a "hard wired" control back groung will be a one step at a time thing. I understand the logic the syntax is another problem. Sincerely, Kemp
  2. Subject: Valve control with “Event” statement. I am a novice at creating a control system using DaqFactory and a U3 LabJack. I have designed a system consisting of a number of pipe valves in a closed loop and open-loop configuration. Each valve is controlled through the DAQFactory program. Each valve is controlled by a separate Channel as a “digital out” device. Each channel (Valve) is operated by a two-position lever switch. Manually the valves/system operates properly and there is no interaction between any of the valves. The problem is that there are conditions where two specific valves cannot be open at the same time. I have attempted to control this by creating an “event” in (Valve_1) that prevents (Valve_2) being open or opening when (Valve_1) is open or opens. Event statement: If (Valve-1[0] => 1) /I incorporated the > on the assumption that Valve_1{[0] might not be exactly equal to 1 Valve_2 =0 endif this event statement is typical of a number of combinations/statements, that I have tried. Once this problem is resolved I need to automate the whole system (6 valves) with a prescribed sequence operation program. Unless you wish to also comment on that program, I will reserve those problems for some future assistance, I suspect. I appreciate your assistance in helping me resolve this problem.