LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The VI Logger task is already running. If a previous task run crashed

 I'm using VI logger with an NI USB-9162 daq card.  I have the tasks in the VI datalogger set up to automatically export the data to a text file when the task is stopped.  Everything's been working fine for the past few weeks.  I have about 25 runs logged successfully.  Then, after one particularly long run, I got the following error message:
 
----------------------------------------------------------------------------------
Warning:  You attempted to view more scans than Microsoft Excel can handle.  VI Logger will export only the last 65,536 scans of the data to Excel.  To view data logged earlier in the task run, use the graph in the Real Time Data or the Historical Data view to navigate to the data.  Zoom in on the data you want to export and click the View in Excel button.
----------------------------------------------------------------------------------
 
Now anytime I start and then stop a run, I get that error message, regardless of the run duration.  I've restarted the program and also rebooted the computer, but that has not helped.
 
I've also seen the following error message:
 
----------------------------------------------------------------------------------
VI Logger Execution Error
Could not Start Task: "name of task"
Error 4501 occurred at an unidentified location
Possible Reason(s):
 
VI Logger task is already running. If a previous task run crashed, reset the task to clear all register.
----------------------------------------------------------------------------------
 
It's almost as if the software is not clearing the data from the buffer from run to run.  Does anyone have any suggestions?
 
The software I have is Measurement & Automation Explorer version 4.1.0.3001 using the Lite package of VI Logger.
 
Thanks for any help,
 
Steve
0 Kudos
Message 1 of 3
(2,762 Views)
Hello Steve,

What version of VI Logger are you using? The second error message you described can be seen in VI Logger 2.0 when LabVIEW 8.0 (or any device driver that installs MAX 4.0) is installed. To correct the problem you will need VI Logger 2.0.1.

As an alternate solution, you may want to consider using NI LabVIEW SignalExpress. This is National Instruments' new data logging software and offers an increase in functionality over VI Logger. You can download LabVIEW SignalExpress from our website for free, and it can also be installed automatically when you upgrade to NI-DAQmx 8.5. LabVIEW SignalExpress allows you to open data in Excel, just like VI Logger, but also provides expanded functionality. There is even a utility online (which is discussed here) to convert your VI Logger data to the format used in LabVIEW SignalExpress.


Matt Anderson

Hardware Services Marketing Manager
National Instruments
0 Kudos
Message 2 of 3
(2,748 Views)
I will give SignalExpress a try.
 
Thanks,
Steve
0 Kudos
Message 3 of 3
(2,743 Views)