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.

Test Script Builder ISSUE : DMM6500 Time stamp protocol

Post Reply
egarcia3
Posts: 1
Joined: May 19th, 2022, 9:54 am
Country: United States

Test Script Builder ISSUE : DMM6500 Time stamp protocol

Post by egarcia3 » May 19th, 2022, 10:06 am

Hello,

First time post , I am new to LUA and also creating scripts using the TSB platform.
I have (had) a working script that would collect 8 channels worth of data and export the data into a usb in a .csv format,
I started to play around with formats and realized I would like to output the relative time stamp per collection using the
buffer.SAVE_Relative_Time function. This has proved to be an issue, at first i kept the output file the same and tried to manipulate the time output in the scan.export portion of my code and no joy. I then tried to use buffer.saveappend function and ran into an issue creating a buffer using the buffer.make function: In essence Ive hit a road block.

Attached is my code
Attachments
main.tsp
(2.58 KiB) Downloaded 8 times

lainefeeney
Posts: 1
Joined: June 5th, 2022, 9:36 pm
Country: United States

Re: Test Script Builder ISSUE : DMM6500 Time stamp protocol

Post by lainefeeney » June 5th, 2022, 11:54 pm

I also had trouble using buffer.make function

Post Reply

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest