Unfortunately, the instrument driver does not come with any program to test it.
I entered the code (as listed in the first post to this thread, with the obvious modifications) into my program in the proper place, and there doesn't seem to be any improvement.
The driver code uses the Opendev function to initialize communication with the instrument (the driver can be downloaded
here if you'd like to look at it.)
When I step through, during the call to OpenDev, the following function is called, with the following arguments (supplied by NISpy): ibdev (0, 4095, 0(0x0), T10s(13), 1, 0x000)
I note that the prima
ry address field is 4095. I don't understand this, as I haven't really found anything that should lead to an incorrect PAD setting. Should I rewrite that portion of the driver to use the ibdev command instead of fooling around with OpenDev? It sets iberr to 4 when returning, I assume that's due to the incorrect PAD setting (or so it would seem).
I've attached my code and uir file to this message as well. I believe it's fairly well documented at this point.
I'll keep trying to figure out exactly what's going on, and try to update this as I figure out what else it could be.
There are other errors which occur farther down in the program (still within the initialization function of the driver file); however, I suspect the root of these problems is what I've discussed above.
thanks for all the help,
-John