02-29-2008 11:32 AM
03-03-2008
06:24 PM
- last edited on
04-18-2025
12:41 PM
by
Content Cleaner
Hi Praveen,
Your VI architecture is difficult to understand at first glance. It looks like you're trying to mimic an event-based program flow, so you may benefit from using an event structure rather than a while-case structure.
Also, you're using channels and tasks defined in MAX, so I can't see how this VI would (or wouldn't) get the behavior you're after. If you could document your code and explain in more detail your requirements and expectations, then I might be able to give some more insight. Also, outlining your algorithm would also help me understand if your code will do what you want.
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
03-04-2008 08:31 AM
Hi Joe,
Thanks for getting back with the reply. I have tried to document as much as possible to help you understand better. Also, I have the sample Main VI architecture attached as well. Let me know if this helps.
Thanks for the links.
PR
03-05-2008 03:37 PM
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)