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.

Search found 5 matches

by [email protected]
March 11th, 2019, 1:49 pm
Forum: DMM6500 Bench/System DMM
Topic: lua length command # :
Replies: 3
Views: 1738

Re: lua length command # :

The .getn() and mod approach work nicely. Thanks.
I'll check the variable arguments construct later - I'm currently getting by by commenting it out, it was just a logging function.
Thank you for the link.
by [email protected]
March 9th, 2019, 6:34 am
Forum: DMM6500 Bench/System DMM
Topic: lua length command # :
Replies: 3
Views: 1738

Re: lua length command # :

I get this error when using these constructs:


#:

Code: Select all

function fft(vect)
  local n=#vect
...:

Code: Select all

function complex.new( ... )
   return setmetatable( { ... }, complex_meta )

%:

Code: Select all

local function next_possible_size(n)
  local m = n
  while (1) do
    m = n
    while m%2 == 0 do m = m/2 end
by [email protected]
March 9th, 2019, 5:37 am
Forum: DMM6500 Bench/System DMM
Topic: lua length command # :
Replies: 3
Views: 1738

lua length command # :

When using the lua length command '#', I get error unexpected symbol near '#' :

Code: Select all

function fft(vect)
  local n=#vect
The variable n should get the lenght of the parameter vect.

The error shows in the script builder and also when I try to load the script on my DMM6500.
by [email protected]
January 25th, 2019, 7:36 am
Forum: DMM6500 Bench/System DMM
Topic: Dmm6500 LabVIEW Configure Event Input SCPI syntax error?
Replies: 0
Views: 1389

Dmm6500 LabVIEW Configure Event Input SCPI syntax error?

When I'm configuring a LabVIEW Configure Event Input block with: Input Source 18: external in and Detected Edge 1: Rising, triggin.jpg It sends this syntax to the DMM6500: :TRIG:EXT:IN:IN:EDGE RISing The instrument throws this error: Error -113: Undefined SCPI header. No additional details available...
by [email protected]
January 22nd, 2019, 11:35 am
Forum: DMM6500 Bench/System DMM
Topic: DMM6500 LabView Read (Multiple Item) error: trigger model
Replies: 0
Views: 1309

DMM6500 LabView Read (Multiple Item) error: trigger model

I'm testing the LabVIEW example in Keithley's DMM6500 driver lib: Keithley DMM6500 DAQ6500 Series General Scanning.vi (I have tried simpler examples of the lib before and they work). I've set the pseudocard to 0 because no card installed. The example runs fine until step Read (Multiple Item) When I ...

Go to advanced search