USB Raw

Bonjour, j'ai besoin d'aide.
Je souhaite faire communiuer Labview (ver.2012) avec un pic (18F4550). 
En consultant le tutoriel de NI qui indique qu'il faut auparavant configurer le matériel USB RAW, en suivant la procédure suivante:
"Pour ouvrir DDW, sélectionnez Démarrage»Tous les programmes»National Instruments»VISA»VISA Driver Developer Wizard. La Figure n°1 montre l'écran d'ouverture.
Le problème c'est que je n'ai pas trouvé cette application "VISA Driver Developer Wizard". Le dossier VISA est vide.
Comment faire pour l'installer ? Merci bcp pour votre aide

Bonjour,
Avez-vous installé NI-VISA?
link: http://www.ni.com/download/ni-visa-14.0/4722/en/
Lors de l'installation, il faut bien activer "Driver Development"
Cordialement,
Jovan N. - Application Engineering

Similar Messages

  • USB RAW Control Communicat​ion in LabVIEW

    Iam trying to open the zipped file by NI "USB RAW Control Communication in LabVIEW".The VI is attached below.It recognized my raw device in VISA Resource Name.Iam using a pendrive.But while running it shows an error 'VISA:  (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.'I learned this problem from some discussion forums in labview,but can't find a solution.Plz help.Post your valuable suggestions........Also in that example how we will give the request,request type,value,index etc:-.What does it indicates?
    Thanks as kudos only
    Attachments:
    USBRawControl.vi ‏152 KB

    STOP creating multiple posts for your question!
    http://forums.ni.com/t5/LabVIEW/Requirements-to-re​ad-from-a-USB-port/td-p/1959445

  • Computer doesn't recognize USB-Raw device

    I have followed EXACTLY the same procedure for setting up a USB Raw device for VISA control as described on the NI support website. I am using VISA v3.2. But when I plug in my USB device, the driver that it associates to the device is the USB HID driver which is not what I want. I have been able to setup the same device on other identical computers (OS, VISA version, etc. was the same) without issue. I have tried multiple times going through the process after removing all USB HID drivers but have not had any success. Any ideas?

    Hi ee_engineer,
    Just to make sure we're on the same page, are you using the procedure detailed in the following link?
    Knowledge Base 325APJ2Y: How Can I Communicate With a Device Using NI-VISA USB RAW Mode?
    It sounds like you are experienced with this procedure, so I am not sure without more information the reason that the process is not working in this case. A few recommendations I have are to ensure that you are using the correct VID and PID in the Device Driver Development Wizard, and that it is being saved in the correct place (the Windows INF file). Once this is accomplished, the device should then be detected as a new hardware with NI-VISA as the driver. If you have any further specific questions regarding this, please post them and we will continue troubleshooting this.
    John M
    Applications Engineer

  • How do you communicate with a USB RAW camera

    I have a USB camera which I am trying to control using LabView. I have followed the tutorial, Using NI-VISA 3.0 to Control Your USB Device, and the device is now recognized by MAX. The device came with demo software allowing me to control it through the PC, i.e. change exposure controls, white balance controls, tell it to stream video and when to capture a still image. All I really need to do with LabView is load initial settings to the camera, tell it when to begin streaming video, tell it when to take a still image, and tell it when to stop streaming video, but I have no idea how to talk to the camera from here. For example, I am not sure if my device uses Bulk, control, or an interrupt pipe, and I am not sure how I can read and write from my device even if I knew the appropriate pipe or endpoint. I also noticed that the "VISA USB RAW Control" VI has fields such as "request", "request type", "index", etc. I read some notes trying to figure out what these meant, but I couldn't find anything. With all that said can anybody name any tutorial/article(s) I should read that will help point me in the right direction?  Any help will be appreciated.

    Hello kd,
    Dennis pointed you to the correct link.  You will need the NI-IMAQ for USB Cameras driver to acquire images from a DirectShow USB camera into LabVIEW.  As you can see from the attached table image, you will need the NI Vision Development Module 8.5 for LabVIEW 8.5.  You can determine which version of the NI Vision Development Module that you have installed by opening the NI Measurement and Automation Explorer, expanding the Software section under My System, and looking for an item called "NI Vision."  By single-clicking on the NI Vision item, you will bring up information, including the version number, in the Attributes tab off to the right. 
    Best Regards,
    T. McCarty 
    Attachments:
    APImap.png ‏16 KB

  • Acquiring and plotting data from USB raw

    Hi,
    I am new to Labview. I have a 3rd party RFID
    device which i intend to acquire the frequency waveform from the device
    through using Labview. Since as a beginner, i use the spectrum analyser
    in the "example" section to start off with and now has error in getting
    the correct Visa USB raw to connect my device. The program intiallly
    used Visa instrument as the visa resource name but when i changed the
    input to the USB raw input there is a class conflict error that says
    "You have connected a refnum of one type to a refnum of another type and
    both types are members of some class hierarchy, but there is neither a
    simple up cast nor type cast between the two classes." 
    For the
    USB raw setting, i have already configured the device using the
    NI-driver wizard to install the USB raw and tested it through the MAX.
    So now i believe the problem should be wiring of USB raw to the entire
    spectrum analyser example. Attached is the spectrum analyzer example.
    Really hope to get help on this matter. Thank you. 
    Attachments:
    Template - Spectrum Analyzer Acquire Trace.vi ‏25 KB

    The example you posted is based on serial port communication. From your software point view, everything is based on RS232. This is quite common in instrumentation. As RS232 is simple compared to USB. The software driver on your host PC emulate a virtual RS232 port.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Spectrum analyser for USB raw

    Hi,
    I am new to Labview. I have a 3rd party RFID device which i intend to acquire the frequency waveform from the device through using Labview. Since as a beginner, i use the spectrum analyser in the "example" section to start off with and now has error in getting the correct Visa USB raw to connect my device. The program intiallly used Visa instrument as the visa resource name but when i changed the input to the USB raw input there is a class conflict error that says "You have connected a refnum of one type to a refnum of another type and both types are members of some class hierarchy, but there is neither a simple up cast nor type cast between the two classes." 
    For the USB raw setting, i have already configured the device using the NI-driver wizard to install the USB raw and tested it through the MAX. So now i believe the problem should be wiring of USB raw to the entire spectrum analyser example. Attached is the spectrum analyzer example. Really hope to get help on this matter. Thank you. 
    Attachments:
    Template - Spectrum Analyzer Acquire Trace.vi ‏25 KB

    duplicate post: http://forums.ni.com/ni/board/message?board.id=170&message.id=489189

  • USB RAW: Interrupt Out Transfer

    Hello,
    How exactly would I execute an interrupt out transfer? Seems like all example code I can find is for LabVIEW versions that are newer than the version I have (8.5). Can anyone at least post some examples that work with 8.5
    Thanks

    crazyjay,
    Exactly which of those examples in that forum post do you want saved back?  You can achieve this by taking a look at this KnowledgeBase: http://digital.ni.com/public.nsf/allkb/457E3ADD7D2C1E7486257323007BAC0D?OpenDocument .  The screenshot on that KnowledgeBase shows the code you'd need to create in LabVIEW 8.5.  Just use a USB RAW property node and select USB Settings»Out Pipe to get the same property node as in the screenshot.
    Eric B.
    National Instruments

  • Connection USB RAW

    Bonjour,
    Puis je utiliser la fonction "VIpeek 8" ou "VI in 8" avec une connection USB RAW ?
    Si non, comment puis je faire pour récupérer des valeurs à certaines adresses d'un automate TSX sans changer le mode de connection ?
    Quelles sont les fonctions a utiliser ?

    Bonjour,
    Merci d'avoir posté sur le forum National Instruments.
    Pourriez vous me donner plus de détails sur votre application, ce que vous souhaitez faire ?, comment le mettez vous en oeuvre ? (spécifiez quel matériel et logiciel vous utilisez)
    Aussi vous parlez des fonctions "VIpeek 8" et "VI in 8", vous faites référence a quelle Bibliothèque ou quel Driver ?
    Cordialement,
    Ludovic R.

  • USB RAW wildcard designation

    This resource string used to work under XP:
    status = viFindRsrc (SessionUSB, "USB0::0x104D::0xCEC7::NI-VISA-*?::RAW",VI_NULL, VI_NULL, USBDesc);
    Using windows 7 and LabWindow/CVI 2009 Version 9.1.1 the wildcard *? designation no longer works and I must specifically include and recompile a unique serial number. Is there a wild card designator for Win7 and LabWindow/CVI 2009 ?
    Thanks

    I was able to get the wildcard to work on my Windows 7 x64 / CVI 2013 system. 
    Please try running the example C function located here:
    ftp://210.123.36.53/VXIpnp/WinNT/NIvisa/Examples/C/General/FindRsrc.c
    and tell me what the output from your console is. 
    The example calls viFindRsrc with the parameter "?*INSTR", which for me returns the resource ASRL1::INSTR, which is the lone serial port in my computer. 
    Does manually entering your USB resources serial number cause the program to function as expected?
    Nathan M.
    Applications Engineer
    National Instruments

  • Usb raw multiple endpoints

    I have a device with 2 different endpoint INs, using interrupt transfer.  How do I specified the endpoint number?  I'm using Labview 8.5.  The USB interrupt IN VI doesn't have a field to specified endpoint number.   
    Thanks in advance,
    Sinh

    you can use USB Settings:Bulk-In Pipe
    Right click on the property node and go to Select ClassISA/O SessionSB Raw.  Then you can left click on the word property and select USB SettingBulk In Pipe

  • USB (Raw) - How to access VISA property: USB Bulk-Out pipe?!?

    I'm trying to use my own USB device. Since I'd like to use more then one USB In/Out Endporint I need to change that Atribute in NI VISA using LabVIEW (afaik. NI VISA uses the lowest Endpoint Number as defualt).
    According to LabVIEW 7.1 Help > VISA > I/O Session there is a VISA property which should be accessible via VISA Property node. That Property should be SUB Settings:USB Bulk-Out Pipe and USB Bulk-In Pipe.
    Hoewever when schaning through the available properties I only get the following 4:
    USB Intfc Num, USB Max Intr Size USB Port, USB Serial Num
    How can I cahnge the Property USB Bulk-Out Pipe ?
    Thanx,
    Rainer

    Thanks a lot - I knew it must have been some stupid small detail I didn't know ;-)
    Thanx,
    Rainer
    Message Edited by rrawer on 08-26-2005 11:25 AM

  • Some question about communicating the usb RAW device

    I have some question about USB communication: I want to make my VI communicate
    TI-DSP by USB, now, the driver of USB on DSP have done, and  there are a test
    program writen by VC and a driver fold(with a .inf and a .sys files), when I
    install the driver and run the test program, the driver program on DSP run
    regularly. And then I want to program a VI which have the same function as the
    test program, so I unload the driver on PC firstly, then install the DSP in
    NI_VISA according to "Using NI-VISA 3_0 to Control Your USB Device - Tutorial -
    Instrument Drivers". When I sent the standard control request using the VISA test panel, the status below happened. I don't know what wrong with my step.
    Dev  Phase  Data                       Info           Time   Cmd.Phase.Ofs    
     15  CTL    80 06 03 00 - 00 00 04 00  GET DESCRIPTR  5.2sc        56.1.0       
     14  CTL    80 06 03 00 - 00 00 04 00  GET DESCRIPTR   11us        57.1.0       
     14  USTS   00 00 01 c0                canceled       2.0sc        57.2.0       
     15  USTS   00 00 01 c0                canceled         5us        56.2.0 
    PS: the software I use to capture the data is BUSHOUND
    1、Do I have to install the .sys driver file in VISA? How can I install the driver file without losing the device in MAX?
    2、Someone told me it must be done by calling .dll fies in LV, but I want to know if LV can program the function directly without calling .dll file?
    Thank for any reply~~!

    逍遥浪子 wrote:
    I have some question about USB communication: I want to make my VI communicate TI-DSP by USB, now, the driver of USB on DSP have done, and  there are a test program writen by VC and a driver fold(with a .inf and a .sys files), when I install the driver and run the test program, the driver program on DSP run regularly. And then I want to program a VI which have the same function as the test program, so I unload the driver on PC firstly, then install the DSP in NI_VISA according to "Using NI-VISA 3_0 to Control Your USB Device - Tutorial - Instrument
    Drivers". When I sent the standard control request using the VISA test
    panel, the status below happened. I don't know what wrong with my step. Dev 
    Phase 
    Data                      
    Info          
    Time   Cmd.Phase.Ofs     --- 
    -----  ------------------  15 
    CTL    80 06 03 00 - 00 00 04 00  GET
    DESCRIPTR  5.2sc       
    56.1.0         14 
    CTL    80 06 03 00 - 00 00 04 00  GET
    DESCRIPTR   11us       
    57.1.0         14 
    USTS   00 00 01
    c0               
    canceled      
    2.0sc       
    57.2.0         15 
    USTS   00 00 01
    c0               
    canceled        
    5us        56.2.0  PS: the
    software I use to capture the data is BUSHOUND 1、Do I have to install the .sys driver file in VISA? How can I install the driver file without losing the device in MAX? 2、
    Someone told me it must be done by calling .dll fies in LV, but I want
    to know if LV can program the function directly without calling .dll
    file?
    This thread
    contains already a related answer and explains what a sys driver is.
    While you could theoretically use the Call Library Node to call all the
    necessary Win32 API kernel functions to connect to a device driver,
    this would be very cumbersome and not doable without a real good
    understanding about C programming. Writing an interface DLL instead
    won't need more C programming knowledge at all but will give you a
    clean interface to that device driver which eventually could be used in
    other programming environments as well.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Communicating with HID Class using USB RAW

    I'm attempting to communicate with a HID class USB device (not a keyboard or mouse).  I've gotten the USB device to enumerate (with some significant effort) as an NI VISA USB device by using the Driver Development Wizard.  I know that I'm supposed to use interrupt transfers to endpoint 1 (index), the Set_Report HID request is 0x09, and the HID decriptor type is 0x21.  I think the value arguement on Control OUT is 0, but I'm not sure.  It seems like I've thought of everything, but the device still does not respond.  I see stuff happening when I probe the bus.  Has anyone done anything like this before?  Are you supposed to use the USB Control OUT VI for an interrupt OUT request?
    See attached .gif of code.
    Thanks,
    Brandon
    Attachments:
    USB_HID_Code.GIF ‏15 KB

    The first answer would be if it doesn't do it when something is one way, then do it that way. Seriously though, what do you mean by corrupted? Gaps in data? How fast are you transfering data? It may be that the processor just isn't keeping up, the UI thread for LabVIEW can take up a fair amount of processor, as do most visual "events" in Windows. It may be that the structure of your data transfer part isn't able to keep up when there isn't enough processor available. There are ways to write LabVIEW code that is more efficient that a similar function written differently. What are you running this on, a multi-core machine by any chance? If yes, then it might benefit from LabVIEW's ability (in the most recent versions) to select which core to run on.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • What shall I put in the "device reference in" in the Read.vi?? for my USB-8451, where I found the name to be USB0::0x3923::0x7166::01349C20::RAW??

    as title
    what shall I put in the "device reference in" in the Read.vi?? for my USB-8451, where I found the name to be USB0::0x3923::0x7166::01349C20::RAW??
    i put the whole name in and it keep telling me
    Error -301706 occurred at NI-845x I2C Read.vi
    NI-845x:  The device reference is invalid. Verify that the supplied device reference contains a valid device name.
    Thanks!

    Chihway,
    I apologize for misreading your post the first time around.  Dennis is only half correct in this case.  The USB-8451 is supposed to show up as a USB-RAW device in MAX, but you do not have to run the driver wizard to create an interface to it.  In Measurement and Automation Explorer, select the USB-RAW device under USB Devices and create a VISA alias (I always use 8451) by typing it in the "VISA Alias on My System" box.  You should then be able to use that alias for all communication.  I hope this post helps a little more than the last one!
    Sincerely,
    Chris G in AE

  • Mandriva 2009: trying to use a raw USB device through VISA

    Hi,
    I'm a real beginner at Unix, so please be patient :-)
    I have just installed Mandriva 2009 and LabVIEW 2009 on my laptop. My objective is to drive a USB raw device.
    I went through some difficulties to install NI-VISA 4.5 and solved them by browsing in the forum. Some issues remain:
     - As I am not familiar with Unix, I am not sure to understand what "usbfs should be mounted with devmode=0666". Could someone tell me the rigth command line to enter?
     - When running AddUsbRawPermissions.sh, I am told that /etc/hotplug cannot be found. Reading the script, I saw that it is looking for /sbin/udevcontrol. I don't have it, I only have under /sbin the "udevadm" and "udevd" executables.
     - When running the VISA driver wizard, I only have access to PXI/PCI. Maybe it is related to former points.
     - When trying to launch the VISA Interactive Control, I get a nice bouncing cursor animation, but nothing else.
     - When trying to use the "VISA Find Resource" VI, Labview just crashes.
    Thank you in advance for your answers.
    Achille
    Message Edité par Achille Taylor le 08-11-2009 11:01 AM

    Hello,
    First command line generated an error (translation from French: mount: you must specify the file system type). Second command line seemed to work. At least it didn't cause an error. Therefore I went ahead and tried the AddUsbRawPermissions.sh script, leading to the same error: -Cannot find "/etc/hotplug".-
    Besides, VISA Driver Wizard and VISA Interactive Control still behave the same way.
    Regards,
    Achille

Maybe you are looking for