NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically Changing Step Color

Hi All,

 

I have a tool to programmatically add few steps in my sequence, I wanted to change the color of the steps that I add programmatically. I referred to this post for changing the step color manually, I wanted to do a similar thing programmatically. Please let me know how this can be done. 

 

Thanks,

Sree Ranjani



0 Kudos
Message 1 of 3
(2,242 Views)

I'm not sure there is an API for that unless you have a handle to the SequenceView control.  I haven't delved into that control yet but there may be some way to change these settings through that API.

 

One thing you could do is "edit" the xml file directly where those settings are stored.  By edit I mean do some xml parsing and changing of values.

 

The files are stored in C:\Users\<username>\AppData\Local\National Instruments\<TestStand>

 

They are titled SeqEdit.xml and UserInterface.xml.  I'll let you guess which is used for what.

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(2,211 Views)

Thanks  

 



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