05-21-2010 12:16 PM - edited 05-21-2010 12:16 PM
Cross posted to the Measurement Studio forum.
I am a little puzzled and hoping someone can offer me some advice on troubleshooting.
We have setup including several 5112 cards and a 6608 timing card. Software has been using in production for years. We are currently using MXI3s to connect to the PXI but we are running low on spares. I am trying to replace the MXI3 with a MXI4 but running into some issues. For some reason with the MXI4 the niScope_Read() function is returning error code -10800 when the software runs. The problem is if I replace with a MXI3 the same equipment works properly and I get signals. It appears as if the trigger events are not occuring.
Can anyone give me some pointers to troubleshoot this? I am pretty sure my software configuration is correct.
NI-DAQ 6.9.3 (Are the newer versions of legacy NI-Daq backwards compatible with this?)
NI-Scope 2.1.4
IVI Compliance 3.2
Measurement Studio 6.0
MAX 4.5
NI-PAL 2.3
NI-SPY 2.6.0
Most of this software came on the PXI Platform services disc. Any suggestions would be appreciated.
05-24-2010 04:53 PM
Hi Mark,
There are a couple concerns that I have about your current system:
1. When you replace the MXI-3 with MXI-4, are you also changing to MXI-4 cables? MXI-3 cables will not work on MXI-4.
2. Did you install the driver disc that came with your MXI-4 kit? No software changes should be necessary after installing this disc.
If you are certain that you are using MXI-4 cables and that you had installed the driver disc, reinstall the latest version of NI-VISA, which can be found here. Respond to this post with the answers to the above questions, if the issue remains unresolved after installing NI-VISA.
05-25-2010 12:41 PM
Hi Sara, thanks for the reply.
Absolutely I am using the right cable. I recognize that the new MXI4 copper cable could be misidentified but I am infact using a NI MXI4 cable.
I did install VISA, I forgot to include it on my initial list. NI-VISA 4.4 is installed on the machine.
I can confirm that I am indeed talking with the 5112 cards in the PXI as I can view them and test them in MAX. The problem I am having is with the niScope_Read() function in some custom software. I originally posted the wrong error code I receive when I attempt acquisition. The error is -1074126845.
I have compiled a code example bundled with NiScope. I can confirm that I am receiving and reading signals from the 5112 using niScope_Fetch(). I am puzzled why my software, after years of functionality, times out reading from the the scope now. I am going to convert the example code to using the niScope_Read() function and see if the problem appears.
Again, any suggestions would be helpful.
05-27-2010 02:02 PM
Hi Mark,
I have found a few Corrective Action Reports relating to this error code. For some reason (unknown by myself), this error seems to disappear when you modify anything on the Block Diagram and then rerun the VI. If this doesn't work, try recompiling your VI (Tools»Advanced»Mass Compile). If you are not using LabVIEW, try making a simple modification to your code and then rerun your application. Again, if this doesn't work, try recompiling.
Are you providing a trigger source? It may also be that this trigger is not being received.
In your latest post, are you saying that you are able to read signals from the 5112 with one of our example programs? If this is the case, could you post your code so I could take a look at it?