Need Guidance On Data Acquisitio​n Using Bluetooth of an Accelerome​ter

Hello everyone. I am completely new to LabVIEW and I have a few questions to ask.
So here is what I am trying to do. I have accelerometers connected to a microcontroller board (SK40C from Cytron, details are here) using PIC16F877A. Then, the output of the microcontroller is connected to a bluetooth module transmitter (SKKCA-21 from Cytron also, details are here). And from here, the data are transmitted to a laptop for LabVIEW data acquisition. My aim is convert the voltage into acceleration, display graphs and possibly storage of data.
I have searched through the forum and I got a little bit confuse of where I should start. These are a few question I want to ask:
1) What are the additional software/hardware that I need ? Because I read about this VISA and DAQ thingy which I'm don't quite understand about it.
2) Can anyone provide a step by step guide on what I should start with ? I am very very new to LabVIEW and time is abit of a constrain to me.
Thanks in advance for the help. Hope to hear some replies soon

The DAQ "thingy" is for use when using NI data acquisition boards. VISA is used to communicate with instruments/devices over a serial port, TCP/IP, GPIB, and sometimes USB.
Based on a brief look at the documentation, it appears that the transmitter connects to a computer via a USB cable. The USB driver creates a virtual COM port, so the computer should see a serial port. You can then communicate with the transmitter using VISA and treat the trasmitter as a serial port device.
You should first try talking to it using another terminal program. On Windows HyperTerminal is your best bet. This is to make sure you've installed all the required software and you can talk to it before getting into LabVIEW. Once you've been able to talk to it with (for example) HyperTerminal, then open up the serial port examples and try sending the same commands. You will need to determine from the documentation for the transmitter whether you need to append a special character, such as a carriage return or linefeed (or both) when sending commands, and whether the device ends its messages with a special character (such as a carriage return or linefeed). You should also read over the numerous articles in this page: http://zone.ni.com/devzone/cda/tut/p/id/4370

