03-10-2011 08:01 AM
Do we have to call ibonl() for every unsuccessful GPIB call (ibwrt , ibrd , ibclr ,ibpad) or when we are done with the device.
03-11-2011 03:05 PM
Check out this KB article on how to reinitialize your GPIB board when it has an error.
03-11-2011 11:21 PM
Hi D Biel,
Thanks for your reply. I am more concerned for Non Controller perspective.
The article KB article looks more toward Controller side.
~Himanshu.
03-14-2011 06:31 PM
You can use ibclr for errors. ibonl should be called automatically when you close the reference to the device using VISA, but is not necessary. In fact, there is not a function for ibonl in the LabVIEW version of the 488.2 driver.
05-31-2011 01:29 AM
hi ,
I am using Debian machine using linux-gpib-3.2.14 drivers, I am using this configuration for the Non controller end.
I am using NI visa(MAX) as Controller for sending the SCPI command. I am using NI 's GPIB-USB-HS for communication between controller and Non controller.
From non controller end if i send data of length more than 2000 bytes using ibwrt() API, then the NOn controll end seems unresponsive.
If I see the controller end through NI spy the ibrd() is called for the data length of 2000 bytes only. Seems if i call the ibwrt()(from Non controller) with more than 2000 data length it corrupts the buffer at the Controller end.
Is my understanding correct for buffer mentioned above?
Is there is any way of resolving it ? as i am using NI visa at controller end dont have any controll on it.
Any suggestion will be helpful.
Regards,
Himanshu.
06-01-2011 08:41 AM
Hi Himanshu,
Can you try writing using the ibwrtf command instead of ibwrt? For more informantion on this please see: http://zone.ni.com/devzone/cda/tut/p/id/3523#toc5 and http://digital.ni.com/public.nsf/allkb/355AB5953EAE097886256AB500625984?OpenDocument
06-03-2011 06:11 AM
Hi Hasan,
Thanks for your reply.
But on the controller side NI VISA is using ibrd and ibwrt. I cant do any modification on controller code.
I am working on Non Controller end only.
Please suggest any other solution.
Thanks,
Himanshu.
06-06-2011 10:35 AM
Hi Himanshu,
Would it be possible to use ibwrtf from the non-controller side to write to the controller side?