LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview i/o

I am a student who is new to labview programming. I am using labview to
run a machine with many inputs and outputs. I am trying to program
a series of outputs at specific time intervals by using a case
structure. The problem I have is that when my program runs through this
sequence, I cannot control my (separate) outputs until the timed
sequence
is finished. I want to program my systems in parallel. for example, I
want to start an output process, and at the same time start and stop
other processes, without affecting the first process. I've tried to use
subVI's without any luck. thank you for your help.

Mark


Sent via Deja.com
http://www.deja.com/
0 Kudos
Message 1 of 3
(2,827 Views)
What are you using to acquire the signals? DAQ, GPIB, serial....


wrote in message news:95d9qn$m6$1@nnrp1.deja.com...
> I am a student who is new to labview programming. I am using labview to
> run a machine with many inputs and outputs. I am trying to program
> a series of outputs at specific time intervals by using a case
> structure. The problem I have is that when my program runs through this
> sequence, I cannot control my (separate) outputs until the timed
> sequence
> is finished. I want to program my systems in parallel. for example, I
> want to start an output process, and at the same time start and stop
> other processes, without affecting the first process. I've tried to use
> subVI's without any luck. thank you for your help.
>
>
Mark
>
>
> Sent via Deja.com
> http://www.deja.com/
0 Kudos
Message 2 of 3
(2,827 Views)
[posted and mailed]

markpsu@my-deja.com wrote in <95d9qn$m6$1@nnrp1.deja.com>:

>I am a student who is new to labview programming. I am using labview to
>run a machine with many inputs and outputs. I am trying to program
>a series of outputs at specific time intervals by using a case
>structure. The problem I have is that when my program runs through this
>sequence, I cannot control my (separate) outputs until the timed
>sequence
>is finished. I want to program my systems in parallel. for example, I
>want to start an output process, and at the same time start and stop
>other processes, without affecting the first process. I've tried to use
>subVI's without any luck. thank you for your help.
>

I think you might want to look at either occurrences or notifiers to
achieve sy
nchonized execution control. At the very simplest level LV can
handle multiple while loops that execute in parallel on the same block
diagram so you can create parallel tasks extremely easily. Synchronizing
them is slightly more difficult but not impossible.

--

Alexander C. Le Dain, PhD
ICON Technologies Pty Ltd
http://www.icon-tech.com.au

******************************************************************
* The LabVIEW FAQ http://www.icon-tech.com.au/thelabviewfaq.html *
******************************************************************
0 Kudos
Message 3 of 3
(2,827 Views)