B&K 2 Way
davidv
Posts: 90
How can i get data and states of my unit (BK AVR 505) over 232. The protocol is somewhat confusing to me. Once the receiver sends me a string of data how can i pull that data out of the string ?
Example If i need feedback for volume level.
Does anyone know the commands?
Example If i need feedback for volume level.
Does anyone know the commands?
0
Comments
That should have been covered in Programming I.
You get the string data from a DATA_EVENT.
If you go to the help menu and search for it, you'll see the syntax and whatnot.
hope that helps
It is well worth the time spent in learning how to parse a string using the tools available in Netlinx - there are many ways and very few are "wrong" - searching on these forums for parsing will give you many a pointer.
Look at LEFT_STRING, MIDSTRING & REMOVE_STRING for starters
PROGRAM_NAME='AVR505 Sourve'
Define_Device
dvtp = 10001:1:1
dvBK = 5001:1:1
DEFINE_START
data_event [dvBK]
{
String:
{
What do i type here to get the data from the string?