05-19-2009 02:34 AM
Dear all.
I am using NI 488.2 communicator to communicate with my instrument. Is their any limit to the length of command seng to the instrument??
In the Communicator window "ibcntl" gives the length of command send or data received. I am trying to send sweep data to the instruement which is more than 500 character long. But when i am sending this command the instrument shoes "Upper limit of data crossed" and the "ibcntl" shows only 99 count.
When sending 80 character data their is no problem..
Is their any upper limit on data send..
05-19-2009 07:09 AM
When you send data with ibwrt did you specify the data count?
int ibwrt (int ud, void *wrtbuf, long count)
05-19-2009 09:15 AM
If the instrument reports an error, then it could have some internal limitation. I think this is an issue you need to resolve with the instrument vendor. Does their documentation say anything about the size of the receive buffer? If you are sending multiple commands separated by ';' in a single string, then the simple fix would be to use multiple ibwrt commands.
It would also help if you provided the make and model of the instrument and the string you are sending.