Acquiring from bluetooth spp and draw signal

Dear Sir:
I'm using labview 8.5
How can I use bluetooth vis to draw ecg signals coming from adc and sended to bluetooth module(as server) , and draw it??
I've saw bluetooth client examples but I still need help
thanks for help
Sajed

Hi,
We have a similar problem. We're trying to visualize an ECG signal using a Bluetooth connection and LabView 8.
The Bluetooth module we are using is a Parani ESD-200, and it works using the Serial Port Profile (SPP); we also have a MSI Bluetooth dongle which allow us to create a Virtual Comm and connect the Laptop and the ECG.
We are using VISA to write and read from the virtual port; we don't have any problem with the reading, we configure and open the port and read the input data, but when we try to write, LabView doesn't recognize the port.
The funny thing is that the data we try to send with LabView IS sent to the port, we know that because we programmed the DSP to turn on a led when it recibes any data in the input buffer...
So, we don't know why LabView gives us that error, we'll be very thankful if anybody can help us...
P.D. The error LabView gives is:
VISA:  (Hex 0xBFFF003E) Could not perform operation because of I/O error.
Mensaje editado por Luego

Similar Messages

  • Skype reverts to speaker after pc restart from Bluetooth headset and its mic.

    I have set Skype for Windows to automatically switch to Bluetooth headset and its microphone when is on and when headset is off to switch back to speakers. But after pc restart it switches to speakers. What should I do?

    Yeah this is the same problem I had. Just go and get a replacement.
    Dont think too much about other solutions. Its apple's headache not ours.
    But I enjoyed the 1 week testing I did on the first phone I got. For me with bluetooth paired phone it was exactly from the second call and if its wired headset that is connected, then from the third call you make, there wont be any audio (goes to the speaker). Clearly a software bug, but just confused why not all phones have this issue.

  • Read .txt file of numbers and draw

    Hello.
    I am trying to utlize BufferedReader and g.drawline to read numbers from a text file and output to the screen as a "line".
    I know I still need a while loop and some error checking, but, am having trouble finishing the more 'basic' portion of the code.
    The GUI class is already taken care of. I am just trying to open the file, read, turn to int, produce lines, then close file.
    I have commented out some of the code that was provided with the assignment.
    Any help would be appreciated.
    Thank you.
    import javax.swing.*;
    import java.awt.*;
    * DrawingPanel creates a panel used for drawing
    * a map
    * Numbers stored in text file, usa.txt.
    * one number per line.  Read each number
    * create a map on screen. GUI provided in a
    * 2nd class.
    public class DrawingPanel extends JPanel {
         /** Graphics object used for drawing on the panel */                           
         private Graphics g;                  
         /** Tells if it is time to draw */
         private boolean timeToDrawPath;
         /** The filename of the hurricane path */
                                  //private String pathFile; 
         private String usa.txt;
         * Creates a new, white DrawingPanel for drawing the maps
         public DrawingPanel() {
              setBackground(Color.white);
              this.timeToDrawPath = false;
                                  //this.pathFile = null;
              this.usa.txt = null;
         * This method is called automatically by Java.  There will NEVER
         * be a direct call to paint() anywhere in the code.  Anytime that we
         * need to update what is drawn on the screen, we call repaint().
         * @param grph The graphics window to paint
         public void paint(Graphics grph) {
              g = grph;
              super.paint(g);
              processUSA();
              if (timeToDrawPath){
                   drawPath();
         * Reads the USA coastline coordinates from a file and draws the path
         * to the panel
         public void processUSA( ) {
                        //just an example of how to draw a single
                        //line segment from (50,50) to (200,200)
                        //g.drawLine( 300, 50, 200, 200);
         //Insert the while loop here??
         //Include the parse.Int statement
         //Open the file
         String inFile = ("usa.txt");
         FileReader fileReader = new FileReader (inFile);
                   //BufferedReader bufReader = newBufferedReader (fileReader);
         BufferedReader bufReader=newBufferedReader (new fileReader ("usa.txt"));
                        //Insert beginning of while loop here????
         //read data from the file
         String str=bufReader.readLine();
         g.drawLine(x1,y1,x2,y2);
         }

    Yep, you are right in deciding the positioning of the while loop.
    But the folly you are committing is while creating object of BufferedReader ... It is to be created by passing to the constructor, the reference of the FileReader object you have created.
    so the line of code shud look like ...
    BufferedReader bufReader = new BufferedReader(FileReaderObject);
    And then you can go ahead with readLine() as per your requirement in the while loop.

  • I m using apple mac pc, when we start windows 7 , apple mouse doesn't work properly it take to much time to gain signals from the pc and many times it not work but when we use mac it moves fastly and works properly. please suggest me. thanks ravi

    i m using apple mac pc, when we start windows 7 , apple mouse doesn't work properly it take to much time to gain signals from the pc and many times it not work but when we use mac it moves fastly and works properly. please suggest me.
    thanks
    ravi
    <Email removed by Host>                                                                                                                                                                                                                                       

    sounds more like Bluetooth rather than moue, but w/o knowing w/o posting mac model type/year we... will... not... know... what you have
    All computers are personal computers, a PC though is also "non-Apple" in common usage.
    Mac also is platform and OS.
    Very confused reading what you are trying to tell us.

  • Is there a way to get a log of the bluetooth devices my iphone has been connected to?   My Bluetooth car speaker phone was recently stolen from my car and appears to be on Craigslist.

    Is there any way to get a log of the bluetooth devices my Iphone has been connected to?  I recenly had my Bluetooth Jabra stolen from my car and now a simliar one is on Craigslist.  I'd like to give my connection log to the police before I go and see if my Iphone recognizes the device in question.  Any way to get any type of bluetooth device connection log out of my iphone?

    Your contacts should still be on whatever program you sync your iphone to (i.e. Outlook, address book).
    The iphone is not a stand alone device. It is designed to be synced with a computer. If you have not been syncing with a compatible program, then you are out of luck. Your contacts are not included in the back-up because it is meant to be synced with your computer.
    "Although iTunes backs up most of your iPhone and iPod touch settings, downloaded applications, and other information (Contacts, calendars, notes, images in the Camera Roll), your audio, video, and photo content are not included in the backup."
    http://support.apple.com/kb/HT1414

  • How to output the digital clock and synchronization signal from the NI USB-6211

    Hello,
    I need to connect the NI USB-6211 to control a digital to analog convertor chip (AD5541). However, this chip requires three input signals :1) Clock input, 2) Logic input or a synchronization signal  and 3) Signal Serial Data input (CS, SCLK, DIN).
    how to output the digital clock and the synchronization signal from the NI USB-6211?

    Hi SaberSaber,
    You should be able to use the counters to generate a pulse train that could be used for clock and synch purposes.  
    Hope this helps.  Let us know if you have more questions.  
    Dave C.
    Applications Engineer
    National Instruments

  • How to get signal from analog input and send it to analog output (real-time​)

    Hi everyone,
    I am doing simple task in Visual C++ and I am using PCI-6221(37 pin).
    Basically, I want to send same signal from 'analog input' to 'analog output'
    at the same time (almost), to make it real-time application.
    Can someone please provide me sample program. 
    I would appreciate if you could provide me with the good tutorial which explains
    step by step everything about programing NI-DAQmx for C/C++.
    Best Regards,
    Khassan
    Solved!
    Go to Solution.

    This is my code in C++, you can optimize it if it looks too messy. This code reads signal from analog input and outputs it through analog output. 
    To make this code work additional  include directories and library directories must be added from NI.
    I hope it helps someone.
    #include <stdio.h>
    #include <conio.h>
    #include "NIDAQmx.h"
    #include <math.h>
    #define DAQmxErrChk(functionCall) { if( DAQmxFailed(error=(functionCall)) ) { goto Error; } }
    int main(int argc, char *argv[])
    int32 error=0;
    TaskHandle taskHandleRead=0,taskHandleWrite=0;
    int32 read=0;
    float64 dataRead[1000];
    char errBuffRead[2048]={'\0'};
    char errBuffWrite[2048]={'\0'};
    bool32 done=0;
    int32 written;
    DAQmxErrChk (DAQmxCreateTask("",&taskHandleRead));
    DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandleRead,"Dev1/ai0​","",DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Vo​lts,NULL));
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandleRead,"",100.0,DAQ​mx_Val_Rising,DAQmx_Val_ContSamps,0));
    DAQmxErrChk (DAQmxCreateTask("",&taskHandleWrite));
    DAQmxErrChk (DAQmxCreateAOVoltageChan(taskHandleWrite,"Dev1/ao​0","",-10.0,10.0,DAQmx_Val_Volts,NULL));
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandleWrite,"ai/SampleC​lock",100.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,1​000));
    DAQmxErrChk (DAQmxStartTask(taskHandleRead));
    DAQmxErrChk (DAQmxStartTask(taskHandleWrite));
    while( !done && !_kbhit() )
    DAQmxErrChk (DAQmxReadAnalogF64(taskHandleRead,1,10,DAQmx_Val_​GroupByScanNumber,dataRead,1000,&read,NULL));
    DAQmxErrChk (DAQmxWriteAnalogF64(taskHandleWrite,read,0,10.0,D​AQmx_Val_GroupByChannel,dataRead,&written,NULL));
    _getch();
    Error:
    if( DAQmxFailed(error) )
    DAQmxGetExtendedErrorInfo(errBuffRead,2048);
    DAQmxGetExtendedErrorInfo(errBuffWrite,2048);
    if( taskHandleRead!=0 )
    DAQmxStopTask(taskHandleRead);
    DAQmxClearTask(taskHandleRead);
    if( taskHandleWrite!=0 )
    DAQmxStopTask(taskHandleWrite);
    DAQmxClearTask(taskHandleWrite);
    if( DAQmxFailed(error) ){
    printf("DAQmx Error: %s\n",errBuffRead);
    printf("DAQmx Error: %s\n",errBuffWrite);
    printf("End of program, press Enter key to quit\n");
    getchar();
    return 0;

  • PC as a bluetooth Device and accept input from other devices

    I need to set my PC up as a bluetooth device by use of a bluetooth dongle connected to my PC. I need to have a program running on my PC that will detect other bluetooth devices and connect with them, accept input from them. Please help me do this. anyone got code for this? Thank you a gazillion in advance !! :)

    There's no way to do is with standard Java as far as i know. You'll have to use JNI to use native libraries.

  • HT4528 I've purchased a few dozen songs from itunes on my iphone. A few of these songs will not download properly and I keep getting a "unable to download song" message. My account info is correct and full signal.

    I've purchased a few dozen songs from itunes on my iphone. A few of these songs will not download properly and I keep getting a "unable to download song" message. My account info is correct and full signal. It seems to continually keep trying to download but cannot. Please help!

    i do understand that.  if you purchased the music on the phone.  its still available to you.  if you go in itunes on your computer.  go to purchases.  there should be all the music you have purchased.  there you can download the song if it isn't already and then sync it to your phone which will add the song to the phone.  have you tried to power off phone and then try to download again.   the itunes way is just another option. 

  • When I plug in my iPhone to my iMac my computer flashes a box that says my USB device is drawing too much power from my computer and claims one or more of my devices have been disabled.  Then it will not sync my iPhone.  Any solution ideas?

    When I plug in my iPhone to my iMac my computer flashes a box that says my USB device is drawing too much power from my computer and claims one or more of my devices have been disabled.  Then it will not sync my iPhone 5.  Any solution ideas?

    Try unplugging any other USB devices. If you are using a hub, don't, connect the phone directly to a computer USB port.
    None of these are necessarily things you should do, but might help. For instance, if you plug the phone to an already busy hub, the phone might be "the straw that broke the camel's back" and lock out the hub.

  • IPad revers back to a home screen from another page being used, IE Facebook    Good battery and wifi signal

    iPad revers back to a home screen from another page being used, IE Facebook    Good battery and wifi signal.   Sometimes several times in a couple of minutes. Could there be an problem with internal hardware

    Hi there
    My wife and I have been dealing with a very similar issue with our iPhone 5ss, all battery drain issues started after the upgrade to ios 7.03. We have performed numerous restores and have had 3 trips to the Genius Bar.  Finally they gave us new iPhones (yesterday).  We had hoped this would do the trick but we have the same problem on the new phones.
    This morning I restored one and didn't sign into iCloud.  Battery drain is now gone.  And when I deleted iCloud from my wife's phone it too went back to normal.  So I believe the culprit is iCloud and I am now testing various setups with iCloud to determine which app/setting is causing the problem. 
    Hope this helps with your phones.  I will post again if I can narrow it down to something specific.
    Good luck!

  • I paired my old LG phone using bluetooth exchange and uploaded all of the Voice Memo files from it to my macbook and I can't find the file, where would it be located ?

    I paired my old LG phone using bluetooth exchange and uploaded all of the Voice Memo files from it to my macbook and I can't find the file, where would it be located ?

    You cannot update iPhone 4 to IOS 8.1.2, the highest you can update is IOS 7.1.2.
    Unless you've iPhone 4S (looks similar to iPhone 4)

  • I have synced my macbook pro with new bluetooth speakers and can successfully play internet radio music from my macbook through bluetooth.  However I cannot get my iTunes library playing through the bluetooth speakers.  Can anyone help?

    my macbook pro is successfully linked to bluetooth speakers and I can stream music from the macbook through the speakers.  Except for iTunes.  iTunes will not allow me to select the bluetooth, only 'computer speakers' or 'apple tv'.  I can stream my iTunes library from my iPhone and iPad through these speakers, but not from the MacBook's iTunes.  Is there an easy solution?

    So I have been searching the iStore for Airplay and I find lots of information about what it is, but nothing about how much it costs, how/where to buy it, etc.?
    Fortunately, AirPlay does not cost anything as it is a streaming protocol used by Apple. Currently, the AirPort Express and Apple TV are AirPlay-ready. A number of other companies, like JBL, iHome, Denon and Klipsch are also rumored to be working on AirPlay versions of their products.
    Your other option would be to get an AirPort Express and connect it to your Onkyo analog or optical digital audio input and stream from iTunes that way. I currently do this with my 10+ year old Harmon Kardon HT receiver.

  • When booting up, the bluetooth connects and then disconnects with my trackpad 3 or 4 times then i get a gray cover over the desktop that drops from top to bottom then a window that tells me to use the power button to do a forced shutdown.

    when booting up, the bluetooth connects and disconnects with my trackpad 3 to 4 times and then i get a gray sheet that drops down from the top to bottom of the desktop then a box in the center that tells me to use the power button to do a forced shutdown. wireless keyboard connects with no problem. went to the apple store and they replaced the bluetooth card. still have the same problem. removed the batteries from the trackpad, strted up and no problem connecting with wireless mouse and keyboard. anyone else experience this?

    This could be a software/state problem or a hardware problem.  Here are steps to resolve the former.
    http://support.apple.com/kb/TS2570
    https://discussions.apple.com/docs/DOC-5282

  • Configurin​g Channels and Acquiring from SCXI and PXI6070E

    Configuring Channels and Acquiring from SCXI and PXI6070E
    Products used: Two SCXI 1520 modules(let's consider A and B) with one PXI 6070E on PXI1011 chassis.
    Problem: i want to know is that whether it is possible to configure channel 0 of A and Channel 0 of B to Channel 0 of PXI6070E
    [email protected]

    As configured,all of the SCXI channels in the 8 slots are multiplexed through Channel 0 of your DAQ device. The general form of a DAQ channel call to the SCXI is:
    ob0!sc(n)!md(m)!(Channels)
    where: ob0 stands for Onboard channel 0 (DAQ Dev)
    sc(n) - chassis n
    md(m) - module m
    channels - channel string [ 0:7 or 0,2,4 or ... ]
    You can perform the operation you want, however, I would suggest using MAX >>Data Neighborhood>>virtual channel. Use the Virtual channel wizard to configure two channels CH0 and CH1 where:
    CH0 is referenced to Module A channel 0
    CH1 is referenced to Module B channel 0

Maybe you are looking for

  • Creative Cloud Mac panel blank white

    Hi I just migrated to my new Mac, so signed out of CC on the old one, used migration assistant and booted the new mac. Upon load I got a message to tell me that CC was corrupted and I had to reinstall. So I tried, downloaded the install .dmg and star

  • Does itunes support intel x3100 graphics  for watch video and tv shows in itunes:  not working

    Hi I have a asus p5k-vm motherboard with intel 3100 onboad graphics accelerator. I had a gtx 570 video card install and was using itunes to watch video and tv shows. I sold my gtx 570 and I am using intel x3100 onboard graphics accelerator as my vide

  • ITunes music wont play

    I just restored my computer from a crash, and luckily, was able to reload my itunes library from a norton 360 encrypted back-up. However none of the MP4 files will play on the new itunes 10 version. Anyone else had this problem? please advise.

  • Long Number being displayed when people receive Texts

    People who have been receiving texts are getting a long string of numbers, like 13 numbers?? what is this?? how can this issue be resolved?

  • Please help with regex

    Hi I want regex for following condition:(case insensitive) 1)First letter must be always an alphabet(case insensitive). 2)It should be maximum of 64 characters. 3)Rest all letter can be number alphabets and underscore.(case insensitive) 4)Defines an