I have a problem in controlling the relays i developed to two loops for relays one to control solenoid and other to control fans. solenoid loop should be working when fans stops. I am unable to control the loops or may be my developed logic is incorrect. Please any body help me with this. I am using pxi2586 hardware.
Solved! Go to Solution.
Two loops are independent of each other and hence you cannot control.
I haven't worked with Ni-Switch but you are initializing at 2 different places and you are using same credentials even though you use different control K0&K1 is it not giving you error ?
One simple thing you can do is Use FAN CONTROL local variable in SOLENOID LOOP. When FAN CONTROL becomes true start the solenoid functionality.
Controlling can be done in many ways, try the above method as initial try.
See the attached Modified VI.
Kudos are appreciated.:manvery-happy:
The reason I am using different initialzation is I want the solenoid to switch ON and OFF as soon as the fans stop and again switch ON and OFF before the fans starts again. Attatched is a signal diagram for the fans and solenoid functioning.
did you try that attached modified VI. The same initialization will do the task you mentioned. You dont need 2 different initialization.
ok, pls try same concept with 2 different initialization then . And your application is solenoid should turn on when your fan control is stopped write?