We are doing testing of our complex Logic devices (CPLDs and FPGAs).
With this effort we are finding from the FPGA designers, that to cover testing requirements for the CPLD we need to generate 100’s of code files that validate all the test cases per our requirements.
The designers then creates 100s of VCD files from ModelSIM that Test Engineering then has to convert to HWS files using the digital Waveform Editor 3.0 in order to run on the HSDIO cards.
Since the effort is currently manual, we were looking to automate the importing tools from DWE 3.0.
as my project grows the amount of files to test wil grow to 1000's of files. Automation of the import and export wizard would help substantially.
However, Digital Waveform Editor 3.0 does not support scripting or provide LabVIEW APIs to do so.
We are currently looking at a Windows scripting engine to do this by mouse clicks but would prefer a LabVIEW API implementation to control this operation.
It would be great to create APIs that can script the import and export functions of the DWE 3.0
I see that the .LLB libraries are there in the DWE directory but no documentation to use for scripting. I believe this is possible to script but not without a lot of trial and error on my part.
Is NI looking into creating APIs with hooks into Digital Waveform Editor (DWE) for scripting conversions from VDC files to HWS files?
This is my thoughts on the API from the Import Export wizard.
API functions:
Import File
<ctl>VCD or ASCII (enum)
Import Wizard Select Signals
<ctl> Array of Signal Names
<indicator> Array of selected Signal Names
Import Wizard set Signal Name Type
Drive, Compare, or Bidirectional (Enum)
<ctl> Array of Signal Names
Import Wizard Sample Method - On Edge of VDC signal
Select Sampling Method
Select VCD Signal
Sample on: Rising Edge, Falling Edge, Both Edges (Enum)
Delay After Rising Edge (sec)
Import Wizard Sample Method - Fixed timebase or Rate
Cycle Time for Sampling (sec)
Sampling Start Position (sec)
Frequency (Hz)
Retrieve from File (T:F)
File Path (path)
Export File
Save As: HWS or ASCII or Binary (enum)