03-20-2007 02:25 AM
03-21-2007 02:09 AM
I do not have any example vi's at hand to demonstrate this
but probably, you can choose a continous Analog measurement vi and Digital generation vi that you will find in example vi's shipped with LabVIEW, merge these to a single vi and achieve this
03-22-2007 08:50 AM
Hi Gopal,
Thank you for posting to the NI forums. Which DAQ device and driver are you using for this application? Also, could you give some more general background on the reasoning behind using two independent while loops rather than a single loop? Keep in mind that if you want the AI and DO synchronized, they won’t hardware timed due to the separate while loops.
With some more information, I’d be glad to offer some recommendations or even a sample VI. Thanks!
Ed W.
Applications Engineer
National Instruments
04-02-2007 04:48 AM
Hi,
In my application, I need to constantly monitor a voltage signal on my AI. I could do this sequentially, but I prefered to have the DIO operation independent of the AI. Thus I planned to use two loops where in have my voltage monitoring in one and the DIO operation on the other.
Regards
Gopal
04-03-2007 12:24 PM
Hi Gopal,
Again, it would be very helpful to know which DAQ device and driver you are using. I would recommend getting started using the LabVIEW Example Finder. I’ve attached a sample program – it simply consists of two LabVIEW example programs placed into a single VI. But keep in mind that these two loops are not synchronized at the hardware level.
Ed W.
Applications Engineer
National Instruments