03-18-2009 01:19 AM
03-19-2009 10:29 AM
CraigByrd,
I am not sure that I understand your question. ibdev asks for the board index, primary address, secondary address, timeout, EOI mode, and End Of String mode/bye as inputs if that is what you are asking. More information can be found in the 488.2 help menu, which can be found in your start menu at Start » All Programs » National Instruments » NI-488.2 » NI-488.2 Help.
Eric K
Applications Engineer
National Instruments
03-19-2009 11:15 AM
For example, C:\Program Files\National Instruments\NI-488.2\Bin\Sample.txt demonstrates device level commands. I am curious what are the board level commands (IFC, ibsre) one might send from the controller prior to running the device level commands upon startup of an application.
On a side note, where does one find the proper versions of (gpib-32.obj,ni4882.obj) and (decl-32.h or ni4882.h) to use with the Visual Studio 2008 development environment.
I have found various .h and .obj files in C:\Program Files\National Instruments\Shared\ExternalCompilerSupport\C\lib32 but would like to know which are used where (in terms of various Visual Studio environments (6.0, 2005, 2008)
03-23-2009 07:50 AM
CraigByrd,
In many cases, ibdev may be the first command used. For example, if you take a look at the simplescope example at C:\Documents and Settings\All Users\Documents\National Instruments\NI-488.2\Examples\Standard C\ScopeSimple\Simple.c, you can see that the first line of code in the main function is an ibdev call.
Eric K
Applications Engineer
National Instruments