Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding NI 488.2

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..

Abhimaniu
0 Kudos
Message 1 of 3
(3,358 Views)

When you send data with ibwrt did you specify the data count?

int ibwrt (int ud, void *wrtbuf, long count)

CLD - Labview Certified Developer
0 Kudos
Message 2 of 3
(3,347 Views)

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.

0 Kudos
Message 3 of 3
(3,342 Views)