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.

Windows10 driver for KUSB-488B USB to GPIB

Models 2400, 2401, 2410, 2420, 2425, 2430, 2440, 6430
drogers
Posts: 1
Joined: April 3rd, 2016, 11:31 am
Country: France

Windows10 driver for KUSB-488B USB to GPIB

Post by drogers » April 3rd, 2016, 4:49 pm

I just purchased a Keithley KUSB-488B USB to GPIB adaptor/interface so as to control our 2400 SMU. I installed the software (from the CD) and then the hardware and I get the following message when I run a test in the KI488 Diagnostic Tool: "There was an error reported in the script engine. Test aborted"

I see a discussion - suggesting that the available driver is only compatible up to WIndows 7. Is this the case (and the problem)?

Any help would be much appreciated.

Thanks,

Dave Rogers.

Dave W
Tektronix Applications
Tektronix Applications
Posts: 267
Joined: April 26th, 2010, 12:01 pm
Country: United States

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by Dave W » April 4th, 2016, 10:33 am

Hi Dave,

The latest KUSB-488B driver can be downloaded from here: http://www.tek.com/accessory/kusb-488b-software . This driver supports up to Windows 8.1. Windows 10 is not supported by the driver and I am unable to tell you if it even may work as it has not been tested. What I can suggest though is that when you install the driver, to make sure you install it with the NI-Support option checked as most other software that uses GPIB, will be compatible with the NI-part of the driver and not the CEC Legacy portion. Even so, as I said, Windows 10 is not supported so no telling if it would work.

[email protected]
Posts: 3
Joined: September 2nd, 2016, 5:16 pm
Country: United States

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by [email protected] » September 2nd, 2016, 6:03 pm

Any updates on this? I am testing on windows 10 and it does not seem to work, ie I can't talk to a known good electrometer using the KI-488 diagnostic tool.

Stuart M
Keithley
Keithley
Posts: 418
Joined: September 22nd, 2010, 1:42 pm
Country: United States

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by Stuart M » September 6th, 2016, 7:32 am

Testing a new windows 10 driver now.
I will message you to see if this version can solve your problem...

[email protected]
Posts: 3
Joined: September 2nd, 2016, 5:16 pm
Country: United States

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by [email protected] » September 6th, 2016, 9:13 am

Can't send private messages. This is for use with a Keithley 6517A electrometer. Confirm Windows 10 does not work, but I have tried Windows 7 32 and 64 bit Pro (and they work fine, ie the two devices are found in device manager, the keithley Configuration tool shows the GPIB0 and attached instrument, running the .NET code to query the instrument returns data). If you are having issues with the driver, install it on a clean machine (ie brand new copy of windows, and first thing you do is install the drivers. I found issues with Kaskersky Internet Security preventing installation, even after disabling KIS.

Also MS Office 365 64 bit DOES NOT work, the library is 32 bit only. (MS office 32 bit works fine) You can generate a small wrapper console app and launch the .NET code that way, but you can't call the library directly, else you'll get a "File not found" error.


Contact info:

Robert Dejournett, PhD
rdejourn at mdanderson dot org
or rdejournett at gmail dot com



Here is my wrapper app - add GPIB_vb.vb as a module.

Sub Main(ByVal Args() As String)
' arg0 is Send / Receive
' arg1 is IEEE code (27)
' arg2 is command
' example ADCL_IEEE488 SendData 27 *IDN?
If (Args.Length > 0) Then
If Args(0) = "SendData" Then
SendData(Args)
End If
End If
End Sub

Sub SendData(args As String())
Dim slen As Integer
Dim status As Integer
Dim rdbuf As String
Dim GPIB As Integer = 0
Dim inst As Integer = args(1)
Dim command As String = args(2)

' Select a GPIB interface card
Call boardselect(GPIB)
If (GpibBoardPresent()) Then
' Open and initialize the GPIB interface card
Call initialize(GPIB, 0)
Else
MsgBox("Invalid GPIB interface card.", MsgBoxStyle.OkOnly + MsgBoxStyle.Exclamation, "Error")
End If

' Write a "*IDN?" string to the GPIB instrument with specific address
Call IEsend(inst, command, 5, status)
If (status) Then
MsgBox("Error in writing string to the instrument.", MsgBoxStyle.OkOnly + MsgBoxStyle.Exclamation, "Error")
End If

' Read the returned identification string from the instrument with specific address
rdbuf = Space(100)
Call IEenter(rdbuf, 100, slen, inst, status)
If (status) Then
MsgBox("Error in reading identification string from the instrument.", MsgBoxStyle.OkOnly + MsgBoxStyle.Exclamation, "Error")
End If

Console.WriteLine(rdbuf)

End Sub


To run from VBA / MS Office:

(this code is within VBA)


Public Function ShellRun(sCmd As String) As String

'Run a shell command, returning the output as a string'

Dim oShell As Object
Set oShell = CreateObject("WScript.Shell")

'run command'
Dim oExec As Object
Dim oOutput As Object
Set oExec = oShell.Exec(sCmd)
Set oOutput = oExec.StdOut

'handle the results as they are written to and read from the StdOut object'
Dim s As String
Dim sLine As String
While Not oOutput.AtEndOfStream
sLine = oOutput.ReadLine
If sLine <> "" Then s = s & sLine & vbCrLf
Wend

ShellRun = s

End Function


Public Sub TestShell()

