How to read data from a port PS/2 (keyboard)

I'm trying to use a bar code scanner that is connected via a PS/2 port. It works similar to a keyboard.

I have a problem with signals of a PS/2 port, but I don't know any function that could do in LabVIEW.

Please advice.

Thanks a lot guys.

See you soon,.
Justin

rapid fire, add a function cancel manual, the appearance, the dialog box option...

Tags: NI Software

Similar Questions

  • How to read data from an excel and HTML file

    Hello

    I write a 2D-array of string in Excel/HTML file using the generation of reports.

    Can someone tell me how to get back in return, the written data, same files again and display in table format.

    Thank you & best regards

    Visuman

    You can use activex to read data from the excel fileback to the table format... through this vi... may b this will help you...

  • How to read data from several files and add columns in a single file

    Hi guys,.

    I have a problem in adding data from files in different columns. I have the attachment a file A and B which I am reading and not able to get the data in the Result.txt file. Please give your opinion on how can I do this

    You must add the data of all files before proceeding with a single entry.

  • How to read data from OM - 62 temperature/humidity data logger in LabVIEW?

    Hello

    I have an Omega OM-62 temperature/humidity data logger I want to communicate (initialize recording, reading/writing data, stop recording) through LabVIEW 8.6. The OM-62 is connected to the PC via a type B USB-miniUSB connector, and I have provided "Omega Recorder program Interface" on my Windows operating system. I called online DAQ support Omega but I was told that data recorders low level like this have not provided capabilities of LabVIEW, which I fully understand.

    My question is why I have to use their program to communicate to this device? If I knew the syntax program them used to connect to the device, why can't I use through VISA? Do I need to build my own LabVIEW driver from their supplied driver?

    Python is easier to apply to this scenario solution?

    How can I see the code "Omega Interface Progam recorder" on my Windows operating system is using to communicate with the OM - 62 sensor?

    I just want to know how this could or could not work because I think I'm missing some concept in my understanding of programming LabVIEW/novice. It would be easier to run my LabVIEW program and their program at the same time, but I just want to understand it at a deeper level.

    Curosity killed the engineer occupation,

    Zach

    P.S. I have attached a few driver configuration information, but I have no idea if this is useful.

    Unless the manufacturer provides a kind of programming interface or API to communicate with the device that you have trouble with your own software interface to it whether LabVIEW or Python or something else. This could be in the form of a driver dll, Protocol series modbus (etc. etc. etc.).

    If it is not condition / available and you really need to communicate with the device, you will need to look at using something like a sniffer USB/driver (software? hardware?) to try to intercept communications between their software and the device. You can then use this information to try to understand what the commands it sends and the responses received and how to convert data.

    Once you have that until now... I don't know what options are willing LabVIEW for control of USB device, but a proposal, I would say that you would need either a driver USB low level or you have to write your own driver in another language and that call from LabVIEW.

  • How to read data from the drop-down list

    Hi all

    I use this to display a drop-down list.

    inputScreen.add (new NumericChoiceField ("number of objects:", iStartAt, iEndAt, iIncrement, iSetTo));

    How to read the data selected by the user? say if my list contains from Monday to Saturday, how will I know what day selected by the user? and how that store in the variable? Thank you.

    You have your data in a table and this stone he is used to populate the ObjectChoiceField. The FieldChanged listener you can obtain what the iteme selected to help index:

    int index = yourObjectChoiceField.getSelectedIndex ();

    and for the use of the object:

    Bean of MyObject = myObjectArray [index]

  • How to read data from a QVariant

    I have a multi select list, and I need to get a list of the people selected.

    QML

    ----------------------------------------------------

    {To ListView
    ID: lv_ingredients
    horizontalAlignment: HorizontalAlignment.Fill

    dataModel: _app.ingredientDataModel

    multiSelectAction: {MultiSelectActionItem}
    }

    {multiSelectHandler}
    actions:]
    Add the actions that must appear in the context menu
    When the multiple selection mode
    {ActionItem}
    Title: "search people".
    onTriggered: {}
    _APP.search (lv_people.selectionList ());
    }
    },

    ....

    ----------------------------------------------------

    ----------------------------------------------------

    Search in _app method:

    void classname::search (const QVariantList & list)

    {

    QVariant nlist = personDataModel-> data (list.at (0) .toList ()); //
    qDebug()< "list:="" "=""><>
    }

    ----------------------------------------------------
    Results in

    List: QVariant (QObject *, Person (0x857c310))

    That means I can see this list of Person objects, but I have no way to read! How can I get this picture out of the QVariant?

    Hello

    The code looks OK, but the variables are named confusedly.

    QVariant tlist = personDataModel->data(list.at(0).toList());
    

    This line actually returns a first person in the selection list. Where none have been selected,. at() function throws an exception and the application will crash.

    Row is a list of section number, line, etc. Data() method returns a single object for a given row.

    QVariant is a type that can wrap any primitive type, a map, a list or a QObject. It can also wrap pointers to custom classes derived from QObject declared using Q_DECLARE_METATYPE. More details on this here (Qt 5 docs it's should apply as well to Qt 4.8):

    http://Qt-project.org/doc/Qt-5.0/QtCore/qmetatype.html#Q_DECLARE_METATYPE

    Line that you use for the conversion to the person seems correct. To retrieve all people (untested code, but it work, I divide it into several lines for simplicity):

    foreach (QVariant indexPathV, list)
    {
      QVariantList indexPath = indexPathV.toList();
      QVariant personV = personDataModel->data(indexPath);
      Person *person = personV.value();
    }
    

    In the .h file where the person is found make sure you declare metatype its pointer, otherwise that it cannot be used in QVariant except flows manually to / of QObject, which isn't practical:

    class Person: public QObject
    {
      .............
    }
    
    Q_DECLARE_METATYPE(Person *);
    

    Also, I suspect that there could be something wrong with dataModel. If the above does not work, please copy - paste the header file where it is declared.

    If there are compilation errors, please paste entirely including context around them, it could also give us some tips.

    UPD. qobject_cast can be used to cast QObject * to another type (returns NULL if impossible), but is not going to extract a value from QVariant. Use of QVariant .value<>() function instead.

    QObject *x;
    ...
    MyType *y = qobject_cast(x);
    if (y)
    {
       y->...
    }
    

    ...

    QVariant v;
    ...
    MyType *t = v.value();
    
  • How to read data from the unit to acquire data with LabVIEW

    Hello everyone, I'm new with LabVIEW and I need help. How to build LabVIEW program to read and store the data acquisition unit temperature data. the data can be any store such as Excel or a text file? Thank you.

    Start passing by examples of LabVIEW.  Go to help-> find examples.  There are several examples here just for the analog input and then even more for logging data to a file.  After that, show us what you have and we can guide you a little better that way.

  • How to read data from a worksheet to a chart in the form of wave at intervals to simulate real-time data

    Hi I have measured data using a SELF-DIAGNOSIS device and that you have downloaded the log files as a .csv I have attatched below.  I'm trying to read the 7th column of data (RPM) and display it on a waveform graph, read line-by-line to simulate driving real-time data. The interval between readings, I'm trying to achieve is 500 Ms because it is the time interval of readings on the worksheet. I'm finishing the two loops when rpm is equal to zero, as happens when the car is off. I have attatched the relevant section of my program below. Any suggestions would be greatly appreciated.

    Thank you

    Michael

    There are two errors in your block diagram.  First of all, as you read the entire table 2D in all at once (which is fine), you make a clumsy (pardon my language) job to make a line of programming.  Once you take the first line of headers, you have the ideal substrate for a loop, which is made of elements of an array (lines) process, one at a time, using its tunnel of indexation.

    The second mistake is to forget data flow.  The loop, I mentioned, or the While loop you use, produced one at a time and points it at 2 Hz thanks to your expectation of 500msec.  You want to give each point to your chart, but the picture is out of the loop, which means that there is No point until the loop ends.

    Here's an easy Question - where you put the indicators in table of waveform?  [Council - I said that "outside the loop is bad"].

    Bob Schor

  • How to read data from 16-bit unsigned IMAQdx?

    I was using my firewire camera to take pictures in unsigned 16-bit grayscale and processing of these data in matlab. However, the data becomes incorrect when the integration time of the camera is great. I discovered that the reasons are: 1, IMAQdx decoded data monochrome 16-bit signed 16-bit, which returns a negative value if the amplitude of each pixel is greater than 32768.  2, IMAQdx automatically adds a constant, which is equal to the amplitude of the largest negative value pixel, to all the pixel values, to change the smallest value to zero, but this process ruin the rest of my data and makes them almost irreversible.  I think the only method could solve this problem is to try to do in labview read image form of unsigned data, but I don't know if it's possible, because it is not optional in IMAQdx manual.

    Any suggestion will be appreciated.

    Hi Hosni,

    FireWire (especially earlier on) had some ambiguities on the endianness, signed-ness and depth of the pixel data that is returned. IMAQdx tries to take the best prognosis for 16-bit data using specific registers defined by the IIDC and other information she can deduct on the camera. However, sometimes these assumptions are incorrect. If you go to the acquiring of your camera attributes tab in MAX, you should be able to replace all these parameters correspond to what the camera expects its data should be interpreted.

    Eric

  • How to read data from the memory on the computer that was written by another program host

    Hi all

    This is my first post.

    I am very new to LabView and I just finished 1 Core and Core 2 with no experience of LabView.

    I have a card SilconSoftware acquisition with an FPGA card on it to capture and image of a CamerLink sensor processing. The FPGA is programmed to produce a 64-bit using DMA to the host PC image, and I know the address of the Image. The image consists of two pixels, I would read the pixels in LabView, so I can decode the information.

    How can I do this?

    Thank you _KAL

    I'm not familiar with this specific material, but the easiest is if the camera is compatible with IMAQ. Furthermore, the seller provides a DLL to access the images?

    Mike...

  • How to read data from the cell of the table hint?

    In my application, I filled the table hint with database data. Now I want, when I click on any particular line, I should be able to read the data in this row.

    Thank you best regards &,.

    Shrinivas

    Strange, I can see it with different accounts.

    OK, the VI attached.

    Christian

  • read data from xlsx file

    How to read data from an Excel 2010 worksheet with the .xlsx extension?  The data I want, it's on one of the 10 tabs in the file, I have to choose which programmatically.  I have the Report Generation Toolkit for LV2012, but all the screws that come with it seem to focus around writing data to a spreadsheet Excel and make charts and whatnot.  I want to * read * an Excel worksheet.  Seeking answers led to many 'Open it and save it as tab delimited text', which I can't do because I need data from different tabs, and because this file is quite dynamic with many users opening and adding several times.  In order to save the tab I want as a tab delimited text file per programming, I'm back a square, how to open it?

    My solution would ideally fill in the blanks of: spreadsheet.xlsx---> _---> 2 or 3D data table.

    Thank you

    Adam

    This fixes:

    https://decibel.NI.com/content/docs/doc-3033

  • Read data from table of $ E and insert in the staging table

    Hi all

    I'm new on ODI. I need your help to understand how to read data from a table ' E$ "and insert in an intermediate table.

    Scenario:

    The name of two columns, in a flat file, the employee and the employee id must be loaded into a data EMPstore +. A check constraint is added so that the data with the employee names in capital letters only to load in the data store. Check the command is set to the static movement . Right-click on the data store, select control , then check. The lines that have violated the check constraint are kept in E$ _EMP+ table.

    Problem:

    Problem is I want to read the data in the table E$ _EMP+ and transform in capital letters in the name of the employee and move the corrected data of E$ _EMP+ EMP+. Please advise me on how to automatically manage the 'soft' exceptions in ODI.

    Thank you

    If I understand, you want to change the columns in the tables of $ E and then load into the target.

    Now, if you notice how ODI recycles the error, there is an incremental update to the target using the E table $ after he filled the I$ table.

    I think you can do the same thing by creating an interface using the table of $ E as source and implement the business logic in this interface to fill the target.

  • How to read data in Adobe Flash and align it to look like it's column?

    I am doing an application that already exists, but I add a few improvements. I'll explain what this app is. There is a server and client side. The client side adds data to the Access database (the columns are time, name and surname). On the other computer is an application that displays this data (I don't know if he reads a database or another type of file, but I did a database). I know that server-side plays an .swf Flash file. This screen stays for about 30 seconds and then the application plays videos in the video player installed (ads, this model is connected to a TV) for some time and then the screen goes back to the display of the data.

    I'm 18 and I have very limited knowledge of Adobe Flash (I learned something at school). I've done completely client-side app. I now how to create server-side. My main problems are: how to connect to Adobe Flash to the database (is it possible to transfer this data to any other file that can be connected to the Flash?), how to read data from database for Flash and how to display it. I don't want to display the data in the grid. In the application that already exists, each word is like a new text (tool in Flash) and it is aligned. Is it possible to add a loop that creates new texts and plays database cell? How to refresh the Flash screen?

    I know it's a very complex issue, but your help would be very appreciated. I did on the client side in Delphi. If you need more information or if you do not understand something of my explanation, don't bother to ask. Thank you!

    You can transfer data back and forth between Flash and database on a server with PHP as the intermediary.  If you are looking for Gioogle use terms like 'AS # PHP MySQL tutorial' (fillin 2 or 3 for the ' # '), you should be able to find something to help you along there.

    What about adding new textfields and harmonizing, it depends on what version of as you use.  In AS3, you use just...

    var tField = new TextField();

    tField.x = a value to match.

    addChild (tField)

    As far as refreshing goes, this would require removing all Textfields you added and re-create new ones like you did the first time.  Yet once, it depends AS version that you use.  In AS3, you can use removeChild()

  • read data from a serial port

    Hello to everyone
    I use oracle forms 6i. I want to read data from a serial port. How can I do this?

    HII,

    You may search for any existing OCX or VBX component capable of doing this job.

    Better compliance
    Skyniazi

Maybe you are looking for

  • Issue 115-S1100 satellite with cooling system

    I had kept about 30 minutes work laptop in a bag, when I'm out there in the bag, he was doing some hot.I now have message in windows system 7: problem with cooling and then they recommend power off immediately. I bought it in the United States with w

  • HP 8300 professional image scanner

    Hello: I have a HP 8300 flatbed scanner. It's a beautiful machine and he worked for years as a champion on my old XP - SP3 OS System. This weekend, I got a new computer for my office, which has win 8.1, 64-bit. Will NOT LOAD the Photosmart software p

  • The HP Photosmart 3CO9g driver.

    Anyone know how I can get the necessary drivers for my HP's Photosmart 3CO9G printer? My search repeat myself that the drivers are not available

  • structure of the event a substitute

    Hello everyone and sorry for what I think may be a very newbie question, but I can't understand not just how to use the structure of the event in my program. The presentation is as follows: I'm using labview for control devices in my lab.  I have to

  • Lack of WIMGAPI:DLL FILE

    I am considering the upgrade of Windows 7 to the free offer of Windows 10 but when I initially tried to do this I get the message saying that the file WIMGAPI:DLL is missing and that the procedure cannot go further without him.  How to install or rei