Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Read and Write Serial Port created via Bluetooth

I have no idea how you could use NI-Spy to test the com port. Where did you get the idea that you could? NI-Spy can be used to capture serial traffic but it can't generate it.

 

Why don't you have a VI that generates ECG data and output that on one com port? Cable that to another com port. Obviously, you would have to temporarily remove the bluetooth module but if it is emulating a com port, then it should not matter. It all depends on what you want to test. The LabVIEW code or the bluetooth. The only way to test the bluetooth is have a bluetooth transmitter.

0 Kudos
Message 51 of 58
(2,685 Views)

hi  Dennis Knutson

as i found that NI-SPY can show you the type of data i am dealing with if its byte or sting or any kind, the  capture as i think is to save the data in a file then using the capture to check but i dnt know how to this specially my allocation is REAL TIME so is it possible to use it and how ??and its correct that the SPY will not generate anything

 

creating the Virtual ECG using labVIEW ?? i dnt think so i can manage to do it BUT i am using the ECG signal in the multisim 10 to test the circuit that i will design, using labview ??? can you post any guide for me ??

 

the bluetooth module can create its own COM port when ever i want to pair it so i dnt think i have to be owrry about the dangle type ?? if supporting labview or not ???

 

thanx for any advice  

0 Kudos
Message 52 of 58
(2,672 Views)

What I suggested is really basic. If you want to debug the serial recieve part of your code and if you have two serial ports on the pc, you can generate an ECG signal in one program and transmit it out one serial port. You can use that 6008 that you keep talking about or simulate the ECG signal.

 

If you don't have two serial ports or don't want to debug your recieve program before your transmit hardware is built, then ignore this.

 

p.s. I would imagine that you have already seen the Biomedical Startup Kit. It includes a simulated ECG signal that you can use to transmit instead of capturing one with the 6008.

0 Kudos
Message 53 of 58
(2,663 Views)

Dennis Knutson

 

i am using laptop means i dnt have COM port, and what you said is correct i already got the kit and i gound many ECG simulations inside, its quite good to understad how i can simulate it,by the way i am a Communications and Electronics Engineer means i am not BIOmedical Engineer,but the title was referring to send it using the bluetooth  and the labVIEW part thats why i found it interesting title. so i will not have to simulate my job is to acquire the signal using labview so plzzzz i need you to answer the questions which is i didnt find the answer for it any where.

 i am using a dongle to set the port WHY i do that coz i can use bluesoliel which can help me to make sure the module is connected to the laptop using the SERIAL PORT so my questions is do i have to be worry about the type of the dongle or not (supported by labview or not )coz i used bulkin brand from the list and it did not work ??plz i need help with this. 

 

any idea will be thankful  

 

 

0 Kudos
Message 54 of 58
(2,654 Views)
It seems to me your question about bluetooth has already been answered. If you install a driver that makes it appear as a com port, you are done. If you install a driver that does not make it appear as a com port and makes it appear as a bluetooth device, then you have to use the LabVIEW bluetooth functions - not VISA.
0 Kudos
Message 55 of 58
(2,645 Views)

I`m a new in this program and i try to connect a bluetooth usb whit labview,but the simple example that gives labview not work,i need help to how connect the device whit labview.

 

Thank`s in advance

0 Kudos
Message 56 of 58
(2,632 Views)
 Thank you for all, i find that my problem was in the bad contacts of bluetooth module, and it's resolve after soldering  😃
0 Kudos
Message 57 of 58
(2,630 Views)

hi Dennis Knutson  

 

thanx alot for the help you provide i really appreciate all the advices, now i dnt have to be worry about the dongle type as much as i am not using the bluetooth functions. i found sheet related to NI-SPY but i dnt know how they did the test hope i can get an advice from you sir. 

 

loopis80 

as i know, when you said bluetooth USB its means you must make sure that the dongle SHOULD be in the list that labVIEW support.if you search a little bit in the NI website you can find it.

 

kokakoka

hope can send me the VI that you wrok in and the module you used, and what was you prject??

 

thanx for all   

0 Kudos
Message 58 of 58
(2,616 Views)