04-11-2006 03:00 PM
04-11-2006 10:47 PM
04-12-2006 11:15 AM
Hi tuba,
Thanks for your reply.
I tried using a waveform control (constant) inside a array shell, but although i am getting data in binary, the unflatten array does not peoduce anything.
Do you have any ideas?
I would greatly appreciate any help!
May be i should do away with the flatten and unflatten string and try and do it string to number conversions directly into the Read VISA?
Thanks
Alex
04-13-2006 04:27 AM - edited 04-13-2006 04:27 AM
Bluetooth and >400m. That sounds VERY strange!
@bogiasac wrote:
Dear all,
I would first like to thank you for taking your time and reading my message.
I am using two rs232-bluetooth dongles to communicate wirelessly with two PCs.
I am trying to send two waveforms from one PC to the other. I am doing this using flatten to string and unflatten from string.
The company states that the rs232-bluetooth dongles are a direct cable replacement.
I am doing this having adapted the Advanced Serial Read-Write example that LV provides.
My problem is that on the receiving PC when unflattening from string i cant find and wire a '1-d array of DBL waveform' to the type of the unflatten vi.
I have used hyperterminal and i know that these dongles work at distances exceeding 400m.
I have also managed to send just one waveform wirelessly but i then sometimes get 'junk' data(either +some huge number or -some huge number). I am using the 'bytes at port vi' and it seems to me that i might have a problem with processing the data in the right way.
I would thus like to know if there is a way to process the 'bytes at port' a few at time.
I am no Labview expert so i would greatly apprecieate any help, preferably in some example vi's or changes on my vi's.
I have read all the knowledge base on rs232 and have looked at a huge number of other peoples questions on rs232 but to no avain.
I am using LV8 and both PCs have reasanoble CPU and RAM memory.
Thanks
Alex
Message Edited by rolfk on 04-13-2006 11:29 AM
04-13-2006 08:23 AM
Thanks for your reply rolfk.
As far as the bluetooth is concerned i am using a 'class 1' device which is rated at 100m and the derectional antennas which i added, increase the range to 400m. You can actually get them to transmit at a range of 1000m!!! if you use better antennas.
The rs232-bleutooth dongel is called promi-sd 202 by a company called Initium (korean).
I will try and implement your suggestion but my experience with labview is quite limited.
Do you by any chance have any example code you could give me? I would really be grateful, since i have been straggling with this for a while now.
Thanks
Alex
04-13-2006 01:49 PM
04-13-2006 05:16 PM
04-18-2006 01:21 PM
Hi tst. I am back with more problems.
I took your advise and went through the tcp examples. I tried using the code in tcp for my serial application but i came up with an error. When ever i seem to run my vi's, i get 'Not enough memory to complete this operation' error on the receiver side and labview crashes.
I looked through the discussion forum to find some answer, and they blame Win NT for it. However, i am using Win XP Pro on both PC's.
I am becoming preaty desperate for a solution to what should be a simple program. Can some PLSSSS look at my vi's and help.
Thanks
04-18-2006 01:23 PM
04-19-2006 02:26 PM