From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VBA automation to get the selected channel in oscilloscope

Hello,

 

I am trying to get which channel (1 or 2 or 3 or 4) is selected in Oscilloscope?
I tried to get the View property of the channels like below:

     app.Acquisition.C1.View // but there can be multiple channels whose view property is also true.

 

 

My problem is there can be more than 1 channels whose view property is also True (depend on if you toggle the channel or not). So I am unable to identify which channel is selected . (Here selected means - light on)

 

Thanks in Advance

Rahul

 

0 Kudos
Message 1 of 3
(2,255 Views)
This appears to be totally unrelated to LabVIEW. Please repost and provide some details. It is totally unclear what you mean by Oscilloscope in you first sentence.
0 Kudos
Message 2 of 3
(2,253 Views)

I think I have posted this query in wrong forum..
Now I have moved this query to http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/VBA-automation-to-get-the-selected-channel-in...

 

0 Kudos
Message 3 of 3
(2,239 Views)