11-10-2009 05:28 AM
I need to develop a tool to generate HWS files for a test vector setup driven by a LabView program.
I have a file consisting of digital values for various signals. E.g.:
SS SCK MISO MOSI INT
1 0 0 X Z
1 0 1 0 Z
0 1 0 X Z
...
I want to convert this into a HWS file. The conversion can be done in"NI Digital Wavwform Editor", but this is time consuming (we are going to do it MANY times) and I am not comfortable witing LabView script or similar.
Instead, I read that HWS files are equivalent to HDF5 files and hence I found this tool to (hopefully) do the conversion: http://www.hdfgroup.org/HDF5/doc/RM/Tools.html#Tools-Import. Unfortunately, I'm not really into the HWS/HDF5 format. For example, if I try to convert the file as an unsigned integer type, it aborts with an error "Unable to get integer from file". I assume, this is due to the 'X' and 'Z' values?
How should 'X' / 'Z' be imported into the HWS format?
Any suggestions for this conversion? As I said, I am not interested in LabView scripts. I would like to do it with a command-line tool NOT connected to LabView. We have a setup where the vectors should be automatically generated on a Unix flow and run on a Windows machine with LabView.
Best regards,
Kenneth
11-10-2009 07:25 AM
11-10-2009 07:45 AM
muks wrote:
will this help?
I don't think so. It extracts to a ".wbp"-file. Seems to be related to SignalExpress - a program, which is not in my vector generation flow 😞
Thanks.
/Kenneth