Example VI "convert LPT I2C"?

Hello!

I convert data from an LPT in I2C interface!

Is this possible? Anyone know an example VI for this problem?

Kind regards

Patrick

You know these two threads?

How to use map DAQ/series/parallel Port of a PC to run an SPI communication?

http://forums.NI.com/NI/board/message?board.ID=170&message.ID=137823#M137823

It's more about the SPI, and you need output collector opened for the I2C, however make shure you look at the diagrams.

Implementation I2C or SPI with Pxi6508 in Labview

http://forums.NI.com/NI/board/message?board.ID=70&message.ID=7193#M7193

Tags: NI Software

Similar Questions

  • I2C + class motor from examples of robotic controller

    I try to combine (i.e. to use together in the same project) the motor controller class used in "Starter Kit 2.0 Custom FPGA" with I2C of "Communication I2C - sbRIO" in the examples of the Robotics module.

    I have already combined the FPGA code in a single FPGA VI and have tested the two individually.  When I go to use them together, I can't use the same FPGA VI reference because one is designed using a FPGA VI reference in dynamic mode (engines) and the other uses an FPGA VI reference that isn't in dynamic mode (I2C).

    So, what should I do?  I was going to try to convert the I2C in dynamic mode, but the only way I'd be able to do is to open the FPGA reference in each Subvi (since I can't bind to a type in the dynamic mode definition).  It also looks like trying to convert each other would be a nightmare because it would require to change the classes also (which is a mystery to me).

    P.S. I have sbRIO-9632 (Starter to be transferred to a large robot Kit)

    Nathan_B. . I met the same problem, when I mixed the two codes.

    And the only way I found to resolve this problem, configure the device "FPGA" in dynamic mode, then create a control and change of the Subvi in relation to the 'I2C Protocol', with this command (replace the input and output of the 'Sub - VI' - reference fpga). In this way, I realize the work programme. (see attachment).

  • FPGA read/write eeprom I2C

    Someone at - it an example of LabVIEW for I2C communication to read/write an eeprom?

    I use sbRIO-9636 with FPGA.

    I already tried with the "Advanced I2C" example, but it works...

    Can someone help me?

    Another suggestion:

    You know about the VI package manager? There, you can install an application open source I2C & SPI API (worms. 3.0.0.22). It is an easy way to implement a system of Bus I2C on an FPGA target.

    In this way is a little bit smarter.

    Maybe you like it.

  • REST API: attribute converted

    I use the REST API to access emails, and I found that the converted attribute is not readable in a time string. Could someone tell me how to convert it into a time warp?
    An example is converted":"1410076908 ". How to convert this number strng in one hour?

    The time stamp is provided in the format of the time.  Please see this page for info on this format of time stamp: http://www.epochconverter.com

  • Does not include how to start the DNG Converter to install Camera Raw for feature dehaze PS C6.

    I downloaded DNG Converter but I can't find the installation for PS C6 and Lightroom.  Adobe online instructions say starting with DNG Converter.

    The DNG Converter stands on its own and is used to treat the RAW images, for example to convert to DNG, which can then manipulate obsolete versions of ACR.

  • VMware converter 5.5 failed with the error failed to partition the disk of destination

    I tried to convert the centos linux server physical to virtual. However, I received an error message at 1% as below,

    Error: Impossible to partition the disk of destination.

    FAILED: an error occurred during conversion: "CalculateGPTPartitionLocations failed!"


    Conversion of GPT partition is available vcenter converter 5.1 and higher, so the GPT partition on the source server will not be a problem.

    Tried several ways as the storage of data changing but still receive the same error message.

    Anyone encounter this before?

    Hello

    Unfortunately there is a bug with Linux P2V Converter when the destination drive is greater than 2 TB (is not whether TPG, it's size). Sorry for the inconvenience.

    The solution would be to reduce the volumes instead of destination and/or their distributed on multiple disks. Another solution would be to leave unchecked high-volume and clone them manually after the conversion.

    Another misfortune is that these workaround solutions are not possible in your case - the root volume occupies approximately 4.3 TB, and the two 'start-up' and '-' are needed to perform a conversion with the reconfiguration.

    The options I can think of are:

    -make a manual P2V, i.e. to create the destination (with partitions, logical volumes and base) computer created and formatted, clone the data (for example the converter uses tar via ssh) and manually configure the virtual machine. The final step is, fixing/etc/fstab, installation of GRUB and rebuild the initrd image

    -install new and copy data

    -Optionally divides the volume of root on the source machine if possible and then convert it. For example, to add a new drive temporarily and move some data so that all volumes become smaller than 2 TB.

    Kind regards

    Plamen

  • Why inDesign converts px mm in a very strange way?

    Hello

    My problem is when I'm creating a banner in inDesign (before you say anything, I do the banner on inDesign templates as we put the works prepared on a web platform that works only with .indd files and offers quick changes of files without the need of inDesign) and I set the size to 930 px to 180 px for example it converts mm which is good , but when a JPEG file is exported the size in pixels is autour 3000px x 750 px or something, why inDesign converts the units like that? If I use Photoshop to convert my units of its all fine.

    Any suggestions?

    InDesign is focused on printing. You can't really work in pixels, there there will be no idea what size of pixels. (Unlike Photoshop, which is a raster file and lives in the world of pixel).

    So, when you choose a size in pixels, InDesign converts just a real size.

    When you export to JPEG, clearly the design must be rasterised. The resolution has no relation to the resolution of all placed graphics, but is chosen on the export. The rules are very simple, for example, if you have a design, 10 x 10 inches and export at 300 dpi, you get 3000 x 3000 pixels. If you export the same design at 72 dpi you get 720 x 720 pixels.

  • Convert number to timestamp

    Hello

    I have a number of data type column in a table that stores timestamps in format hhmiss

    For example

    95338 - convert at 09:53:38
    convert it 101816 - 10:18:16
    123456 - convert to 12:34:56
    83417 convert t0 08:34:17

    Can anyone recommend the best way to convert the number format to timestamp(hh:mi:ss). The problem seems to lie with numbers < 10 because they lack a zero for example 95338

    Thank you

    SELECT TO_CHAR (TO_DATE (TO_CHAR (95338, '000000'), 'HHMISS'), 'HH:MI:SS') of double

  • Getting property of type 'Date' from a PDO data store

    It is therefore a question of both parties.  Part A: when I search for data in a data store, to find data by using the object Navigator returns the correct number of results, using the object. GetElementList does not work.  I'm looking in the data store for steps created between a certain date (using the iStartTime property).  It seems that they must return the same results.  Please see part A of my code pasted below.  Any suggestions?  Perhaps it is - that it is related to part B of my question.

    Part b: iStartTime property is the data type 30, or of type Date.  When I try to access the value of the property of iStartTime I got an error stating that ' the object does not support this property or method ".  Is there a special way to get the value of a property when the property is a date?

    Any suggestion would be appreciated!

    -Russ

    Option Explicit  ' force explicit declaration of all variables in a script.
    Dim MyElementList, oMyDataStore, StartDate, EndDate, MySearchString

    MyDataStorePlugin Sun: myDataStorePlugin = 'PDO '.
    MyDataStoreParam Sun: myDataStoreParam = "AVL7D667E7B1EBFBAB6736F66010CCAB1AC8CB28FD2ROCMSAPP01600000000YESYESYESauto"
    Set oMyDataStore = Navigator.ConnectDataStoreByParameter (myDataStorePlugin, myDataStoreParam)

    StartDate = Cdate (DateAdd("d",-3,Date)) + TimeSerial (0,0,0)
    EndDate = Cdate (DateAdd("d",0,Date)) + TimeSerial (23,59,59)

    '------------------------------------------------------------------------------------------------------------------------------------------------
    ' PROBLEM A: THESE TWO SEARCH SHOULD BE THE SAME, BUT THEY RETURN DIFFERENT results.
    "This returns zero search results."
    Set MyElementList = oMyDataStore.GetElementList ("Action", "iStartTime > =" & StartDate & ") iStartTime<=" &="">
    MsgBox ("GetElementList count:" & MyElementList.Count)

    «That returns 18 results»
    Dial the navigator. Display.CurrDataStore.Browser.refreshALL
    Call Navigator.Display.CurrDataStore.QueryForm.Clear
    Call Navigator.Display.CurrDataStore.QueryForm.Conditions.Add("Measurement","iStartTime",">=",Startdate) ' here is where I add a new condition.
    Call Navigator.Display.CurrDataStore.QueryForm.Conditions.Add ("action", "iStartTime" "<=",EndDate) 'here's="" where="" i'm="" adding="" a="" new="">
    Navigator.Display.CurrDataStore.QueryForm.Conditions.Logic = "C1 AND C2.
    Navigator.Display.CurrDataStore.ResultsList.Elements.MaxCount = 10000
    Call Navigator.Display.CurrDataStore.QueryForm.Search () ' and that triggers the search according to my requirements and the data store I went.
    MsgBox ("browser search count:"& Navigator.Display.CurrDataStore.ResultsList.Elements.Count ")

    '------------------------------------------------------------------------------------------------------------------------------------
    «PROBLEM B: iStartTime IS DATA TYPE 30 OR DATE TYPE.» HOW TO ACCESS THE VALUE?

    MsgBox ("identification data type:" & Navigator.Display.CurrDataStore.ResultsList.Elements.Item (1).) Properties.Item ("Id"). DataType) "Message:" data type Id: 3 ""
    MsgBox ("Id value:" & Navigator.Display.CurrDataStore.ResultsList.Elements.Item (1).) Properties.Item ("Id"). Value) "Message:" Id value: 266888 ""

    MsgBox ("iStartTime data type:" & Navigator.Display.CurrDataStore.ResultsList.Elements.Item (1).) Properties.Item ("iStartTime"). DataType) "Message:" type of identification data: 30 ""
    MsgBox ("iStartTime value:" & Navigator.Display.CurrDataStore.ResultsList.Elements.Item (1).) Properties.Item ("iStartTime"). Value) ' results in error, the object does not support this property or method

    Sorry, I've replaced iStartTime by measurement_begin to make it work on my local database :-)

    The point is that the syntax of GetElementList is the following

    "iStartTime > = 20121201033; iStartTime<>

    When converting a CDate to str it cause string locale-dependent.

    But the suggestion would be to use the

    Dim query: query = oMyDataStore.CreateQuery set

    instead of the query string. Because he avoid conversion errors. Be aware that even a double value to a string in Germany for example will convert a written decimal number while the stringquery expects at this point notation.

    Set MyElementList = oMyDataStore.GetElementList ("Action", "measurement_begin > =" & RTT (StartDate, "#YYYYMMDDhhnnss") & ") measurement_begin<=" &="">

    must provide correct results.

  • Variant of 2D to 2D chain

    Hello world

    I am facing a problem to change the variant data type and the string

    Is there a method or the example to convert the 2D 2D Variant string ?

    I already tried to use "Variant data" several times, but fail.

    is there another method or another one?

    Thank you!!!

    This information is very useful and help me a lot

    Thank you very much!!

    Now I can use it to convect...

  • Error 116 when a string of binary file reading

    I try to use the 'writing on a binary' and "binary file reading" pair of VI to write a string to a binary file and read it again.  The file is created successfully and a hex editor confirms that the file contains what is expected (a header + chain).  However, when I try to read the string back once again, I received an error 116: "LabVIEW: Unflatten or stream of bytes read operation failed due to corrupted, unexpected or truncated data.»  A quirk I found though, is that if I put "endianness" to "Big-Endian, network order", the error disappears when I use "native, welcome the order" (my original setting) or "little-endian" error occurs.  Did I miss something in the documentation indicating that you can use big endian order when writing of strings, I do something wrong, or is this a bug in Labview?  Because the program that it will be used for is to write large networks, in addition to channels, I would like to be able to stick to the 'native' setting for speed purposes and must not mix "endianness".

    I have attached a VI of example that illustrates this problem.

    I'm using Labview 8.5 on Windows XP SP2.

    Thank you

    Kevin

    Hello

    Please contact National Instruments!  I checked the behavior that you have met and agree that it is a bug, it has been reported to R & D (CAR # 130314) for further investigation.  As you have already understood possible workaround is to use the Big-Endian parameter.  Also, I am enclosing another example that converts the string to a binary array before writing to the file, and then converts to a string according to the playback of the file.  Please let me know if you have any questions after looking at this example though and I'll be happy to help you!  Thank you very much for the comments!

  • Modbus communication with a piezoelectric dynamometer

    Hello..!

    I am a new user of LV and I try to communicate with a piezoelectric dynamometer in modbus RS232.

    After you install NI Modbus Library, I created a master VI with labview 8.6 using these libraries and I can get communication with scale, these values are added in the registry U32Bit 1 and it's good, if I press a load cell, I can see the values exceed. (from 0 to 65535). Now, I want to show on the front the weight in KG, as the decimal separator, for a proper interpretation of the value for my client, so I added a block table to unbundle that I convert a value with I32Bit (-32768 a 32768) with a flag, but I don't see not all values...

    I guess I did something wrong (conversion), I read a few KB, but I do not see a solution...

    Can someone give me a link or information to show me an example to convert this value... ?

    Thanks in advance for any help to...

    Configuration of master VI:

    Read now register

    Address starting 2012 (query to get the net value of the load cell)

    Quantity 1

    Slave address: 1

    RTU

    9600

    3 com

    parity none

    Can you post some examples of bytes you receive from the Modbus read and you expect that these values are?  It's probably just a matter of the right of casting, or the number endianism, or operation of scale that must be done.

  • I got negatives on a CD. The instructions say to "run the Photo on the CD Viewer '.» How can I do this?

    I got the negatives on a CD instead of local printing. The instructions that came with the CD says: 1) Insert the CD into your computer [what I did];

    (2) run "photo Viewer for Windows: on the CD." Use the photo viewer to see photos & save them to your computer.

    [I did not #1 because I do not know how to do "... on the CD" etc etc] [Can someone tell me how to make this you?]

    If J tips do not help, download and install IrfanView (it's free).  Start IrfanView, click file > open, navigate to your CD-ROM drive, and then select the first file.  Once the file is open, you can use the left/right arrows in the menu bar of IrfanView to come and go through your negatives.

    You will see that IrfanView is a very powerful and versatile image viewing application.  Among other things, you can display many different types of image files, conversion between types (for example, to convert a BMP to JPG file) and resize the image (useful for emailing) files.

    Although you could save the files you open and view them by clicking file > save on each of them, it is easier to save all the files at once:

    • Put the CD in the drive
    • Open my computer
    • Double-click the icon for your CD drive
    • Click Edit > select all
    • In the right pane, click "copy the selected files.
    • In the context menu, navigate to the location where you want to save the files (probably in my pictures - you will need to click on the + sign next to My Documents to see)
    • Click the copy button
  • Office Jet 6110: OJ 6110 in Win 8.1 Installation and support all features

    Just moved this old printer a computer Win 8.1. Cannot find a full star driver that will run. I can print, but the scan options are very limited; for example cannot convert a scanned as pdf document. Where can I get a driver that supports completely the printer, as I had with Windows XP.

    Hello

    I'm afraid that you can't have all of the features you had in XP, only a basic set of drivers is available for your printer for Windows 8:

    http://support.HP.com/us-en/document/c03467277

    You can try a freeware software such as NATIONAL action plans that allow scanning to PDF and check if that can provide you with additional features:

    http://naps2.sourceforge.NET/

    Hope that helps,

    Shlomi

  • I have no other choice than to install Win7 on FAT32 partition temporarily. How can he do?

    I have no other choice than to install Win7 on FAT32 partition temporarily. How can he do?

    Original title: on FAT32 Win7

    There is no way you can install Win 7 on FAT32 FS. Windows vista and win 7 support NTFS only. Win 7 and vista support Fat32 to read discs not for OS install.
    In windows disk management, you get only option FAT32 if the size of the disk is less than 32 GB. probably by design that MS has done.
    You can use the third-party partitioning as partition magic tools for example to convert the partition to FAT32 if you have more than 32 GB of partition
    If you convert win 7 partition FAT32 your windows os may not work.

Maybe you are looking for

  • does not display html e-mail. How can I get show them?

    When I did the last update, I got emails saying "to see this e-mail, please see the HTML version. How can I do this? I can't find an option for that. And I have a few emails that appear to be blank, probably for the same reason. Other emails which us

  • Password for WRTG54 router wireless?

    I share internet access with my neighbour via my wireless router.  I have a password to access the router configuration, but you should know how to set a password, just him and I can use the router, but others cannot access the internet or get into m

  • Windows Live Mail 2011 W7

    A few weeks ago I started having problems.  Download emails, but could not open them.  After that, I couldn't even open the program.  Solution is to run repair on the Essentials uninstall program.  That would work for several days and re-appear.  Fin

  • Can I install norton antivirus on the surface running on windows rt?

    Can I install norton antivirus on the surface running on windows rt?

  • No subscription found after purchase

    I bought the plan of creative cloud photography and I have already received the invoice. But when I run the PS application it said: your trial period has expired (the installed version is a trial) I follow the step "licensed software", sing along wit