02-09-2013 07:03 AM
Hi GerdW
sorry for delay.
the point for using type cast is that i have heard that Labview just send/recieve string so all datas must be converted to this type.
AVR can recieve each type we send, the main is LV.
I have closed the serial port at the end. it is out of the while loop and i have thought that it is kind of a routine in working with visa.
as readen befor byte at port is used for recognizing number of bits. do you think it is not needed?
please help me.
waiting for your answer
thank you!
02-12-2013 10:29 AM
still waiting!!!
02-12-2013 01:41 PM - edited 02-12-2013 01:41 PM
Hi Deovalente,
the point for using type cast is that i have heard that Labview just send/recieve string so all datas must be converted to this type.
AVR can recieve each type we send, the main is LV.
VISA is using a string for sending/receiving data. But that string is just a "container", you may see it as an array of bytes. And those bytes can contain whatever you need to transport...
I have closed the serial port at the end. it is out of the while loop and i have thought that it is kind of a routine in working with visa.
as readen befor byte at port is used for recognizing number of bits. do you think it is not needed?
Don't knw which "routine" you're talking about.
BytesAtPort gives number of bytes in read buffer, as the name says. No "number of bits" to expect here...