How to control TTL device using LabVIEW?

I have a device which requires TTL (+5V) to control it to be on/off. How can I provide this TTL to it using LabVIEW? I guess I should install a PCI board in my computer to connect to this device, but how to do my LabVIEW coding to control it?

Hi,
First of all if your board is NI board after corect instalation you need to view this board in the section Devices & Interfaces from the NI program Measurement & Automation Explorer.
Also if the board is NI board or has the divers for LABView you need to find in the LabView the functions to command your board.
Other posibility is if your board is no't compatibile wi NI, in this case you need to extract from DLL, the function to command the board.
By

Similar Messages

  • How to get data from a USB-UIRT device using Labview?

    How to get data from a USB-UIRT device using Labview?
    I'm trying to get data from a USB-UIRT device, is it posible with Labview?
    I really appreciate your help, 
    thanks

    You may want to contact the developer of the device for the API and DLL.
    http://65.36.202.170/phpBB2/viewforum.php?f=3

  • How to communicate with third party bluetooth device using LAbVIEW

    Hi
          I am trying to communicate with a third party bluetooth device using LabVIEW, I am using a bluetooth dongle. I am able to discover the device and able to open the connection by specifying the service as serial port. But after that when I am trying to read and write data between LabVIEW and the bluetooth device (using Bluetooth Read & Bluetooth Write functions) its not happening.
    Dose anybody faced same kind of issue if so kindly guide me, this is first time I am using Blutooth protocol.
    Regards
    Visuman 

    Hi,
    I am able to talk with bluetooth / serial devices by using Labview protocol (not Wii dll). These are steps:
          Discover the bluetooth device in range (Bluetooth dicover.vi)
          Get the address of the device
          Pass device address to Bluetooth RFCOMM Service Discovery.vi to get service list
          Pass channel and uuid to Bluetooth open connection
          After that do write and read (Bluetooth Write / Bluetooth read).
      I hope it works for you.
    Take care
    tp
     

  • How to make load simulator using labview 2010

    i want to ask how to make load simulator using labview? 
    Solved!
    Go to Solution.

    what have you tried so far? and exactly what is it your tying to do?
    Please remember to accept any solutions and give kudos, Thanks
    LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7

  • How to make RC circuit using labview

    Hi,
    how to make RC circuit using labview... Thx

    Your question seems awfully similar to this thread. Is this a school assignment?
    Jeff
    Using Labview 7 Express

  • How to control movie clips using mause scroller...?

    ....please look
    http://www.nagaoka-id.ac.jp/gallery/gallery.html
    ...how to control movie clips using mause scroller...?

    Hi Ldavinci, I have noticed your posts on that particular
    site before. Just chiming in here... don't be afraid of Flash Help
    menu. There's a wealth of information there and I've found it much
    faster than waiting for a response from the forum. Then if it still
    doesn't make sense, at least you have a basic idea of specifics to
    ask.
    If you search for mouse wheel, you'll see an example under
    the Actionscript 2.0 Language Reference on this topic. That said,
    here's the example:

  • I have lost my iPhone  5 , 64 GB ..how to track this device useing

    i have lost my iPhone  5 , 64 GB ..how to track this device using IMEI no..Plz help

    You cannot track with the imei number it is not possible.  The only way to track is to install find my phone and have that turned on and then you can track the phone on icloud.com but only if the phone is on and has internet

  • Linux RedHat 4 update 4: how to unbind  raw devices used by ASM diskgroups?

    How to unbind raw devices used by ASM diskgroup?
    I created ASM diskgroup using /dev/raw/rawn, after done my testing, I need to toss the raw devices to start a new testing. Here is the procedure:
    1. shutdown MYTEST database
    2. in ASM instance, remove disks from diskgroup 'rawtest'
    3. in ASM instance, "drop diskgroup rawtest including contents"
    4. in OS, issue: "raw /dev/raw/raw1 0 0"
    I got the following error:
    # raw /dev/raw/raw1 0 0
    Error setting raw device (Device or resource busy)
    But if I shutdown ASM instance, the above commmand will be successful.
    My question, how can I unbind raw devices without shutting down ASM instance(could be used by other databases at the same time)?
    Thanks,
    Jenny

    The installation guild will probably be were you will want to start.
    2.11 Preparing Disk Groups for an Automatic Storage Management Installation
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15660/pre_install.htm#sthref457
    Specifically
    2.12 Configuring Raw Partitions or Raw Logical Volumes
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15660/pre_install.htm#sthref591

  • How do i open and control other programs using labview?

    I'm presently trying to use labview to try to open and operate another program,but having much difficulty.The external program i'm using is called the Foundation program.
    This Foundation program will use VHDL programming to create a virtual chip and then synthesising it.This program will then simulate the output of this VHDL program to verify that it is working as desired.Then the last stage is to download the whole VHDL program into a FPGA chip using a xilinx cable.
    All this need to be done using a labview program - to open the Foundation program and then extract the saved file and then to execute the download command to cause the VHDL program to be downloaded onto the FPGA chip.How do i go
    about doing all this?What is the first step i must do.Also all this have to be done thru networking..looks like its too difficult..I really need help.
    grays

    I haven't done VHDL so pardon my ignorance.
    LabVIEW can call external DLL via "Call Library Function" or C programs via "Code Interface Node", both located in "Advanced" function.
    If your program is a DOS program, use "System Exec.vi" found in "Communication" function. If you need to format your DOS command prior to sending it, use the "Format Into String" function in "String" function palette.
    Lastly, if you're trying to extract data, assuming it is text, use "File I/O" functions. If the data is binary, use "File I/O -> Binary File VIs".
    Hope that answers most of your questions.
    Shan Pin Koh

  • I m studen t of MS i develop a new CDMA reciver , how i can implement this on ni devices using labview

    i want to know the hardware which i should use and how i can use labview .
    i use matlab for developing code

    The following link should be helpful. I let you have a look.
    How to make Matlab and Labview work together?
    Regards.
    Romain D.
    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;}
    NIDays 2010 : Conférence mondiale de l'instrumentation virtuelle
    >>Détails et Inscription<<

  • How do I control serial power using LabView?

    I need to use LabView to alter the voltage coming from the serial port. Is it as easy as writing to the serial port? I know that if you write to the serial port that it'll produce a binary number, does this binary number correspond to a voltage.

    If you want to create a scalable voltage value coming from the serial port you must have a Dig -> Analog conversion circuit.
    If your goal is to vary a voltage from 1 - 10 vdc, then you must create:
    1) a an external circuit that will convert/buffer digital serial interfaced binary values to analog values (ni makes these things)
    2) labview code that transfers info to serial port. (driver/etc)
    hope that helps!
    did that answer your question?
    Chances are if you have seen VI in the forest it hasn't fallen.

  • How to access parallel ports using LabVIEW?

    I want to send data to a device which is connected through LPT1.when Iam using serial port write.vi with port number 10(for LPT1) it is giving an error code 37 which means the device not found. whether those vis are only for accessing serial ports? Then how to access LPT1 using LabVIEW?

    Most likely you need to modify your labview ini file to let it know that LPT1 (or whichever) will be controled through the serial port control. See the following link for a knowledgebase answer to this question:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/a5abd9d76665217b86256333005ac9a5?OpenDocument
    Jared

  • Controlling pxi 7350 using labview software

    Hi,
    So i am a complete newbie when it comes to labview having only used it to control virtual instruments before and now i am the point where i want it to interact with real world items. Ok so here goes..... i have the latest labview development software and have also purchased a pxi1033 with a pxi4065 digital multimeter and a pxi 7350 motion controller integrated within.
    my problem however is that i want to be able to control my motors via the umi7772 interface but cannot seem to find the correct symbols on the labview software to utilise them, i would like to use labview to create a program that will turn the stepper and evaluate what is on the dmm and then turn accordingly this is way above my level on labview currently but if anyone has any ideas then any information is greatly appreciated.
    cheers
    james

    Hello Jamest6, 
    I have found some useful documentation that will help you get started with you 7350 and LabVIEW. 
    First of all here is a community example that you can take a look at. It is possible to download the example itself from the bottom of the page.
    Read Analog Input (AI) values from NI-Motion device 73xx : https://decibel.ni.com/content/docs/DOC-5617
    Then you can access these knowledge base articles for some more guidance : 
    How Do I Use the Digital Input/Output Lines on my 7330, 7340, or 7350 Motion Controller Card? : http://digital.ni.com/public.nsf/allkb/2D238C3BF101620C862573A60081BFFE?OpenDocument
    How do I control the analog ouputs from an NI PCI motion controller in Measurement & Automation Explorer?: http://digital.ni.com/public.nsf/allkb/04B940903BDD987C862579320083C6FF?OpenDocument
    Also using these manuals for both prducts will be of help to you : 
    NI 7330/7340/7350 Motion Controllers and
    P7000 Series Stepper Drives: 
    http://www.ni.com/pdf/manuals/372324d.pdf
    NI UMI-7774/7772 : http://www.ni.com/pdf/manuals/373359c.pdf
    Another great source for looking at or using example VIs is the  LabVIEW's Example Finder.  Go to Help » Find Examples... When that window pops ups, double-click Toolkits & Modules in the folder list, then double-click NI Motion Assistant.  I'm guessing the "Straight Line Move.vi" or "Blended Move.vi" would be most helpful to you, but you could read the descriptions of each example listed for a little bit more information about what the examples are doing.
    Hope these are useful! 

  • Beginner- need help to automate a device using labview

    Hi,
    I am a graduate student pursuing my masters in mechanical engineering. I have been asked to work on a project that involves automating a gas plasma surface cleaner using labview. Since i have no knowledge about electrical equipments and this is the first time i am using labview, i would need some help so that i can get started with the project. so, basically the equipment is a small box inside which surgical tools can be placed and sterilized. Once the surgical tool is placed, the door is shut manually and the glass chamber is depressurized and then injected with a hydrogen peroxide gas. Then the plasma discharge is started by switching on the equipment. It runs for about 3 minutes, and then we manually re-pressurize the chamber and open the door to take out the tool. I will have to automate this process. Please let me know how to get started in terms of integration of the equipment with labview etc and things i need to know. Also, let me know if you need more details.I could also attach a picture of the equipment if needed.
    Thanks,
    Arvind

    Arvind,
    Since you are working on your Masters degree, it is likely that you already have a Bachelors dergree or equivalent.  So I will assume that you know the basics of engineering.  I will also assume that your previous classes did not actually teach you much about design or how to manage a project (because so many engineering schools do not teach that).
    You have a statement in qualitative terms describing your project. The next thing to do is to specify in quantitative terms the parameters which are important to success of the project. Size of the box, pressures, temperatures, times, plasma densities, ...  You will also need a sequence-of-events document which includes not only the basic process but also as many possible faults and failure modes as possible.
    For example. Close the door manually. (How will the automated system know the door is shut? What will it do if the door does not shut within x seconds?) Depressurize the chamber. (To what pressure or vacuum level? How much time is allowed for this step? What if the pressure is still too high after the time limit? -- This suggests a leak.) Inject hydrogen peroxide. (How much? How will it be measured? What it the pressure/time/quantity is too high? Or too low?) ...
    What kinds of sensors or measuring equipment are needed to answer all these questions? What kinds of output signals are generated by these sensors and instruments?
    What kind of actuators or controllers are needed to perform the actions of the system? What kinds of signals do you need to generate to control these devices?
    Does this device (as medical equipment) need to meet specific regulatory requirements?  Steam sterilizers need to have certifiable measurements of the time and temperature inside the chamber.  It may be necessary to have measurements independent from those used for the automation process.
    Once you have a comprehensive specification document, then you begin to identify components, instruments, and systems which can satisfy the individual requirements. Then you figure out how to get everything to talk to everything else. That is where the programming language (which may be LabVIEW) comes in. The task of the program is to implement the communications between devices and users and to do much of the decision-making for the apparatus.
    If you are not taking a course which teaches the basics of LabVIEW, you should start with the on-line tutorials.  You can work on these while preparing the specification document.
    Lynn

  • Figuring out how to access a device using Windows.Devices.HumanInterfaceDevice?

    Before I start, I would like to share this link I used to access windows RT libraries from Desktop applications (only the ones stated in MSDN documentation that are accessible from desktop applications):
    http://blogs.msdn.com/b/cdndevs/archive/2013/10/02/using-windows-8-winrt-apis-in-net-desktop-applications.aspx .
    After following the above instructions you can import some of the windows RT libraries in references. I have been trying to use the Windows.Devices.HumanInterfaceDevice library. I think my UsagePage and UsageId are off though. I am wondering
    if someone good in hex can translate them from my report descriptor. I already have the VID and PID (this should be enough along with the path if I called write file or some of the other win32/OS api's). Here's the code I am using in VB.NET:
    Public Class VirtualMouseDeviceOpen
    Class Enumeration
    ' Enumerate HID devices
    Public Async Function EnumerateHidDevices() As Task
    Dim vendorId As UInt32 = &HBEEF
    Dim productId As UInt32 = &HFEED
    Dim usagePage As UInt32 = &HFF
    Dim usageId As UInt32 = &H1
    ' Create a selector that gets a HID device using VID/PID and a
    ' VendorDefined usage
    Dim selector As String = HidDevice.GetDeviceSelector(usagePage, usageId, vendorId, productId)
    ' Enumerate devices using the selector
    Dim devices As Windows.Foundation.IAsyncOperation(Of Windows.Devices.Enumeration.DeviceInformationCollection) = DeviceInformation.FindAllAsync(selector)
    Dim count As Integer = devices.GetResults.Count
    If count > 0 Then
    ' Open the target HID device
    ' At this point the device is available to communicate with
    ' So we can send/receive HID reports from it or
    ' query it for control descriptions
    Dim device As HidDevice = HidDevice.FromIdAsync(devices.GetResults.ElementAt(0).Id, FileAccessMode.ReadWrite)
    Await Vendor.ReadWriteToHidDevice(device)
    Else
    ' There were no HID devices that met the selector criteria
    MsgBox("MUTT HID device not found!", MsgBoxStyle.Exclamation)
    End If
    End Function
    Class Vendor
    Public Shared Async Function ReadWriteToHidDevice(device As HidDevice) As Task
    If device IsNot Nothing Then
    ' construct a HID output report to send to the device
    Dim outReport As HidOutputReport = device.CreateOutputReport()
    ' Initialize the data buffer and fill it in
    Dim buffer As Byte() = New Byte() {10, 20, 30, 40}
    Dim dataWriter As New DataWriter()
    dataWriter.WriteBytes(buffer)
    outReport.Data = dataWriter.DetachBuffer()
    ' Send the output report asynchronously
    Dim a As Windows.Foundation.IAsyncOperation(Of UInteger) = device.SendOutputReportAsync(outReport)
    ' Sent output report successfully
    ' Now lets try read an input report
    Dim inReport As HidInputReport = device.GetInputReportAsync()
    If inReport IsNot Nothing Then
    Dim id As UInt16 = inReport.Id
    Dim bytes = New Byte(3) {}
    Dim dataReader__1 As DataReader = DataReader.FromBuffer(inReport.Data)
    dataReader__1.ReadBytes(bytes)
    Else
    MsgBox("Invalid input report received")
    End If
    Else
    MsgBox("device is NULL")
    End If
    End Function
    End Class
    End Class
    Here's my report descriptor to avoid scrimmaging through everything trying to find it:
    HID_REPORT_DESCRIPTOR G_DefaultReportDescriptor[] = {
    0x06,0x00, 0xFF, // USAGE_PAGE (Vender Defined Usage Page)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0xA1,0x01, // COLLECTION (Application)
    0x85,CONTROL_FEATURE_REPORT_ID, // REPORT_ID (1)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0x15,0x00, // LOGICAL_MINIMUM(0)
    0x26,0xff, 0x00, // LOGICAL_MAXIMUM(255)
    0x75,0x08, // REPORT_SIZE (0x08)
    //0x95,FEATURE_REPORT_SIZE_CB, // REPORT_COUNT
    0x96,(FEATURE_REPORT_SIZE_CB & 0xff), (FEATURE_REPORT_SIZE_CB >> 8), // REPORT_COUNT
    0xB1,0x00, // FEATURE (Data,Ary,Abs)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0x75,0x08, // REPORT_SIZE (0x08)
    //0x95,INPUT_REPORT_SIZE_CB, // REPORT_COUNT
    0x96,(INPUT_REPORT_SIZE_CB & 0xff), (INPUT_REPORT_SIZE_CB >> 8), // REPORT_COUNT
    0x81,0x00, // INPUT (Data,Ary,Abs)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0x75,0x08, // REPORT_SIZE (0x08)
    //0x95,OUTPUT_REPORT_SIZE_CB, // REPORT_COUNT
    0x96,(OUTPUT_REPORT_SIZE_CB & 0xff), (OUTPUT_REPORT_SIZE_CB >> 8), // REPORT_COUNT
    0x91,0x00, // OUTPUT (Data,Ary,Abs)
    0xC0, // END_COLLECTION
    0x05, 0x01, // USAGE_PAGE (Generic Desktop)
    0x09, 0x02, // USAGE (Mouse)
    0xa1, 0x01, // COLLECTION (Application)
    0x85, 0x02, // REPORT_ID (2)
    0x09, 0x01, // USAGE (Pointer)
    0xa1, 0x00, // COLLECTION (Physical)
    0x05, 0x09, // USAGE_PAGE (Button)
    0x19, 0x01, // USAGE_MINIMUM (Button 1)
    0x29, 0x03, // USAGE_MAXIMUM (Button 3)
    0x15, 0x00, // LOGICAL_MINIMUM (0)
    0x25, 0x01, // LOGICAL_MAXIMUM (1)
    0x95, 0x03, // REPORT_COUNT (3)
    0x75, 0x01, // REPORT_SIZE (1)
    0x81, 0x02, // INPUT (Data,Var,Abs)
    0x95, 0x01, // REPORT_COUNT (1)
    0x75, 0x05, // REPORT_SIZE (5)
    0x81, 0x03, // INPUT (Cnst,Var,Abs)
    0x05, 0x01, // USAGE_PAGE (Generic Desktop)
    0x09, 0x30, // USAGE (X)
    0x09, 0x31, // USAGE (Y)
    0x15, 0x81, // LOGICAL_MINIMUM (-127)
    0x25, 0x7f, // LOGICAL_MAXIMUM (127)
    0x75, 0x08, // REPORT_SIZE (8)
    0x95, 0x02, // REPORT_COUNT (2)
    0x81, 0x06, // INPUT (Data,Var,Rel)
    0xc0, // END_COLLECTION
    0xc0 // END_COLLECTION
    My UsageId is the first Usage Hex value in the report descriptor I believe (I am still a little confused too). My UsagePage is the hex values in the first Usage_Page in the report descriptor.
    Note: the problem with the VB.NET code is that it returns 0 on the count above which means it did not find a device using my criteria.
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - Sherlock Holmes. speak softly and carry a big stick - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog -
    http://www.computerprofessions.us

    Before I start, I would like to share this link I used to access windows RT libraries from Desktop applications (only the ones stated in MSDN documentation that are accessible from desktop applications):
    http://blogs.msdn.com/b/cdndevs/archive/2013/10/02/using-windows-8-winrt-apis-in-net-desktop-applications.aspx .
    After following the above instructions you can import some of the windows RT libraries in references. I have been trying to use the Windows.Devices.HumanInterfaceDevice library. I think my UsagePage and UsageId are off though. I am wondering
    if someone good in hex can translate them from my report descriptor. I already have the VID and PID (this should be enough along with the path if I called write file or some of the other win32/OS api's). Here's the code I am using in VB.NET:
    Public Class VirtualMouseDeviceOpen
    Class Enumeration
    ' Enumerate HID devices
    Public Async Function EnumerateHidDevices() As Task
    Dim vendorId As UInt32 = &HBEEF
    Dim productId As UInt32 = &HFEED
    Dim usagePage As UInt32 = &HFF
    Dim usageId As UInt32 = &H1
    ' Create a selector that gets a HID device using VID/PID and a
    ' VendorDefined usage
    Dim selector As String = HidDevice.GetDeviceSelector(usagePage, usageId, vendorId, productId)
    ' Enumerate devices using the selector
    Dim devices As Windows.Foundation.IAsyncOperation(Of Windows.Devices.Enumeration.DeviceInformationCollection) = DeviceInformation.FindAllAsync(selector)
    Dim count As Integer = devices.GetResults.Count
    If count > 0 Then
    ' Open the target HID device
    ' At this point the device is available to communicate with
    ' So we can send/receive HID reports from it or
    ' query it for control descriptions
    Dim device As HidDevice = HidDevice.FromIdAsync(devices.GetResults.ElementAt(0).Id, FileAccessMode.ReadWrite)
    Await Vendor.ReadWriteToHidDevice(device)
    Else
    ' There were no HID devices that met the selector criteria
    MsgBox("MUTT HID device not found!", MsgBoxStyle.Exclamation)
    End If
    End Function
    Class Vendor
    Public Shared Async Function ReadWriteToHidDevice(device As HidDevice) As Task
    If device IsNot Nothing Then
    ' construct a HID output report to send to the device
    Dim outReport As HidOutputReport = device.CreateOutputReport()
    ' Initialize the data buffer and fill it in
    Dim buffer As Byte() = New Byte() {10, 20, 30, 40}
    Dim dataWriter As New DataWriter()
    dataWriter.WriteBytes(buffer)
    outReport.Data = dataWriter.DetachBuffer()
    ' Send the output report asynchronously
    Dim a As Windows.Foundation.IAsyncOperation(Of UInteger) = device.SendOutputReportAsync(outReport)
    ' Sent output report successfully
    ' Now lets try read an input report
    Dim inReport As HidInputReport = device.GetInputReportAsync()
    If inReport IsNot Nothing Then
    Dim id As UInt16 = inReport.Id
    Dim bytes = New Byte(3) {}
    Dim dataReader__1 As DataReader = DataReader.FromBuffer(inReport.Data)
    dataReader__1.ReadBytes(bytes)
    Else
    MsgBox("Invalid input report received")
    End If
    Else
    MsgBox("device is NULL")
    End If
    End Function
    End Class
    End Class
    Here's my report descriptor to avoid scrimmaging through everything trying to find it:
    HID_REPORT_DESCRIPTOR G_DefaultReportDescriptor[] = {
    0x06,0x00, 0xFF, // USAGE_PAGE (Vender Defined Usage Page)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0xA1,0x01, // COLLECTION (Application)
    0x85,CONTROL_FEATURE_REPORT_ID, // REPORT_ID (1)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0x15,0x00, // LOGICAL_MINIMUM(0)
    0x26,0xff, 0x00, // LOGICAL_MAXIMUM(255)
    0x75,0x08, // REPORT_SIZE (0x08)
    //0x95,FEATURE_REPORT_SIZE_CB, // REPORT_COUNT
    0x96,(FEATURE_REPORT_SIZE_CB & 0xff), (FEATURE_REPORT_SIZE_CB >> 8), // REPORT_COUNT
    0xB1,0x00, // FEATURE (Data,Ary,Abs)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0x75,0x08, // REPORT_SIZE (0x08)
    //0x95,INPUT_REPORT_SIZE_CB, // REPORT_COUNT
    0x96,(INPUT_REPORT_SIZE_CB & 0xff), (INPUT_REPORT_SIZE_CB >> 8), // REPORT_COUNT
    0x81,0x00, // INPUT (Data,Ary,Abs)
    0x09,0x01, // USAGE (Vendor Usage 0x01)
    0x75,0x08, // REPORT_SIZE (0x08)
    //0x95,OUTPUT_REPORT_SIZE_CB, // REPORT_COUNT
    0x96,(OUTPUT_REPORT_SIZE_CB & 0xff), (OUTPUT_REPORT_SIZE_CB >> 8), // REPORT_COUNT
    0x91,0x00, // OUTPUT (Data,Ary,Abs)
    0xC0, // END_COLLECTION
    0x05, 0x01, // USAGE_PAGE (Generic Desktop)
    0x09, 0x02, // USAGE (Mouse)
    0xa1, 0x01, // COLLECTION (Application)
    0x85, 0x02, // REPORT_ID (2)
    0x09, 0x01, // USAGE (Pointer)
    0xa1, 0x00, // COLLECTION (Physical)
    0x05, 0x09, // USAGE_PAGE (Button)
    0x19, 0x01, // USAGE_MINIMUM (Button 1)
    0x29, 0x03, // USAGE_MAXIMUM (Button 3)
    0x15, 0x00, // LOGICAL_MINIMUM (0)
    0x25, 0x01, // LOGICAL_MAXIMUM (1)
    0x95, 0x03, // REPORT_COUNT (3)
    0x75, 0x01, // REPORT_SIZE (1)
    0x81, 0x02, // INPUT (Data,Var,Abs)
    0x95, 0x01, // REPORT_COUNT (1)
    0x75, 0x05, // REPORT_SIZE (5)
    0x81, 0x03, // INPUT (Cnst,Var,Abs)
    0x05, 0x01, // USAGE_PAGE (Generic Desktop)
    0x09, 0x30, // USAGE (X)
    0x09, 0x31, // USAGE (Y)
    0x15, 0x81, // LOGICAL_MINIMUM (-127)
    0x25, 0x7f, // LOGICAL_MAXIMUM (127)
    0x75, 0x08, // REPORT_SIZE (8)
    0x95, 0x02, // REPORT_COUNT (2)
    0x81, 0x06, // INPUT (Data,Var,Rel)
    0xc0, // END_COLLECTION
    0xc0 // END_COLLECTION
    My UsageId is the first Usage Hex value in the report descriptor I believe (I am still a little confused too). My UsagePage is the hex values in the first Usage_Page in the report descriptor.
    Note: the problem with the VB.NET code is that it returns 0 on the count above which means it did not find a device using my criteria.
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - Sherlock Holmes. speak softly and carry a big stick - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog -
    http://www.computerprofessions.us
    I forgot anyone wanting a picture of what the device hierarchy looks like in control panel here it is (HID compliant vendor device is the first one in the report descriptor above I want to access and then the mouse device): 
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - Sherlock Holmes. speak softly and carry a big stick - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering - Yoda. Blog -
    http://www.computerprofessions.us

Maybe you are looking for

  • Procedure for Archive the data

    Hello Experts, I need to write a procedure for clean up the data base. Below is my rek. User should be provided with options of entering the table name and also should be given option to select whether he wants to delete all the data or archive the t

  • File does not exist: /servlet/f60servlet

    Hi, We have a Developer 2000 application which is running on 9ias. Till last week the UAT system was working ok. Since i re-started, it stopped working. The apache error log displays the following error messages: [Tue Jan 25 15:53:08 2005] [error] [c

  • ITunes will not launch when iPod is connected

    I've been having a problem over the last several days where iTunes will bounce a couple of times in the Dock, the black triangle appears below the Dock icon, but no window opens up and eventually iTunes shows that it's not responding. I am unable to

  • File Content Conversion related query

    Hi Experts, Hope you all are doing well. I have a proxy to File scenario in which a File containing HR data has to be created. The source structure is as follows Header - 1..1 Recordset   0..unbounded         Master------0..unbounded         Detail--

  • Oracle Lite 9i & 10g installation problem

    hi all! i tried installing Lite 9i & the 10g on my Win2K laptop with the ff parameters: hostname - localhost port - 1521 SID - orcl however, in 9i i get this error: ORA-12541: TNS: no listener i deinstalled and tried 10g and now i get this error: Io