Connect LabVIEW with a via USB pic 18f4550

Hello everyone, as the title suggests, I would like to have communication with the PHOTO above, in order to to use as a sort of buffer control. Nothing complicated or fancy, I would use it as a sort of buffer, with LV, do all the calculations and lifting heavy objects, while the PEAK only manages communication and nothing else. Specifications are:

-I would like to order 2 Motors step by step, I already have the drivers who are driving binary pulses (1 pulse = 1 step)

-May or may not require an analog (0 - 5V) encoder feedback, so for now, let's assume that Yes

-As mentioned, nothing complicated like PID or advanced control in the PIC, just send and receive some movement, LV will do most of the work as it's the only one I'm more familiar with

-I am well informed, but not particularly good in programming C (not my cup of tea), but I'm pretty adept at BASIC, my particular environment is PIC Simulator IDE of Oshonsoft and his recent iteration, the Basic compiler.

I've done a substantial amount of research, but most of the info is pretty obsolete, and most of the download links no longer work. I know I should use General dll of Microchip (already had), but would like to know if someone has done something similar, or could give me a starting point. I also read the white paper found here: http://www.ni.com/tutorial/4478/en/#

So basically, if anyone has the tracks on a good starting point, tutorials, I have to take or bases miss me, they would be welcome. Thanks to a bouquet.

I think it would be simpiler using a virtual COM port device such as the ones FTDI

Then schedule a connection series on your PIC and just use VISA in LabVIEW to communicate with the captain like communicating with any other serial device.

Tags: NI Software

