Hi Beth,
I'm curious as to why that value is being converted.
ibdev32 returns a 32 bit integer. What is
ConvertLongToInt expecting? Why does the value being returned by
ibdev32 need to be converted? If there is no valid instrument
ibdev32 will return a -1. How would
ConvertLongToInt handle a -1? These are questions probably better suited to Newport. You may want to pass them on.
I don't think an updated version of the dll is going to change
anything, but you are welcome to download the latest GPIB driver, which
includes an updated dll. The latest version in
NI-488.2 2.4.
Hope this helps,
Robert Mortensen
Software Engineer
National Instruments