Similar Messages

  • Double character input error when entering data in numbers using Bluetooth keyboard.

    Using a bluetooth keyboard (Logitech) sometimes causes a double character input when entering data in numbers.
    For example if wish to enter the number "22" or the word "in" they become "2222" and "iinn". Pressing enter of tab also causes a double jump
    This problem is not always solved by turning keyboard off and on or by closing down and restarting numbers.
    This problem does not occur in any other app.
    I have used 2 different Logitech keyboards (ultra-slim and the recently new folio keyboard) and both caused the same problem.
    The error is sporadic but frequent and has lead to me often having to switch back to touch input.
    Very frustrating considering these excellent keyboards are ideal for using in numbers when working correctly!
    ANy advice would be much appreciated

    Zombie,
    Not much help I'm afraid, but I just saw your post & wanted to let you know that I have the same problem, but for me it manifests itself in many apps, and it happens with the Apple bluetooth keyboard
    . The only thing I've noticed is that it only seems to happen when I first start typing after not using the keyboard for a while (I'm not sure how long a while is, but maybe 30 seconds or so). Then I'll type & the first few letters will be fine, and then one letter double-types, and then it's fine again until I stop using it for whatever the threshold amount of time is. I'm guessing that it has something to do with the iPad's battery management & that it's shutting off the connection to the keyboard or something & once it picks it back up, then it double-types that letter.
    At least in Pages, it isn't as big of a deal because I know it's coming, I can correct it & then type for a long time. In Numbers, my keyboard use is much less consistent, so I need to be more cognisant of it.

  • Need guidance with what settings to use

    I play in a band and am trying to put together video to run while we are on stage.
    I'm using a Macbook with FCE and using this projector:
    http://www.projectorcentral.com/NEC-NP100.htm
    I'm taking clips from DVDs (read: NOT shooting video) and pasting them together. Yesterday I spent most of my day putting together scrolling titles on a plain black background, only to find at the end of all that work, that once you transfer the video to Quicktime and playback on full screen, the work was unusable due to how distorted the words were once shown on full screen.
    I'm guessing I need to adjust my setting prior to re-doing all of yesterdays work, but given the number of options, I'm having a hard time deciding on which option would best give me the results I need based on the set up I'm running.
    Can anyone shed some light before I burn another day?

    Exfat doesnt have that limit.
    What are you going to use the HD WITH? thats the important question.
    FORMAT TYPES
    FAT32 (File Allocation Table)
    Read/Write FAT32 from both native Windows and native Mac OS X.
    Maximum file size: 4GB.
    Maximum volume size: 2TB
    You can use this format if you share the drive between Mac OS X and Windows computers and have no files larger than 4GB.
    NTFS (Windows NT File System)
    Read/Write NTFS from native Windows.
    Read only NTFS from native Mac OS X
    To Read/Write/Format NTFS from Mac OS X, here are some alternatives:
    For Mac OS X 10.4 or later (32 or 64-bit), install Paragon (approx $20) (Best Choice for Lion)
    Native NTFS support can be enabled in Snow Leopard and Lion, but is not advisable, due to instability.
    AirPort Extreme (802.11n) and Time Capsule do not support NTFS
    Maximum file size: 16 TB
    Maximum volume size: 256TB
    You can use this format if you routinely share a drive with multiple Windows systems.
    HFS+ ((((MAC FORMAT)))) (Hierarchical File System, a.k.a. Mac OS Extended (Journaled) Don't use case-sensitive)
    Read/Write HFS+ from native Mac OS X
    Required for Time Machine or Carbon Copy Cloner or SuperDuper! backups of Mac internal hard drive.
    To Read HFS+ (but not Write) from Windows, Install HFSExplorer
    Maximum file size: 8EiB
    Maximum volume size: 8EiB
    You can use this format if you only use the drive with Mac OS X, or use it for backups of your Mac OS X internal drive, or if you only share it with one Windows PC (with MacDrive installed on the PC)
    EXFAT (FAT64)
    Supported in Mac OS X only in 10.6.5 or later.
    Not all Windows versions support exFAT. 
    exFAT (Extended File Allocation Table)
    AirPort Extreme (802.11n) and Time Capsule do not support exFAT
    Maximum file size: 16 EiB
    Maximum volume size: 64 ZiB
    You can use this format if it is supported by all computers with which you intend to share the drive.  See "disadvantages" for details.

  • Need yesterday's date on report using sysdate

    Hi
    i need yesterdays' date on the report
    i need output sholud be
    DATE: 07-July-2007
    i ran query this
    select sysdate -1 from dual;
    i got it right.
    07-july-2007
    but i want like this,
    DATE: 07-July-2007
    select 'DATE:' || sysdate -1 from dual;
    i got error.
    select 'DATE:' || sysdate - 1 from dual
    ERROR at line 1:                              
    ORA-01722: invalid number                              
    how to fix this?
    thx
    N.

    Actually depending on how you write the statement you do not have to explicitly convert the date to character first in order to concatenate it to a character constant.
    UT1 > l
    1* select 'DATE: '|| trunc(sysdate - 1) from dual
    UT1 > /
    'DATE:'||TRUNC(
    DATE: 04-JUL-07
    UT1 > select 'DATE: '|| (sysdate - 1) from dual;
    'DATE:'||(SYSDA
    DATE: 04-JUL-07
    You just need to get Oracle to do the math before it does the datatype conversion.
    Ran on 9.2.0.6 on AIX 5.2L
    HTH -- Mark D Powell --

  • How can I use bluetooth to send data to my mac book pro?

    I can connect my smartphone (nokia) to my Mac Book Pro, but if I try to send something from Nokya to my Mac using bluetooth, that's impossible. The only way is to search what I wanto to store in my Mac, using the Mac and browse my Nokia with Finder.
    Is this correct ??
    Is the bluetooth an univesral protocol to send and receive data between two sources ???
    Why my Mac is unable to receive the data sended by another source ?? (the same question is valid using an iPhone and another smartphone to try to send/receive data).
    Many thank for your response.
    Ezio

    I have many movies I made in iMovie and need to burn to DVD for players.
    You need this:   http://www.apple.com/findouthow/movies/idvd.html#custom
    IDVD is a wonderful piece of software and well worth the low cost of $40.
    http://www.amazon.com/Apple-MC623Z-A-iLife-VERSION/dp/B003XKRZES/ref=sr_1_1?ie=U
    http://dealmac.com/lw/artclick.html?1,527850,1872219

  • How to use bluetooth for data transmission

    Hi,
    we would like to use the Iphone touch for display external data over bluetooth.
    This is what we want to do:
    - Have a own App
    - Connection over bluetooth
    The simplest system could be an Temperature and Humidity sensor with microcontroler and bluetooth module. Data should be send in SPP (serial Port Profile).
    Now I have seen that SPP profile is not available on Iphone or Ipod.
    Is there a chance to connect over other way and bluetooth ?
    Do have anyone tip or know-how to do that and is there a chance
    do make app legal for App store ?
    Thanks, for many helps !

    HID Profile is a "Human Interface Device Profile", this allows connections between bluetooth keyboards, and similar devices. It's basically a "human convenience" that lets a user make input through another device.
    The PAN Profile ("Personal Area Network) is a profile that can actually transmit and receive data. The data though is limited to peer-to-peer gaming (games that can be played with others in the vicinity). A good example is the Rock Band multiplayer, where players join up using Bluetooth (and not Wi-Fi, to prevent lag).
    I believe there isn't any reverse HID applications (remotely using the HID from the iPod), most app that do that are wi-fi transmitted, since there's no need for a long, direct, connection. Examples are the Apple Remote, ADT Security, and OnStar. These all allow you to access your devices that are kept on your wireless signal (OnStar uses some sort of cell phone reception to put your car on a network).

  • Data transfering between a mobile and  F2M03GLA device using bluetooth

    I am using F2M03GLA (which is a low power embedded Bluetooth v2.0+EDR module with built in high out put antenna).
    I want to send and receive data from mobile to this device using bluetooth . I want to know wheather the data transfering from a mobile to F2M03GLA device is same as data transfering between a mobile to mobile. If there is any difference can u please specify me those differences.

    Have you looked at the peer to peer stuff from Adobe? That might solve the data transfer without needing to stand up your own server.

  • Help needed with variable - trying to get data from Oracle using linked svr

    Sorry if I posted this in the wrong forum - I just didn't know where to post it.
    I'm trying to write a simple stored procedure to get data from an oracle database via a linked server in SQL Enterprise manager. I have no idea how to pass a variable to oracle.
    Here's how I would get the variable in SQL:
    declare @maxkey INTEGER
    select @maxkey= MAX(keyfield) from [server].Data_Warehouse.dbo.mytable
    select * from [server].Data_Warehouse.dbo.mydetailtable where keyfield=@maxkey
    the select statement I need to do in oracle would use that variable like this:
    select * from OPENQUERY(OracleLinkedServer,'select
    * from ORACLEDB.TABLE where keyfield > @maxkey')
    and I get this message: OLE DB provider "OraOLEDB.Oracle" for linked server "OracleLinkedServer" returned message "ORA-00936: missing expression".
    I realize that I can't pass the @maxkey variable to oracle - so how do I accomplish this?

    Please refer the example in this link which deals with Oracle date format.
    You can finnd a command DECODE which is used for date formats. If you have a look at whole theory then you will get an idea.
    Link:[Bulk insert SQL command to transfer data from SAP to Oracle|http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bulk-insert-sql-command-to-transfer-data-from-sap-to-oracle-cl_sql_connection-3780804]

  • I need to pass data from an Access database to Teststand by using the built in Data step types(open data

    base /open SQL Statement etc) the first time i defined the system everything was fine but when i changed the Database (using M.S.Access) the " open SQL Statement" it would show the tables but not thier columns ,I"m using win98 sec edition / Teststand 1.0.1i need to pass data from an Access database to Teststand by using the built in Data step types(open database /open SQL Statement etc) the first time i defined the system everything was fine but when i changed the Database (using M.S.Access) the " open SQL Statement" it would show the tables but not thier columns ,I"m using win98 sec edition / Teststand 1.0.1
    When I tried the same thing on another cmputer the same thing
    happend
    appreiciate u"r help

    base /open SQL Statement etc) the first time i defined the system everything was fine but when i changed the Database (using M.S.Access) the " open SQL Statement" it would show the tables but not thier columns ,I"m using win98 sec edition / Teststand 1.0.1Hello Kitty -
    Certainly it is unusual that you can still see the tables available in your MS Access database but cannot see the columns? I am assuming you are configuring an Open Statement step and are trying to use the ring-control to select columns from your table?
    Can you tell me more about the changes you made to your file when you 'changed' it with MS Access? What version of Access are you using? What happens if you try and manually type in an 'Open Statement Dialog's SQL string such as...
    "SELECT UUT_RESULT.TEST_SOCKET_INDEX, UUT_RESULT.UUT_STATUS, UUT_RESULT.START_DATE_TIME FROM UUT_RESULT"
    Is it able to find the columns even if it can't display them? I am worried that maybe you are using a version of MS Access that is too new for the version of TestSt
    and you are running. Has anything else changed aside from the file you are editing?
    Regards,
    -Elaine R.
    National Instruments
    http://www.ni.com/ask

  • Help needed in printing pc to pc (printer) using bluetooth

    I require to create a application in final year in which i have to print from my pc to another persons pc who has a printer attached (both pcs are bluetooth enabled using bluetooth dongles using Microsoft stack)
    Do i have to use java rmi ??
    How do i implement this ?? plz i need help !!!

    Adrian, the GIMP Print drivers might have been
    installed automatically when Tiger was installed on
    your computer. They are for older model printers
    whose own drivers aren't native for Tiger. They
    might interfere with a printer's own driver from the
    printer maker.
    I think you may have supplied a link to the Epson incompatibility before spacesuiter. Could you please refresh my memory. I seem to recall the problem was a color shift that was noted on the higher end Epson printers. I have heard of no other specific problems associated with any manufacturer's drivers and any third party drivers including the Gutenprint drivers. I will say that the Epson drivers seemed flawed. They cannot see my SP 1280 if I have my Epson SC 800 attached with a parallel to USB adapter -- even an Epson adapter. That is not a problem with the Gutenprint drivers. As soon as I unplug the SC 800, the SP 1280 functions fine with the Epson drivers.
    In Adrian's case, it appears to me that there is no provision in the Canon PPD for printing black. This is more than a color shift problem. The PPD for the BJC-2100 included with the Gutenprint drivers does contain provisions for Grayscale and Black(inverted grayscale) printing.
    Matt

  • Expert help needed to connect iPhone / iPad using BlueTooth and Wi-Fi

    We need expert help to connect iPhone / iPad using BlueTooth and Wi-Fi. If you have worked with Apple MFi Program [http://developer.apple.com/programs/mfi], or have expertise/experience in this, please contact me. Thanks! Kevin.

    Hi there.
    I connected to my livebox after about three attempts. You have to pair the livebox by pressing either the number one or two that is on the box. When it is in pair mode it stays that way for ten minutes so it gives you chance to try your wep code that is on the bottom of the box a few times. I can't remember which one was successful but i did try the letters in uppercase and lower and one of them seemed to connect.
    Welcome to discussions by the way.
    Hope this helps JB

  • Need to read data from pipe separated file using POJO?

    Hi,
    I need to read data from pipe separated file using POJO.
    There is config.properties file which consists of the
    data mapping.
    Can you help me with sample code or help?
    Regards
    Regards
    Taton
    Edited by: Taton on Mar 7, 2009 4:41 PM

    It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
    [http://java.sun.com/docs/books/tutorial/essential/io/]
    *Unless you write a bunch of JNI code to replicate what the java.io classes are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to send multiple data files / music files using bluetooth / whatsapp / emails...

    hello everyone,,,
    is there any option to send multiple data files / music files using bluetooth / whatsapp / emails...
    as option to select multiple files using "SELECT in menu option / left aA"+ scroll tracepad" is availble with pictures only.
    and while receiving files via bluetooth i'm unable to do any other activity.

    One at time, via Bluetooth.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I have a western digital external hard drive that needs to be re formatted for use on my but iMac but I do not want to lose existing data

    I have a Western Digital external hard drive that needs to be re formatted for use on my iMac, but I do not want to lose existing data, is this possible ?

    Formatting a disk always erases all the data on it. Your only option is to back it up elsewhere and restore it once formatted.

  • Need a maximum date value using group by

    Create table student (dept number(10), dep_name varchar2(10),join_date date,years_attended number(10),end_date date);
    insert into student values (1,'I',to_date('3/7/1917','MM/DD/YYYY'),4,to_date('8/26/1987','MM/DD/YYYY'));
    insert into student values (1,'I',to_date('1/1/1900','MM/DD/YYYY'),4,to_date('8/26/1932','MM/DD/YYYY'));
    insert into student values (1,'D',to_date('1/1/1920','MM/DD/YYYY'),5,to_date('8/26/1994','MM/DD/YYYY'));
    insert into student values (1,'C',to_date('1/1/1920','MM/DD/YYYY'),6,to_date('8/26/1945','MM/DD/YYYY'));
    insert into student values (2,'I',to_date('7/1/1900','MM/DD/YYYY'),3,to_date('8/26/1932','MM/DD/YYYY'));
    insert into student values (2,'I',to_date('8/16/1916','MM/DD/YYYY'),9,to_date('8/26/1923','MM/DD/YYYY'));
    insert into student values (2,'D',to_date('8/16/1916','MM/DD/YYYY'),10,to_date('8/26/1987','MM/DD/YYYY'));
    insert into student values (3,'I',to_date('3/7/1917','MM/DD/YYYY'),4,to_date('8/26/1987','MM/DD/YYYY'));
    insert into student values (3,'D',to_date('7/28/1920','MM/DD/YYYY'),6,to_date('8/26/1945','MM/DD/YYYY'));
    insert into student values (3,'I',to_date('7/28/1920','MM/DD/YYYY'),8,to_date('8/26/1965','MM/DD/YYYY'));
    insert into student values (4,'I',to_date('12/31/1924','MM/DD/YYYY'),2,to_date('8/26/1998','MM/DD/YYYY'));
    insert into student values (4,'I',to_date('6/10/1929','MM/DD/YYYY'),1,to_date('8/26/1943','MM/DD/YYYY'));
    insert into student values (4,'C',to_date('1/17/1927','MM/DD/YYYY'),4,to_date('8/26/1955','MM/DD/YYYY'));
    insert into student values (4,'C',to_date('6/10/1929','MM/DD/YYYY'),30,to_date('8/26/1967','MM/DD/YYYY'));
    insert into student values (5,'D',to_date('2/10/1931','MM/DD/YYYY'),2,to_date('8/26/1943','MM/DD/YYYY'));
    insert into student values (5,'I',to_date('2/10/1931','MM/DD/YYYY'),24,to_date('8/26/1962','MM/DD/YYYY'));
    commit;I need a maximum date value join_date for each department. If max(join_date) has two records for each dept then max(end_date) should be considered. I have used a below select query
    select * from student where join_date in (select
    max(join_date) from student group by dept);which gives me the following result
    1     D     1/1/1920     5     8/26/1994
    1     C     1/1/1920     6     8/26/1945
    2     I     8/16/1916     9     8/26/1923
    2     D     8/16/1916     10     8/26/1987
    3     D     7/28/1920     6     8/26/1945
    3     I     7/28/1920     8     8/26/1965
    4     I     6/10/1929     1     8/26/1943
    4     C     6/10/1929     30     8/26/1967
    5     D     2/10/1931     2     8/26/1943
    5     I     2/10/1931     24     8/26/1962But I am looking for the result which gives me only one maximum value for each dept column. First it should look for maximum value of join_date, if two records has same join_date then max(end_date) should be considered. The result should be sumthing like this
    1     D     1/1/1920     5     8/26/1994
    2     D     8/16/1916     10     8/26/1987
    3     I     7/28/1920     8     8/26/1965
    4     C     6/10/1929     30     8/26/1967
    5     I     2/10/1931     24     8/26/1962Can you please tell me how to rewrite the select query to get the above results.
    Edited by: user11872870 on Aug 2, 2011 5:29 PM
    Edited by: user11872870 on Aug 2, 2011 5:36 PM

    Hi,
    That's called a Top-N Query , and here's one way to do it:
    WITH     got_r_num     AS
         SELECT     student.*
         ,     ROW_NUMBER () OVER ( PARTITION BY  dept
                                   ORDER BY          join_date     DESC
                             ,                end_date     DESC
                           )      AS r_num
         FROM    student
    SELECT       dept, dep_name, join_date, years_attended, end_date
    FROM       got_r_num
    WHERE       r_num     = 1
    ORDER BY  dept
    ;Another way is similar to what you originally posted:
    SELECT    *
    FROM       student
    WHERE        (dept, join_date, end_date)
                   IN (
                        SELECT    dept
                   ,       MAX (join_date)
                   ,       MAX (end_date) KEEP (DENSE_RANK LAST ORDER BY join_date)
                   FROM      student
                   GROUP BY     dept
                   );I suspect the first way (using ROW_NUMBER) will be faster.
    Also, the ROW_NUMBER approach is guaranteed to return only 1 row per dept. Using the GROUP BY approach,if there is a tie on join_date and end_date, then it will return all contenders in that dept. Using ROW_NUMBER, it's easy to add as many tie-breaking expressions as you want, and, if there is still a tie, it will arbirarily pick one of the rows involved in the tie as #1.
    Thanks for posting the CREATE TABLE and INSERT statments! That's very helpful.
    Edited by: Frank Kulash on Aug 2, 2011 9:00 PM
    Added GROUP BY alternative

Maybe you are looking for

  • Can't import tracks from an older version of iTunes

    Since my rMBP has no optical drive I've found a practical use for my old G3 iMac which is for ripping CDs. The G3 of course is only running iTunes 7.6 (the newest version available for G3 Macs) whereas my MBP is running the latest version. I've share

  • Error while execute DTP

    Hi Experts, I create a new key figure on cube, then after this I had a problem when I execute the DTP. Error while updating to target PS_C08T (type INFOCUBE) Message number: RSBK241 I need help for this. Thansk a lot.

  • Figuring out of a step has been completed

    I posted this here since I am using SwingWorker for my threading, but I may have chosen the wrong section like always. First, here is my code:     class Task extends SwingWorker<Void, Void>         @Override         public Void doInBackground ()     

  • END_OF_PAGE in ALV Object model

    Dear all, I am using ALV Object model, but the END_OF_PAGE is not triggering. I have pasted the sample code below. Let me know how to get  END_OF_PAGE  in ALV OM. REPORT  ztest_rr. DATA : it_sflight TYPE TABLE OF sflight. DATA : gr_sflight TYPE REF T

  • Should i install adobe flash player on macbook pro with OSX

    Just purchased my first macbook pro, I am thinking of installing Adobe Flash Player but wasnt sure if this is good idea or not. Any suggestions?