04-03-2007 08:12 AM
04-04-2007 04:54 AM
04-04-2007 06:05 AM
Dear Tom,
Now I try to establish the serial communication. This serial is connected with wifi-Airbone 100. Then transmit to router via this wifi.
Can you suggest how I'm going to monitor my data rate based on the labview at the server and receiver side from this kind of setup.
Many Thanks
Hussin
04-04-2007 06:38 AM
Hello,
Im presuming you have a device (Airbone) that is attached to your system through a serial port. You then write to this device using LabVIEW and this transmits the data via WiFi to another wireless device (the router) which then through TCP/IP in LabVIEW will read the data. Is this correct?
If you are using VISA for the serial operation (which I'm presuming as you didn't specify) then on the Read and Write VIs you will have an output terminal named 'return count' which will return how many bytes of data are being written or read.
On the TCP/IP read VIs you will set the amount of data to read, so using the timing within your VI you can calculate the number of bytes written or read over a period of time thus giving you your 'rate'. With the TCP/IP write VI it will return the amount of bytes written as an output terminal.
Hope this helps.
Tom
NIUK
04-04-2007 08:57 AM
04-04-2007 10:54 AM
Hello,
It really is upto you, but to reflect what is actually being transmitted I would add up the two 'retun count' values. In addition you should make sure that your loop is indeed iterating every 100ms before trusting this as an accurate benchmark for caculating your 'rate.'
Cheers
Tom
NIUK
04-09-2007 07:24 PM
04-10-2007 09:13 AM
Hi Hussin,
Tom is unavailable this week so I will be helping you out with your issue. I'm not entirely clear on your question. Each LabVIEW string character is stored as an 8-bit byte. When configuring your serial connection, you set up how many bits are to be transferred/received in a single serial frame (the data bits input in VISA Configure Serial Port.vi).
Let me know if that helps or if you have any other questions.
Way S.