PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

nihws error: cannot convert existing waveform data type to requested data type

When I run my program which is attached here,  I get this error when reading the waveform softreset.hws. This does appear when I try to read this waveform alone in another program. Does anyone know what the problem is here.

Possible reason(s):

NIHWS:  Cannot convert existing waveform data type to requested data type.

Thank you
0 Kudos
Message 1 of 3
(3,000 Views)
Hi,

The error message also said that

Error -21558 occurred at niHWS Retrieve Digital Waveform U16.vi


0 Kudos
Message 2 of 3
(2,999 Views)
Hi Tim123,

There are about 7 different formats that you can use to write a digital signal to file. It looks like you are writing the signal to file in one format but reading the signal from the file using a different format. You want to make sure that you read from the file using the same format that was used when writing the file. That would be the most likely reason for this error. Click here for a KB that describes how to fix it.

Have a good one.

Malay D
NI
Message 3 of 3
(2,988 Views)