09-03-2010 03:13 AM
Hi !
I'm using Labview 8.5. I'm developing some kind of home alarm system with one real sensor attached to a USB 6501 and 3 simulated channels of USB 6509 . I want to make some kind of switch attached to every DAQ assistant to use in a single moment only one of the 4 DAQ.s . So basicly i put every separate DAQ assistand in a while loop and connect a boolen stop to a stop port of the DAQ assistant but when i stop 1 the other 4 also stop. Can u help me please !
Thank You !
Here i attach my VI
09-03-2010 04:36 AM
The Logic in which you designed is wrong... You should not use while loops for each DAQ assistant... Try using Event structure and dont use Express VIs Low level VIs are availabel use it....Because u have used while loop when you switch ON a sensor ( the buttons you placed) you will not be able to switch it back again till you switch the other loops...
09-03-2010 07:43 AM
will be working event structure with DAQ assistant ?
09-03-2010 10:20 AM
If you need to use multiple DAQ Assistants you've reached the level where you should not be using ANY DAQ Assistants. Learn the low-level DAQmx functions and use them going forward. The first step is to convert your DAQ Assistant code into real labview code. You can right-click on it an select 'open front panel' or convert to LabVIEW code' or something like that (I don't use and Express stuff so I don't know the details.
Post your code after that and we'll help you along. BTW, sounds like a cool project. I'm planning something similar.