Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Sequence Locals: Undesired behavior when replacing single values with arrays

$
0
0

We are using LabWindows to perform a signal suppression test.  Before we had two tones each at a single power level and single frequency, i.e. four local variables with single values.

 

We now want to sweep one of the tones over 16 power levels.  I first just replaced the one power level local with a comma-separated array of 16 values, but I got an error that the arrays were not consistent.  So then I replaced the single frequency value for that tone with an array of 16 identical frequency values, but I got the same error.  So then I replaced the power and frequency values for the second tone with arrays of 16 identical values.

 

Now the software "works", but the test is now run 16x16 times.  How am I supposed to modify the Sequence file so that the one tone is swept across the 16 different values, but the other tone just remains at the one frequency and one level for 16 total measurements?

 

NOTE:  I am very new to LabWindows.  I have extensive experience in C coding, but I am new to the TestStand Sequence interface.


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>