필터 지우기
필터 지우기

use PCI-6259 card digital output to send asci-codes to device

조회 수: 2 (최근 30일)
Hansjörg
Hansjörg 2011년 3월 2일
Hi everybody,
i tryied to connect my sensor(Sensirion ASG1430) with the NI PCI-6259 card. The Sensor needs asci-code commands (go/s/help...) and my attemp to pass them over the data acquisition toolbox failed. How can i send these commands? was it right to use the toolbox. i first tested the card over the tmtoolbox, but couldn't connect to the card.
Normaly this Sensor is rad out over COM-Port, so there are parameters like baudrate, databits or stopbits given. Is there a need to build in these information to read out or write over the digital Ports?
I'm really frustrated...so i'll be very happy to get some ideas to solve the problem.
thanks for your response
Hansjörg

채택된 답변

Rob Purser
Rob Purser 2011년 3월 3일
Hi Hansjörg,
Unfortunately, the Data Acquisition Toolbox does not support clocked digital I/O. It is functionality that we would like to add to the product. In the meantime, if you are willing to use the NIDAQmx API directly, R2010b of the toolbox provides a "bypass interface." Though it is not documented or supported, you can see an example here on MATLAB File Exchange that connects to a TC-01 thermometer.
All the best,
-Rob Purser
Manager of Test and Measurement
MathWorks
  댓글 수: 1
Hansjörg
Hansjörg 2011년 3월 3일
Thanks for your answer!
I'll try this. lets see if i'll get it working...
greetings
Hansjörg

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by