02-08-2007 10:31 AM
02-08-2007 02:32 PM
I ran the DAQ Diagnostic Utility and the board checked out ok.
I then checked the individual channels and they functioned just fine, as did the program. No 'resource allocation error' came up.
As you suggested, I agree that there must be a ground loop with the relative humidity sensor. I removed the relative humidity sensor completely from the data acquisition system and re-installed the original board with which the system had been calibrated. The original board checked out ok. I've got the program running and collecting data right now without errors.
I'm confident that a ground loop with the sensor was the issue, but I'll let you know if the problem crops up again.
Thanks for the help.
Karol
02-09-2007 09:06 AM
03-17-2007 03:39 PM
Jarrod,
The -200074 error cropped up again.
I am trying to independently collect data from 6 different machines and need the ability to start and stop data collection on each machine independently, plus I need to be able to change the data collection rate between 5 seconds and 30 minutes independently between programs. Ken wrote a server program that collects data from all channels every second and each machine has a subservient program that collects only the data pertinent to a given machine at a user-selected rate from the data maintained by the server program.
After I removed the relative humidity sensor, the server program and sub-programs worked fine for a while. I then purchased and installed a stand-alone data logger with an RS-232 serial port; half-duplex; 19,600 baud. After running the installation, one of the channels monitored by the server program again had the -200074 error. However, shutting down and restarting the computer solved the problem. As I understand it, the data logger has an onboard memory and only dumps data when requested by the user. I dumped data periodically and had no other problems once I rebooted the computer.
However, about a week later, the server program again had the -200074 and resource allocation errors. Unfortunately, rebooting the computer, a complete power-down of the system, and various other attempts (including recalibration of the board) were unable to solve the problem. The problem is usually associated with three specific channels, which I believe are the last three channels to get called in the server program). If I try to run the server program immediately after I finish clicking through the error messages that cancel the program, I can force the same error on the other channels. In Measurement and Automation Explorer, I get the same message the first time I test the problem tasks, but if I click test a second time, I get an accurate reading.
I have since removed the standalone data logger and the associated software, but this has not solved my problem. The computer is running in a stand-alone mode since Symantec Anti-Virus and Windows Updates had previously been linked with some problems.
I hope you can help me solve this because my tests run from days to months. These mysterious data acquisition failures have the unfortunate problem of costing time to solve and a lot of time to re-run the tests.
Thanks,
Karol
03-17-2007 03:50 PM
Jarrod,
I forgot to add that one of the tasks that is a problem in the server program is the previous relative humidity channel. The server program still points to the task, even though the sensor had been removed. It didn't seem to be a problem, although it read 99%+ humidity, which I interpreted to mean that the channel was somehow picking up a signal. The program worked fine even with the 99%+ reading for several weeks. The first thing I did when I couldn't get the program to work was to wire the + to - of that channel on the terminal block and the negative to the chassis ground. The reading in MAX is now 0.0035% for that task, although it didn't solve the problem with the server program.
Karol
03-19-2007 07:03 PM
03-20-2007 12:21 PM
03-20-2007 02:06 PM
03-21-2007 01:08 PM
03-21-2007 02:10 PM
Jarrod,
Thank you for your reply. I was not convinced that the terminal block was faulty, so I decided not to order a replacement.
When I run a test panel in MAX on the SCXI-1125 with the SCXI-1313 module, I get an error the first time only. If I click start again without exiting, the channel will read the correct value and remain correct until I exit.
I found the message "SCXI-1001 Giving Erroneously Scaled Data" and several of the posts described the same problem as I've been having (so did the message "MAX configuration bug/corruption?") In response to the first message, Logan K stated that there was a software/hardware issue with the SCXI-1313 terminal block and that it had been resolved in NI-DAQmx 8.0. We've been running NI-DAQmx 8.3 with an E-series board, so either it wasn't exactly the same problem or the fix only worked for M-series boards.
Ken is currently cleaning up the hard drive - removing all traces of National Instruments software - and reinstalling. I have also tried the best practice recommended by Tim Jones and colleagues in the "SCXI-1001 Giving Erroneously Scaled Data" post. In addition, I made sure all unused channels were terminated (recommended by several other posts for getting better performance from the SCXI-1125 modules.) Ken isn't finished with the computer yet, so I haven't been able to determine if their solution worked. However, I suspect that it will because the positive results Ken produced in early February came after he essentially wiped out/restored the channels in MAX.
Karol