Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

iviscope program with tds2014 has error:1074126845

Dear All,

As a new LabVIEW programmer, I am now making a program with IviScope in order to read the voltage from the oscilloscope Tektronix TDS 2014.

I almost follow the example "Acq Wfm Edge Triggered" in the "Example Finder", and set the logical name to be "TDS" and channel to be "channel2", which correspond the MAX configurations.

This program runs well with the simulated oscilloscope, however, it has errors if running with the real one (by setting "Don't Simulate"in MAX).

The error code says:
"Error -1074126845 occurred at IviScope Read Waveform.vi"
"Driver Status:  (Hex 0xBFFA2003) Maximum time exceeded before the operation completed.
Primary Error: (Hex 0xBFFA2003) Maximum time exceeded before the operation completed."
And the error ocurrs at the "IviScope Read Waveform.vi".

The NISpy suggests :
"> 10.  IviScope_ReadWaveform (TDS, "CHANNEL1", 1000, 5000, {1.62691E+219,5.18212E+170,...}, 0, 0, 0)
> Prozess-ID: 0x00000774         Thread-ID: 0x00000ABC
> Startzeitpunkt: 10:39:42.704       Aufrufdauer 00:00:04.375
> Status: 0xBFFA2003 (IVISCOPE_ERROR_MAX_TIME_EXCEEDED)"

What would be the problem, and how could I solve it?"

Thank you!

Download All
0 Kudos
Message 1 of 4
(3,669 Views)
I am using LabVIEW v8.0,
                IVI Compliance Package v3.20
                NI_VISA v4.3
                Tektronix TDS2014  Oscilloscope Driver v2.6.1
                which were all downloaded from NI site.

And in MAX, the ticked "initialization options" are "cache", "range check" and "Query Instrument Status", not ticked "Interchange check" and "Record Coercions".

When my program starts to run, the real Oscillope is initializing itself, so the communication should be O.K.
0 Kudos
Message 2 of 4
(3,665 Views)
The nameplate of the Scope : 100Mhz, 1GS/s
0 Kudos
Message 3 of 4
(3,662 Views)
Check the triggering. It is possible that the trigger level needs to be changed...
0 Kudos
Message 4 of 4
(3,619 Views)