![]() Starting with the q sequence file from part 2 and renaming it q, I’ll show how to turn the Sine Amplitude and Frequency Test into a subsequence.įigure 1 shows the sequences pane, right click and select insert sequence. To get the current sequence name you can use the expression: NameOf (RunState. By separating other actions like barcode scanning into sequence file callbacks or by using the TestStand process models, your sequences remain independent. The difference between the two is that subsequence is not visible in file directory, it’s just stored in the main sequence. You can either have a sequence file call other sequence files or you can create a subsequence that is called from a main sequence. One way to build cohesion into a TestStand sequence is to make the separate tests (or whatever logical division you are using) into their own sequences. Cohesion means that the all the code in one module is there to perform the one purpose of that module. Coupling means that code modules are for the most part independent and not too “coupled” together. That is, making code modules that are loosely coupled and have high cohesion. Actually, what Im trying to do is to add a menu item in Teststand, and everytime when I click that menu item, certain sequence in Process model can be run. Select FileSave As, select Substitute copy for original, and click Continue. If you have ever read anything National Instruments puts out on good code development practices they always talk about coupling and cohesion. Open Audio Quality Test.vi in your Exercises folder. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |