The HSDIO Write Named Waveform function is picky about what constitutes a valid waveform name. If you pass it an invalid name, you'll get an error (-1074118618, waveform name is invalid). The embedded explanation for that error does warn against names with embedded spaces or underscores or names that begin with numbers or those that match reserved words. But that list of forbidden characters is incomplete and nowhere, that I can find, within either the LabVIEW help system or the NI web site, is the proper waveform name syntax defined. This needs to be rectified because leaving it the way it is forces the user into having to guess at what the proper syntax needs to be. And while I have not yet confirmed that the somewhat associated script names share this deficiency, my guess is that they do.
By the way, the dash or minus sign character is also a disallowed character in a waveform name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Moved to CAR Database: CAR 681373