LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I'm having trouble with triggering on an example oscilloscope

So I found this example of a 2 channel oscilloscope on the ni website, but I can't get the triggering to work, I'm using a USB 6009. I would like to use a function generator's ttl function as a trigger, but whenever I switch to a trigger mode the program stops acquiring data. Also, I was wondering if anyone could tell me what  the sampling rate would be for this device and program.

 

if the attachment won't work he is the link to the site I got it from.

http://zone.ni.com/devzone/cda/epd/p/id/822

0 Kudos
Message 1 of 4
(1,979 Views)

Hello Outernet,

 

What pin are you wiring your Trigger signal to; this will need to be PFI0. Also in the code there is a portion that asks for the Digital Trigger Source, this needs to be set to point to the PFI0 line of your device. Have you tried running the USB-6009 with some of our example code? Here is a link to an example that should allow you to acquire some analog data using the external TTL trigger. I hope this helps!

 

Regards,

 

-Travis E 

National Instruments
Product Marketer
0 Kudos
Message 2 of 4
(1,954 Views)

Thanks, I have the wires connected correctly and I have selected the correct port for the trigger in the code, but am still having troubles. I am making my own triggering code so I won't need to use this oscilloscope code anymore except for reference. Thanks again

 

 

0 Kudos
Message 3 of 4
(1,942 Views)

Hey Outernet,

 

I apologize for not including the link in my last post:

 

https://decibel.ni.com/content/docs/DOC-11759

 

Make sure this is working with your USB-6009.

 

Regards,

 

-Travis E

National Instruments
Product Marketer
0 Kudos
Message 4 of 4
(1,918 Views)