 mrbean
		
			mrbean
		
		
		
		
		
		
		
		
	
			05-16-2007 12:45 PM
 RayFarmer
		
			RayFarmer
		
		
		
		
		
		
		
		
	
			05-16-2007 03:38 PM
Hi mrbean,
Maybe this link may help as a starter
http://zone.ni.com/devzone/cda/tut/p/id/3893
Regards
Ray Farmer
05-17-2007 06:55 AM
 Dennis_Knutson
		
			Dennis_Knutson
		
		
		
		
		
		
		
		
	
			05-17-2007 09:04 AM
05-17-2007 10:05 AM
 Dennis_Knutson
		
			Dennis_Knutson
		
		
		
		
		
		
		
		
	
			05-17-2007 12:01 PM
1) Every instrument has a custom step type. I wrote an edit step for each. The edit step is similar to the IVI edit step. Each of the UUT's that I test has a unique test sequence and all of the configuration is done in TestStand. that means that the step type itself has the instrument configuration. I don't use the property loader at all. The edit steps that I wrote also write the setup to the TestStand comment field. So, for example if I would set a DMM to 'Volts DC', this is shown. It's makes it easy for someone else to view the sequence and see what the sequence is doing. I can run the sequence file documentation tool and provide that to someone else (i.e. the design engineer) and the test sequence can be audited without providing a means of also reading an external file and trying to figure out what is associated with what. There are a few instances where one test sequence is designed to test multiple flavors of a UUT. For me, it was simpler to use a few preconditions in the sequence. Sometimes it's a different subsequence, sometimes it's just a different step.
2) I have not been able to make use of the multiple numeric limit test. You see, I began using TestStand 1.0 and that was before the multiple numeric test was available. My IS department helped set up the database and the test results are linked to a much larger corporate database and it has been difficult to get the test results database changed to support the multiple numeric limit. How I handle repeated tests is by using loops (and sometimes nested loops). I will group all identical measurements together. For example, If channels 1 through x are supposed to have a certain voltage reading, i will return all of those voltages to one TestStand array. If channels 1 through x are also supposed to have a certain frequency measurement, I return those to a different array. My custom steps include a few custom fields such as channel number. This is included in the log/report so it's simple to determine which part of the UUT failed.
3) Well, there a couple of ways. One way is to create an array of values (i.e. a voltage stimulus). As a pre-expression, I might do something like Step.Source.Voltage = Locals.SourceSetting[ Locals.LoopIndex ]. Often though, I will just copy the sub-sequence that was used for setup 1 into another subsequence and just change the custom steps that need it.
05-17-2007 01:44 PM
 RayFarmer
		
			RayFarmer
		
		
		
		
		
		
		
		
	
			05-17-2007 01:55 PM
Hi,
Have a look at the Step Type example HP34401a in the TestStand\examples folder. I think that should provide some answers . Look at the Properties of the StepType, particular the General Tab for the Description field.
Regards
Ray Farmer
 Dennis_Knutson
		
			Dennis_Knutson
		
		
		
		
		
		
		
		
	
			05-17-2007 03:30 PM
mrbean,
You can't right click and do a Insert Step>IVI? I've done a full install and maybe you haven't. I've just upgraded from 2.0 to 4.0 and they are now called IVI-C. The example that Ray points out is good as well. That updates the description instead of the comment. to write to the comment, I've been using the code below.
 Antonio Lie
		
			Antonio Lie
		
		
		
		
		
		
		
		
	
			05-21-2007 09:51 AM
mrbean,
I was reading through your post and I noticed the following line:
"Our initial plan was to use the propertyLoader step, but its lack of syntax checking and support scared us a bit"
I would really appreciate if you could give me more details about your use case.
Why do you think the property loader lacks syntax checking and support?
Regards.
Antonio Lie