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

Similar Messages

  • PLC Communicat​ions with Labview

    How do I view and record data from my plc to labview, currently we are using autmation directs DL205 with the 260 processor

    If the DL 205 communicates through the Modbus protocol, you could use the Modbus library. This library consists of a bunch of VIs which can be used for Modbus communication. Think of them as advanced Serial read/write VIs. However, if you are looking into monitoring, datalogging and controlling the registers, then I would recommend the LabVIEW Datalogging and Supervisory Control Module. Using shared variables, you can then easily bind, control and talk to the registers and most of the work is taken away from you.
    If the DL 205 doesn't communicate throught the Modbus protocol, then you would need an OPC server (like the NI Industrial Automation OPC Servers) and the LabVIEW DSC Module. You can then communicate from the LabVIEW DSC Module with the OPC server.
    Message Edited by Adnan Z on 03-15-2007 10:27 AM
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Using existing c code for usb-hid communicat​ion in labview

    Hello,
    I want to write a simple temperatrue logger using labview and a external hardware which communicates over usb-hid. The external hardware uses an ATMEL 90USB162 µC and DS18B20 sensors.
    Link to the hardware:
    http://www.diamex.de/dxshop/USB-Temperatur-Sensor-​Tester-fuer-DS18B20
    The source of a a simple command line tool is available (see attachement), which reads out the temperature value of the connected sensors.
    Is it possible to include this c-code in the labview application to simplify the communication?
    Thanks a lot and best regards,
    Michael
    Solved!
    Go to Solution.
    Attachments:
    CMDLINE.zip ‏17 KB

    I'm not that experienced at this personally (in terms of compiling C code into DLLs), but I believe the process you need to go down to call your C code in LabVIEW is to compile the C code into a DLL which you can then call from LabVIEW using a Call Library Function node (or you can try to use the "Import Shared Library" wizard to automatically generate SubVIs).
    There's more information here:
    http://digital.ni.com/public.nsf/allkb/DCB90714981​A1F148625731E00797C33
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Comment créer une communicat​ion entre labview et "usb-1208l​s"

    Je viens d'installer le logiciel de "USB-1208LS" sur mon ordinateur mais j'ai envie et j'airéussi à voir des signaux mais seulement j'ai envie de communiquer entre mon logiciel et labview en gros j'ai envie de récupérer ses données sur labview je ne sais pas comment procédé mais je sais quand même qu il est compatible avec labview. Merci!

    Hello,
    You're in the english part of the forum, next time make sure your posting on the french forum.
    To acquire Data from your USB-1208LS device with LabVIEW, you'll need to install the driver API for LabVIEW here:
    ULx for NI LabVIEW
    http://www.mccdaq.com/daq-software/universal-libra​ry-extensions-lv.aspx
    And there a link to learn how to use it with LabVIEW :
    DAQ-Software-Quick-Start
    http://www.mccdaq.com/PDFs/Manuals/DAQ-Software-Qu​ick-Start.pdf (refer to p29)
    And another documentation to implement different functionnality and programming in LabVIEW
    Getting Started with NI LabVIEW Student Training
    http://zone.ni.com/devzone/cda/tut/p/id/7466
    Hope you'll find every information you need
    Best regards
    Victor F. | Application Engineer
    Certified LabVIEW Developer | Certified TestStand Architect
    National Instruments France

  • Interproce​ss Communicat​ion C++ - LabView

    Hi,
    I have a C++ *.exe file wich is grabbing images with a Matrox framegrabber. This program ist startet via "system exec" from LabView. I want to do a kind of time measurement with this program so i need the exact time when the grabbing of frame starts. At the moment I dont know how long the *.exe file needs to initialize the framegrabber (something about 500-1000ms).
    My idea is to start a continous grabbing but start saving the images when another command via LabView will be send to the C++ application. But I don't know how to send this command! It should be a kind of a "wait until key pressed" controlled by LabView. Maybe a global bolean or something like that.
    I hope somebody can help me!
    (programming with LabView 7.0 and Visual C++ 2003.NET)

    Hi,
    What
    you are looking for is called an “inter-application communication”.
    There
    are several options to realize it. LabVIEW supports TCP/IP, ActiveX or UDP to
    communicate with another application.  So
    it’s not as simple as using a “global Boolean”
    as you mentioned.
    I advise you, to use the LabVIEW
    examples which shipped with the NI example finder to get some programs as
    reference. Search for keywords like TCP/IP, ActiveX and UDP.
    Attached
    you’ll find a link to a knowledgebase.
    Hope this helps.
    How Do I Use LabVIEW to Communicate with Other
    Applications?
    http://digital.ni.com/public.nsf/allkb/B3959ED76D5​5A9E586256965004D8092?OpenDocument
    Regards,
    Ulrich
    AE NICER

  • USB 8451 SPI Communicat​ion

    Hi All,
    I am tring to write SPI 16 bits command to TI TLV5638 DAC.
    Labview examples are for 8 bits only. can anyone help me?
    Thanks,
    Eliran. 
    Message Edited by Eliran11 on 06-29-2008 02:44 AM

    Hi Eliran,
    The USB 8451 supports only 8 bit communication.
    This KB has a suggestion on how to implement 16 bit commands. "The approach you would take when writing or reading a 16 bit number is
    to write or read a byte array of length 2. You can use a Type Cast to
    convert back and forth between arrays of 8 bit integers and arrays of
    16 bit integers."
    Hope this helps!
    Warm regards,
    Karunya R
    National Instruments
    Applications Engineer

  • How to encrypted control communicat​ion services on clients in cell Manager.

    Hi All,
    I am trying to enable the encrypted control communication services on clients in cell Manager.
    But it is giving error as -Failed to enable encryption for hosts:
    Data Protector version is 6.20

    You may want to try the business support forums found below.
    http://h30499.www3.hp.com/t5/Data-Protector-Suppor​t-and-News/bd-p/itrc-251#.UecCX20SSO4
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • How do I establish serial communicat​ion using LabView to two stepper motors using a motor controller​?

    I currently use an off the shelf motor controller to run my two stepper motors. It already has integrated a firmware software that sends commands to operate each motor. I would like to create an interface where I can send these commands using LabView. If someone can point me in the right direction I would appreciate it.

    Look at the examples for the serial VISA vi.  Something like Basic serial write and read.vi is a good starting point.
    Have you searched for a LabVIEW driver  at the NI LV driver network?   Asked the vendor?
    If you write your own driver with the serial VISA vis remember to open and configure the port only once at the beginning and close it at the end of your program. 
    Message Edited by Henrik Volkers on 07-13-2009 04:21 PM
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • I am new to the ethernet communicat​ion using labview. I do not have any hardware. I have two laptop i need to send and recieve the data via these 2 laptop using labview. Kindly help me on this.

    i am new to the ethernet communication using labview. I do not have any hardware. I have two laptop i need to send and recieve the data via these 2 laptop using labview. Kindly help me on this.
    Solved!
    Go to Solution.

    Hi thanks for the help.
    Actually i am trying to send 10 sine signals from server pc to client pc. So i will bundle 10 signals in server pc and send it and in client pc i am unbundling it and need to save in TDMS format.
    Till unbundling i was able to do. TDMS format it is saving only last value. I need to save all the values. Kindly help me on same. I am attaching both the VI.
    Attachments:
    Client.vi ‏62 KB
    Server.vi ‏252 KB

  • Enable the Bluetooth stack in vista for communicat​ion in LabVIEW

    hi
    i am finding problems in the detection of the Bluetooth by the LabVIEW. i have searches on it and i need to enable the bluetooth stack.
    how can i enable the bluetooth stack in Vista?
    Somil Gautam
    Think Weird

    hi
    My labVIEW version is 8.6.
    The bluetooth drivers i am using are the ones which i got along with my Bluetooth Dongle. 
    Somil Gautam
    Think Weird

  • Problème communicat​ion interface-​Labview 2012 après mise à jour

    Bonjour,
    Lors de l'installation d'une nouvelle version Labview (2012) sur un PC, la communication entre ce dernier et le logiciel a lieu mais l'interface n'est pas adapté à la nouvelle version. Par conséquent, il est impossible d'enregistrer des valeurs et d'acquérir des données pendant les essais sur l'équipement en question.
    Que dois-je faire  ?
    Pièces jointes :
    Doc1.doc ‏206 KB

    Bonjour Vergini,
    Qu'entendez-vous par l'interface n'est pas adaptée à la nouvelle version ?
    Avez-vous bien réinstallé les drivers/toolkits après avoir installer LabVIEW 2012 ?
    Dans l'attente de votre retour.
    Valentin
    Certified TestStand Architect
    Certified LabVIEW Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • 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

  • 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 can i interface labview to Two way Radio freq (452 MHZ, 450 MHZ) transrecei​ver for point to point communicat​ion?

    Transreceiver specications are nearabout
    point a to point b message 452 MHZ
    and point b to point a message 457 MHZ
    transmit power 2 watt
    Transmitting 16 bit data

    The PXI-5660 RF Signal Analyzer is a PXI-based hardware product from National Instruments that can receive signals from 9 kHz to 2.7 GHz with a 1 W max input power. If you transmit at 2W and after reaching the antenna connected to the 5660 the power is > 1W (+30 dBm), you will need an attenuator in front of the 5660 to bring the signal level down to a point which the 5660 can handle.
    As for the Tx side, you can Tx with the PXI-5670 RF Vector Signal Generator at a max output power of +13 dBm, which is ~20 mW. You would need an RF amplifier for sure between the PXI-5670 output and the ensuing antenna.
    In both cases, the devices come with software to control them that are LabVIEW-based and quite easy to use. If you already have RF Tx and RX hardware, they
    probably have LabVIEW drivers, or some other interface with which LabVIEW can interact with. I recommend contacting NI at 1-800-IEEE-488 and asking for an internal sales representative to discuss your app with. Or, you can post more details here and I can definitely answer your questions.

  • Usb visa control bulk in error

    i am trying to send data from my pic18f4550 programed using flowcode to the pc on labview using the usbrawbulk control example but i am unable to send or recieve the data the error i keep getting is the timeout error
    i am using proteus virtual usb simulator and i have generated the .inf driver file from visa driver wizard
    1)how can i get the brequest and brequesttype hex values to send and recieve data for the pic18f4550
    2)how can i use the labview visa read and write to communicate and fix the current error
    and thank you  
    Attachments:
    visaprob.jpg ‏616 KB

    Hi,
    I am not sure I can provide exact infomormation, but I recoomend you to read about here:
    - brequest and brequesttype: http://www.beyondlogic.org/usbnutshell/usb6.shtml
    You can find examples about LabVIEW USB Raw communication:
    - http://zone.ni.com/devzone/cda/tut/p/id/4478
    - http://zone.ni.com/devzone/cda/epd/p/id/3637
    - http://zone.ni.com/devzone/cda/epd/p/id/3622
    - https://decibel.ni.com/content/docs/DOC-2022
    - http://zone.ni.com/reference/en-XX/help/371361G-01/lvvisaprop/usb_raw/
    I hope you can find useful information there.
    Best Regards,
    Peter Vago
    AE Hungary

