TerminalConfig error for Matlab 2015a

Hello,
I am having an issue where, when I wish to use .TerminalConfig = 'SingleEnded' it throws me an error that reads:
"No public field TerminalConfig exists for class daq.ni.Session."
This seems odd to me, because from what I can tell this is a session-based command. My NI-6008 is reading differential voltage in AI0, but I need it to be single ended (ie absolute voltage reading). I am using Matlab 2015a because the code I am utilizing is quite old and I have not been able to switch over from session-based to the newer version of DAQ control due to the size of the code. The Data Aquisition Toolbox I am using is version 3.7. If anyone knows the correct command to set a single ended configuration, please let me know.
As an aside, in my NI test panel I can read both differential and RSE, and RSE gives me the correct voltage, but it is always originally set to differential. If this is something I can change in NiMax, I must be missing it because even in the Hardware Configuration Application there is no option to choose RSE over differential. Thank you.
-Weston

1 件のコメント

Ayush
Ayush 2024 年 4 月 18 日
Hi @Weston Cole Meyers, can you please share the code snippet for reference that leads to this error?

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2024 年 4 月 18 日

0 投票

The session interface begins with daq.createSession and sessions do not have a TerminalConfig property

カテゴリ

ヘルプ センター および File ExchangeData Acquisition Toolbox Supported Hardware についてさらに検索

製品

リリース

R2015a

質問済み:

2024 年 4 月 9 日

回答済み:

2024 年 4 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by