Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Upload file to Tektronix DSO via GPIB

Hello,

 

 

I am trying to control a Tektronix TDS5104B DSO via GPIB in LabView (VISA). All went well until now: Currently I am trying to load a file up to the scope using the filesystem:writefile command.

I use the definite length arbitrary length method because the file contains binary data. I succeed in uploading until the file size exceeds 8192 bytes. If I try to upload bigger files, the file does not appear on the scope.

 

Does anybody has an idea where the error might be found?

 

Thanks in advance,

 

Regards

Thomas Stegemann

0 Kudos
Message 1 of 6
(4,426 Views)

try to split the file in tcpip blocks less then 8k

keep the same command but send smaller packages.

greetings from the Netherlands
0 Kudos
Message 2 of 6
(4,421 Views)

Thank you Albert!

 

But if I keep the same command, doesn't the scope overwrite the file every time (really didn't test it)?

Normally, if you try to use the filesystem:writefile command with the filename of an existing file, it does.

 

Greetings

Thomas

0 Kudos
Message 3 of 6
(4,415 Views)

And is the maximum TCP/IP package size of 8192 bytes really valid for GPIB too?

0 Kudos
Message 4 of 6
(4,412 Views)

@stege wrote:

And is the maximum TCP/IP package size of 8192 bytes really valid for GPIB too?



You should contact Tektronix.

Have them clarify these questions for you.

 

 

 

0 Kudos
Message 5 of 6
(4,398 Views)

I contacted Tektronix directly to clarify this issue.

Unfortunately they told me that 8192 Bytes seems to be the limit of the writefile command.

They don't know how to work around this problem.

 

So I have to find another way...

 

Thanks for your help!

 

 

Greetings from Germany,

Thomas

0 Kudos
Message 6 of 6
(4,387 Views)