Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use IVI-C driver of tkds5000 provided by NI to write the application program for tds5032B

Hi All,
 I have TDS5032B oscilloscope from Tektronics. I have downloaded IVI-C driver tkds5000_MS.MSI from NI site.
After installing the IVI-C driver, I saw in README file that only TDS 5052, TDS 5054, TDS 5104 are supported by this driver.
Can I use the same driver for my TDS5032B oscilloscope, since all the above instruments including 5032 belong to 5000 series.
Instrument commands are same for all the 5000 series instruments.
Even the header file says that driver has been written for Tek 5000 series scope.

Thanks,
Lakki.

0 Kudos
Message 1 of 6
(4,028 Views)
I guess, you can use this IVI - C driver for your TDS5032B oscilloscope. Also you can use Tektronix IVI-COM Driver, see the link below:
"Only a life lived in the service to others is worth living..." - Albert Einstein
0 Kudos
Message 2 of 6
(4,026 Views)
This driver should work for your model but keep in mind that it was developed specifically for the 3 models that are claimed as supported.  This could have been done for one of many reasons, like your model releasing later than the other 3.  For this driver to work, you will need to disable the ID Query in the Initialize.  You may also need to disable Range Checking (in the Initialize with Options), because it is likely that the parameter ranges for your model are different from those implemented in the IVI driver.  Other than that, report any issues that you have here or to instrument.drivers@ni.com.
 
NI is working with Tektronix to add driver support for some of their newer performance scopes so we are hoping to be able to have updates or new drivers later this year.
0 Kudos
Message 3 of 6
(4,017 Views)
Thanks a lot for helping me out.
I am currently facing one problem with the driver.
One of the function tkds5000_ConfigureAcquisitionRecord() is giving VISA error (GPIB timeout error).
I am calling this function to configure the sample rate, Recordlenght, and triggerposition.
The called function looks as below,
status=tkds5000_ConfigureAcquisitionRecord(tkds5000, 0.0005, 5000, 1);
 
After running the NI SPY, I found out that internally it is making a query to check whether math4 has been enabled or not.
It was internally calling "select:math4?" command.
Since the Math4 is not available in TDS5032B, this query is giving time-out error.
Hence I am not able to set the record lenth, or sample rate.
 
Please help me regarding the above issue.
 
Thanks,
Lakki
 
 
 
0 Kudos
Message 4 of 6
(3,982 Views)
I forgot to add that I am using IVI-C driver provided by NI.
0 Kudos
Message 5 of 6
(3,982 Views)
You also forgot to mention what programming envirnment you're using. NI provides the source code for it's IVI-C drivers, so if you are using LabWindows/CVI, you can modify the code and recompile the DLL. You can try the IVI-Com driver from Tek as mentioned in one of the earlier posts. You can not use this function and do your own command. There should be a Write Instrument Data function in the library. This is there to issue commands that might not be in the driver itself.
0 Kudos
Message 6 of 6
(3,973 Views)