LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timestamp Analog Trigger and Incoming Analog Signal

Hi,
 
   I was able to find an example code on the NI website to timestamp analog signals.  However, I want to timestamp analog trigger and analog signal.  When I have the "analog start trigger" on both the analog input and the counter, I got an error like "analog start trigger cannot be supported".  When I leave the "analog start trigger" out on the counter, I got an error like "all or some of the samples could not be read."  I am using LabView 8.5, PXI-6608 for synchronizing with the IRIG, and PXI-6115 for acquiring analog signals.  I have attached my code with this post, please give my some suggestions.
 
  I would also like to know how to change the resolution on the IRIG to microseconds.
 
  Thanks in advance,
 
  Lynniz
0 Kudos
Message 1 of 2
(2,762 Views)
Hey Lynniz,

The reason you get the error is because Analog Start Triggers are not supported on the 6608. Actually, the only triggers that are supported are Hardware Arm Start Triggers. Are you sending a trigger pulse to the device? You may be receiving the "all or some of the samples could not be read" error because the timeout is expiring before you receiving the trigger pulse.

You may want to have a look at the method called "Timestamping Analog Measurements" in the following article. This seems like a solution using your current hardware.

Synchronizing and Correlating Measurements to a Global Timebase with GPS
http://zone.ni.com/devzone/cda/tut/p/id/4202
Regards,

Chris Delvizis
National Instruments
0 Kudos
Message 2 of 2
(2,738 Views)