11-07-2014 09:27 AM
Also I need to set up a timer so the shutter is open for 15 minutes and closed for 30 minutes. This has to cycle 500 times.
Solved! Go to Solution.
11-07-2014 10:12 AM
11-07-2014 10:27 AM
The shutter controller accepts a TTL signal with a max voltage of ±42V. Currently it is hooked up to a digital port on the NI USB-6009, and I have been able to manually controll the shutter throught the NI USB-6009 software.
11-07-2014 05:40 PM
11-08-2014 11:10 AM
The USB-6009 is a relatively new device, and LabVIEW 8.5.1 is rather old software. You need to check to be sure that you have drivers (DAQmx) for your version of LabVIEW that support this hardware. It sounds as if you have it set up in MAX and are controlling the output manually, which is a good sign. I don't have access to version 8.5.1 and I don't remember exactly what features it supported, but the attached picture shows a simple block diagram in a new version of LabVIEW that would do what you want. Of course you should test it with shorter times and fewer iterations because this one takes more than 2 weeks to complete! Add any controls, indicators and error-checking that you want.
Rich
11-08-2014 01:02 PM
11-10-2014 10:06 AM
Thank you! This is exactly what I was looking for. I modified your design slightly, including the DAQ assistant at the beginning. I also changed the constants to variables so I can adjust to timing and number of cycles as needed.
Also, I'm aware that the run time for the test is 2 weeks long. I testing this program using 5 cycles of 3 seconds and 6 seconds. It works great!
Again, thanks!
11-10-2014 12:19 PM
11-10-2014 01:26 PM
Dennis,
We should get jobs where he works. Power never goes off. Computers never fail. The other equipment always works exactly as expected. AND the boss never changes his mind after a run starts.
On the other hand, that would only be fun for a short time....
Lynn
11-10-2014 02:20 PM