Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ_Monitor equivalent in DAQmx

Our application was using DAQ cards such as 6013-6014 and the drivers used were Traditional NIDAQ.
The development of the application is done in VC++ that is NIDAQ for c, c++.

The application used DAQ_Monitor for previewing the data captured.
Now, we are buying new DAQ cards. The current one is PCI-6225 which is an M Series Card.

So we need an equivalent of DAQ_Monitor API in DAQmx.

The API DAQmxReadRaw seems to be an equivalent but there are no examples showing its usage.
Could you please suggest any other API and send me an example with it.

By the way, the application read voltage values.

Thaking You.

Sumit Sharma

Message Edited by sumits on 10-14-2005 04:12 AM

0 Kudos
Message 1 of 2
(2,911 Views)
Sumit,

The DAQmxReadRaw() function is not the equivalent of the DAQ_Monitor() function.

Basically what you want to do is "monitor" the contents of the read buffer without changing the current read position (the pointer to the memory location signifying which memory location in the buffer needs to be read next).

There is not an extremely simple equivalent in DAQmx for the DAQ_Monitor() function.

You should be able to accomplish whatever task you want by using a DAQmxRead function instead of trying to "monitor" your input buffer.

Is there a reason why you cannot read the input buffer (allowing the read position to change) instead of trying to "monitor" the buffer?  I am very confident that you can accomplish your task without using an equivalent to DAQ_Monitor().

Can you give me a description of what you are trying to do and why you need to use the DAQ_Monitor() function?

Lorne Hengst
Application Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,892 Views)