creating sessiion is not working using ni-6255 any one any idea?

i'm not be able to acquire data and plot using below mentioned code for ni6255 DATA ACQUISITION card .
plz any one help.
s = daq.createSession ('ni');
s.addAnalogInputChannel('nidaq', 'ai0', 'Voltage');

2 Comments

What is the error that you get? What is the output of daq.getDevices and daq.getVendors?
Also, which MATLAB release, and are you using a 32 bit MATLAB or a 64 bit MATLAB ?

Answers (0)

This question is closed.

Tags

Asked:

on 8 Oct 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!