AnsweredAssumed Answered

How to assign result after query :CALC1:MARK1:Y?

Question asked by RFresh on Feb 10, 2017
Latest reply on Feb 10, 2017 by hognala

Hi, Experts:

 

I am looking for a method to get back the query result from below command

 

:CALC1:MARK1:Y?

 

I am using ruby command to do this

 

Mea=ENA.cmd(":CALC1:MARK1:Y?")

 

I always get 0.0 result

 

but if I send this command alone through telnet client, I got this:

 

+2.41236699868E-006,+0.00000000000E+000

 

I only need to get first value of this result

 

But just do not know how to assign it to a varible

 

Thanks

Outcomes