Tektronix Technical Forums are maintained by community involvement. Feel free to post questions or respond to questions by other members. Should you require a time-sensitive answer, please contact your local Tektronix support center here.
This exception is thrown in catch (COMException) block on this line
_driver.Utility.ErrorQuery(ref errorCode, ref errorMessage);
Running on Windows 7 64-bit OS
Tried to use sample code with only this installed.
Build failed due to Keithley.Ke26XXA.Interop 1.4.5 references to VisaComLib version 126.96.36.199. Where installation provides NI's VisaComLib 188.8.131.52.
Installed IVI Foundation's:
The build is working now, but doesn't execute.
One more detail:
Device initialization, setting parameters work OK. Call
double readings = _driver.Measurement.Buffer.MeasureData.GetAllReadings(bufferName);
ends up with COMException, which is handled and calls failing _driver.Utility.ErrorQuery(ref errorCode, ref errorMessage);
Per conversation with support
1. re-installed Ke26XXA-x64 drivers. No change.
2. Build applications targeting specific CPU. No change.
Installed lastest NI's:
- IVI Compliance Package 4.50
Still no luck
- Linear Sweep sample
- (18.9 KiB) Downloaded 1641 times
I re-installed Windows 7 64 from scratch and tried various scenarios and sequences of installations.
Every time I run new sequence on new installation.
Good: finally found the minimal path to install packages necessary to build sample code.
Bad: it is still fails at the Measurement.Buffer.MeasureData.GetAllReadings(bufferName);
When compile with Platform Target x64 getting these warnings:
warning CS1607: Assembly generation -- Referenced assembly 'VisaComLib.dll' targets a different processor
warning CS1607: Assembly generation -- Referenced assembly 'System.Data.dll' targets a different processor
warning CS1607: Assembly generation -- Referenced assembly 'IviLxiSyncLib.dll' targets a different processor
warning CS1607: Assembly generation -- Referenced assembly 'IviDriverLib.dll' targets a different processor
warning CS1607: Assembly generation -- Referenced assembly 'mscorlib.dll' targets a different processor
warning CS1607: Assembly generation -- Referenced assembly 'Ke26XXALib.dll' targets a different processor
Time to try 32 bit...
I can change the reference of Ke26XXALib.dll to 64 bit one, the rest of libs are registered as COM.
Here is a list of installed software:
KE26XXA IVI-COM Driver v184.108.40.206
I don't see a way to work with the device.
And no help from customer support....
- Keithley Applications
- Posts: 212
- Joined: October 25th, 2010, 1:31 pm
- Country: United States
As for retrieving data from the 2600A and B series, the print() function must be issued within the script before performing a remote read function. Here is a very simple example to acquire a measurement to the controller:
reading=smua.measure.v() -- remote write
print(reading) --remote write
<perform remote read here>
When collecting data and storing to a buffer, use the printbuffer() function call in your script.
Who is online
Users browsing this forum: No registered users and 1 guest