LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simultaneously acquire daq voltages & internal daq temp

Hello all,

I´m using a PCI MIO 6040 and I would like to acquire the daq internal temperature simultaneously with the voltages.

I searched the forum and found that I can do this with the DaqMx Calibration info property retrieving DevTemp. However this does not work along the normal voltage acquisition. Outputs an error saying the the resource is reserved.

Can anyone explain how to acquire this simultaneously?

Thanks, Adam
0 Kudos
Message 1 of 5
(2,999 Views)

Hi Adao,

 

Please can you attach your VI and in order to take a look at it. I think that you have the 50103 error caused by concurrently running two analog input tasks. So I invite you to read those links which will help you :

 

problem about DAQ voltage and temperature sampling 

Causes of NI-DAQmx Error "The Specified Resource is Reserved"

Problem with PCI 6040 in reading multiple analog inputs

 

I hope this helps.

 

Regards,

Message Edité par Steve Mohamed le 01-15-2009 04:41 PM
Steve M.
0 Kudos
Message 2 of 5
(2,961 Views)

Thanks for the answer Steve,


Unfortunately I think I did not explain myself well.


I’ve attached a jpeg with what I would like to do. Read 6 Analog Inputs + the internal DAQ temperature sensor.


I found the following page that explains how to acquire the internal DAQ sensor (http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/5222222ff438914b86256b0c000347c6?OpenDocument). I would like to do this simultaneously with the analog input acquisition.
I’m doing this on LabView Real-Time 8.5.1.


Thanks, Adao

0 Kudos
Message 3 of 5
(2,954 Views)

Hi,

 

According to your jpg you should run the calibration property node outside the loop to free the ressource you are trying with two different tasks.  http://forums.ni.com/ni/board/message?board.id=170&message.id=281214&requireLogin=False

I joined the vi which returns the device temp and read the analog input.

 

Regards,

Steve M.
0 Kudos
Message 4 of 5
(2,912 Views)

Hello Steve,

 

The solution you present only allows me to read the daq internal temperature once.

 

I need to acquire the daq voltages and get the daq internal temperature at the same time!!

 

Is there any solution? I know that with Traditional Daq it was possible....

 

Thanks,

 

Adam

0 Kudos
Message 5 of 5
(2,819 Views)