How to use a USB-to-par​allel adapter to communicat​e with my switch device?

My computer doesn't have a parallel port, so I must use the USB port and a USB-to-parallel adapter to communicate with my switch device. Unfortunately in WindowsXP printer configure that show USB001 Virtual printer for USB. How should I control my USB-to-Parallel converter to send the Pin1 and Pin3 high? How should I decide that I/O address in Labview (traditional LPT1 is 378AH) ?

Hi Kelvin,
I understand that you want to control pins on your serial port using LabVIEW. Since you are using Windows XP, only LabVIEW version 7.0 will be able to control the pins. The pins can be controlled by modifying the values of the access registers that windows associates with each pin. If you are using LabVIEW 7.0, then the VI's located on the Funtions >> Advanced >> Port I/O palette should help you assign values to the proper pins.
This information can also be found on another discussion forum thread located at the following url:
http://exchange.ni.com/servlet/ProcessRequest?RHIV​EID=101&RPAGEID=135&HOID=506500000008000000438A000​0&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
Thanks for contacting NI, and I hope this helps.
Marcus G.
National Instruments

Similar Messages

  • How can I install Windows 8.1 using a USB Pen Drive in Late 2011 Macbook Pro with DVD R/W given.

    How can I install Windows 8.1 using a USB Pen Drive in Late 2011 Macbook Pro with DVD R/W given.
    I have Boot Camp 5.1.2 (497) and there is no option for installing using USB. I have downloaded an image of Windows 8.1 already.
    I can't install using DVD R/W because it's not working.
    Please help me.
    Thank you.

    unlocked by myself
    thanks

  • Req any examples of how to use a USB midi controller​/keyboards with Labview TIA

    Req any examples of how to use a USB midi controller/keyboards with Labview TIA

    Hi,
    To access the MIDI ports you will need to call the Windows SDK. To send MIDI commands is relatively easy, here is an example that shows you how to send data to a MIDI controller or keyboard.
    As far as input goes, this is the hard part. There are a series of functions that you need to call to open up the device, set some buffers and and possibly a callback to get notifications on the incoming data.
    Reading MIDI data will not be an easy task, your best bet will be to implement this in a DLL and call that DLL in LabVIEW, there should be some code available o the web.
    = "http://msdn.microsoft.com/library/default.asp?url​=/library/en-us/multimed/htm/_win32_multimedia_... is a link to the Windows multimedia functions that you could use for MIDI input.
    Let me know if you have any further questions.
    Regards,
    Juan Carlos
    N.I.

  • How to use multiple JREs (1.5.0_20 and 1.6.0_07) with Internet Explorer 8?

    Hi!
    Question about the problem mentioned in subject.
    I have configured that JNLP opens with 1.5 version, both versions are enabled in Java Control Panel Runtime Settings but when I try to start a desktop java console says:
    Java Web Start 1.5.0_22
    Using JRE version 1.6.0_07 Java HotSpot(TM) Client VM
    And the opening of the desktop creates an exception:
    Java Web Start - Invalid Argument Error
    TooManyArgumentsException[ Too many arguments supplied: {C:\WINDOWS\Temporary, Internet, Files\Content.IE5\....
    I'm trying to open my desktop with 1.5 version and other programs with 1.6 version. What is it that I still need to do? I'm kind of confused with this. Some of my collagues have succeeded with this and some doesn't, with the same configuration.
    So the question is, how to use multiple JREs with IE8 so that one application uses 1.5 version and others 1.6 version?
    Br,
    Katri
    Edited by: ka**** on 09-Mar-2011 01:16
    Edited by: ka**** on 09-Mar-2011 03:16

    ka**** wrote:
    ..Question about the problem mentioned in subject.No "Using multiple JREs (1.5.0_20 and 1.6.0_07) with Internet Explorer 8" is a statement. To transform it to a question would be something like "How to use multiple JREs (1.5.0_20 and 1.6.0_07) with Internet Explorer 8?".
    Once you can come up with an actual question, I might look at this more closely.

  • Can I use a USB hub to connect more than 1 hard drive/flash drive device to the EA4500?

    Can I use a USB hub to connect more than 1 hard drive/flash drive device to the EA4500?

    That's not possible, it was designed to handle one device at a time. 
    I don't work for Cisco. I'm just here to help.

  • Any one knows how to use Axis Framework in the SOAP Adapter Modules

    How to use Axis Framework in the SOAP Adapter?
    How to add custom handler modules?
    http://help.sap.com/saphelp_nw04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/frameset.htm
    I went through the above link on help.sap.com. But still could not create a working example.
    I have created a wc on some 3ed party app server using apaches axis. I am trying to call that web service from XI using SOAP receiver? I need to add some security related headers to the soap message, SO I am trying to use a handler.  I want to know how to configure this handler in SOAP axis adapter module.
    Thank you
    Moni

    Ravi ,
    I am trying exactly the same. Hers is the scenario.
    ABAP Proxy --> PI (7.0) SP 12 ---> WebService.
    Since This is service is secured, means it is using OASIS web servie securyty user name token,
    I am trying to use AXIS adapter. and I want to configure HandlerBean in which I want to use apache wss4j api to add the userNameToken. I am looking for some documentation on this.
    I need to add SOAP action element too as I can not configure this one on the communication channel.
    Thanks for any inputs in this regard.
    Moni

  • How to use iPhone USB tethering / Personal Hotspot without iTunes

    I have a corporate laptop so didn't want to install the whole of iTunes to enable USB tethering / Personal Hotspot.
    Here's how you can enable USB tethering / Personal Hotspot without installing iTunes.
    1. Download iTunes from https://www.apple.com/itunes/download/
    2. Extract the contents of the downloaded file using winRAR or 7zip. In particular you want the following files:
    For 32 bit systems:
    - AppleApplicationSupport.msi
    - AppleMobileDeviceSupport.msi
    For 64 bit systems:
    - AppleApplicationSupport64.msi
    - AppleMobileDeviceSupport6464.msi
    Note: If you don't have either winRAR or 7zip you can do the following instead:
    Start the iTunes installation, then on reaching the first screen, the required files will be extracted to your machine, perform a search for one of the files above on your C drive whilst the iTunes installation window is open, it should find them in a temp folder somewhere, you can then copy and paste them somewhere and close the iTunes installation.
    3. Before continuing, ensure your iphone is not connected to the computer. Then, install AppleApplicationSupport.msi (or AppleApplicationSupport64.msi for 64 bit machine)
    4. Install AppleMobileDeviceSupport.msi (or AppleMobileDevice6464.msi)
    5. Restart your computer
    6. After your computer has restarted, enable Personal Hotspot on your iPhone (select USB only option) and plug in your iPhone using the USB cable. Some device drivers will install and then your computer should automatically connect to the iPhone internet connection.

        Hi kveille,
    Using the personal hotspot can become tricky as there are three different options available. Based on your details, it sounds like you've been trying the option to connect using WiFi on your computer and iPad. We have the steps needed for iOS 6 to activate and use WiFi so I encourage to use these exact steps to get it to work http://bit.ly/SFLD2b. You will need to check that the MacBook Pro is setup to pick up the network the right way. Check by following http://bit.ly/PJkOWZ. Step 9 demonstrates how to find the network name that you can look for on your computer. Try these steps and keep us posted to the status of the connection.
    Thank you,
    MariaC_VZW
    Please follow us on Twitter @VZWSupport

  • How to use cRIO USB mass storage?

    Hi,
    I am using the NI9215 as an analog input port and want to write the data into an external USB mass storage which is connected in the
    cRIo-9012 USB port.  I do not have any idea how to write the data into USB mass storage, does anyone can give me some help?       

    Differences among brands and models are due to the fact that certain devices take greater liberties with the USB mass storage device specification than others.  A venerable operating system like Windows (or even Linux) is shot through with workarounds for device- and manufacturer-specific issues that are not present (as much) in VxWorks, which is the OS used on the cRIO-9012.  Therefore only devices that adhere very rigorously to the specification are going to work properly.
    Unfortunately, degree of adherence to the USB spec is not something that's generally published about a device, nor is there any sort of official certification process.  So to some extent it's trial and error.  I am working with our support enginners currently to develop a list of devices that NI certifies as interoperable with VxWorks, and also VxWorks is increasing the robustness of their USB support with every release.
    EDIT: And the advice about reformatting the device is very sound.  The cRIO-9012 does not support the NTFS file system, only FAT 12, 16, and 32.  If the USB device is formatted for NTFS, it will not function properly.
    Finally, if anyone sees a storage device that fails to work properly despite all these suggestions, please post as much information as possible (model number, manufacturer, capacity).  Having this information will allow us to work with the manufacturers of VxWorks to improve USB support.
    Message Edited by CharlesC on 02-22-2007 12:12 PM

  • How to use A USB enclosure to transfer data from my old SSD to my new SSD?

    So i have a mid-2012 Macbook Pro with a 120 gb ssd, and i recently bought 240gb Kingston HyperX 3K SSD(With the upgrade kit). In the kit i have the USB enclousre with a CD for transferring my data from the old SSD to the newer. The problem is i got no idea how to do it. I tried youtubeing it but most of them were on a Windows PC. Can somebody Please tell me how to transfer my data using the USB enclousre.
    Thank you for your time.

    Put the new drive in the external enclosure. Connect it to the computer. Partition and format the drive:
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND-R keys until the Main Utilities menu appears on the screen..
    Partition and Format the hard drive:
    1. Select Disk Utility from the main menu and click on the Continue button.
    2. After DU loads select your external SSD drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed. Quit DU and return to the main menu.
    Clone Lion/Mountain Lion using Restore Option of Disk Utility
         1. Select the destination volume from the left side list.
         2. Click on the Restore tab in the DU main window.
         3. Select the destination volume from the left side list and drag it
             to the Destination entry field.
         4. Select the source volume from the left side list and drag it to
             the Source entry field.
         5. Double-check you got it right, then click on the Restore button.
    Destination means the external SSD drive. Source means the internal startup drive.

  • How to use a usb with bootcamp on a computer with a cd drive

    I have a macbook pro late 2011 and I want to install windows on it. I dont have any cds or dvds that I can burn and I want to be able to use a usb instead. I found another post which lets me make a bootable windows 8 usb but when I try to install it with bootcamp it just says no bootable device instert boot disk and press any key to try again and I cant install it even if i remove the usb and try again. I then powered off my computer and held down option and got the operating system chooser page and I saw efi boot. I selected that and I was able to boot into the setup for windows when it asks me where I want to install Windows, I choose Partition 4, the Bootcamp partition. It shows the error message that Windows cannot be installed because the selected disk is of the GPT partititon style so i try to format it in the setup but that fails and gives me the same error message. I dont know what to do. Can anyone help me?

    Have you used Bootcamp Assistant to create the partition for Windows?
    If your Mac came with a cd drive then you'll almost certainly need to use that cd drive to install Windows. Some have published workarounds by changing a .plist file but it is not always successful.

  • How to use alias in "From" field when I send a mail with utl_smtp ?

    Hi all,
    I'm using a PL/SQL package with an Oracle 11G database to send mails. It works fine but instead of use of my mail in "From" field like "[email protected]" as sender E-mail address, I would like to have "Toto" in the sender address. I tryied to use utl_smtp.mail(l_connection, '<toto> [email protected]') but it doesn't work. The only way I can send mail is when I set utl_smtp.mail(l_connection, '<[email protected]>') directly. When I use the Alias, I have an error from smtp server telling that I use a bad syntax address.
    Does someone know how to use the alias ? Where do I do a mistake ?
    Thank you for your help.
    sis2b

    Thank you, I find how to solve the problem thanks to your link.
    I try to send HTML E-mail so I had the From in the from field writen in the header of the mail and not to initialize the connection.
    sis2b.

  • How to use sql variables in jdbc send adapter??

    Hi,
    i wanna use a variable in the sql statement in the jdbc send adapter.
    i know i can key sql statement in the "Query SQL Statement" in the jdbc send adapter.but i dont know how to use variables in the sql statement.
    i mean, for example, the sql statement is "SELECT * FROM t_student WHERE READFLAG = 0", but now i wanna instead of "0"(the value of the READFLAG) using a variable.
    and if i can use a variable to replace the "0"(the value of the READFLAG above sql statement), then how can i send a value to the variable??
    request help in the regard.
    thx in advance.
    Brian

    Hi,
    Use the place holders to pass the data at runtime. Check the below structure for more details.
    Hope this helps.
    Thanks and Regards,
    Kalpesh
    <root>
      <stmt>
        <Student action="SQL_QUERY">
          <access> SELECT * FROM t_student WHERE READFLAG = '$FLAG$ </access>
          <key>
            <FLAG>0</FLAG>
          </key>
        </Student>
      </stmt>
    </root>

  • Levenberg Marquardt: how to use a decimal as an exponent? it only works with integers!

    Hi,
    I use LV 6.1 and I want to use the Levenberg-Marquardt algorithm
    to extract the best fit coefficients for the following equation:
    Y =A*(X-B)^(1.7)
    The data I input are X and Y (that I know)  and I
    expect the vi to display A and B. I also input approximate values of A
    and B. It works perfectly well for Y=A*(X-B)^2 or for any integer but
    neither for (1,7), nor for  1.7 or (17/10).
    Has anyone an idea how to use a decimal number as an exponent? Is there another vi I can us?
    Any help appreciated,
    Nicooo

    Well, I don't think my initial parameters are the problem, because it works perfectly with a value of the exponent equal to 2 for example, but not for 2.1.
    the vi computes 1000 iterations. Concerning the errors,for example  if I input 1.7 I will get  NaN for the coefficients and 0 for the error
    If I input 1,7 as an exponent I get 0 for the coefficients but 23001 for the error.
    I've attached two vis and somme typical data. I hope you will have a better idea than me
    Thank you for your help
    Attachments:
    creep.vi ‏273 KB
    creep2.vi ‏302 KB
    04-12-08_X7142B-27_cl_3200s_pas2_50g_800C_2.txt ‏329 KB

  • How to use a GPIB card's LabView drivers to communicate with the card?

    I have an axiomtek AX4810P PCI-GPIB card and i have aquired LabView drivers from the manufacturer.
    This has put VI's for the GPIB functions on the 'user palette' but i can't work out how to use them to communicate with the card. can anyone help? please.

    LS,
    Thank you for contacting National Instruments.
    Unfortunately, since you are not using a National Instruments GPIB card, I do not have access to the drivers that were provided to you by your card's manufacturer. I would suggest contacting Axiomtek directly to obtain support using their drivers.
    However, I did write a small VI that demonstrates how to use similar National Instruments drivers with a National Instruments GPIB card. Keep in mind, this example VI is not intended to work with your particular card. The drivers you obtained from Axiomtek may have similar functions, however, and you can use my VI as a guide. My VI allows you to send a command to an instrument at address 2 on the GPIB card.
    Hope this helps!
    Matthew C
    Applications
    Engineer
    National Instruments
    Attachments:
    GPIB_Communication.vi ‏23 KB

  • How to use given WSDL into SOAP Receiver Adapter.

    Hi all,
    http://www.webservicex.net/ValidateEmail.asmx?WSDL
    I want to use this above given WSDL into SOAP Receiver Adapter.
    Can I directly use this link into SOAP Receiver adapter.
    Or first I need to register or deploy it somewhere in PI ( Services).
    If Yesu2026 Kindly show/Provide me the way..
    Regards
    Prabhu.

    Thanks to all,
    i will now try to make the complete end to end scenario.
    thanks for now.
    I hope above given information would be enough to make end to end webservice scenario.
    for now, i i am closing this thread.
    if i will find any more further problems in this ... i will come up with new thread.
    Thanks all,
    Prabhu
    I have assigned 2 Points to AMIT , abishek
    Edited by: Prabhathcl on Jun 9, 2010 8:39 AM
    Edited by: Prabhathcl on Jun 9, 2010 8:39 AM
    Edited by: Prabhathcl on Jun 9, 2010 8:40 AM

Maybe you are looking for

  • Varient on selection screen

    Hi all, I have created varient for my selection screen. If other user run my program he should not see my varient. please suggest me in this regard. With rds anand

  • Sharing across different subnets

    I have successfully connected a remote PC to my WRV54G using QuickVPN.  That remote PC can ping computers across the VPN and those computers can likewise ping the remote PC.  I have even successfully connected with Remote Desktop from that remote PC

  • FM, for uploading attachment in DMS and getting the LOgical & physical ID

    Hi everybody, I'm creating contract via FM, now I'd like to add attachments, I have been doing test and is working with attachments already created in the system. (This is in a SRM systems, but my question is about a FM in the BASIS part) I am fillin

  • THE NETWORK ADAPTOR COULD NOT ESTABLISH THE CONNECTION error, pls help me

    I download sql developer and when i want to add a new connection and fiil in the blacnks than i click test button i got the "THE NETWORK ADAPTOR COULD NOT ESTABLISH THE CONNECTION" ERROR , what should i do? should i download 10g or 11g to use sql dev

  • Error the run DMA

    While run DMA into cucm 4.1(3) for upgrade database to 7.1(5) I view the error below: [05:09:13 PM] modExportDatabase=Failure [05:09:13 PM] Failed to complete database processing successfully. [05:09:13 PM] License file (licupgrade.lic)is not generat