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.
03-29-2015 11:04 PM
Hi everyone!
I just would like to ask a very BASIC question. I know some of you may find this easy.
Again, I am new in LabVIEW and I'm trying to use NI myDAQ as a data acquisition device. In the application I am trying to do, I need to get a pulse generating signal from myDAQ and use it as input to my multiplexer. I've been searching for the posts and i think none were asking this kind of simple question.
If there is any solution for this, please link it to me. THANK YOU VERY MUCH!
Regards,
Falsehope
Solved! Go to Solution.
03-29-2015 11:31 PM
03-29-2015 11:44 PM
well sir, the multiplexer just need a Continous ON-OFF pulse so that it will switch from time to time depending on the frequency I will use.
So basically, I only need a basic clock output (about100kHz or lesser) from the myDAQ and the ON-OFF pulses will trigger the multiplexing capability of my device.
I need it to run in labview also. In such a way that the myDAQ is producing clock for the hardware and clock for the labVIEW.
But for now, my main concern is how do i prompt the myDAQ to produce clock pulses using LabVIEW softeare.
Thank you so much sir
Falsehope
03-30-2015 07:09 AM
The myDAQ has a single counter on it. You can configure the counter to output a frequency. According to the specification, the Frequency Output will come out of DIO 4.
03-30-2015 06:24 PM
03-30-2015 06:59 PM
@FalseHope wrote:
May i see a sample code of it?
Look in the Example Finder (Help->Find Examples). There should be something in there about a DAQmx counter.
03-31-2015 12:21 AM - edited 03-31-2015 12:21 AM
I'm afraid sir that I cannot do that. I am only using the Laboratory Computer of the School and it removed the examples folder of the LabVIEW (Maybe to prevent students from accessing the examples during hands-on exams). So yeah.. I'm a student with limited access to LabVIEW.
But I talked to the IT department of our school and it allowed me to download the examples instead. However, I cannot find available codes.
Regards,
Falsehope
03-31-2015 07:32 AM
@FalseHope wrote:
I'm afraid sir that I cannot do that. I am only using the Laboratory Computer of the School and it removed the examples folder of the LabVIEW (Maybe to prevent students from accessing the examples during hands-on exams). So yeah.. I'm a student with limited access to LabVIEW.
But I talked to the IT department of our school and it allowed me to download the examples instead. However, I cannot find available codes.
Regards,
Falsehope
IMHO this is a dumb thing, a good teacher can easily create exercises and exam tasks to "measure" the real knowledge of the students, even if they use the built-in LabVIEW examples. A school should help during the learning curve, and not by disabling built-in examples, but by giving creative tasks...
I have attached an example VI, which will generate a 1 kHz counter output through DIO-3 and DGND. (I tested with a myDAQ device, it works)
04-03-2015 10:52 PM
THANK YOU SO MUCH SIR.
Dumb? TOTALLY DUMB. I'm telling you.