I am writing code for DAQmx Base on Macintosh OS X.
I just got to triggered ai scanning. I find what seems like a peculiar thing. In my scanning application, I have to enter the analog input channels with the string "dev1/ai0:1" but the trigger pin specification must be "/dev1/pfi0". Note that "/" at the beginning of the trigger pin, and the lack of it at the beginning of the analog input channels.
Am I missing something? Is this expected? It's confusing, even if it's expected.
If I use "/dev1/ai0:1" I get error -200430 "I/O type of the physical channel does not match the I/O type required for the virtual channel you are creating."
If I use "dev1/pfi0" for the trigger source, I get error -200220 "Device identifier is invalid. (Start Trigger Terminal)"
John Weeks
WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
www.wavemetrics.com