How to control parallel pins I/O thru USB converter

Few years back I developed a 5.1 Labview program and a 3 axis stepper motor control system. It used the parallel port on the PC for communications. The last several laptop PCs I purchased have no parallel ports, at all. So I bought some Manhattan (336581) USB to parallel convert cables. I'm attempting to use NI-VISA 3.0 to control the USB converter therefore a parallel port. I'm having some trouble finding the correct VendorID, ProductId, ManufactName, and Model Name. I did manage to create a .inf and then .pnf files from info I received but Measurement&Automation Explorer doesn't find any Usb devices, much less the one I should have created. Once I do find the device, how do I control the IEEE-1284 pins at the 25 sub-d connector? I have the block diagram of USBTMC.vi but I'm confused as how to use output and input similar to the way I used to use "outport" and "inport"in 5.1 etc. Any suggestions how to control parallel I/O using a USB to Parallel converter. Thanks Robert

hi steve, i also facing the problem when using the USB to parallel port  to control output. before this i direct use the parallel port (PC) to control, now im adding a usb to parallel port to control the output (LAPTOP). it is using the device that u recommeded can solve the problem ? what is the function node that used in labview ? thanks. sheng
Attachments:
usb to parellel port led testing.jpg ‏1619 KB

Similar Messages

  • Anybody knows how to control parallel port to generate digital line ?

    All,
         I have found at some website, there are a software can generate corresponding signal (I suppose that is digital line) to driver a relay board, the relay board is 8 channels. which out put is pin 2, pin3, pin 4, pin5, pin 6, pin7, pin8 and pin 9 of parallel port to control it . it is well control, how can it do ?  and I want to simulate it at LV with parallel port too , how can it achieve ? which command, or a simple sample which you provide will be appreciated.
    thanks in advance.

    You forget to search through NI Web site. Here are some links.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/72C6FC6CE4AD4D1386256B1800794596
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B123AE0CB9CB111EE034080020E74861
    Sergey

  • How to implement the DLL for the I2C USB Converter from Coptonix

    I need to implement the DLL for the I2CUSB Converter from Coptonix into a LV-Program.
    I'm not sure how to use the BroadcastSystemMessage (part of user32.dll).
    Attached you will find the manual of the converter.
    And you'll see the VI that I have created.
    Many thanks in advance!
    Silvio
    Attachments:
    Fenster_I2CUSB_GetDeviceInfo_LV2010.JPG ‏94 KB
    IICUSB32DLL.pdf ‏58 KB

    Hello smercurio_fc
    Thank you very much for your posting. I'm able now to deal with the BroadcastSystemMessage... One problem still occures: I can start the VI once and it returns 9 messages (for every event that the DLL sees), but if I start the VI again
    it adds 6 additional messages. I tried to flush the MessageQueue but that didn't help? What can I do?
    Attachments:
    COD01.0420-PP_Test17_I2C_Version_03.vi ‏43 KB
    COD01.0420-PP_IIC_Teilbereich_01.JPG ‏201 KB
    COD01.0420-PP_IIC_Teilbereich_02.JPG ‏206 KB

  • How to control instrument switch through PCI-6503 & 50-pin I/O connector

    Hi, everyone:
    I have a problem in controlling an instrument switch which switch position between zero point and measuring point every five minutes during experiment. The hardware used is PCI-6503 card & corresponding 50-pin I/O connector, cable and the software is labview.
    The instrument manufacturer provide a cable(25-pol.SubD-plug male)for connection to computer(or DAQ board).The instrument manual showed the following pin assignment for this cable:
    25-pol subD-male pin assignment(TTL-level):
    meaning zero point measuring point
    Pin 9 MP L H
    Pin 7 ZP H L
    Pin 23 Gnd
    Pin 18 Gnd
    Pin 4
    Remote H H
    Pin 3 Weight1 H L
    Pin 2 Weight2 L H
    Pin 5 Gnd
    (weight1&weight2 is for calibration purpose)
    I want to connect these cable pins to Port A(pin 33-47) of I/O connector and then using labview easy digital I/O "write to a single port.vi" to programming it. But I don't know how to connect these pins. For example, pin-5,pin-23,pin-18 is Ground, how can I realize it ? Do I need to connect other pins in 25-pol sub-D plug(besides above 8-pins) male to 50-pinvI/O connector or just leave it alone? Hope everyone give me idea. Of course, the detail is preferred since I have a good background in electronic.
    Also I will be very happy if everyone have a labview programming sample in similiar application.
    Thank you very much for help!
    Sincerely
    Jingjun

    Hello;
    My understanding is that you need to connect each one of the GND pins to each one of the GND pins of the DAQ board. By doing that you will be creating the reference to the TTL signals being read on the DAQ board. The MP and ZP would go to any digital line of the preferrable Port and you should be good to go. As far as I'm concerned, you don't need to make any extra connection.
    I don't know exactly what you are willing to do with the data but, once the data changes each five minutes, you don't need any speed digital application. If you take a look at the Labview shipping examples for 6503 doing read from 1 Digital Port.vi, you should be ok.
    Hope this helps.
    Filipe

  • How to control a NI USB 6210 from a Lab View program?

    Hi,
    I started today with Lab View with some earlier experience long ago.
    While it took me only about half an hour to get my first program running (great), installation time nor included (of course), I meanwhile read documents for some hours and cannot find out how to control measurement hardware in Lab View.
    I want to use a USB 6210 to set a 1-bit digital port. But at the moment there is no USB6210 available so I wanted to write (or do you say draw ?) the program without it and if possible simulate the hardware.
    I drew DAQ Assistant into my block diagram and selected digital line output but get "No supported devices found". I don't know if the appropriate driver was installed during Lab View installation.
    Also I don't understand the mechanism between DAQmx, tasks and the real hardware. Now I have a "Digital Bool 1Line 1Point" Control in my block diagram. How do signals get from program flow to hardware pin? How can I create a simulation for not connected hardware?
    Any help is greatly welcome
    Thanks a lot
    Martin

    Okay here is some more tutorials if you get some free time, specifically the hardware stuff will be relavent.
    NI Learning Center
    NI Getting Started
    -Hardware Basics
    -LabVEW Basics
    -DAQ Application Tutorials
    3 Hour LabVIEW Introduction
    6 Hour LabVIEW Introduction
    Self Paced training for students
    Self Paced training beginner to advanced, SSP Required
    LabVIEW Wiki on Training
    Launch MAX, it was known as Measurement and Automation Explorer, there should be a shortcut in your start menu / desktop.  Under devices and interfaces you can find your hardware and open test panels to control it.  This is the first place to ensure your hardware is working.  If the device isn't seen you'll need to install the drivers and DAQmx software.  If it is there, great.
    Now launch LabVIEW.  The easiest way to control hardware is using the DAQ Assistant.  It has many limitations and isn't recommended for large applications.  But for something quick and dirty it works fine.  You'll find it under the Measurement I/O >> NI DAQmx palette on the block diagram.  If it isn't there you may need to reinstall the DAQmx drivers.  This can happen if you installed DAQmx before LabVIEW.
    Also you'll find under Help >> Find Examples on the toolbar, many examples on controlling hardware.  Feel free to post some code if  you are having problems.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • How to control the step motor in this situation?

    I have a PHI TRIFT3 ToF-SIMS instrument. The instrument comes with a default
    software. However, the software don't offer fine step motor control. I want to control
    the step motor using Labview.
    I got some info from a Japanese engineer of the company.
    The step motor controller is connect to a card in ISA slot. In the default software, I
    can send command like D2000(distance 2000) and A100(acceleration 100) to "port 2"
    to control the motor. I have a manual of the commands.
    However, I don't know how to send command from Labview. Here is a joysticker
    connected to COM1, COM2 is used for other vacuum control. The joysticker can also
    control the motor..Here are some reply from the company about the control.
    "We do not use special driver for control the step motor.
    This is just sending the serial command via RS232C per command instruction I
    sent you before. The only difference is, to simplify the hardware, we just talk to data acq
    module(wave form card) via PAHOST card(installed in ISA bus slot of the PC)
    to passthru the RS232C command to stepper motor control unit.
    If you try to talk to step motor. just send the RS command from Labview
    platform. (of course need to connect the step motor controller from PC,
    default TRIFT PC does not have a spare COM channel, might be need to add
    serial etension card or add the computer for Labview control)
    "TRIFT PC passthru the RS232 command throught ISA bus to PHI data
    acquisition box to stepper motor control.
    Joystick handled by default software , convert to stage movement
    command X and Y then send thru to ISA. "
    I tried to use the Basic Serial Write and Read.vi to send command to COM1 but I always
    get an error"1073807246 ocurred at property node(arg 1) in VISA configure Serial prot(Instr).vi->
    Basic Serial Write and Read.vi  Possible reason: VISA: the resource is valid, but VISA cannot access
    it."   I think this happens because the default software is also open and trying to control COM1.
    What should I do to accomplish the step motor control? Thanks a lot

    Just to start from scratch, have you verified that you can do basic communication with your serial port, ie successfully perform a loopback test?  Please let me know, and we will go from there.
    Logan S.

  • How to control 2 epos motor using microcontroller 50/5

    Hi. i've done a program from epos integrated to labVIEW to control 1 epos motor. i do the program by using the given epos sub-vi to labVIEW, but i only know how to do for controlling 1 motor. Anyone can help me or tell me how to control 2 motors or wad is needed?? thanks for your help :-D
    Solved!
    Go to Solution.

    Hi Spydi,
    up to now, I never did it with two EPOS. But you should first check your setup with the EPOS-Studio. You need to set two different Node ID`s and after this works from the EPOS-Studio <you should do two seperate lines of programming in LabVIEW. I attach some VI`s from maxon which are simple in using for one EPOS. I assume you just need to program them in parallel.
    And you don`t need the CANopen Library, it`s possible to use but very difficult. The EPOS-Library from the download is a Set of VI`s which where developed by maxon in Switzerland and free of use, they use a Communication DLL behind. If you`re interested maxon develops a new release right now. If you want to use them instead of the one you already had, let me know, I can ask there for a BETA and place it here at the forum.
    Kind regards
    Alex Rudolph
    NI Switzerland
    Attachments:
    EPOS Module.zip ‏77 KB

  • How to create parallel routing sequence

    how to create parallel routing sequence?
    we have routings 3010 ,3020 ,3030 and 3040.
    but 3010,3020 and 3030 operationwise shop list to be released at one time becuse they all are parallel operations.
    after 3010,3020 and 3030 operations 3040 is a sequencial operation.
    please do explain the process how to create parallel routing sequence in this case
    and confirmation of operations
    thanking you
    srinivas

    Srinivas,
    i think you are looking at an option were in you can confirm or do goods Issue for the order. If that was the requirement, then the control is in customizing transaction "OPK4".
    Here in this transaction you need to define "operation sequence is not checked" for the plant/order type combination.
    Hope this helps....Please let me know if your need is something else,
    Regards,
    Prasobh

  • Billing document is generated automatically How to control ?

    Hi...
       After creating outbound delivery in VL01N  , then the Billing document is also to be generated automatically , How to control this ?
    I want to create the billing document thru VF01 .
    Regards
    Deepa.
    Edited by: Deepa Manian on Jun 27, 2008 5:29 AM

    Dear Deepa,
    Try with this option,
    Check the copying riutines
    Go to transaction VTFL then select your document types then go in to the details of the copy control settings at header level and itemlevel here check the copying routines and logic in volved in those routines.
    As per standard these are copying routines should be
    At header level.
    003-Header/dlv.-related
    At itemlevel
    004 -  Deliv-related item
    007 - Inv.Split (Rec/Div)
    I hope it will help you,
    Regards,
    Murali.

  • How to control Isight from a remote location?

    Please help!
    I need to control the Isight camera conected to a mini mac using a G5 from a diferent location.
    I can control my mini mac thru Apple remote desktop fine, but I have no Idea how to control the camera intalled on the mini mac.
    I want to use the camara Isight on the mini mac to monitoring the place.
    Mini Mac   Mac OS X (10.4.7)   G 5

    Hi Robson54!
    Welcome to Apple Discussions!
    Check out EvoCam: http://www.evological.com/
    It may be what you are looking for!
    Let us know how it works out!

  • HOW TO CONTROL ON CREATION OF SALES ORDER WITH REFERENCE TO EARLIER SO?

    Dear All,
    I want to contol on creation of Sales order with reference to earlier SO?  While creation of sales order our enduser are creating sales order with reference to earlier month SO which I want to restrict. Recently I made changes in sales order like payment terms is grayed, system will atomatically pick pay terms from customer master.Now I am getting correct data also but enduser is using old SO no while creating new SO and old payment data is reflecting in fbl5n.
    I want to restrict enduser while creating new SO with ref. to old SO. Only for returns they should be able to use Billing refrence. Pl. suggest how to control the with reference to ealier SO.
    Nikhil

    Nikhil Deshpande,
          If you dont want allow create a sales order in referent to other one, just delete the copy control between these sales order type, so when the user tries to create a SO in reference to other one a message is displayed that is not possible.
    Thanks,
    Mariano.

  • CRM Web UI :- How to Control number of session of Web UI for a user

    Hello Experts,
    We do have very specific requirement which SAP doesn`t recommend in terms of multi-sessioning for a user.So we are little worried upon the challeges.Could you please share your ideas/Experience on following?
    1.How to Control number of Internet explorer session for the web UI (may be 2 or 3).?
      Though SAP doesn`t recommned more than one but our client requires 2 or more than that but we need to fix it either 
      2 or 3.
      So we are looking for specific setting for this.
    2.What are the challenges we need to face if we implement option 1?
    3.Specially in interaction record management
        a. Is there chance of loosing the data if agent has opened more than two session.
        b. In which session interaction record data will get stored,the one on which agent picked up the call or in the latest 
            one?
    Please let me know if I am not clear enough on any point.
    Thanks in advance,
    Shailendra Tolambiya

    Hi Shailendra,
    The following wiki page might be useful in this respect:
    http://wiki.sdn.sap.com/wiki/x/gxdKDQ
    Best Regards,
    Shiromani

  • How to control my MacBook Pro with my iPhone ?

    I do wanna know how to control my Macbook pro just with my iPhone, please

    If you mean copy files from one to the other you can connect the two via firewire cable and boot one into Target Disk Mode.

  • How to control follow up doc for  Activities

    Hi...
    I have created 10 different types of Activitiy Doc. When I open any activity in crmd_order I'm getting all other activities as follow up docs(when I click on follow up icon). I dont want all of them, may be I need one or two out of those. How to control those can anyone have idea
    Regards,
    Ajay

    Hi,
    Check the copy control for transactions in
    spro-->Customer Relationship Management->Transactions->Basic Settings->Copying Control for Business Transactions->Define Copying Control for Transaction Types
    If the transactions are maintained as follow up for the transaction you have created then remove the entries which you dont want as follow up.
    Reward points if it helps.
    Shridhar

  • How to do parallel processing with dynamic internal table

    Hi All,
    I need to implement parallel processing that involves dynamically created internal tables. I tried doing so using RFC function modules (using starting new task and other such methods) but didn't get success this requires RFC enabled function modules and at the same time RFC enabled function modules do not allow generic data type (STANDARD TABLE) which is needed for passing dynamic internal tables. My exact requirement is as follows:
    1. I've large chunk of data in two internal tables, one of them is formed dynamically and hence it's structure is not known at the time of coding.
    2. This data has to be processed together to generate another internal table, whose structure is pre-defined. But this data processing is taking very long time as the number of records are close to a million.
    3. I need to divide the dynamic internal table into (say) 1000 records each and pass to a function module and submit it to run in another task. Many such tasks will be executed in parallel.
    4. The function module running in parallel can insert the processed data into a database table and the main program can access it from there.
    Unfortunately, due to the limitation of not allowing generic data types in RFC, I'm unable to do this. Does anyone has any idea how to implement parallel processing using dynamic internal tables in these type of conditions.
    Any help will be highly appreciated.
    Thanks and regards,
    Ashin

    try the below code...
      DATA: w_subrc TYPE sy-subrc.
      DATA: w_infty(5) TYPE  c.
      data: w_string type string.
      FIELD-SYMBOLS: <f1> TYPE table.
      FIELD-SYMBOLS: <f1_wa> TYPE ANY.
      DATA: ref_tab TYPE REF TO data.
      CONCATENATE 'P' infty INTO w_infty.
      CREATE DATA ref_tab TYPE STANDARD TABLE OF (w_infty).
      ASSIGN ref_tab->* TO <f1>.
    * Create dynamic work area
      CREATE DATA ref_tab TYPE (w_infty).
      ASSIGN ref_tab->* TO <f1_wa>.
      IF begda IS INITIAL.
        begda = '18000101'.
      ENDIF.
      IF endda IS INITIAL.
        endda = '99991231'.
      ENDIF.
      CALL FUNCTION 'HR_READ_INFOTYPE'
        EXPORTING
          pernr           = pernr
          infty           = infty
          begda           = '18000101'
          endda           = '99991231'
        IMPORTING
          subrc           = w_subrc
        TABLES
          infty_tab       = <f1>
        EXCEPTIONS
          infty_not_found = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        subrc = w_subrc.
      ELSE.
      ENDIF.

