02-12-2010 08:00 PM
I have three loops that operate independently controlling separate devices. I would like to poll them continuously for about five seconds at a time. The reason for polling each of the devices is that I would like to communicate from Labview via one CAN device (8473). Is there an easy way to accomplish this polling/ multiplexing task and maintain each loops independence?
Thank you.
Solved! Go to Solution.
02-13-2010 08:42 AM
02-14-2010 09:40 AM
Yes, you understand correctly. I think I undestand what you're suggesting, I'm just not sure how to go about implementing it. It seems to me the fourth loop that you're suggesting that I create would poll each of the other three loops. During each period when a device was being polled the fourth loop would close the correct switches (via GPIB w/ a 34970 which I'm using) to establish CAN communications with that device. The fourth loop would also send & receive CAN transmissions which are the same for each device. My problem is figuring out how I can poll and maintain the independence of the loops. Is there possibly an example in the LV library that might help?
Thanks
02-15-2010 08:29 AM - edited 02-15-2010 08:34 AM
Here's a rough sketch of what I'm suggesting. I don't know if there's a shipping example that demonstrates this exactly, but there are certainly examples on the use of queues for communication between loops.
02-15-2010 08:41 AM