LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Setup data from Keysight Technologies DSO5054A

I am reading setup data from a scope through VISA handle in IEEE488.2 format with the command ":SYSTEM:SETUP?"
Can anyone suggest how to convert IEEE488.2 format block data to readable form and vice versa

I must Read, Edit and write back to scope.

 

Thanks and Regards

Devender

 

 

0 Kudos
Message 1 of 5
(769 Views)

Hi Devender,

 

I guess the answer is given in the manual of your scope?

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 2 of 5
(759 Views)

I am not able to find the required info in user manual/programmer manual. it only says the data format is IEEE488.2.

 

Thanks and Regards

Devender

0 Kudos
Message 3 of 5
(748 Views)

Hi Devender,

 

it only says the data format is IEEE488.2.

No, you need to read that manual more careful!

It says "The format for the data transmission is the # format defined in the IEEE 488.2 specification."

And there is a description in the example code for the "System : Setup" command: "#800002204<setup string><NL>". This is all what you will get…

 

You might start to reengineer that string by changing just one parameter and read a new setup string, followed by determining the difference to a previously read string. I guess it is much easier to set the parameters by their dedicated commands than by editing "closed source" setup strings…

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 4 of 5
(745 Views)

I would assume its some binary format and not easily changed unless you spend a lot of time reverse engineering as GerdW mentioned.  Why not simply save a setup on the instrument, change the instrument paramaters programtically and then save a new setup?  What is your goal?  Do you want to have several measurement setups on the scope you can change between?  Then just save a setup file for each, then recall them at will in your code.

 

0 Kudos
Message 5 of 5
(729 Views)