DQMH Consortium Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Using NI-DAQmx Events with DQMH

I'm new on delacour DQMH making an application for testing speed sensor, need to interact with digital Inputs/Outputs module was wondering if there is an example on how to define and handle events for DAQmx.

0 Kudos
Message 1 of 3
(2,855 Views)

@elmobjo wrote:

I'm new on delacour DQMH making an application for testing speed sensor, need to interact with digital Inputs/Outputs module was wondering if there is an example on how to define and handle events for DAQmx.


To clarify, do you actually mean using DAQmx to generate events or do you mean using DAQmx functions with Delacor Queued Message Handler (DQMH)?

If you are looking to acquire or generate signals continuously look into using a helper loop.

 

Helper Loop Blog Post by Joerg Hampel: https://www.hampel-soft.com/blog/dqmh-actors-self-messaging-or-helper-loops/

 

Also take a look at Fab's most recent post: https://delacor.com/tips-and-tricks-for-a-successful-dqmh-based-project/

 

She goes into using a helper loop for data acquisition in Tip #3.

0 Kudos
Message 2 of 3
(2,845 Views)

Thank you, I mean using DAQmx to generate events, that can handle and rising events in a separate module, for example to rise an event in my application if stop button is pressed.

 

Appreciate your help will take a look on the information sent.

 

regards,

0 Kudos
Message 3 of 3
(2,836 Views)