Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DAQmx Base messages in OS X

I am trying to use a PCI-6040E board on OS X 10.4. I installed NI-DAQmx Base 2.1.0 and tried running one of the examples (ai/acquireNScans). The data looks to be correct, but I get a bunch of messages (pasted below). Does anyone know what these messages mean, and what if anything, might be wrong with my system configuration?

I also tried compiling a simple "Hello World" C program in Xcode. I do not make any NI-DAQmx Base calls at all, but I do have nidaqmxbase.framework and nidaqmxbaselv.framework linked in my Xcode project. When I run the program (again, I make no NI-DAQ calls whatsoever, I simply printf "Hello World") I get the same messages. I also get these additional messages:

pure virtual method called
terminate called without an active exception
testNIDAQ has exited due to signal 6 (SIGABRT)


labusers-power-mac-g4:/Applications/National Instruments/NI-DAQmx Base/examples/ai labuser$ ./acquireNScans
LoadRuntime: MainBundle
CFBundle 0x503c20 </Applications/National Instruments/NI-DAQmx Base/examples/ai> (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 0x5120e0 </Library/Frameworks/nidaqmxbaselv.framework> (framework, loaded)
<CFURL 0x5117a0 [0xa07b9150]>{type = 15, string = file://localhost/Library/Frameworks/nidaqmxbaselv.framework/, base = (null)}
Extra:Library:Frameworks:nidaqmxbaselv.framework
Acquired 1000 samples
data[0] = 1.401367
data[1] = 1.401367
data[2] = 1.401367
data[3] = 1.401367
data[4] = 1.401367
data[5] = 1.401367
data[6] = 1.401367
data[7] = 1.401367
data[8] = 1.401367
data[9] = 1.401367

0 Kudos
Message 1 of 2
(3,190 Views)

Hi,

Nothing is wrong with your system. When you run the DAQmx Base example it, included a call to the LabVIEW Runtime engine, which is required for DAQmx Base. The runtime engine includes the extra messages that you saw. When you ran the "Hello World" without the LabVIEW runtime framework, it didn't include it and didn't send the messages. If you include just that, you will see the same results.

Hope this helps, please post back if you have more questions.

Thanks,

Andrew S.

National Instruments

0 Kudos
Message 2 of 2
(3,178 Views)