11-13-2007 04:28 PM
I am using Labview 7.1, DAQmx 8.3, IVI package 3.0, NI VISA 4.1, ke27xx v1.2, and the latest firmware update on a 2701 DMM. The problem I have is when I using the *Read Buffer* vi to download data stored in the buffer when the 2701 is running a scan. If the 2701hasn't finished all of its progammed scans the data returned by the vi is incorrect, the channel and time-stamp data seems to get mixed into the actual scanned data. Once the scanning is complete the vi reads the buffer data without a problem. With older versions of the driver I was able to read the buffer just fine while a scan was active. Thank you for any help you can offer. The code I'm working with is attached, the "2701 buffer to file.vi" is my main code.
-Bryan West
11-14-2007 05:59 PM
Hi Bryan,
Welcome to the NI Forums! Do you remember which version of the driver worked? There may be a difference in the drivers that causes the problem, so it will be helpful if we can compare the two driver versions. Thanks!
Regards,
Rima
11-15-2007 03:26 PM
11-15-2007 04:33 PM
11-16-2007 09:08 AM
I upgraded the Firmware on the Keithley before I upgraded VISA and Driver software. The old VISA version that works is 3.0.1, the new version is 4.1. I have contacted Keithley about this issue, they have had an engineer work with it some, but suggested that I get in touch with NI because Keithley claims to have no responsibility for the driver from NI.
I'm guessing doing a read while a scan is active isn't a "best practice" but the tests we monitor with this unit are long tests (150 hr +) failure can be seen partway through these tests, allowing us to cut the test off without wasting the remaining time. Since the check had been working in the past it needs to continue working. Right now we have 1 computer with the old software setup on it, that works for checking the data, since new computers get upgraded with new software this needs to continue working with newer versions so that the read program can be used on any computer.
Thanks,
Bryan
11-16-2007 09:22 AM
11-16-2007 11:35 AM
11-16-2007 11:49 AM
Newer NI-DAQ or DAQmx installations do not install NI-VISA at all. They only thing they will update is MAX and different versions of MAX should have no affect at all. You should have no problem at all using the older LabVIEW driver and the older NI-VISA.
It's possible that the newer NI-VISA does Ethernet communication a little differently. Also, since the only driver available for download is the 1.2 version, if you post the older version, maybe someone can look at the code to see what was changed.
11-16-2007 11:53 AM
11-16-2007 12:14 PM
So the old driver is IVI and now you are trying to get the LabVIEW driver to work? That will make a comparison pretty hard.
I'm afraid I don't have an answer. I don't have that model and I don't have any Keithley with an Ethernet connection. Looking at the native LabVIEW driver, are you using the Data Buffer Status and either the Read Data Buffer or Read Data Buffer subset function? If so, I would recomend you look at the raw VISA Read string. There may be a simple mistake in the data parsing routine.