Maybe you are looking for

  • Problems with AirDisplay unistall

    Hello, My names Luis from Argentina. I installed AirDisplay for using the iPad as a second monitor. When I rebooted the mac,  started with a blue screen and  the started of the mac is more  slow. I Inistalled the AirDisplay, but the blue screen conti

  • I am looking for Mac OS X programmer for AppStore

    Hi I am looking for a programmer for one interesting project. All additional details in person contact. <Edited by Host> Alex.

  • Why is firefox crashing everytime i open it.

    everytime i open the browser now it crashes and I cant open in safemode either as it crashes. same with IE. I can only use Chrome. Error Report: Crash ID: bp-0d8b049f-da30-4b7c-957d-f10022130228

  • Another Selective deletion question on an ODS

    Hello Gurus, What are the precautions that can be taken before selective deletion on an ODS? can I ask the Basis to make a backup/copy of the ODS before selctive deletion. By doing this if something goes bad, can we repalce the broken ODS with the co

  • Message no GLT2201 Balancing field "Profit Center" error F-30 but OK F-32

    Hi Experts, I am facing a problem following: The same customer, the same document type (AB), the sam vachour. By T-code F-32, it works fine, however, by T-code F-30 (and F-04, FB05), system will pop up a error message following: Balancing field "Prof