06-09-2016 09:57 AM
This is a shot in the dark but I'm trying to troubleshoot a problem long distance. This LV code has been working since 2012. The user says he replced the battery in the desktop PC and now he gets the errors shown in the screen shots. Could changing the PCs battery have affected the code in anyway?? They are using a DAQ PCI-6229 ..both connector 0 and connector 1 are hooked up to 2 different SCB68s which are wired to the analog/digital signals coming in. I've, over the phone, had them check every thing and can seem to find a glaring problem. THEY SAY the only difference between when it worked and when it didn't is the battery being changed.
Thanks..
Solved! Go to Solution.
06-09-2016 10:09 AM
How old is the PC? Your screen shots 1 and 2 don't mean anything to us as they are just dialog boxes within the code saying whatever the programmer wanted.
Changing the battery wouldn't affect the LabVIEW code.
I see one of two things happening.
1. Something else happened or got changed within MAX and now whatever named task was being used is gone, or different.
2. Something happened in the BIOS and the way the PCI cards show up.
Perhaps it is a bit of both 1 and 2, and the loss of battery and the rediscovery of PCI cards caused them to get different names and thus the previously defined tasks and devices in MAX are no longer valid.
Start in Measuremente and Automation Explorer and use the test panels there to make sure everything is working hardware-wise. See if the naming of the devices and tasks match whatever was called out in the LabVIEW program.
06-09-2016 10:25 AM
Thanks..I'll start w those suggestions.
PC is probably 2012 so 4 years or more?
06-09-2016 10:33 AM
@Clint1000 wrote:Thanks..I'll start w those suggestions.
PC is probably 2012 so 4 years or more?
Hmmm. Not as old as I was thinking. I've seen PC's go much longer without replacing a battery. It has actually been a very long time since I've needed to do that.
06-09-2016 10:37 AM
I'm sure I'm going to find something they did and didn't tell me. You may have hit on something w MAX. This code uses DAQ assistant to read the analog in channels...AI0..AI1..etc. Do I need anything like "tasks" in MAX or can I just select the analog channel in from DAQ assistant?? and of course config samples and rate in daq asst.
06-09-2016 10:39 AM - edited 06-09-2016 10:41 AM
@RavensFan wrote:I see one of two things happening.
1. Something else happened or got changed within MAX and now whatever named task was being used is gone, or different.
2. Something happened in the BIOS and the way the PCI cards show up.
Perhaps it is a bit of both 1 and 2, and the loss of battery and the rediscovery of PCI cards caused them to get different names and thus the previously defined tasks and devices in MAX are no longer valid..
Well, the battery is in there for the BIOS to stay up to date (including clock and any other settings). So I would say #2 is the most likely culprit.
I have also seen PCI cards come out of the socket just enough that it does not even show up to the computer. I have had this happen from just moving the PC (it saw a lot of vibration on a cart). So a reseating of the PCI DAQ card might also be needed. And if you are in there anyways, make sure all of your other connections are solid (power, SATA, etc).
06-09-2016 10:41 AM
@Clint1000 wrote:I'm sure I'm going to find something they did and didn't tell me. You may have hit on something w MAX. This code uses DAQ assistant to read the analog in channels...AI0..AI1..etc. Do I need anything like "tasks" in MAX or can I just select the analog channel in from DAQ assistant?? and of course config samples and rate in daq asst.
Typically I see DAQ Assistant use the physical channels, not global channels. However, if the DAQ card is either no longer being seen in MAX or has a new device name, you will get errors since the DAQ Assistant is looking as a device's name.
06-13-2016 05:26 AM
Thanks for the support. They went into MAX and did a SW reset then a SW self test and the code started working. Being long distance I couldn't tell if therer were other things done that alievated the problem. In the end it works. Thanks..