01-14-2010 01:50 PM
I am very new to Labview. I am trying to simulate footswitchcontrol for laser pulsing where pulse count will be set by the user. I amhaving difficulty with the 2 time functions. t1 is the switch closure(100-250mS) and t2 is the switch cycle time(500-1000 mS). I have started with afor loop which I think is better in this case. I am using Daq-Mx NI usb 6008. Ihave tried looking for some similar example code but have not found any. Anyhelp will be greatly appreciated.
Solved! Go to Solution.
01-15-2010 11:45 AM
Hi Jay,
I am not sure that I understand your application. What do you want to do for t1 and t2? Are you controlling a switch with the 6008? From what it sounds like, you want a pulse with a high time of t1 = 100-250 ms and a the low time of t2 - t1, i.e., t1 + low time = t2 (total cycle time). Is this correct? Are you using the digital lines or the analog output? This Discussion Forum Post will show you a good example for creating a software timed digital pulse train. This should work for your application, as you are switching relatively slowly.
01-18-2010 08:45 AM