Hi All,
We used ibrd() and ibwrt() when GPIB communication to save time for our customer. It is no problem in VS2005.
But for VS2010, it always pop up this dialog box when executing ibwrt() as the attach.
Could you help try to find why the dialog box was found and how to fix it, thanks!
Below is the sample code
>
> int Device = 0; /* Device unit descriptor */
> int BoardIndex = 0; /* Interface Index (GPIB0=0,GPIB1=1,etc.) */
>
>
> int PrimaryAddress = 2; /* Primary address of the device */
> int SecondaryAddress = 0; /* Secondary address of the device */
>
>
> Device = ibdev( /* Create a unit descriptor handle */
> BoardIndex, /* Board Index (GPIB0 = 0, GPIB1 = 1, ...) */
> PrimaryAddress, /* Device primary address */
> SecondaryAddress, /* Device secondary address */
> 13, /* Timeout setting (T10s = 10 seconds) */
> 1, /* Assert EOI line at end of write */
> 0); /* EOS termination mode */
>
> ibclr(Device);
>
>
> ibwrt(Device, "*RST", 4);//the dialog box pops up here.