08-30-2018 10:16 AM
I’ve recently acquired a USB-6361 with BNC connections. I’ve read many posts on the Community and looked through the documentation, but I’m confused on how to configure the DAQ for my application. What I want is this:
I’ve been playing around with LABVIEW and DAQ assistant seems to be the easiest way to read the analog signal. But I can’t seem to convert this to a TLL using a Digital Output task. In addition, it’s still not clear to me how to route this signal through a PFI port?
I have some experience in LABVIEW but am very new to DAQmx, so any advice (however basic) would be greatly appreciated!
08-30-2018 09:22 PM
I think implementing external circuit which has a comparator is the best way.
I also think we can develop the application on LabVIEW + DAQmx but, it should have phase delay.
I don't recommend.
08-31-2018 07:45 AM
Hi Emboar,
Thanks for the advice. I’ve tried a comparator circuit but I could not get it to work.
I thought the DAQ board has the hardware to do this as well, since this is analog-to-digital conversion? I’m still interested in using a LabVIEW program. A phase difference between the sine & output is okay for my application. Do you think this would be relatively easy to achieve?
Best,
Clayton
09-01-2018 04:46 PM
Why not just use a 74LS14 Schmitt trigger?
09-02-2018 07:22 PM
09-03-2018 04:23 PM
Thinking about your problem a bit more:
Are you sure you mean TTL, or do you mean +5V High logic? Actual original TTL levels are confusing.
Are you sure you have a simple sine-wave? No spikes or runt-pulses? These can seriously upset things if you get pulses where you do not expect them, and they can be very hard to find unless you set your oscilloscope up to specifically look for them. Most modern Tektronix instruments will have special modes for this.
Have a look at the CMOS 40106, this is more tolerant of different levels than TTL.
10-08-2018 04:12 PM
Hi Emboar,
Thank you for the example program. I’m having a couple problems implementing my version however (see attached).
One thing I did not mention before is that I want this program to run continuously (thus my while loop). However, I run into a couple sampling problems. Namely, I get an error saying that the application cannot keep up with the hardware acquisition. I’m wondering if this is a problem with the software/bus itself, since I’m trying to read/output a 300 kHz signal.
Do you have any suggestions for this?
Best,
Clayton
10-08-2018 11:54 PM
You should adopt "Producer/Consumer Design Pattern".