Dim params As String
Dim command As String
command = "c:\test\ADCL_IEEE488.exe"
params = " SendData 27 *idn?"
Dim output As String
output = ShellRun(command & params)

MsgBox (output)
End Sub

Stuart M
Keithley
Keithley
Posts: 418
Joined: September 22nd, 2010, 1:42 pm
Country: United States

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by Stuart M » September 7th, 2016, 6:52 am

Sending you the beta version today.
Let me know if this solves your problem.
Best regards...
--Stuart

zhang347949477
Posts: 3
Joined: September 21st, 2016, 11:25 am
Country: United States

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by zhang347949477 » September 21st, 2016, 11:32 am

Stuart M wrote:Sending you the beta version today.
Let me know if this solves your problem.
Best regards...
--Stuart
Hi Stuart,

I came front with the same issue. The driver is not compatible with my Win 10. If there is any upgrade version, please send it to me as well.

Thanks,
Yuqian

zhang347949477
Posts: 3
Joined: September 21st, 2016, 11:25 am
Country: United States

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by zhang347949477 » September 21st, 2016, 12:08 pm

Stuart M wrote:Sending you the beta version today.
Let me know if this solves your problem.
Best regards...
--Stuart
Hi Stuart,

Thank you! I don't know why I cannot reply the private message, I send you my email here: [email protected]. Please send me the link to download.

Thanks,
Yuqian

Stuart M
Keithley
Keithley
Posts: 418
Joined: September 22nd, 2010, 1:42 pm
Country: United States

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by Stuart M » September 21st, 2016, 12:24 pm

Sending you the beta version too.
Let me know if this solves your problem.
--Stuart

zhang347949477
Posts: 3
Joined: September 21st, 2016, 11:25 am
Country: United States

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by zhang347949477 » September 21st, 2016, 12:35 pm

Stuart M wrote:Sending you the beta version too.
Let me know if this solves your problem.
--Stuart
Hi Stuart,

I haven't received the email. Could you please send me one more time? It's [email protected]

Thanks,
Yuqian

Stuart M
Keithley
Keithley
Posts: 418
Joined: September 22nd, 2010, 1:42 pm
Country: United States

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by Stuart M » September 27th, 2016, 11:38 am

Driver was sent.
Let us know if there are any further problems.

robert.bock
Posts: 2
Joined: November 10th, 2016, 7:38 am
Country: Norway

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by robert.bock » November 10th, 2016, 7:41 am

Hello,

I am also trying to use the adapter on Win10 now. We have no choice of OS so I need this to work! How is the beta version you sent out doing? Can we get a copy, too?

Best Regards,
Robert Bock

Stuart M
Keithley
Keithley
Posts: 418
Joined: September 22nd, 2010, 1:42 pm
Country: United States

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by Stuart M » November 11th, 2016, 9:25 am

Beta version so far has seen no problems.
Send me your preferred email address (privately if you can) and I will send a link to you which you can use to download the driver.

robert.bock
Posts: 2
Joined: November 10th, 2016, 7:38 am
Country: Norway

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by robert.bock » November 21st, 2016, 11:30 am

Unfortunately I do not seem to be authorized to send private messages on this board.
You will find my email by searching my username along with ntnu.

Hope this works,
Best Regards,
Robert Bock

Stuart M
Keithley
Keithley
Posts: 418
Joined: September 22nd, 2010, 1:42 pm
Country: United States

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by Stuart M » November 22nd, 2016, 7:25 am

I will send you a private message with an email address that you can reply to...
then you will receive a link to driver for downloading.

User avatar
Wayne L
Keithley Applications
Keithley Applications
Posts: 48
Joined: August 24th, 2010, 6:03 pm
Country: Taiwan

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by Wayne L » November 29th, 2016, 11:07 pm

Could you help send me, a lot customers request win10 64 bit driver, do you know the release schedule ?
Wayne Liao
Senior Application Engineer
+886-3-5729077 ext332

Stuart M
Keithley
Keithley
Posts: 418
Joined: September 22nd, 2010, 1:42 pm
Country: United States

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by Stuart M » November 30th, 2016, 6:59 am

I will post a beta copy to you.
Still waiting on driver to be signed before releasing...as this approval signing process is not under our control, I don't have a date when the driver will be ready for release, but will release it to the web when available.

drogers610
Posts: 1
Joined: December 2nd, 2016, 10:00 am
Country: France

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by drogers610 » December 2nd, 2016, 10:03 am

Hello,

I'm in the same predicament - stuck with a KUSB-488B for some months now that I can't use... Finally understood that the drivers were not windows 10 compatible.

May I have a copy of the windows 10 beta version as well please?

Many thanks.

Dave.

Stuart M
Keithley
Keithley
Posts: 418
Joined: September 22nd, 2010, 1:42 pm
Country: United States

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by Stuart M » December 2nd, 2016, 10:29 am

I will send you a link for download.
Recommend installing as NI Command Compatible unless you have a strong need for legacy CEC support.

Ray_2016
Posts: 1
Joined: December 6th, 2016, 8:26 am
Country: United States

Re: Windows10 driver for KUSB-488B USB to GPIB

Post by Ray_2016 » December 6th, 2016, 8:29 am

Hi,

I'm in the same boat as the previous users - stuck with a KUSB-488B that is not windows 10 compatible. May I have a copy of the windows 10 beta version as well?

Thanks in advance!

Post Reply

Return to “2400 Series SourceMeter”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests