11-10-2005 05:14 AM
11-10-2005 11:01 AM
You need a way of capturing the external trigger and reporting it to software. One method is the use a DIO (digital input line if the trigger is TTL). If the trigger is not TTL, you can use an Analog Input board. If you are just wanting to get one line, a DIO or AIO seems like overkill. However, USB-DIO devices are available for as little as $99.
Another method is to use one of the RS232 lines (DTR is one). However your trigger would have to be converted to +12/-12 volts for input to an RS232 line. If TTL, you could also use a data line on the parallel port.
For using parallel port, search for examples in LV on parallel port. For using serial port, you can use a property node to get the state of the line. For DIO or AIO, you can search for examples on those.
Once you have a way to capture the trigger, use whatever method you choose to get the trigger and then you can feed this into a case structure to switch your indicator. Or you can use the event structure with a value (signaling) method to cause an event. Inside the event you can wire whatever you want to the indicator.
Choose a method and then post again. We can then further help you along. If your trigger is TTL, the USB-DIO method is the easiest to implement, the parallel port is the cheapest (easy also) since it doesn't cost anything (except maybe a cable) as long as your port is not being used by a printer or other device.
11-14-2005 07:06 PM - edited 11-14-2005 07:06 PM
Message Edited by Mitja on 11-14-2005 07:09 PM