Usb Data Write in Mcb 2300 with labview

Hi
I have mcb2300 board.I want to write datas in usb with labview.How can ı do?
Thanks for answer...
Himmet GENCER
Software Development Coordinator at Teknik Destek Grubu
[email protected]

Hi Himmet,
Here are some examples and documents which may help but you are going to have to use C to program that USB communication through Keil
http://forums.ni.com/t5/LabVIEW-Embedded/How-to-use-USB-interface-with-LabVIEW-Embedded-for-ARM/m-p/...
http://digital.ni.com/public.nsf/allkb/1416FED9DA9F212F862576EB0075EDD6?OpenDocument
http://digital.ni.com/manuals.nsf/websearch/956FF9313C8390E3862574CD00546682
I hope this helps!
Sam S
Applications Engineer
National Instruments

Similar Messages

  • How to update data to excel in runtime with LabVIEW Report Generation Toolkit

    hi,All
         i am using LabVIEW Report Generation Toolkit,and a newer.i want to insert the data in excel for every loop.
         so at first,need to creat a excel file(xxx).and when every loop end,the test data can be insert into the file(xxx).when the test finished,the file will be saved.
         i have seen the examples in LabVIEW Report Generation Toolkit, all of them need to creat a new file.i need update the data in the same file.
         can you give me some advances for that?
         my labview's version is 8.5 and LabVIEW Report Generation Toolkit's version is 1.1.0.
         thanks a lot.

    Hi cat099,
    One question, why don't you store data of each loop, say in shift register and update all data in excel  at once when your test is finished.
    It will be easy. Or else, if you want to build same functionality as you mentioned, then you can build your own vi to write in excel. No need to use report generation toolkit.
    See attached example.
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.
    Attachments:
    write to excel.vi ‏21 KB

  • Does anyone know how to save waveform data (Write to Measurement File) with a variant iteration?

    I'm using LV8.5.1

    I would pull your save data loop to it's own loop then make it event driven like I did in the example. This is just an example and there are probably ways to make the code better and faster but I am just trying to give you an example that we can build on. I am not reall sure what you itterations was for other than to give your loop enough time to save. By seperating the two loops the save no longer depends on the data acquisition loop.
    Tim
    Johnson Controls
    Holland Michigan
    Attachments:
    Parts.vi ‏61 KB

  • Interfacing dolphin 6500 with Labview and windows 7

    Hi,
    someone has created and installed a application of labview in device dolphin 6500.
    I need to develop a aplication for capture data in honywell dolphin 6500  with labview but I have trouble to connect the device with my windows 7 for send the app.
    Any thoughts or assistance would be greatly appreciated.

    Hi,
    http://www.ni.com/white-paper/4577/en/
    Please refer this link. Also please send screenshots of any error messages if you get.

  • Has anyone used a Redlake camera with LabView?

    I can't seem to find any drivers or utilities for the Redlake camera i'm using in my project.
    Only this: http://www.imagemill-tech.com/Redlake/Fr_Redlake.htm
    But there's no info on how to get that VI (I've e-mailed them, of course).
    Any additional information on using the camera with LabView/Imaq would be much appereciated

    It looks like the Redlake VIs from ImageMill allow you to write serial commands to your camera. In LabVIEW, you should be able to write your own serial commands using the Serial Read/Write examples that ship with LabVIEW.
    I'm curios exactly which Redlake digital camera you have. Redlake cameras are often found under the names Roper (their parent company) or Kodak. I suggest going to www.ni.com/cameras to see if there is a camera file written for your specific camera. If not, please go to www.ni.com/ask to contact an applications engineer.
    Kyle V

  • Load cell with labview 6

    Hey guys,
    I have to write load cell program with labview 6, but I have no idea how to do it. 
    If anyone knows, please give some hints.
    Thank you

    If you have little LabVIEW programming experience, the link below would be a good place to start:
    http://www.ni.com/gettingstarted/labviewbasics/
    I've also located a good example on ni.com/community that shows how to monitor a load cell in LabVIEW
    https://decibel.ni.com/content/docs/DOC-2151
    I hope this information is helpful.
    -Nick-
    Nick C | Staff LabVIEW Platform Product Support Engineer | National Instruments

  • How to achieve high usb data rate with cRIO-9022?

    Hi all,
    I read the datasheet of NI-9022 and know that USB data rate can be 480Mb/s.
    I want to transfer data with rate 3.6MB/s which is much slower than the spec, but the result is time out error.
    I check my FPGA and RT code by save to RT disk and the result is pass. So I think my code should be correct.
    Is that because the USB driver not installed into RT?
    Should I install the USB driver into RT?
    Or is there any other issue I haven't find?
    Thanks a lot.

    According to this document: Data Storage Options for CompactRIO, depending on many conditions, such as complexity of processor
    requirements, USB data can be transferred off the controller at
    approximately 700 KB/s.
    Also, you don't need a driver to get a USB mass storage device to work on the cRIO. Have a look at this document:
    Utilizing Features of the USB Port on My cRIO-901x or My cFP-22xx Controller
    Not sure if these issues are causing timeout errors. What happens when you transfer data at lower speeds? Do you get timeout errors then?
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Req any examples of how to use a USB midi controller​/keyboards with Labview TIA

    Req any examples of how to use a USB midi controller/keyboards with Labview TIA

    Hi,
    To access the MIDI ports you will need to call the Windows SDK. To send MIDI commands is relatively easy, here is an example that shows you how to send data to a MIDI controller or keyboard.
    As far as input goes, this is the hard part. There are a series of functions that you need to call to open up the device, set some buffers and and possibly a callback to get notifications on the incoming data.
    Reading MIDI data will not be an easy task, your best bet will be to implement this in a DLL and call that DLL in LabVIEW, there should be some code available o the web.
    = "http://msdn.microsoft.com/library/default.asp?url​=/library/en-us/multimed/htm/_win32_multimedia_... is a link to the Windows multimedia functions that you could use for MIDI input.
    Let me know if you have any further questions.
    Regards,
    Juan Carlos
    N.I.

  • USB 8451 - SMbus with labview: help please

    Dear all,
    I just purchased an USB 8451 and I need to interact with a smart battery using a labview interface. I really need a departure point to build up a VI read/write and finally interact with the battery, and the tutorial on NI website  ( http://www.ni.com/white-paper/5767/en/) seems not too exhaustive to me. I set the I2c configuration property node as specified, but I have some doubts on the adress to put, is it really 1010000 for the smart battery (it is my only slave)... Once this is solved, how to "ask questions" to the battery?
    Could anyone who had the same problem than me post a complete VI I can use as starting point?
    It seems like I must gather much more information about this topic, so, please, any suggestion on how to interact with the battery is welcome....

    Yep, the problem is definitively the adress of the slave (smart battery), which I set to 1010000 as specified in the NI tutorial, but that is not correct, because this is the error message I get when trying to read two bytes:
    Possible reason(s):
    NI-845x: The slave did not acknowledge an address+direction byte transmitted by the I2C master. If you are using ACK polling, consider increasing the timeout. Other reasons include the incorrect address set in the I2C configuration or the incorrect use of the 7-bit address. When entering an address to access a 7-bit device, do not include the direction bit. The NI-845x Basic I2C API internally sets the direction bit to the correct value, depending on the function (write or read). If your datasheet specifies the 7-bit device address as a byte, discard the direction bit (bit 0) and right-shift the byte value by one to create the 7-bit address.
    I also attach my VI 
    Attachments:
    SMbus reading.vi ‏12 KB

  • How to communicate with HID USB device under windows XP with Labview

              I have designed a EZ-USB FX2 device and I need to communicate with LabVIEW. I mean I just want to send and receive data. I don’t know how to achieve this goal.Someone have advised me to design a HID device,then use VISA Driver Development Wizards to generate driver(inf file).SO I defined it to a hid device .However when I connect my hid device to the computer, it will automatically be recognized as HID compliance device. I can’t to install the inf file driver. I wondered whether all HID devices will be acquiescently installed the drivers contained in the windows rather than use the inf file driver generated by VISA Driver Development Wizards? If so,what should I do next to communicate with HID USB device under windows XP with Labview? HOPE TO GET HELP!
              KIVI

    Hi,
    I am working on a project using PIC18F4550 MCU and USB.
    I would need to send and receive data from the MCU thru USB. I have uninstaled the HID and created a new NI-VISA driver for my MCU. this worked fine, and it did showed up in MAX
    Unfortunately I was not able to receive data from the MCU, Just sending!
    I thought to use HID.DLL but the way I need to use the functions inside the HID DLL is simply too much for me, I am not a PC programmer.
    There is any kind of VI that is able to use HID.DLL to comunicate with external devices conected to PC thru USB?
    Please Help
    Andrei

  • How to use USB interface with LabVIEW Embedded for ARM

    Hi everybody.
    I am developing an application based on the "LabVIEW Embedded for
    ARM". Now I am doing various tests using
    the evaluation board 2300 (with NXP LPC2378), but soon I will
    dedicate to program the micro used in my project (NXP
    LPC2148).
    During the tests, I have seen that "default" LabVIEW interface allows the use
    of CAN, I2C and SPI interfaces of the micro. I want to know how can I also use the
    USB interface that is on the micros -both LPC2148 and LPC2378- (pin USB_D + / D-, USB_UP_LED,
    USB_CONNECT, VBUS).
    Thanks in advance for your suggestions

    @chueco85
    If you've created an application in LabVIEW for ARM and you build it.
    you can go to tools >> ARM Module >> Show Keil uVision
    then go to he build options.
    the hex file will be created when you do a build.
    with flash magic :http://www.flashmagictool.com/
    you can program your device.
    Wouter.
    "LabVIEW for ARM guru and bug destroyer"

  • Problem With Nokia 6300 USB DATA CABLE OPTION Not ...

    Hi, I have a Nokia 6300 v.5.00. My problem is when
    I connect my phone using a mini usb cable to the pc, USB Data Cable option on my phone is not highlighted, so I can't use the pc suite mode functions etc. I tried 3 different computers with Windows XP SP3 and 3 different good quality mini usb cables but still to no avail. The options like data mode, nokia pc suite mode still doesn't seem to appear. I also tried different USB slots in these 3 computers still no luck. Can anybody tell me what's the problem? Is there something wrong with IC on my phone or something? What drivers do I need? This is my first time using the mini pop port on THIS phone, I've been using bluetooth to transfer files but it's so slow. Please help

    Hey guys there is a solution with you problem and it works fine for me now. After all the comments & suggestions i read i finally got the best solution for all of you. This can be very simple. Try to install the Nokia PC Suite v7.0.2
    in your pc after that try to search & find the Nokia USB connectivity cable driver v6.8.2 in the web if u get it. Then uninstall the usb connectivity cable driver v7.0.2 in the CONTROL PANEL ADD/REMOVE after that install the "usb connectivity cable driver v6.8.2 in ur PC then try to plug in your Nokia 6300 it will install automatically ur phone. PRESTO your unit can be now Recognized of your PC.
    THAT's ALL FOLKS!!!

  • WIth LabVIEW how do I control an instrument with a RS232 output, using a RS232 to USB converter cable.

    WIth LabVIEW how do I control an instrument with a RS232 output, using a RS232 to USB converter cable since I dont have rs232 ports. I have two instruments that I want to control in this manner. One is an Imada ZPS force gage with RS232 output. The other is a Panasonic HL-G103-S-J laser micrometer sensor which is RS422. I've done considerable LabVIEW programming using GPIB but I have no experience with devices like these. Any tutorial or examples would be greatly appreciated.
    Thanks.
    Solved!
    Go to Solution.

    I understand that you want to control a device which having RS 232 port as output. If so, you can use an USB-RS232 cable from PC to device and you can control or monitor the device.
    See this link http://zone.ni.com/devzone/cda/epd/p/id/2669
    Also, first check the device in hyperterminal and then continue to program in labVIEW. You can find the serial VI's in Instrument I/O.

  • Nokia 6124 classic wont work with the USB Data Cab...

    Hi all,
    I'm trying to connett Nokia 6124 classic but its not working with the USB Data Cable. Is there a way to fixing it yourself?
    Thanks
    Jonathan 'Jonnie'

    You should install the drivers first before connecting your phone. Drivers are bundled in with pcsuite/ovi suite which can be downloaded from here.

  • How to write export dump commad with no datable data only table structure.

    How to write export dump commad with no datable data only table structure will there and command for hole schma.
    e.g. export dump command for scott schema and all table within scott schema in it no table data should be exported.

    If I understand the question, it sounds like you just need to add the flag "ROWS=N" to your export command (I assume that you're talking about the old export utility, not the Data Pump version).
    Justin

Maybe you are looking for

  • Takes a long time to start

    My Zen Micro 6 GB takes a long time to start up (aprox. -2 minutes). This is not the end of the world but it is annoying. He started doing this 2 days ago, have it for half a year. I did the cleanup, but before I format the thing I want to be sure th

  • Find Friends app keeps saying "location not available" on iOS7?

    After I updated my 4S to iOS 7, Find Friends will not actually find the person, it just pops up with "location not availble" everytime. I have tried restoring the phone, logging out then back in, and deleting the app then redownloading it and nothing

  • MiniDisplayPort out to DVI problems

    I bought a Mini DisplayPort to DVI cable from Monoprice, and it has some problems. I'm connecting it to a Gateway 1920x1200 monitor. If the resolution of that monitor is set to anything lower than 1280x960, everything works fine. If I go above that,

  • How to avoid trigger acitonListener for other dorpdown lists

    Greetings; In a JSF page I have two h:selectOneMenu, each has a biniding to its own valueChangeListner. The problem is when I change the value of the first dorpdown list it fires the valueChangeListener for the other dropdown list. I don't want to ha

  • G560 Keyboard Problem

    In all my games, including browser based flash games, I've found a rather annoying keyboard problem. Whenever I hit a key, the computer believes I have hit a nunber key. If I only hit one key over and over, it cycles through numbers. So if I hit "W",