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

2 vues (au cours des 30 derniers jours)
Hansjörg
Hansjörg le 2 Mar 2011
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

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Acquisition Toolbox Supported Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by