Hi, I am making a simple chat app using BLE connected to an embedded data modem. However when I try to assign message and username to my listview called Message_list i receive error "Bad arguments to Elements", "The operation Elemenets cannot accept the arguments:,["Bob : Hello world"]. I have disabled the block that causes my problem for you to easily find it. Fingers crossed that someone of you experts can help me out.
You are trying to do in one step what needs three steps:
- Copy the MessageList.Elements into a list variable (Call it Messages)
- Add the global chatmessages to that list using the list add block
- Copy the Messages variable back into MessageList.Elements
OK. Will check your link. Meanwhile I upload my original .aia file with the problem as reference.
BLE2_11_Nov (1).aia (193.5 KB)
Are you referring to the following in yellow specifically from your link? My problem is driving me craaazy
Great. Will give it a try later today. A big thank you for support. /C-J
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.