フィルターのクリア

how to use analog output for a multilevel handshaking

1 回表示 (過去 30 日間)
Af
Af 2018 年 8 月 15 日
編集済み: Harry Vancao 2018 年 8 月 20 日
Hi, I would like to use an analogue output channel as a multilevel handshaking output, meaning that depending on the status of my running code, I would like to change the voltage level, for example, 0.5 v during initialization, 1 v during data capturing, 2 v for the stop of data capturing and so on. is this even possible to do on an analog output? as far as I can see from the examples, I have to fill the buffer of the output channel and let it use that buffer to update the output voltage based on the sampling rate. Apparently, I cannot just write to the analogue output channel on demand depending on the change status my running code and also be able to detect the onset and offset moments of changing voltage level.

採用された回答

Harry Vancao
Harry Vancao 2018 年 8 月 20 日
編集済み: Harry Vancao 2018 年 8 月 20 日
Hello,
The function "outputSingleScan" in the instrument control toolbox allows a user to output a single data point to all output channels. This should allow you to do some basic communication with your device.
Please find the necessary documentation in this link.
Harry

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePeriodic Waveform Generation についてさらに検索

製品


リリース

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by