You didn't mention why you wanted to store the instrument state data
to a data file. Depending on your need, an NI-Spy log might suffice.
NI-Spy allows you to log all your instrument communication to a file.
There are several options that you might want to enable (Log to File,
Large Buffers, etc).
The IVI model for labWindows/CVI instrument drivers typically keeps a
state for the instrument under control to solve exactly this problem.
When you execute a get state method for the driver, you get all
parameters even though the instrument does not support query function.
This is the best way of
I like to write instrument state data to data files so that there is a
record of instrument settings with the data. The instrument I have
does not have query functions for most of its settings, nor a learn
string, or anything else. The only solution that I can see is to
initialize the instrument,