High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

Tek TDSk average acquisition type setting using NI driver

hello one and all,

i am attempting to set my Tek TDS5104 oscilloscope into averaging mode for acquistion using the NI tkds5000 drivers.  it works fine using the Normal or HiRes mode but when i set it to Average i get the error, "Code: -1074135024, tkds5000 Configure Acquisition Type.vi, Driver Status: Invalid value for parameter or property, Elaboration: Attribute: TKDS5000_ATTR_ACQUISTION_TYPE."

i did wire in the tkds5000 Configure Number of Averages.vi both before and after the Configure Acquisition Type.vi and moved the Configure Acquisition Record in various parts in the setup sequence.  none of these attempts to be working.

please suggest what can be wrong.  thank you in advance and have a great day.

lucas
0 Kudos
Message 1 of 3
(6,510 Views)
Hi Lucas,
I am not familiar with the instrument. The error sounds like the instrument does not support the Acquisition type. Does the manual have information on how to configure it, or you could try contacting the vendor to see if they can offer some help. Hopefully, someone here has experience with the instrument and can offer some insight. Good luck!

Regards,
Ebele O.
National Instruments
0 Kudos
Message 2 of 3
(6,447 Views)
ok, thank you for your response.  i believe that i figured it out and two reasons were impeding my progress.  first, it was the driver.  i recently upgraded to labview 8.2 and installed the corresponding IVI driver for this oscilloscope which was available on ni.com's site.  i used the "tkds5000 Configure Number of Averages.vi" to set the number of averages to 32, the default is 16.  this vi must come after the "tkds5000 Configure Acquisition Type.vi" which is set to a type of average.  setting the number of averages to 32 right out of the gate was the second problem which caused the system to timeout in waiting for the scope to average and return a result. so then, luckily, i set the maximum time to 1e4 ms on the "tkds5000 Read Waveform.vi" in the hope that this vi would not only instantiate an acquisition, but also wait the set time for the results to acquire and transfer before timing out.  so after setting that time to 10000 i could then set the number of averages to 32 and it is working great.  i just happened to get that working today.  thank you.  lucas
0 Kudos
Message 3 of 3
(6,441 Views)