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

3 views (last 30 days)
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

Accepted Answer

Rob Purser
Rob Purser on 3 Mar 2011
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 Comment
Hansjörg
Hansjörg on 3 Mar 2011
Thanks for your answer!
I'll try this. lets see if i'll get it working...
greetings
Hansjörg

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!