08-07-2013 11:12 AM
I am getting the following error when trying to set up analog triggering on my USB-6343. The attached file shows that portion of the VI that is producing the error. I am trying to trigger off the same channel I am capturing data from if that's a problem.
There was a similar post that involved a USB-6229 that concluded the device did not support analog triggering but I looked at the spec for the 6343 and under Analog input function it lists Start Trigger.
Solved! Go to Solution.
08-08-2013 02:48 PM
You said that this vi was only a part of the program but did you remove any vi's from this vi? This vi is missing the DAQmx Start Task.vi after the DAQmx Start Trigger.vi. Try adding a Start and Stop Task vi to the vi and try running the program again. If in the full program these are there then could you post a more complete section of the program? Also triggering off the same channel that you are capturing data from should be fine.
08-08-2013 03:50 PM
The 6343 doesn't support analog triggering (page 2 of the specifications).
The section you're referring to is under the External Digital Triggers section (although it is confusing due to the section being split across 2 pages):
What the document presumably intends to say is that an external digital trigger may be used as the start trigger for an analog input task. If you need analog triggering, you should look at the 635x or 636x.
Best Regards,
08-08-2013 03:57 PM
Thanks for clearing that up. I doubt if we can spring for a new DAQ device so I'll have to find some other way to deal with this. At this point I'm capturing a large window of data and doing the analog "triggering" with LabView code. If you know of a better way let me know.
08-08-2013 04:06 PM
Yeah that's not really too bad of a way to do it as long as your sample rate is fast enough to pick up the external trigger signal and you don't care about triggering exactly when the signal crosses your threshhold. It can get a little tricky, but this example would probably be a good starting point.
Aside from that, you could use an external comparator to convert the signal to TTL which could be used as a digital start trigger for the analog input task.
Best Regards,