Parallel Communication (RAW?)

I have a need to use the Parallel port to send signals to an external circuit. There is no need for bi-directional support (no data needs to be sent back to the computer). I have downloaded and read through the Comm API extension documentation but eveything for the Parallel port uses "Printer" to describe everything and nothing about raw (or some device other than a printer) access.
Simply put, I would like to use 5 pins as address lines, 4 pins for data lines, and 1 strobe line (active indicator). The circuit I would be connecting to will use simple BCD decoding to decode the Address and the Data and then determine if it should do anything (based on the Strobe/Active Indicator line).
Could someone provide some input into how this could be accomplished???? (If it is possible with the current Comm API).
I'm not totally locked into the Parallel port. If it is possible only with a Serial port, then that will work fine, but we have an existing, manual, system that works with the Parallel cables and switchs so we would like to keep everything the same.

I have only gotten this to work in win98. win2000 & 95 didn't work no matter what I tried - I don't know why. In win98 though, I successfully emulated a printer (on the parallel port) by tying BUSY (pin 11) & PAPER END (pin 12) low. that's all. Then, I used STROBE (pin 1) to clock in the data on my external circuit, and used the 8 data lines to transfer the info. I don't know how you could get 9 data lines - its possible, but probably not with javax.comm .

Similar Messages

  • How to upgrade system from serial communication to parallel communication

    Hi,
    I am working on Lab VIEW 8.5.In my project I am using ADAM cards(7) for analog/digital inputs/outputs. Communication is done via RS 232 serial cable. Right now my system is working fine, but if i want to make it more fast i will need to use parallel communication right? Because Simultaneous inputs and outputs are processed. How much my communication file will change? Which card i should use?
    How to upgrade system? On which factors it depends or it affects? I need guide lines.
    Thank you
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.

    Hi
    In your setup you have a ADAM 4250 RS232/485 repeater talking with 7 instruments in a network. Each instrument have a unique address, and you can only address 1 instrument at a time. If you need more speed you have to insert more ADAM 4250 units in your system and more RS232 ports on the PC. Identical ADAM instruments may receive commands over the same communication line, but transmit data on a unique communication line. You can not use the parallel port in your setup at all. This is not a Labview problem but a hardware problem. If speed is critical maybe the Ethernet I/O Modules: ADAM-6000 series are better for your setup 
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Campaign execution for parallel communication medias

    Hi,
    From a campaing I want to create orders and in parallell send e-mails. In the img activity I have created a communication medium which consists of a communication method for creating order and one for creating e-mail, but only the method with the higest priority is started and it is not allowed to have to methods with the same priority. Some ideas??
    regards Camilla

    Hi Camilla,
    Kindly try using one communication medium having 'Communication method = Imternet mail', and use
    'Transaction type = Sales order' (by selecting appropriate type from F4 help).
    This will allow two process to be set on same priority.
    Hope this helps.
    Regards,
    Anup

  • Parallel Communication

    Dear All,
                 Can we send data to more than two systems parallely without using BPM?
    Regards,
    Ashish

    Bhavesh I made the following changes:
    1 Rec Business Service
    1 Sender busines Service
    1 message mapp  (source occurance 1  and  for both destination messages occurance 0 to unbounded)
    1 interface mapp (source occurance 1  and  for both destination messages occurance 0 to unbounded)
    1 sender interface
    2 receiver interface
    1 S.A
    1 R.d
    1 I.D
    2 R.A
    still I am getting the following message:
    <i><b>  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">GENERIC</SAP:Code>
      <SAP:P1>Split mapping created no messages</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Split mapping created no messages</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error></b></i>
    The oubiund message that I have put in the root folder of FTPis
    <i><b><?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:ASH_MULTI_Message1 xmlns:ns1="http://ASH_MULTI">
             <age>21</age>
             <name>Ashish</name>
             <location>Melbourne</location>
          </ns1:ASH_MULTI_Message1>
       </ns0:Message1>
    </ns0:Messages></b></i>
    Please advice
    Regards,
    Ashish
    Message was edited by:
            Ashish Goyal

  • Lightroom and new Raw Converters

    In Photoshop we will get about each 3 months new Raw-/DNG-converters.
    This was in CS, CS2 and I think it will be also in CS3.
    Does anyone know, how to integrate new raw-converters in Lightroom?
    Will we get parallel with raw Converter 4.0 / 4.1 / 4.2 also new versions of lightroom (1.1, 1.2, ...)?
    Achim Guhr
    Nottuln Germany

    LR has a method to get new-camera support and it will, so don't worry.

  • Java and serial port communication

    Hello,
    In my code i have parsed a file through which i have extracted the port name and baud rate .
    Now i want to open the port with this portname and baud rate.
    I have a device moxa card which has 16 port and want to open each and and read and write data into it.
    thanking you.

    RXTX seems to be a decent library for serial/parallel communication using Java.
    [http://www.rxtx.org/]

  • How do I best upgrade a multiworkstation app using DSC from LV7.2 to 8.6?

    I have an extended, properly functioning process control and data acquisition application running across multiple workstations (roughly 10). The workstations share information with each other and with process controllers via DSC and OPC.
    We're currently running at version 7.1, and this spring we want to update to the current version of Labview (which, by then, will be 8.6.1; we are on the SSP).
    I understand that the tag engine/database have changed significantly between 7.1 and the current version of the DSC, and wonder if there is a good roadmap for executing this upgrade to minimize downtime on our tool?
    Kevin Roche
    Advisory Engineer/Scientist
    Spintronics and Magnetoelectronics group
    IBM Research Almaden

    Hi Ben -- we do not log history or events in the DSC, so that is not an issue.
    The application is controlling a multi-chamber (7 connected vacuum chambers arranged in a star configuration) thin film deposition system. The basic control, interlocks, and safety/process security of the vacuum components is done via a series of Opto22 "brains", which are essentially simple processors running programs to control IO for valves and temperature control systems. They communicate with each other via Ethernet.
    There is an OPC server for the Opto22 brains, which runs on one workstation dedicated to use as a gateway between LabVIEW and the network of brains. A DSC tag database is set up on that machine to access some of the IO states and variables in the brains, and then the other workstations have tag databases that reference those tags (the brains' communications interfaces can be overwhelmed if too many workstations access them simultaneously, so we use a single workstation as the gateway).  Via the gateway, a workstation may read/manipulate some of the io states directly, and make other requests of the brains' software by setting flag variables in the strategies running therein.
    Each chamber also has a complex motion control system for process manipulation, as well as extensive serial/parallel communications to control the gas systems, deposition power supplies, etc.  The process software on each workstation makes available a "snapshot" of its process state available via memory tags in the DSC, so that the workstation controlling the central chamber can detect when a task in an outer chamber is completed and move samples between the different chambers.
    All the workstations, brains, and motion control systems are interconnected via an Ethernet network independent of our building intranet. There is one additional workstation that maintains a process database, where each workstation can record each process task and the samples affected by it.
    Everything is working at this point, but we recognize that we are overdue to bring the system up to the current level.
    In particular, guidance as to a possible way to upgrade the gateway tag DSC database and then the others referencing it in advance of recompiling all the software, if that is possible.
    Kevin Roche
    Advisory Engineer/Scientist
    Spintronics and Magnetoelectronics group
    IBM Research Almaden

  • How can I control individual pins of VHDCI connector on PXIe-6548?

    I need to use the VHDCI interface on slot 3 i.e. NI PXIe-6548 of NI PXIe-1062Q for testing purposes. I need to raise or lower the individual lines from the available 68 lines. Do I need to use VISA to do so?
    If not VISA, how do NI-HSDIO VIs that are availble with LabView 2009 help to do so? The MAX test pannel specifies channel 0-15 and 16-31. How are these channels related to the 68 lines?
    Solved!
    Go to Solution.

    Thanks Keith!
    I still have some problems. I appreciate every bit of your help.
    How does the in-built ni HSDIO VI take care of the parallel communication protocol. e.g. There are some pins as chip-select, Rd/xWr etc. they need to be raised or lowered according to the operation. Now, I am trying to communicate with the DUT using 9 bit data, 9 bit address.
    I tried to write in the DUT using static generation VI. I formed a word of 20 bits according to the mapping of 9 address, 9 data, a chip-select and a RD/xWR and generated that word on the channels 0-19. 
    But when I tried to read data from DUT, It acquires the same data that was written on 0-19. For a read operation, the active-low chip select is lowered after the rising edge of the clock, RD/xWR is raised, and the respective address lines are raised, then on the next positive edge of the clock the data is sampled. I do not understand how to make all of this happen using Labview. Instead of reading back from the DUT, the VI gives me the same pattern that I generated.
    I know how the parallel communication is supposed to happen, but I don't understand how LabView is supposed to be used for this.
    Please help. 

  • RPC calls and multicast messages in oc4j cluster

    Hi, our application uses RPC calls, which are distributed over multicast messages (jgroups). We use RPC calls to update internal object cache, which exists on each cluster instance. The OC4J instance, which sends the message, successfully receives these and executes the RPC call. The other OC4J instance does not get the message or cannot execute the RPC call. I don't know whether reception of multicast messages is not possible and/or the RPC call is not possible (safety reasons). The same implementation does work with other app. server like Bea Weblogic 8.1.

    Scrap JMS. Use plain java.net or JINI.
    You could create a Peer-to-Peer Chain:
    Server A -> Server B -> Server C -> Server A
    On each Server have a server listening for messages (from the Server to the left in the chain) and a client that sends messages (to the Server to the right in the chain) and an application that links the server and client on each Server.
    So,
    Server A's "server" listens for messages from the "client" on Server C, and so on.
    This is vary efficent. A simple send-receive chain that is clusterd within a small (or large) group of Servers. You could also try Bi-Directional Parallel Communications BDPC. That would basically have Server A send messages to both Servers - one to the left and one to the right, then at the same time, listen for messages from the Server on the left and the Server on the right. This is better suited for large-scale clusters where a Uni-directional communications model would take too long to propogate messages to every member of the group.
    But, that's just me.

  • Why not use application specific multicast listener in  appserver cluster

    Hello Friends,
    I am using oracle9iAs. we have basically two enterprise application. and often they communicate to each other, currently we have message bean sending a message with is nothing more than 2 integer values. The second application uses these two integers to update specific data cache.
    First of All I am not aware or have come across any documentation on JMS clustering in Oralce9iAS. they still are very much behind Weblogic interms of feature implementation, If I wrong correct me here.
    Now coming to my requirement, we are clustering application servers now and I need to be able to send messages to all
    the servers in the cluster, lets say message generated by server 1 and application A to Application B on all other servers in cluster including the host.
    well My dilemma is I want to use JMS but How to subscribe to different topics on cluster if topic is not only cluster able,.. if topics themselves running in clustered servers are not clustered.
    so the easiest way for me to do this is to use a Multicast Listener on Application B on all the servers in the cluster and send message to it. well I know I will using socket here,... but I do also have control over transaction scope, this message is only sent upon successful completion of transaction on Application A.
    now I ask my question. In this situation do things is there any risk that I am taking by using MulticastListner in my app?
    your thoughts and ideas are appreciated
    Thanks
    Jay

    Scrap JMS. Use plain java.net or JINI.
    You could create a Peer-to-Peer Chain:
    Server A -> Server B -> Server C -> Server A
    On each Server have a server listening for messages (from the Server to the left in the chain) and a client that sends messages (to the Server to the right in the chain) and an application that links the server and client on each Server.
    So,
    Server A's "server" listens for messages from the "client" on Server C, and so on.
    This is vary efficent. A simple send-receive chain that is clusterd within a small (or large) group of Servers. You could also try Bi-Directional Parallel Communications BDPC. That would basically have Server A send messages to both Servers - one to the left and one to the right, then at the same time, listen for messages from the Server on the left and the Server on the right. This is better suited for large-scale clusters where a Uni-directional communications model would take too long to propogate messages to every member of the group.
    But, that's just me.

  • Filesystem Suggestions for Oracle on Linux

    Hello. We've been running Oracle on Solaris with Veritas Volume Manager (w/ qio) for about 4 years now and we are gearing up for going Oracle (9i) on Linux (AS). Since we are just getting started I wanted to run through setting up a preliminary test machine and Oracle install (I.E., we don't want to spend too much $ just yet).
    Can anyone supply some feedback on the various filesystems that come with Redhat or that are available from the open source community (raw, ext3fs, xfs, reiserfs)? Eventually we may look at things like Veritas for Linux or OCFS, but for setting up a initial testbed, might yall recommend some pros and cons, perhaps some performance estimates of going raw, versus the various linux filesystems? Also, is there a good document available for setting up raw partitions on linux for oracle? Any and all feedback would be appreciated.

    Hi,
    Keep in mind, if you need to use large amount of data, with databank files bigger than 2GB, some people consider the reiserfs the better option. Pther way ext3 is a good one.
    Regards,
    Eduardo

  • Scaling and green screen in premiere cs5.5

    Some background.
    Years ago we used visual communicator pro to do some green screen shooting.  I frankly did not know what I was doing with the lighting, and got a lot of spill and shadow.  I've been looking for a way to fix this.  I recently bought cs5.5 to be able to do this with Ultra keyer.
    I also have VC 2.0 running on the same computer.
    Since I don't want to set the background, and since Pr does not know how to import visual communicator raw camera streams (please, does anyone know how to convert these into something that pr can handle)  , I decided on this course of action.
    I rendered the vidieos in VC using a synthetic green screen (basiclly a solid green image produced in painshop with a color fill).
    I have rendered videos with this, and they have a solid green background with a lot of shadows in .avi format.
    I have a background that was originally to be used with each clip.  The backgrounds are  smaller than the dvi resolution of the rendered videos, so need to be scaled.  They may eventually be replaced, but not right now.  I am trying to get these rendered into green screens.  i've watched a half dozen youtube videos and have gotten part way.
    What I have done is:
    Imported this image into pr as track 1 and the video as track 2.  stretched the image length to match the video track.
    I have dragged the garbage matt onto the video.  I have dragged ultra keyer onto the video.  I can play the green screen video.
    I need to scale the image. I've tried everything in all the adobe help files and nothing seems to work.  Clicking on the transform icon and twirling the scaling open, I cannot get the handles to appear around the image in the monitor window, no matter what I try.  If I change to the video window and twirl open ultra key and 8 point garbage map, and click on the transform button, the handles for the garbage matt do not appear.  If I click on the eyedropper, I can select the key color, but it doesn't take effect.
    I am sure this is pilot error,
    What am I doing wrong?

    I have it working.  The panel is the timeline.   In the effects menu you can click the double arrow and the timeline view opens up.  THEN it works.   Go figure.
    At this point I was able to render a video.  But even with a lot of tweaking of choke, alpha channel etc, I have not been able to get rid of the gray border around the figure.  It is there in the original rendering from VC and I was hoping to be able to get rid of it. So far no joy.  I did try using it as the key, but that got othe grays in the hair, so that is no good.   I wish where was sort of a spline garbage map that you could use to tighly outline a figure, and then the renderer would be able to track motion and keep the spline garbage map with the figure outline.  It would take a lot of computing but theoretically it could be done.  Or even an auto-trace feature like the one in the old corel draw, which would autotrace an image, making a vector spline out of it.  It would then be possible to create a mask that would follow the motion of the actor.
    The shadows and such are cleanly gone though.  So now if I can reproduce the ability to do this on another clip, I have a fighting chance.  It is sad that Adobe has abandoned VC pro.  The teleprompter was a nice feature.
    I imagine that I can simulate one using some other adobe tool, but I'll just have to play with it.  I can see that using a good digital camera on a green screen and shooting footage that way will be a better solution.  The only problem is that in the past 6 years since the footage was shot, my wife has aged a bit, so reshooting these shots and trying to combine the good ones with the bad ones, might not be as cohesive as one would like.
    I appreciate your time.  I still don't know exactly *what* I did that made it start working, but I am pretty sure it was opening the timeline in the effects window.

  • 1_WIRE_LO_REF in NI PXI-2503

    Hello,
    I've used NI PXI-2503 (serial ports) to read current output signals from a circuit, and 1_WIRE_LO_REF has been used for reference (voltage input to the circuit?). To switch over to parallel communication, I will use SCB-68. In this box, I have no idea which port is equivalent to 1_WIRE_LO_REF. Which port should I use in SCB-68?
    Thanks,
    Mihye

    Hi Mihye,
    The SCB-68 numbers the screw terminals in such a way that they correspond with the pin numbers in the device pinout for hardware with a 68-pin connection.  Checking the pinout on page 5 of the 2503 specifications, it looks like pin 22 is the 1_WIRE_LO_REF line, so you should connect the reference signal to the screw terminal labeled 22.
    Kyle B  |  Product Support Engineer  |  ni.com/support

  • Labview crashes without any warning or error messages

    Hi,
    I have been using Labview programs for the last 2 months without any problem. All of a sudden the program has started crashing while running. There are no error messages on the screen. The program runs for long hours and during my intermediate inspections i find that Labview has closed without any sign on the computer. This has happened about 2-3 times in the last week but before this there was no such problem. Also this problem is not specific to one program alone. There are other independent modules that have faced the same situation. No two programs are run simultaneously, and the programs use only serial (one of the program also uses parallel) communications with connected devices.
    Any suggestions to troub
    leshoot / diagnose the problem will be highly appreciated,
    Thanks
    Gyro

    Thanks for your comments. I can use the vi as a sub vi. The error/crash occurs randomly (anywhere from a before running the program to about 8hrs after starting it). Improtantly i have used this program for about 15 times without any problem. The same error is also occuring for other programs. And all of these errors have started occuring in the recent past 3-4 days. Any clues as to what might have triggered this?

  • LabView and Spider8 from HBM

    I am using LabView together with the AD-converter 'Spider8' from HBM. I
    downloaded the LabView driver for this measurement device from the NI
    homepage. Now I have got problems with data acquisition, it doesn't work at
    all. Furthermore, the system is very unstable. Can anybody help me?

    I’m using Spider8 and LV for a small control system at more than 2 years now. System was Pentium3, LV 6.1 and Win 2000. Spider with the P22 firmware version.
    The main communication was trough LPT1 in EPP mode. You even could set it at 9600Hz_no filter measuring rate without any error message in Spider32 setup or LV
    and without any big a problem to run the provided Vis from HBM.
    BUT the good days are gone…I have updated everything. Now is a P4, WinXP pro and  LV7.1. All my programs, including the original HBM LV examples cannot run perfectly. It seems as the connection is not fast enough. Reading values includes a lot of “Infinite” values. I have tried all possibilities in the parallel communication (EPP, Nibble, Bit 8..) and it is always the same problem. Spider32 setup still can read it but seems a lot slower now.
    A review: I took the chance and I have installed the last DLLs (due a new installation of Spider32 setup). The computer Bios (Compaq EVO D500) accepts EPP+ECP only (the old one was free to choose EPP only). HBM home page doesn’t present any Firmware version to download (you click in download-firmware and it is empty). The HBM LV example (Example 1) only works fine if before you turn off Spider8 AND doesn’t run Spider32 setup before running the example (almost an useless solution…)
    I’m still working around this problem but I’m running out of options.
    Any advice is welcome as well as was a place where I still can download the last firmware version.
    Thanks,
    Rodolfo

Maybe you are looking for

  • Remote Logon with Internet Explorer

    Using SAPNW7.0ABAPTrialSP12. I'm trying to logon in a network by using Internet Explorer but every thing fails. Remote and local Gui Logon is Ok and local logon true URL http://localhost:8000/sap/bc/gui/sap/its/webgui?sap-client=000 is Ok. I don't kn

  • Problem in importing from dmp file

    Hi , I am facing problem while importing from dmp file on unix server Error is as follows : Export file created by EXPORT:V08.01.07 via conventional path IMP-00013: only a DBA can import a file exported by another DBA IMP-00000: Import terminated uns

  • Receiver SOAP : Parsing SOAP Exception

    Hello We have a simple scenario SOAP scenario and we are calling backend service in our Receiver SOAP It seems that issue is with the SOAP Action. Our backend service has multiple SOAP Actions : Endpoint  is as follows http://serverID/ABCSoftware/ABC

  • BUG for sort column with Oracle 11g and APEX 3.2

    I have BUG in Report region(Oracle 11g and APEX 3.2). if i have more than 746 Char for my column's value and i want to sort them, this error appear Report error : ORA-00910: specified length too long for its datatype. But in an other environement in

  • Milestone Billing Structure

    Dear PS Experts, We have real estate projects (Customer projects), and one typical structure is we have a housing complex project of 100 villas. (We are in process of implementing PS but all other SAP modules like FI/CO, MM, SD, PM, PP, QM etc are ex