LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I create variables on a test stand step using CVI?

I am using "  TS_PropertySetValNumber(  g_seqContextCVI, &sErrorInfo, "Step.Configuration.ReadInputs", TS_PropOption_InsertIfMissing|TS_PropOption_CoerceBadNumbersToZero,  iReadInputsEnabled );" to create the variable and it is shown in the run context.  How do I create this in the SequenceFile under the step?
 
0 Kudos
Message 1 of 4
(3,188 Views)

Hi,

To create a property as part of a step, you will need to create a custom step type which has the property 'Configuration.ReadInput'.

There are examples of custom step types on the NI website.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,175 Views)
Hi,
 
Try this link for creating a custom step type.
 
 
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 3 of 4
(3,171 Views)

Thanks, I new that, I should have been clearer.  I was hoping that there was a way of creating a variable without creating a step type.  It would be nice if my DLL could create all variables that it need on its own.  Then, if there are anything changes, only the DLL has to be updated.  Therefore, I only have to manage one item as opposed to two (DLL and Step Type).  Less confilicts.  Easier to maintain compatibility.

0 Kudos
Message 4 of 4
(3,166 Views)