LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Switch digital outs at a certain time on and off

Hello,
 
I want to switch 2 Digital-Outs at a certain time on and off and at the same time I have to read 4 Analog-INs with an very high scan rate (1000 - 200000 scan per sec). I tried the example "Count time-easy (DAQ-STC).vi" and modified it a little bit for my work.
The example alone worked very well but not in my real VI.
The problem is that in my VI the time count not work and so the digital outs won't be switched.
 
You can see it a part of my VI in the attachment.
 
 
thanks for your helpSmiley Very Happy
 
 
 
I use WinXP, LabView 6.1 with DAQcard-AI-16E-4
0 Kudos
Message 1 of 8
(3,298 Views)
what about to place the 2nd threat in a while loop, too
0 Kudos
Message 2 of 8
(3,268 Views)
I think you mean the threat under the while-loop.
I tried to place the 2nd threat in the same loop (time count) but it did not work.
0 Kudos
Message 3 of 8
(3,262 Views)
i mean 2 parallel while loops
0 Kudos
Message 4 of 8
(3,257 Views)
OK. I will try this at Monday. thanksSmiley Wink
0 Kudos
Message 5 of 8
(3,252 Views)
Hi,

I tried to place the 2nd threat in a parallel while-loop but this also didn't work.

The VI stops at the right time but the time count is not refreshed!!!
0 Kudos
Message 6 of 8
(3,242 Views)
can you publish your current VI?
Message 7 of 8
(3,238 Views)
here it is, my VI with the 2 parallel while-loops.
0 Kudos
Message 8 of 8
(3,229 Views)