Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Example program acquireNScans-AnlgStart fails at call DAQmxBaseCfgAnlgEdgeStartTrig with Error -200428

Using USB-6009, DAQmx Base 2.1, on Mac OS X 10.5.
Seems like DAQmxBaseCfgAnlgEdgeStartTrig API does not work; even the example code shipped with this release does not pass:

./acquireNScans-AnlgStart
LoadRuntime: MainBundle
CFBundle 0x107550 (executable, loaded)
_CompatibleWithLabVIEWVersion: linkedAgainst: 08208002
_CompatibleWithLabVIEWVersion: result= false, mgErr= 1, theActualVersion= 00000000
_CompatibleWithLabVIEWVersion: linkedAgainst: deadbeef
_CompatibleWithLabVIEWVersion: Reseting Linked Against
_CompatibleWithLabVIEWVersion: linkedAgainst: 08208002
_CompatibleWithLabVIEWVersion: result= true, mgErr= 0, theActualVersion= 00000000
_CompatibleWithLabVIEWVersion: linkedAgainst: 08208002
_CompatibleWithLabVIEWVersion: result= true, mgErr= 0, theActualVersion= 00000000
com.ni.LabVIEW.dll.nidaqmxbaselv
CFBundle 0x116020 (framework, loaded)
{type = 15, string = file://localhost/Library/Frameworks/nidaqmxbaselv.framework/, base = (null)}
Macintosh HD:Library:Frameworks:nidaqmxbaselv.framework
2008-03-18 16:02:14.963 acquireNScans-AnlgStart[963:10b] Error loading /Library/Frameworks/LabVIEW 8.2 Runtime.framework/resource/nitaglv.framework/nitaglv: dlopen(/Library/Frameworks/LabVIEW 8.2 Runtime.framework/resource/nitaglv.framework/nitaglv, 265): no suitable image found. Did find:
/Library/Frameworks/LabVIEW 8.2 Runtime.framework/resource/nitaglv.framework/nitaglv: mach-o, but wrong architecture
DAQmxBase Error: Value passed to the Task/Channels In control is invalid.
0 Kudos
Message 1 of 2
(2,730 Views)
Hey Benjamin,

The USB-6009 does not support analog triggering. Instead you could use a digital trigger. You can see the document below for triggering compatibility for different devices.

Trigger Types for M Series, E Series and B Series Boards
http://digital.ni.com/public.nsf/websearch/E761255A5729CD2E862570310075A23A?OpenDocument
Regards,

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