08-11-2008 12:35 PM
08-11-2008 12:50 PM - edited 08-11-2008 12:51 PM
08-11-2008 12:58 PM
08-11-2008 12:59 PM
08-11-2008 01:16 PM
08-11-2008 02:59 PM
08-11-2008 03:00 PM
08-11-2008 03:03 PM
08-11-2008 03:12 PM
-six message (word?) capability These messages can be fed in as inputs specific to the particular transducer the routine to be used.
-named cluster output
-should be able to run in a 20 hz main loop if possible
08-13-2008 10:07 AM
Hi Nones,
Your waveform graph is not updating in real time because you have a loop in your sub VI. Your sub VI won't return until your loop ends, so your main VI sits and waits. If you want to have a loop in your sub VI, Christian's suggestion is a good way to make this work.
There are multiple ways of accomplishing your task, and each way has a trade off between performance and ease of implementation. The easy way would be to create a sub VI which sends one message and expects a single response, and then use that VI in a loop to go through each sensor. The fast way would be to send all of the messages at once, and then possibly have a separate VI to listen for the response messages. LabVIEW is particularly good at doing this, you can have one loop to send messages, and another loop to listen for the responses and distribute them to their appropriate indicators.