LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event Case

Hello,

I'm trying to create a scenario that when a photoelectric sensor is trip it triggers an event to turn something (say a light stack) on. Then it waits for a different sensor to turn it off. But I would also like this to be able to repeat in reverse. Any suggestions? Thank you!

 
   


Message Edited by Guber on 11-06-2007 12:00 PM
0 Kudos
Message 1 of 4
(3,153 Views)
Hi Guber,

Which sensor and other hardware will you be using? The first step is to find an instrument driver to interface with LabVIEW and your hardware. You can find a list of them here.
Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 2 of 4
(3,110 Views)
I'm using a USB 6501 with Allen Bradley Photoelectric. I'm unsure about where to start in terms of the loops. Thanks, Amanda! 
0 Kudos
Message 3 of 4
(3,086 Views)
Hi Guber,

I have a few suggestions to get you started. Let's try using an event structure to implement this. You could have a Boolean indicator whose value can be wired into an event structure that determines the behavior of the code inside. Could you post the code that you are working on so far so that we can help?

Have a great day!
Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 4 of 4
(3,054 Views)