Similar Questions

  • EPC2203 modem cannot connect to the Mac via USB?

    I searched all threads and you can't find something to solve my problem.

    My ISP sold me the modem Scientific Atlanta EPC2203 cable recently. I can't connect it to my Mac (10.5.7) via ethernet no problem at all. But I can't get a connection via a USB port. The modem operating manual mentions for Mac OS X USB connectivity, but does mention all the details on how to establish the connection: we talk about the installation of PC drivers. Supplied with the modem installation CD only applies to the PC, it seems that I have to take extra steps such as installing a Mac driver? I couldn't find the Mac drivers adapted on internet, then I start to think that this modem is not simply done to connect to the Mac via USB?

    Any help is very appreciated.

    To make your Modem work with USB connectivity, you must install the Modem drivers on your computer. You can try to search for the Drivers that works on the MAC computer or else you can contact the support Tech Atlanta, because they can let you know where you can find the drivers for your Modem. Or well you googled around and you can find the drivers for your Modem which are Compitable MAC.

  • Pictures of blackBerry Z10 BB Z10 disappeared when connected to the PC via USB Phone model z10 STL 100-1

    Help on unit Photos and videos not Visible when connected to the PC via USB. I also tried to restart and reinsert the SD card but no response what happens each time I take pictures and try to transfer to the pc via USB please help to recover the photos suggest something?

    ampawase wrote:
    Help on unit Photos and videos not Visible when connected to the PC via USB. I also tried to restart and reinsert the SD card but no response what happens each time I take pictures and try to transfer to the pc via USB please help to recover the photos suggest something?

    "A wireless connection with the mixture, use the file manager, hold Media Card - Photos - 'Shift' or ' Ctrl ' key - select thumbnails - right-click - Save slot - selecting a folder on the pc and save them.

  • HP 50 g - PC connection series with adapter Series USB and null modem troubleshooting

    I have the calculator correctly connected to my laptop via a USB series adapter, which is plugged into a null-modem adapter, which is plugged into the serial cable sold on HP Calc.org specifically for the HP 50 g. I started XModem on the calculator, but Conn4x found nothing. Is the process different from that used for USB and Conn4x connections? The problem could be with the USB Serial Driver. I use the default MicroSoft driver installed to connect? Are there tests I can run to determine if the adapter is broken, or the computer or calculator. Thank you very much in advance for your help!

    I already tried the following:

    • The two indicators relevant system are correct for the serial communication
    • Tried to reinstall the driver
    • Google for any relevant information that is extremely rare
    • Tried with two Xmodem Kermit servers running on the calculator, press 'Connect' on Conn4X.

    Hi!, Ranothil:

    If you have the following cable "null modem" (http://commerce.hpcalc.org/serialcable.php), you can transfer, all

    data, HP50G, to the PC and vice versa, throughout the connection Kit (Conn4x), without issue.

    Please, see this link, to education, to transfer data with the serial null modem and connectivity kit cable... http://sense.NET/~Egan/SKB/ or... http://www.hpmuseum.org/cgi-sys/CGIwrap/hpmuseum/archv017.cgi?read=125259

    Note: best if you transfer data, HP50G, PC and vice versa, through the microUSB.

  • HP LaserJet MFP M425dw 400 pro: cannot connect to the printer via USB

    Hello

    My problem is as follows:

    Since December 2014, the HP printer has been connected via USB to the desktop (at the time using windows 8.1) and by the network to other computers. The problem is with the 10 windows desktop where it is widely used for double-sided scanning.

    Yesterday morning I came only to find out that HP will not work in no case with Office for Windows 10 USB - connected, changed the ports that are 6, the cables, the office will say it is not connected. However, it connects through network for printing but not scan, it gives an error about Scanner HP not connected but will scan with Windows Scanner and fax with the printer using the scanner for the work of network folder - which can not scan two-sided.

    I uninstalled the driver, reinstalled with HP Support Assistant / downloaded directly from HP, same thing. The problem is that it be increased to 99% on the screen that shows the connection to the printer (the one detecting the USB cable) when it will say:

    "

    Error

    A Setup operation took too long to run. It is a fatal error, preventing the use of the product.

    If please restart your computer and run this installer again. If the problem persists, please visit the web site of product support for your product. »

    I tried the original shipped with the printer CD, it gives the same error message.

    If anyone can help I will be very grateful. Thank you!

    Too bad! Fixed it myself using the Hp Smart Install supplied with the network interface of the printer.

  • Connect labview with proteus

    How to connect labview to proteus in order to send commands to the microcontroller AVR, there a useful link or source code?
    I've heard talk about VISA can you help me with a code example or source?

    I don't know anything specific to the APR, but Finder of LabVIEW example has many examples on the realization of serial communication ("Help-> Find examples.." then look for series). If you know the Protocol, then you can use the samples to create right necessary read and write commands.

    Also a quick search on Google for 'Labview APR' had this as the top most successful:

    http://forums.NI.com/T5/instrument-control-GPIB-serial/interfacing-AVR-with-LabVIEW-serially/TD-p/22...

  • HP Pavilion 400-314: HP Laserjet 6 p printer with ppt1 via USB port

    Replaced the older HP Pavilion XP with LPT1 to USB for connection of printer which worked well.  Can't get the same configuration to work with HP400 & Win 8.1.

    Hello

    Because of cable/driver not compatible Windows 8.1. I hope that new cable helps:

    http://www.hiconn.NET/product/product48.html

    Note: Make sure you can return the cable and get your if money back the cable does not work. Please note: no driver for the 6 p.

    Kind regards.

  • BlackBerry software please update link (or the BONES of BB10) connection to connect to a device via USB with Powershare BB10

    After reviewing many topics:

    https://supportforums.BlackBerry.com/T5/BlackBerry-link/BlackBerry-link-no-device-connected/m-p/2515...

    https://supportforums.BlackBerry.com/T5/BlackBerry-link/link-won-t-recognize-Q10-on-Mac/TD-p/2912982

    http://forums.CrackBerry.com/BlackBerry-link-F300/BlackBerry-link-Windows-8-1-cannot-recognize-black...

    I discovered that the problem of not recognizing device with link performed from USB (2.0 and 3.0) port with Powershare function.

    I don't think it was the problem of the computer (laptop) with this feature because it will be a trend now.

    So please update link or BB10 OS this link can recognize peripheral BB10.

    We look forward to good news from Blackberry!

    After the 10.3.0.1418 (sunk), now the link and my BB Q10 is connected!

    Thanks to the 10.3

  • interaction with chip via usb-6009

    I know that the title is somewhat ambiguous. My problem is the following:

    I am using an optical mouse as a tool to measure position. I use a chip ADNS-2083 (did not have much luck to find the datasheet, someone else got the chip before you check around the news available.) and I'm following an instruction manual on how to make this project very, only that it uses Arduino and LEGO NXT instead of Labview. I have at my disposal a USB-6009 device, which is connected to the + 5V and GND, SDIO, SCK pins on the controller chip. For the record, I'm using Labview 2009.

    Now, the mouse is powered and as such, the LED light up or what - not. However, I don't know how to pass information to the chip via SCK and SDIO. My programming experience is limited, and I never have this type of electronic products.

    What I want to know is how to pass 7-bit addresses to SCK and SDIO for control both, and what are the best ways to accomplish this through Labview.

    Thanks in advance a ton.

    PS: I have attached the pdf file of the manual mentioned above.

    cosmicomics,

    A quick look at the tutorial that you talk it seems that ICR optical sensor mice using I2C.  You will not be able to use the 6009 to I2C communication, instead, you can use the USB-8451, designed precisely for this purpose.

    Please let us know if you have any other questions.

    Kind regards

    Sam K

    Technical sales engineer

    National Instruments

  • How to increase the processing speed by connecting to another computer via USB - USB cable

    Share laptop processing power. Windows 8, Windows 7

    Hello

    I was wondering if I could increase my processing power by connecting a portable alternative to mine via a USB to usb cable. If anyone knows how I would go to do that, or if it is possible I would like to know. I searched on google but not found all the answers.
    If this can help, my laptop is running Windows 8 32-bit preview developer, and the portable alternative is running as Windows 7 Ultimate 32 bit.
    Any help would be greatly appreciated.
    Thank you very much
    Mike

    Hi MichaelSenior,

    You will not be able to increase the power of a computer processing by connecting it to another computer via a USB cable or by any other means.

    In order to increase the processing power of your computer I suggest you check with your computer manufacturer to see if you can pass any hardware on your computer.

    Example: Increase the size of the memory on your computer or upgrading the processor etc...

    Hope this information helps you.

  • Satellite L30: Connection to a printer via USB Windows XP

    Hi all

    I'm trying to connect my printer (Brother MFC 9070) to my Satellite L30 and it does not work. Can I use the USB interface to connect the printer to the laptop under XP? I've read that USB can be used to connect the printer to Mac OS, but if not, how should I connect the printer as good old parallel interfaces do not exist on the new mobile no more? Who can help?

    Thank you!
    Dieter

    Hello

    Please check this similar topic about connecting printer parallel to the computer via the USB interface.
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=17425

    In this topic, Jeffrey suggested that it s a good idea to test the USB-parallel adapter > before buying because not each adapter will not work.

  • How to connect cRIO with computer via cross cable

    I want to connect cRIO 9012 with my computer via cross cable and my computer with internet connection via WI - FI and I want to send messages through cRIO so cRIO uses my connection to the internet the computer to send mail.

    Here I have 2 connections 1. Wireless LAN connection IE between cRIO, computers and 2) between my computer and the internet. Now, I want to send a mail through cRIO via my computer.

    Thank you.

    This will get you started with the establishment of the link connection:

    http://digital.NI.com/public.nsf/allkb/4E13E46226E67642862576A4007BC353

    For what is to turn your desktop into a gateway for the cRIO, I've never tried, but it might work for you:

    http://support.Microsoft.com/kb/306126

    Please let us know how it goes!

  • iPhone not charging when connected to the computer via USB

    Original title:

    I use windows 7, when I connect my iphone to laptop, it does not load .i don't know it's because of device drivers not installed.when I connect my phone to another laptop its load.  Thank you

    Hello

    1. are you facing problems with USB devices?

    2. that you get an error? If Yes, what is the exact error message?

    3. is your phone detected in iTunes?

    4. doesn't Windows detect the iPhone as storage medium?

    5. are you aware of any changes made to the computer, before the show?

    Method 1:

    Run the hardware troubleshooter and check the issue.

    Open the hardware and devices Troubleshooter

    http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-Troubleshooter

    Method 2:

    Try to plug it into a different USB port and verification.

    Method 3:

    Check out the following link.

    iOS: device not recognized in iTunes for Windows

    http://support.Apple.com/kb/TS1538

    I hope this helps.

  • BlackBerry Smartphones has tried to update the device software, now unable to connect to the device via USB

    I tried to update my 8100 to the 4.5 software.  I first updated the desktop to 4.7 software, then tried to update the device, but the process has failed.

    Now, when I open the Desktop Manager it shows not connected to the device.  I can go to the properties of the device mamager and select the balckberry, but when I return to the destop eat it says no device.

    It seems that whatever I do, it does not recognize the usb device.

    The display on the 8100 is company information only text, no graphics or by phone, and it is virtually unusable.

    There are options on the screen for some applications, but if I choose them, it says app not found.

    Is there a way to force an update to it?  Or I poohed this phone?

    Thanks in advance

    Edit:

    I pulled the battery on the device it reboot and tried to return to a former Office Manager Update

    1. unplug BB from USB and PC. Restart the PC turned off completely.

    2. for BB, you'll charge back to the theme that was used on the device when you upgraded, which will normally give you a black and white screen. You must follow the instructions below.

    You will need to use JL_Cmder to wipe the device and then load the operating system on the device. Follow the instructions here:

    http://www.BlackBerryFAQ.com/index.php/How_do_I_wipe_the_BlackBerry_using_Jl_Cmder%3F

    If JL_Cmder does not work, follow this instruction:
    http://www.BlackBerryFAQ.com/index.php/What_to_do_next_if_Jl_Cmder_will_not_connect_and_wipe

  • Connecting to the blackBerry via USB Smartphones PC turns off

    Hello

    I checked the option 'don't ask me' when connecting to my PC using the USB cable, thinking that it would connect every time, but it doesn't connect at all now and I could not find where I can turn on this option to please help

    Thank you

    AL

    You are welcome.

    The setting you are looking for is in the settings, then Options under memory. There, you will find "Auto enable mass Storage Mode when connected.

    Hope this is what you are looking for.

Maybe you are looking for