Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Change device driver buffer size

Hi,

 

In NI site i found this note regarding the vi that change the VISA buffer size:

 

""Note  Not all serial drivers support user-defined buffer sizes. Therefore, some implementations of VISA might not be able to perform this operation. If an application requires a specific buffer size for performance reasons and the VISA implementation cannot guarantee that size, use some form of handshaking to prevent overflow conditions."

 

How Can i know if in my application i can change the bufer size? 

 

0 Kudos
Message 1 of 5
(3,946 Views)

Can you please give me a link to where that quote came from?  That will help me track down what it is referring to.  VISA is not just used by NI, it is a standard architecture (Virtual Instrument Software Architecture), so that phrase could have a large number of meanings.  Thank you!

 

Regards,

Mark E.

Applications Engineer

National Instruments


Mark E.
National Instruments

0 Kudos
Message 2 of 5
(3,926 Views)
This comes from the LabVIEW help (8.5.1)
greetings from the Netherlands
0 Kudos
Message 3 of 5
(3,912 Views)

The LabVIEW 8.5.1 help is quite extensive.  Can you please point me to where you found this quote?  Thank you


Regards,

Mark E.

Applications Engineer

National Instruments


Mark E.
National Instruments

0 Kudos
Message 4 of 5
(3,910 Views)

I would start looking at set buffersize in the visa menu.

 

 

VISA Set I/O Buffer Size Function

Owning Palette: Serial VIs and Functions 

Installed With: Base Package

Sets the size of the I/O buffer. Run the VISA Configure Serial Port VI first if you are setting the size of a serial port buffer.

Note  Not all serial drivers support user-defined buffer sizes. Therefore, some implementations of VISA might not be able to perform this operation. If an application requires a specific buffer size for performance reasons and the VISA implementation cannot guarantee that size, use some form of handshaking to prevent overflow conditions.

 

greetings from the Netherlands
0 Kudos
Message 5 of 5
(3,907 Views)