08-22-2008 08:24 AM
Hi Borges,
Can you clarify your issue a little bit. You posted above that you were not able to measure a value between 1 and 10, but in the screenshot you posted it appears you are returning a value of 4 and it is being displayed on your graph. It appears that you are only reading back a few bytes at each read and you can use the 'Bytes at Port' VISA property to determine how many bytes to read each time.
08-25-2008 11:49 PM
When I use 10 bytes the reading is very slow but I can read values between 1 and 100. I was thinking in a following suggestion:
What if I increase the Baud-Rate to maximum speed and add the parity bit? I will test this soon enough when I get access to my VI.
08-26-2008 03:38 PM
Hi Borges,
When you are trying to read 10 bytes of data it seems as if there is not that amount of data to be read so you are receiving a timeout error. You have an issue when you had the number of bytes to read set to 2 because you do not seem to be getting the full reading back. Can you implement the 'Bytes at Port' Visa property to determine how many bytes to read at each iteration? I believe this will clear up your timeout issue as well as an issue where you do not read all of the data. You can see this type of implementation in the Basic Serial Write and Read.vi Example that is in the Example Finder under Hardware Input and Output>>Serial>>Basic Serial Write and Read.vi.
09-12-2008 05:42 AM - edited 09-12-2008 05:46 AM
hi
i am quite inspired see the info being xchanged in this forum. Actually even i need to send some data(serial data a stream of characters) micro controller kit(ARM) to pc via bluetooth. I am quite new to Lab View. Can u please help me how to get abt it. Well is Lab View the only way.
Please do help
Thanks
Chalapathi
09-15-2008 12:59 PM
Hi Chalapathi,
I understand you are looking to get started with programming your application that will send a serial data stream of characters from your micro-controller to your pc via blue tooth. LabVIEW is an excellent and convenient tool to use to begin programming your application. You can also use the C API. What will be your application development environment? C or LabVIEW? If you are using LabVIEW, there is a basic serial read and write example that might be helpful in getting you started. Just open LabVIEW and select Find examples. On the browse tab, select Browse according to: Task. Next, open the following folders: Hardware input and output >> Serial. Select the example called Basic Serial Write and Read.vi. If you are using the C API, you can find examples at the following location in your directory structure: C:\Documents and Settings\All Users\Documents\National Instruments\NI-VISA\Examples\C\Serial.
Best wishes,
Wallace F.
10-29-2009 10:50 AM
HELO EVERYONE.....
i am working almost on the same idea but my application is like this:
ECG----op amp----ADC----bluetooth module----------------------bluetooth module--------serial port or DAQ------labVIEW
The bluetooth modules have its own PIC built-in, now my important concept is Which ONE is better (serial port OR DAQ)because the module have as all knows TX,RX,VDD and ground. so,now the most important part is to interface 1st with the BT module taht connected to the PC(e:g detect my mobile phobe bluetooth) then will go step by step. plz any person have an idea which one is better hope to reply me back...........
Regards.....
10-31-2009 03:52 AM
If you use DAQ you need an analog value to generate and and analog to digital conversion on the pc side.
Or are you talking about digital IO and need another digital protocol than rs232?
In my opinion blue tooth is just an intermediate and can mimic the rs232 protocol for a pc. So easy software development after some initialisation problems when bluetooth is not configured correctly.
I would not use DAQ for such a system.
12-05-2009 11:20 AM
hi Albert Geven
My OS is VISTA,i modifiy a VI can use it to reach on any bluetooth but when i tried to connect to the module from the labVIEW i can proceed, but i have to pair so any idea how to pair using labVIEW 2009, i can set the virtual serial port using bluesoleil but if i use it i can apply the functions of the bluetooth coz labVIEW can work only with the MS bluetooth and i tried other dongle but cant work with my VI, so i want to use the dongle and use VISA so any possible way to detect and receive the ECG signal . my questions are which way is more save to us the bluetooth is it the VISA and set the port using the dongle ?or use the bluetooth functions and how to find the port and at that i cant us the dongle???
Regards
12-06-2009 12:34 PM
blue tooth linking to devices should be done such that it is automatic.
If you have a correct blutooth device with a good driver you can make that happen, I don't know if all drivers and devices support it but than you simply have the wrong hardware and it has nothing to do with LabVIEW.
12-06-2009 11:50 PM
hi Albert Geven
do you mean the problem come from my bluetooth module i will place the link below to make sure what i am working in, and from your reply means i have to stick with the last VI i upload or i try to use VISA and set the port manually ??
Regards