01-23-2012 12:02 AM
Hello,
I am facing an issue in developing some step types for an application.
The scenarion is
The application is for generating waveforms using NI PXI cards. So the Waveform properties will be defined in the teststand sequences and pass it to LabVIEW for executing it.
My requirement mentions all the step properties should be of expression type so that user can automate the testing of multiple devices.
My Step properties is as shown below.
Now I am passing this values to my LabVIEW VI.
The LabVIEW cluster is as shown below
My understanding was the expressing will of string type and will get passed to the LabVIEW array which is of string type so that I can evaluate them with the use of sequence context.
But When I try to run the sequence, I am getting the following error.
Error: Error executing substep 'Post'.
Parameter 'Waveform Properties':
Elements of array 'Step.Channels' do not match the LabVIEW cluster or cluster passing is off in array element type definition. [Error Code: -17313, Could not accept the parameter passed in.]
I am not sure how to proceed from here. Kind of stuck.
looking forward to hear some solutions and correct procedures.
Regards,
Mirash
01-23-2012 02:34 AM
Hi,
Do you have a Custom Step type, because Channels just looks like a variable such as Locals.Channels rather than a Step Property,
Can you post a small example?
Another thing, make sure the order of the LabVIEW cluster matches the order of the Container in TestStand.
01-23-2012 04:29 AM
Thanks for the prompt reply.
Yes. I am using a Custom Step Type.
I have attached a trial code which contains the trial VI, sequence and the type palette ini file.
Please have a look at it.
Regards,
Mirash
01-23-2012 06:30 AM
The two subVI's, are they using the 'Sequence Context In' because if they do then you need to pass it into Injection_Format Configuration.vi.
Currently Sequence Context In is not on the connector pane Injection_Format Configuration.vi.
Also I think your cluster elements should match that of your container elements, eg RMS Value should be called Amplitude.