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.

TekScope Utility Support

Patrick_Huang
Posts: 4
Joined: November 27th, 2019, 12:37 pm
Country: Canada

Re: TekScope Utility Support

Post by Patrick_Huang » December 3rd, 2019, 6:36 am

Thanks Dave.

Yes. I set it to 2000 ms. It works.

It won't work if it is auto.

Thanks,

Patrick

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

Re: TekScope Utility Support

Post by Dave W » December 3rd, 2019, 8:11 am

Ahh, it sounds like the delay I have for Auto is a little too short then. Thanks for letting me know. I will make sure to bump it up a little higher in the next release.

Patrick_Huang
Posts: 4
Joined: November 27th, 2019, 12:37 pm
Country: Canada

Re: TekScope Utility Support : datalog stopped due to error

Post by Patrick_Huang » December 19th, 2019, 6:34 am

Datalog stopped due to error. Here is the log file:

2019-12-18 8:56:41 PM Logging Measurements
2019-12-18 8:56:41 PM Saving Data for Event 907 Complete
Exception occured during data logging.
Ivi.Visa.NativeVisaException: The connection for the given session has been lost.
at NationalInstruments.Visa.Internal.ErrorChecker.CheckStatusAndThrow(Int32 status, SafeVisaHandle visaObject)
at NationalInstruments.Visa.Internal.MessageBasedSessionImpl.Write(Byte* buffer, Int64 index, Int64 count)
at NationalInstruments.Visa.Internal.MessageBasedSessionImpl.Write(Byte[] buffer, Int64 index, Int64 count)
at Ivi.Visa.MessageBasedReaderWriter.FlushWrite(Boolean sendEnd)
at Ivi.Visa.MessageBasedReaderWriter.Write(Byte* pData, Int64 index, Int64 count, Boolean flush)
at Ivi.Visa.MessageBasedReaderWriter.Write(Byte[] data, Int64 index, Int64 count, Boolean flush)
at Ivi.Visa.MessageBasedReaderWriter.Write(Byte[] data, Boolean flush)
at Ivi.Visa.FormattedIO.MessageBasedFormattedIO.WriteLine(String data)
at Tektronix.Data.TekScopeDataXferSession.Tektronix.Data.ITekScopeAcquisition.get_State()
at Tektronix.Data.TekScopeDataLogger.checkSaveOnEventOccured()
at Tektronix.Data.TekScopeDataLogger.DataLoggingThread()
2019-12-18 8:56:49 PM Data Logger Stopped: Error
Screen capture attached.
TekscopeUtilityStopped.png
Data Log stopped due to error
TekscopeUtilityStopped.png (322.52 KiB) Viewed 32 times
Please advise what setting is missing.
Attachments
Ivi.Visa.xml
(512.67 KiB) Downloaded 1 time

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

Re: TekScope Utility Support

Post by Dave W » January 8th, 2020, 11:18 am

Hi Patrick,

That error originates from VISA. It seem that communication with the scope was lost for some reason. I can only speculate as to why that would happen, but it has nothing to do with TekScope Utility.

I will make a note for the next release that I should add functionality to the DataLogger to try to recover from VISA errors. Right now it's one error form VISA and it quits.

brccd00
Posts: 1
Joined: January 14th, 2020, 8:34 am
Country: United States

Re: TekScope Utility Support

Post by brccd00 » January 14th, 2020, 8:52 am

We are trying to connect a Tektronix scope MSO2014B to a win7 32bit machine.
Installed the tekscope utility, and see no selections available for the instrument ID area.

It is connected via usb, but there is only setup for serial....

National instruments in not installed on this machine, do we need the ni-visa installed?

is there an mso2014 driver?

We are stuck!!! HELP!
Bert

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

Re: TekScope Utility Support

Post by Dave W » January 23rd, 2020, 4:00 pm

Hi brccd00,

TekScope Utility requires VISA software that supports the IVI Standard VISA.NET library. This VISA software can be from any vendor as long as the vendor includes VISA.NET support. NI-VISA is the recommended VISA.

As for use on a 32-bit machine... I'm really not sure if it will work or not as I have only ever developed it for and tested on a 64-bit machine. I compiled the program using the "Any CPU" setting in the Visual Studio project and I know the .NET run-time just-in-time compiler may be able to compile it for 32-bit (x86) at run-time, but again I have never tried so I can't tell you if it will work.

Post Reply

Return to “Programming Support”

Who is online

Users browsing this forum: No registered users and 1 guest