Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

tktds1k2k_ConfigureChannel() does not recognize CH3 as a valid choice.

I am using a Tektronix TDS2024 4-channel scope. Although able to use channels 1 and 2, trying to use channel 3 produces a non-fatal run-time error in tktds1k2k.c line 878, col 5 of
"IVI_SetAttributeViBoolean:(return value==-1074135008)
0xbffa0020
Channel or repeated capability name specified is not valid for the instrument."

drivers are:
tktds1k2k.fp is dated 9-29-03, 9:01 AM
IVI version is 2.1
NI-488.2.10
NI-VISA 3.0.1

Any help or suggestions? Does this driver really support more than two channels?

Thanks.
0 Kudos
Message 1 of 3
(3,464 Views)
Hi,
The driver does support the following models:
1002,1012,2002,2012,2014,2022,and 2024.

On initializing the driver, the default setup taken is for the model 1002 which has 2 channels.

To initialize the driver for the 2024 model, you need to specify the model number in the OptionString parameter of the InitWithOptions functions.
Example: "Simulate=0,RangeCheck=1,QueryInstrStatus=1,Cache=1,DriverSetup=Model:2024"

This is also detailed in the function panel help for the OptionString.

Hope this solves your problem.

Ravi
Message 2 of 3
(3,464 Views)
Instead of using the option string, you can enable the identification query on the Initialize function.
0 Kudos
Message 3 of 3
(3,464 Views)