12-12-2017 08:55 AM - edited 12-12-2017 09:03 AM
Dear all,
After going through several relevant topics posted in this forum, at the beginning I do want to know how a custom step works exactly but eventually I found this is an unachievable job.
So, I create a Demo to verify what I suppose and there are several issues lastly:
1, Why there is no vi configuration in Step Settings Tab as shown in Pic 2.
2, How to sync the config to Step Settings?
3, How to switch to TS’s default style in its step setting Tab because those native parameter can not be quoted in LabVIEW front panel.
Please tell me the subtle techniques I missed, thanks.
More details about Pic 1,
Arrow 1 shows a callback to create a LV object of lvclass and store it to StationGlobals
Arrow 2 shows the custom step I create;
Arrow 3 shows the window once I click the button Edit.
In Demo.zip, Please copy StationGlobals.ini to your TS target folder(mine is C:\ProgramData\National Instruments\TestStand 2016 (64-bit)\Cfg), or create a station global named Instr_lvclass of type Object Reference.
12-13-2017 02:20 AM
Without looking into your Demo.zip: It is highly recommended to NOT use a step default module for custom step types. Use substep modules (pre or post) instead as these are the recommended ones. Find out why by reading help or browsing this forum. It has been discussed (too) many times....
Also i do recommend you to not depend on any variables except step variables or 'generic' variables. That means that your step type should NOT rely on specific StationGlobals you define yourself on your machines.
12-14-2017 12:10 AM
Hi, Nobert, thanks for you concise tips.