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

2 visualizaciones (últimos 30 días)
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

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Acquisition Toolbox Supported Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by