From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-06-2013 05:51 AM - last edited on 02-08-2013 10:07 AM by JordanG
Hi,
One way that we can send an image is first to consider what an image is. An image made up of individual pixels, and each pixel has a value. We can look at this as a 2D array and each element will have a value (Pixel Value) which relates to a color.
Here is a link with an example of how to change an image to an array.
Once we have the array we can convert the array to a string using the array to spreadsheet string.
We already know how to write string data to the serial port (Zigbee)
On the other side we will need to do the reverse. So spreadsheet string to array and then once we have the array we can build the array back to an image.
I hope this helps let me know how you get on
Kind Regards
02-06-2013 02:49 PM
Hello kevin
Thanks a lot for your help. I have stuck at a point and i was wondering if you can help me. I have the code that convert the image to array and the code for serial communication. But how i can take the array and put it as write and then transmit it. Please have a look at my code.
Thanks a lot for your help
02-08-2013 08:35 AM
Hi,
I'm using the similar modules, the ProBee ZS10 to communicate between two serial port.
I've managed to establish the serial communication between these two modules, using AT command on TeraTerm as platform but not when I used LabVIEW, it did not work.
Can LabVIEW be implemented on these modules?
Thanks. Looking forward for your reply.
p/s: i used the Write and Read through serial code to communicate between those modules
02-11-2013 03:57 AM
Hi,
Thank you for sending me what you have done so far. You are very close to getting it working.
Here is an image of some code I put together, let me know how you get on
I have attached the code as well.
I look forward to hearing from you
Kind Regard
02-13-2013 11:29 AM
Hello i have finaly manage to transmit images! The issue that is require about 14 min for a jpeg, 640*480, 50kB image. Is it any way that i can reduce the time needed for the transmission. Please find attached the code i used
Thanks
02-18-2013 03:47 AM
Hi Ariadni,
That's good news! You have made a considerable about of progress. Have you tried increasing the baud rate (bps Bits Per Second) The spec sheet says the device can handle up to 115Kbps
Let me know how you get on
Kind Regards
03-11-2013 08:50 AM
Hello again i would like to ask you if you can help me on how i can convert the serial communication to wi-fi communication,
Thanks a lot
03-12-2013 09:27 AM
Ariadni,
If you connect the two computers together using a wireless network then you can use TCP communication rather than serial. This should be much faster.
Here is a link to a basic example of using TCP communication in LabVIEW:
http://www.ni.com/white-paper/2710/en
Hope that helps.
James K
Applications Engineer
National Instruments
03-12-2013 11:26 AM
Hello,
Thanks for the help. I have develop two codes but i am getting errors. Can you give me some help? Please note that i want this to run on a single board rio.
Thanks in advance
03-13-2013 08:24 AM
Can you give the specific error codes/text you are receiving?
I would recommend starting with one of the examples in the LabVIEW example finder to make sure you can get everything working/understood on your Windows machine. The implementation on the sbRIO should be basically the same.