Maybe you are looking for

  • Can I replace hard drive with Time Machine backup?

    I couldn't phrase this right to see if some already asked. I have MacBook with a 250gb HDD and I have a new 500gb HDD. I bought a USB Hard Drive enclosure and have been backing up with Time Machine. So my question is, can I take out my 250gb HDD and

  • Do I need a new battery connector?

    My macbook pro is from 2007. I have a charged battery, which is brand new. My computer recognizes the battery but wont run on it or charge it. I've tried reseting the pram, smc, cleaned contacts on both the charger and the computer. I've also tried a

  • How can I put C files gave me from Matlab Simulink Real Time Workshop in a CIN?

    I'm doing a turbine simulation, and I've already done it in Matlab Simulink Real Time Workshop. It gave me files .c, and I want to use them to run the same simulation on a PCI 7030/6040 using LabView RT 5.1. I'm using the CINs. My problem is that I'm

  • Contract: Sold/Ship-to-Party fields not available

    Hi Experts, I created a new Contract Type in one client A, copying the contract type settings from another client B.  The config in client B is working.  However, when I try testing my new Contract Type in client A, the Sold/Ship-to-Party fields not

  • Cant set up account. Ajax submit failed: error = 403, Forbidden

    I have tried numerous times to set up an ePrint account. No matter what email, password, screen name, in ANY combination I get: Ajax submit failed: error = 403, Forbidden Every single time. What is the deal?