02-18-2009 05:47 AM - edited 02-18-2009 05:49 AM
I don't know If Open Visa session flush buffers.
But it is better when you do it by yourself. Try search "Flush Buffer" and "Set Buffer Size".
And it is better when you flush Input and Output buffers befor you send command to device ... because you don't expect any data on communication link before you send command "get me data" 🙂
I could recomand you read whole frame (from BOF to EOF) and parse it.
02-18-2009 07:27 AM
Tzench wrote:
Dennis: Does this setting affect what is actually sent out of that VI? Anyway here is the Association Request. It might look a bit weird at first, just concatenating a bunch of constants, but according to the protocol I'm using, this could theoreticaly look different in different situations, and I'm trying to be prepared for that.
Of course it affects what is sent out.
It does look a bit 'weird' and pretty complicated. You did not attach the important subVIs and would really need to look at the manual to see if you are creating a correct string.
02-18-2009 08:28 AM
Well, all of the indicators are set to "normal" display. "All of them" meaning the ones in AssociationRequest, write_visa and SerialPortControl_2.
02-18-2009 08:30 AM
02-18-2009 08:31 AM
02-18-2009 09:22 AM