Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable/disconnect NI Scope channel(s) by IVI from TestStand

Solved!
Go to solution

Hi all

 

After finishing scope acquisition I need to disable = disconnect scope channels. Idealy all of them.

 

I tried to setup attribute "IVISCOPE_ATTR_CHANNEL_ENABLED" to FALSE but this will disconnect channel only during next acquisition .

I tried IVI Scope Reset - but this will not disconnect channels.

I tried IVI Scope Self Test - but this will not disconnect channels.

 

I know that NI Scope Soft Panel could disable channels.

How I could do it from TestStand + IVI Steps

 

My configuration:

TestStand 2019

NI IVI

NI Scope drivers

NI PXIe-5105 (8 channels)

 

Thank you

 Peter

0 Kudos
Message 1 of 2
(869 Views)
Solution
Accepted by topic author JCC_(SK)

Here is sequence of IVI scope steps to disable (disconnect) scope channels:

  • Initialize Scope
  • Configure Scope - Un-tick every channel which you want to disable
  • Initiate Scope - this will apply configuration and start acquisition which we don't need
  • Abort Scope - return scope to idle state

 

0 Kudos
Message 2 of 2
(798 Views)