Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Get VI Logger to Log Temperatures

This a continuing issue with transfering temeprature logging to another PC.  My USB-9162/9211 thermocouple system installs OK on a second PC, but will not log temperatures.
When I set up the task and use the 'Test' button, the graph displays no readings, and the scale stays at +/- 2 degrees C.  When I run the task, again , nothing happens with no events being logged.
However, when I test the hardware, the voltage on all four channels respond correctly.
I have this setup running on two other PCs, so I think it is just a configuration issue or do I need to activate the full version of VI logger?
I am currently usinv V2.0.0 of Vi Logger with Ni DAQmx 7.5.0f0.
Any pointer please?
Ian A.
 
 
0 Kudos
Message 1 of 6
(3,387 Views)

Hi Ian

Is it possible to post your code so that we can test it? You should not need to activate the full version for a simple datalogging task.

KostasB

NI UK

0 Kudos
Message 2 of 6
(3,374 Views)
I am trying to use the raw vi logger function and am ot writing any code.  I have attached screen dumps of the logger setup.
 
 
0 Kudos
Message 3 of 6
(3,365 Views)

Hi Ian

You have configured the device to read 10 samples at 1Hz. This implies that your screen will only update every 10sec as this is the time needed to collect the 10 samples.

What happens if you read 1 sample at 10Hz? Do you get correct readings back?

Also, can I confirm that you are using the USB 9211A ( as the USB 9211 will work only for Linux or Mac OS)?

Regards,

KostasB

NI UK

0 Kudos
Message 4 of 6
(3,362 Views)

Hi KostasB,

Yes, I am running long term temperature tests and intend to run over a few days.  10 seconds sampling is deliberate.

I must admit to being confused about these settings.  I want a continuous run with all four temperature sensors reading every 10 seconds.  If I tick the 'continuous' radio button, and set the rate to .1Hz, and have all four probes enabled and configured, why do I need to have a sample figure? 

I confirm that I am using the USB 9211A.  The setup works on both laptops I have, but not on this desktop PC, which has had XP prof loaded from scratch and only NI software loaded.  Thanks

Ian A. 

0 Kudos
Message 5 of 6
(3,353 Views)
Hi,

In Continuous acquisition mode, the Samples To Read functions as the buffer size. So if you're acquiring at 1Hz with a Samples to Read of 10, in Continuous Mode, then the graph will update every 10 seconds since the buffer is 10 elements big.

I'm currently looking in to why you are not seeing the graph updates when you run the VI Logger task as opposed to when you test the the DAQmx task in the testpanel.

Regards,

Dan

NIUK
0 Kudos
Message 6 of 6
(3,345 Views)