LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem : Additional required sub system in use

Hi, I am having trouble running my program.

 

I have 2 DTOLcreatetask, 1 is for Analog input and the other for Analog output ?

The analog inputs are for manipulating data from sensors, and the analog output is for controlling a valve.
I make 2 buttons for the output, open and close.

First, I run the program, it's working fine but when I press the button, It appear an error log ( Additional required sub system in use )

Can I run 2 or more DTOLcreatetask together ?

 

Best regards,

Citras

0 Kudos
Message 1 of 3
(2,376 Views)

It looks like your conflict is in the lower loop.  You have the same channels being accessed by the open and closed case structures. Why not just have one case structure with one open/close boolean?  That would be much better.

 

Also, your event structure is an infinite loop since you hard coded a false constant.

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 3
(2,367 Views)

1- Where is the Timing Function for the While Loops?

2- Why to Cases for Closed and Open? put them in one Case!

3- Use another Architectur like the State Machine!

http://expressionflow.com/2007/10/01/labview-queued-state-machine-architecture/

 

You can also integrate the Event Structure in the manin Loop.

 

Open LabVIEW and go to New --> From Template --> Design Patterns --< Producer/Consumer Design Pattern (Events)

Kais Mekacher
Applications Engineer
Germany - Munich
0 Kudos
Message 3 of 3
(2,348 Views)