LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

work with PCI-6052E and PCI-6601 simultaneously

Hi, I'm working with PCI-6052 for bufered data output and PCI-6601 for read two encoders at same time, when I work with single board I don't have problems but when I work both simultaneously I have a problem only I can out data or only I can read the encoders but not both at the same time. How I make this?
0 Kudos
Message 1 of 2
(2,269 Views)
Hi,

You probably have one task in LabView running in series after the other. Both of these tasks require a loop. Your buffered data output needs to be written in continuous fashion in a loop (I believe) and your encoder measurements are being read constantly as well (should be in a loop). Try experimenting with these two suggestions.

I would copy both programs into 1 VI and keep them running completely separate. LabView will be able to assign each a different thread so they should be able to run completely in parallel. Therefore you would have 2 parallel loops that are not connected at all.

You can also create two completely different VIs and run them in parallel. There is no reason why the two different programs would interfere.

Hope that he
lps. Have a good day.

Ron
0 Kudos
Message 2 of 2
(2,269 Views)