12-26-2011 06:39 PM
12-26-2011 07:37 PM
What's the protocol you are using? VXI-11 or Raw Socket?
As I know, tek test with VXI-11 only. For Raw socket, you may do some modify.
Actually, you should post this issue to http://www.tek.com/forum/viewforum.php?f=5
12-27-2011 04:02 PM
I am using VXI-11 protocol.
I took a look at the Tek forums and I'll post over there too. It appears that this is more of a problem with the LabVIEW instrument driver rather than with the command set or the scope itself. Several example programs work and they're not terribly different from the ones that don't work, so I'm guessing it has something to do with the order of calls made by the examples.
As an update, I've tried several things such as adding Autosetup.vi, removing the Configure Timebase.vi and so on. The greatest "success" has come with passing false into the "Reset?" input of the Initialize VI. Now the examples that didn't work before will work sometimes. Other times they will give the same error as previous or will give another error from the Error Query.vi that also registers as Error -1074000000 but with a different description:
Instrument reports:
221,"Settings conflict"
0,"No events to report - queue empty"
This stems from the scope not being reset and so inheriting the settings from the previous examples run. I haven't been able to consistently isolate what those settings are that allow the nonworking examples to run.
12-28-2011 05:25 PM
As an update, I've attached the smallest possible block of code that gives the error I referenced above:
Error -1074000000
I can edit the attached code and get no error if:
- I set the "Reset?" input to the Initialize.vi to False
- I remove the Configure Channel.vi
Not sure yet why the error keeps occurring though...
12-28-2011 05:29 PM
Oh also, the "GIVES ERROR.vi" doesn't give an error if I replace the Configure Channel.vi with an Autosetup.vi.
12-29-2011 02:07 PM
Hello B Spears,
This is Jeff in Applications Engineering at NI. I would like for you to try this VI to see if it gives the same error.
Regards,
Jeff L.
12-30-2011 09:07 AM
Hi Jeff,
I just tried it and yes, it gives the same error.
12-30-2011 03:22 PM
B Spears,
How many waveforms are you attempting to measure with your instrument? My thought is that the device is giving an error when it is being configured for multiple waveform measurements but it doesn't actually read multiple waveforms.
Regards,
Jeff L.
12-30-2011 03:58 PM
Hi Jeff,
I'm pretty sure that's not the problem because the last VI I attached, "GIVES ERRORS.vi" only acquires from one channel and gives the error. However, if I don't reset with the Initialize VI or put in an Autosetup.vi instead of the Configure Channel.vi, or even remove the Configure Channel.vi altogether I don't get errors.
It appears that the error occurring is independent of the number of channels running, but more closely related to what the Configure Channel.vi is doing. I'm pretty sure that's the source of the error because all the example programs that cause an error call that VI, whereas the examples that don't give an error use Autosetup.vi instead.
So, to reiterate, it appears that when Reset is true to the Initialize.vi and Configure Channel.vi is used, this error occurs. Now we need to figure out why that is so we can fix it!
01-03-2012 11:44 AM
Hello B Spears,
We are in the process of acquiring a Tektronix 7000 Series scope so that we can verify and debug the error that you're experiencing. We will post an update once we know more.
Regards,
Jeff L.