Hi,
I have created a button interface in LabVIEW that when pressed it will write a string into the VISA port directly using a serial connection of my blue tooth connection. This is after the NXT block is paired.
I am having trouble understanding the packet format that has to be sent in hex.
Other forums show they created a array then convert it to string again to send using VISA in the Fantom SDK.
I am bypassing that by creating the connection beforehand.
From what I understand I can start the program using a array which is converted to hex. But that format I am not sure I am implementing correctly.
Start of program : (0x00,0x00,Spike Remote 0xA,0x02,0x00,StatusByte)
Send Integer value of 1 : (0x00,0x09,1,1,2-10)
When Converted its
3078 3030 2C30 7830 392C 312C 322C 31
Perhaps I should remove the commas and send this hex >3078 3030 2030 7830 3920 3120 3120 32
But the NXT block is not responding...what should the format be?
Do I have to convert it to hex before sending?
What format do I have to use since ',' = 392C . Do I have to include the commas?
Thanks