Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

wrap DAQmx .net Async funtions into an iobservable

What is the recommended way to wrap DAQmx .net Async funtions into an iobservable?"

0 Kudos
Message 1 of 4
(3,448 Views)

Shabnama,

 

 This is Ali from National Instrument's applications engineering. 

 

Would you mean something like this?

http://zone.ni.com/reference/en-XX/help/370473H-01/mstudiowebhelp/html/asynchreadwritedaqnet/

 

Additionally, could you explain a little bit about the usage of this wrap DAQmx function, it would be good to have a little background to recommend references.

 

Regards,

Ali S.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 4
(3,418 Views)

Hi Ali, 

 

Those are the available async functions in the NI API, we would like to have a wrapper around those functions to allow the consumption of the data through a Reactive Extensions (Rx) IObservable stream.

 

Thanks,

Shabnam

0 Kudos
Message 3 of 4
(3,415 Views)

Shabnama,

 

Sorry for the late reply. I was doing a bit of research on the Reactive Extensions (Rx) IObservable platform. 

 

Is there a specific DAQmx function you would like to utilize?

For example, are you doing a Read DAQmx wrapper and then asking Reactive to pull data as needed?

 

Feel free to send in psuedo code or a specific DAQmx function or list of functions that you are trying to use?

 

 

Regards,

Ali S.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(3,376 Views)