LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Does GPIB ibwrt parameter "byte count" include null terminator?

In the GPIB function ibwrt, does the "byte count" parameter include the null terminator in the string buffer that we are writing out? Or does it not matter whether we send the null character or not?
0 Kudos
Message 1 of 3
(3,265 Views)
With the "byte count" parameter in the ibwrt function you are telling the function how much bytes from "Data Buffer" should be send over the GPIB and therefore you decide if you want to send the null character or not. Please see the user manual for your GPIB device with which you are communicating which should give you the answer if your device needs the null character as an end of string character or not.
Regards,
Heinrich Illig
National Instruments
0 Kudos
Message 2 of 3
(3,265 Views)
With the "byte count" parameter in the ibwrt function you are telling the function how much bytes from "Data Buffer" should be send over the GPIB and therefore you decide if you want to send the null character or not. Please see the user manual for your GPIB device with which you are communicating which should give you the answer if your device needs the null character as an end of string character or not.
Regards,
Heinrich Illig
National Instruments
0 Kudos
Message 3 of 3
(3,265 Views)