04-04-2019 02:46 AM
I am using xbee s2c in api 2 mode to transmit data using LABVIEW to another xbee connected to xctu or arduino uno. I am able to write the frame on xbee connected to labview using VISA write function but it is not transmitting.
I am generating a hex array of the frame and then sending each element of array one after another like 7E then 00 then 10..using VISA Write.
Please help me to solve this.
04-04-2019 09:40 AM
This is the block diagram from writing the api frame generated.
Note: Red crossed line is not included in the final block diagram.
04-04-2019 09:44 AM
04-04-2019 09:54 AM
I have no idea what will work. I just tried to generate a frame similar to the one generated in XCTU and there a hex frame is generated. If sending binary can work i will try that.
Thanks.
04-05-2019 04:16 AM
Hey
As u suggested i tried sending the bytes i.e. instead of sequence 7E..00..12..and so on, I am sending decimal equivalent 126...0..18..so on. But still i am not getting any output.
Please give me some solution.
04-05-2019 04:46 AM
Hi
I suggested to use the value of the character instead of the decimal interpretation.
You can convert a decimal value to a character by filling an array of bytes with decimal values and then convert this array into a string again. It seems a lot of work but in fact is easy.
If necessary post your vi and I will change it, but remember I don't know your XBEE part.
So if documentation about that part is available, send it also.