Matlab Support package for SensorDAQ and Thermocouple.

5 views (last 30 days)
Li
Li on 28 Feb 2013
Commented: Francisco Redondo on 28 Aug 2014
Right now I can use NIMAX(provided in NI website for SensorDAQ drivers) to see the thermocouple is actually working. However, when I try to add the sensor in matlab that it will told me the valid channel is ai0,ai1. And I use the following channel in MAX: Channel Name: "Dev1/_sensor0_5V". The error message is the following when I try to run matlab with the Matlab Code:
sdaq.addSensor(s,1,sdaq.Sensors.Thermocouple);
Error Message:
The device 'Dev1' does not have a channel '_sensor0_5V'. Valid channel IDs are 'ai0, ai1'.
Please help me configure this issue, I believe it's the matlab support package didn't specify the right channels

Answers (1)

Rob Purser
Rob Purser on 12 Dec 2013
Hi,
Are you using the Vernier SensorDAQ with R2012a or later? If so, and you still want to use it, let me know, I may have a workaround for you.
-Rob Purser
  2 Comments
Francisco Redondo
Francisco Redondo on 28 Aug 2014
Hello I am using Vernier hand dynamometer and SensorDAQ with MATLAB R2013b.
When I write the code: s = sdaq.createSession; sdaq.addSensor(s,1,sdaq.Sensors.HandDynamometer);
I have the next error.
Could you help me?
Thanks

Sign in to comment.

Tags

Products

Community Treasure Hunt

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

Start Hunting!