From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-17-2017 06:44 AM
Hi all,
I am quite new to LabView and would like some guidance to help with my project. I am planning to use 3 lasers which can all be modulated by a TTL signal and I want to create a VI that lets me automate the control of these 3 lasers let's say I want the green laser to be on for this amount of time and the rest are off etc.. now I just want to know how I can make my DAQ trigger the lasers in the uni lab I have different DAQs I could make use of such as the myDAQ, USB-6008 and the PCI-6221 there are some others In another lab but these are the main ones. Is there like a tutorial or example that shows how to output a TTL signal from a DAQ? I googled this but couldn't find anything that made much sense to me.
Thanks,
Jaafar
Solved! Go to Solution.
07-17-2017 06:56 AM
07-17-2017 06:59 AM
Thanks,
I will do that and If I find something that helps me solve my problem I will come back and post it.
Jaafar
07-17-2017 09:25 AM
Figured everything out now Thanks GerdW for the guidance.
This post helped me to do what I wanted:
https://forums.ni.com/t5/NI-DAQmx-Examples/DAQmx-Write-Digital-Channel/gpm-p/3501608
09-12-2018 01:20 PM
Could you share the final VI and DAQ instrument that you used for this? I have a similar issue.
09-13-2018 08:00 AM
Hi Chait,
So I'm not sure how helpful my vi will be as the final version is quite different to the original goal. Attached you will find my VI which essentially sends a digital signal of 5v through a number of DAQ ports depending on what you input on the control panel. this sequence will then loop until you stop it. I have not commented my code very well as it was for my research project and for me alone to understand and also regarding the DAQ i can't quite remember which one i used in the final version but I know it works with the myDAQ and also the NI USB-6001 as I tested both of those options. Finally due to the NI USB-6001 only being able to output 2.5V in the digital ports I went with another one, but the myDAQ can run my code perfectly fine aswell you just need to configure the DAQ assistant blocks.
Hope this is helpful for you.
Cheers,
Jaafar