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

2 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Data Acquisition Toolbox Supported Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by