One of our programmers, now gone on to better things, left us with a
driver that makes liberal use of ViScanf() calls. But now we're in
integration, and I need to replace ViScanf() with viRead() followed by
something to parse the device response. I've tried using ANSI C
sscanf() but it doesn't work very well. I'm guessing that a lot of the
format specifiers aren't ANSI-C.
The NI-VISA Programmer Reference Manual, March 2000 Edition, describes a
function described named viSScanf() that sounds as though it does just
what I need. Trouble is, when I code it and try build my project, the
compiler/linker insists there's no such function. I'm using
LabWindows/CVI with NI-VXI 2.1.1 and NI-VISA 2.1 under WinNT 4.0 SP6.
Can anyone help me ge
t viSScanf() to work? Or offer an alternate
solution to parsing the device response string?
TIA for any help ...
B