Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

How to setup SCXI1127 in scanner mode with NI-DAQmx

Hi,
 
I have 2 1127 mux cards in my SCXI frame and a digitizer/DVM in my PC. I am planning to perform a scan on selected channels across both cards using synchronous scanning ( I cannot get handshaking to work ). I found some examples but they are all using initialization string that looks like this: "SCXIn::i,j::SCANNER", but that only works with NI-DAQ legacy not NI-DAQmx where my instrument is just called SC1. I do not know how to set it up with NI-DAQ legacy, it will not give me that option ( using NI-MAX I can setup SCXI-1000 but not PCI-4070 ). Also I do not know how to initialize the NI-SWITCH driver so I have it as one instrument with one instrument handle. I am using NI-DMM, NI-SWITCH 3.0, NI-DAQmx 8.0 and MS Visual C++ Express.
 
Thank you,
Jerry.
0 Kudos
Message 1 of 2
(2,869 Views)
Jerry,

This is Travis over at NI.

There are example programs for doing synchronous scanning that ship with the NI-SWITCH driver.  You can access them at Start>>Programs>>National Instruments>>NI-SWITCH>>Examples>>C.  Choose "niSwitchDMMSwitchSynchronousScanning."  Your resource name will be the same as the your resource name in DAQmx.  Please direct any further questions to Minh.


Thanks, Jerry.  Have a great day!

Travis




0 Kudos
Message 2 of 2
(2,857 Views)