Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

ibconfig doesnt permanent update the board??

 Hello,
 
I m new with GPIB. Recently, i hav set up two computers with PCI-GPIB. One as controller and another one as non-controller. I had written a module using vc to configure the GPIB. I tried to configure the board using ipconfig. I managed to configure the board. However, whenever I set the board offline (ibonl) or restart the pc, the configuration will return to value being set in the Measurement & Automation Explorer. So, ibconfig does not configure the board permanently? 
 
Thank you.
Chung
0 Kudos
Message 1 of 4
(3,502 Views)
Hey Chung!
You are correct, the setting done by ipconfig are being reset.  To configure a controller and non controller with two PCs I recommend reading the following article.

Computer to Computer communication via GPIB

Please don't hesitate to post any additional questions Chung.
Best Regards,
Song Mu
National Instruments San Diego
0 Kudos
Message 2 of 4
(3,466 Views)
Settings changed with ibconfig only remain in effect for that session with the driver. You can set defaults in Measurement & Automation Explorer, but these only impact sessions to the GPIB interface, and not to GPIB devices. This means that the default settings will be used with a call like ibfind(GPIBx), but the settings will not be used with ibfind(DEVx) or ibdev calls.

The best way to handle this is to use ibconfig to set the needed parameters each time it starts. This can also improve the portability of your application, because you are not dependent on settings made outside of your application.

-Jason S.
0 Kudos
Message 3 of 4
(3,455 Views)
Thank you for the replies. I had another question regarding the serial poll response byte.  Wat does the info consist in this byte? Only bit 6 has its meaning(requesting service)? what is the different if i send ibrsv(dev,0x40) and ibrsv(dev, 0x41)?
0 Kudos
Message 4 of 4
(3,442 Views)