LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating multiple tasks

I am using the CVI plug-in for MSVC.  My application requires that I toggle a set of digital lines based on a user's input.  For a variety of reasons I would like to initialize my DAQ task handles at the start of the program so that when I need to toggle the lines I just call Run and Stop.

 

Some of my tasks use the same lines.  I know that if I try to define multiple tasks using the same lines that I will get an error (-200089). 

 

My question is this: Is there a clever way to pre-define my tasks at the start of the program even if they use the same lines? 

 

Thanks. 

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

UGH!  Cut and paste got me.  Stupid syntax error.  I can do what I wanted to do.

0 Kudos
Message 2 of 2
(3,390 Views)