VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Stimulus Profile API

Hey,

 

I'm looking for the documentation for the 2011 Stimulus Profile API. It seems like this is the page that should have it, but there isn't a link for the Stimulus Profile API:

 

http://zone.ni.com/reference/en-XX/help/372846C-01/TOC22.htm 

 

Thanks,

Kevin Key

0 Kudos
Message 1 of 4
(6,617 Views)

That documentation is not available at this time. If you have any questions you'd like to ask in this area, though, I'd be happy to help.

Jarrod S.
National Instruments
0 Kudos
Message 2 of 4
(6,615 Views)

We are generating use cases that outline the tests that will be run in the future both in a software in the loop setup then finally with a full hardware in the loop setup. The software in the loop tests will be run completely in simulink and the hardware in the loop will be run using Veristand 2011. We are trying to find the best way to create the stimulus profiles from the use cases that will allow us to import them into both simulink and veristand. I have heard that excel files can be used and probably an xml file as well. I too was looking for some documentation on the best way to create files for importing into the stimulus generator API.

0 Kudos
Message 3 of 4
(6,534 Views)

To answer your question, there is still no formal documentation on the Stimulus Profile API for .NET. However, multiple examples are shipped with VeriStand that demonstrate this functionality. As mentioned in this previous discussion forum, shipping examples are located in:

 

<LabVIEW>\examples\NI Veristand\API\Configuration API\Sequences 

 

where <LabVIEW> is typically C:\Program Files\National Instruments\LabVIEW.

 

On your more general goal of working with Stimulus Profiles in both Simulink and VeriStand, multiple options exist for opening/modifying these files. First, VeriStand 2011 ships with a brand new Stimulus Profile editor and execution system. The files created using this method are Real-Time Sequences (.nivsseq) and Stimulus Profiles (.nivsstimprof). Normally, these files are created and tested in this Stimulus Profile Editor. Information and a tutorial on using this new option is:


Creating Real-Time Stimulus Profiles in NI VeriStand

Tutorial: Getting Started with Stimulus Profiles in NI VeriStand 2011

 

Both the Real-Time Sequence files and Stimulus Profile files are stored in XML format. This allows them to be opened and modified in external programs (such as Stimulink). The relevant MATLAB functions (covered in this article) are xmlread and xmlwrite.

 

Another option you have is to use legacy Stimulus Profiles (.nivstest). These legacy Stimulus Profiles can be created by importing a .csv file.

 

Regards,

 

Andrew Brown

 

Simulink and MATLAB are registered trademarks of The MathWorks, Inc.

Software Engineer
National Instruments
0 Kudos
Message 4 of 4
(6,519 Views)