LabVIEW St. 3.1Win: how to interface to Centronics

I'm a novice with LV
I made a simple ADC via centronics (ADC08831+LM35) and
I'd to test it using Labview.
I tried to use Serial Port Read VI
setting up port number to 10 (LPT1?)
with no success
Anyone can help me?
I haven't any DAQ card.
Thanl You

Hallo, Delta_Force,
Du meintest am 15.11.00 zum Thema Re: LabVIEW St. 3.1Win: how to interface to Centronics:
>> Reading from the LP port is tricky. How is the port configured (in
>> the CMOS setup): SPP, EPP or ECP?
> SPP: it's an old 486
>> Do you know how to switch "base+0" from output to input?
> No I don't
From Vernon Buergs Interrupt list (port list):
--------P-P03BC03BF--------------------------
PORT 03BC-03BF - PARALLEL PRINTER PORT (MDA's LPT1)
Range: PORT 0278h, PORT 0378h, or PORT 03BCh
SeeAlso: MEM 0040h:0008h
03BC -W data port
03BC R- bidirectional port: input from connector
unidirectional port: last value written to port
03BD R- status port (see #P0658)
03BE RW control port (see #P0659)
Bitfields for parallel interface status port:
Bit(s) Description (Table P0658)
7 busy
6 NOT acknowledge (approx. 5us low pulse)
5 out of paper
4 printer is selected
3 *no* error
2 IRQ has *not* occurred
(PS/2) printer returned -ACK
1-0 reserved
Note: if bit 2 is clear (i.e. an interrupt has occurred), it is set again on
reading the status register
SeeAlso: #P0659
Bitfields for parallel interface control port:
Bit(s) Description (Table P0659)
7-6 reserved
7 (see PORT 037Bh bit 7)
5 (PS/2) enable bidirectional port
(also requires enabling via PORT 0102h)
4 enable IRQ (via -ACK)
3 select printer (SLCT IN line)
2 =0 initialize printer (-RESET line)
1 automatic line feed
0 strobe (must be set for minimum of 5 microseconds)
SeeAlso: #P0658
--------V-P03BF------------------------------
PORT 03BF - Hercules configuration switch register
Note: can also be found on EGA and VGA clones in Hercules emulation
03BF -W configuration switch register (see #P0660)
03BF -W (ET4000) Hercules compatibility register (see #P0661)
03BF RW (Genoa SuperEGA) miscellaneous register
Note: only available in MDA, HGC, and CGA emulation; should be
compatible with Hercules configuration register, but may contain
additional features
Bitfields for Hercules configuration switch register:
Bit(s) Description (Table P0660)
7-2 reserved
1 =0 disables upper 32K of graphics mode buffer
=1 enables upper 32K of graphics mode buffer
0 =0 prevents graphics mode
=1 allows graphics mode
SeeAlso: #P0661
He describes Port 03bch, Port 0378h ("LPT1") and 0278h ("LPT2") act in
the same way.
On a SPP port you cannot read from (base+0), you can only use some of
the status lines from (base+1).
Viele Gruesse!
Helmut

Similar Messages

  • LabVIEW 3.1 SE: how to interface with Centronics

    I would to interface my serial ADC (ADS7822) via
    Centronics so I was wondering how I can do it
    by usinf LabVIEW 3.1 Student Version.
    Thanks in advance.

    The printer port (Centronics) is parallel communication and you'll need a converter. The ones in my Black Box catalog (www.blackbox.com) are not cheap - ~U$100. Cheaper to buy another serial port card for the computer. You'd then have the problem of how to communicate with the parallel port. Version 3.1 is extremely old. With a newer LabVIEW version you'd have more options.

  • How to interface with ROWID column in DB2?

    I'm using DB2 version 7.1.
    I have a column in a table called ROWID, and the Data Type is ROWID. However, I don't know how to interface with it in Java. For example, for CHAR and VARCHAR, I use the String class. For SMALLINT, I use int, etc. But what do I use for ROWID? It's not in the java.sql.Types list. The DB2 manual says it is stored as a VARCHAR(17), but I didn't just want to assume I could use String.
    Any thoughts?

    try getObject() and see what kind of object you get:
    ResultSet rs = statement.executeQuery("...");
    while(rs.next()) {
      Object o = rs.getObject(1); // the rowid column
      System.out.println(o + " class: " + o.getClass().getName());
    }

  • How to interface the Weigh Bridge System with ABAP thru' RS232 PORT

    Hi Gurus,
    Can any one guide me how to interface the Weigh Bridge System with ABAP thru' RS232 PORT. I think we have to use the BAPI. What is the name of the BAPI.
    I have to capture the GROSS WEIGHT, TARE WEIGHT. can any one give me the code for that.
    Goodwill
    Jacob charles

    Hi Jacob,
    <b>You can integrate Weigh Bridge with SAP ABAP .
    I have done this for one of our projects
    The technology used in RFC SDK and DCOM Connector.
    Refer to this link
    SAP Business One SDK Version 2005 [original link is broken]
    Search here for sap software distribution center link
    https://websmp203.sap-ag.de/~form/handler?_APP=00200682500000001943&_EVENT=SEARCH&HIDE=&SEARCH_SPAT=X&SEARCH_BPAT=X&SEARCH_CD=X&SEARCH_P=X&SEARCH_PV=X&SEARCH_C=X&SEARCH_CV=X&SEARCH_TA=&SEARCH_V=&HIDE_EXPERT_SEARCH=X&SEARCH_MAX_RESULT=20
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndcom/html/sapintegration.asp
    http://www.intelligententerprise.com/channels/applications/feature/archive/homann.jhtml;jsessionid=BR44S4YLZ0HSGQSNDLOSKHSCJUNN2JVN?_requestid=505707
    www.sapgenie.com/sapgenie/docs/SAP%20Connectors.doc
    help.sap.com/printdocu/core/ Print46c/en/data/pdf/BCMIDDCOM/BCMIDDCOM.pdf</b>
    Good Luck and thanks
    AK

  • How does interfaces overcome the problem of single inheritance?

    1) How does interfaces overcome the problem of single inheritance? Can anyone give an example of how it works?
    2) In a Java book, I read: "Interfaces are implemented and used throughout the Java class library when behavior is expected to be implemented by a number of disparate classes."
    Why does different classes require to implement a Java class library?
    Can anyone please enlighten? Thanks.

    >
    2) In a Java book, I read: "Interfaces are implemented and used throughout the Java class library when behavior is expected to be implemented by a number of disparate classes."
    Hi, let me try to explain this.
    Say you have a left hand drive BMW and a right hand drive AUDI. typeOfDrive is a property for these two cars. If i am trying to make this property abstract, i will prefer to put this property in an Interface called Car. My classes BmwCar and AudiCar implement the Car Interface; by which they can use the property typeOfDrive.
    So, the behaviour 'typeOfDrive'; when expected to be implemented by Disparate entities BmwCar and AudiCar, we try to abstract that property to a common Interface called Car.
    interface Car {
    String typeOfDrive;
    String getTypeOfDrive();
    class BmwCar implements Car {
    String getTypeOfDrive() {
       return typeOfDrive;
    void setTypeOfDrive(String tod) {
    this.typeOfDrive = tod;
    class AudiCar implements Car {
    String getTypeOfDrive() {
       return typeOfDrive;
    void setTypeOfDrive(String tod) {
    this.typeOfDrive = tod;
    }Now, when you create instance of your disparate classes, you will define the declared property 'typeOfDrive', as 'Left Hand Drive' for BmwCar and 'Right Hand Drive' for AudiCar.
    So, "Interfaces are implemented and used throughout the Java class library when behavior is expected to be implemented by a number of disparate classes."
    You can refer to many web wikis for better examples and explanations.
    Regards,
    ~N~

  • Hey, i need to get started on labview. i have to make an interface in which i have to make a program to send a voltage to a machine

    hey, i need to get started on labview. i have to make an interface in which i have to make a program to send a voltage to a machine

    well you could start by telling us what the name of the machine is. What type of interfacing does it have. does it already have ready made drivers.
    These are just a few things we need to know.
    Joe.
    "NOTHING IS EVER EASY"

  • How many Interfaces can i implement?

    How many interfaces can i implement in one class??
    I have 2 different events and i want the same class to be a listener for both events generated from one class.

    Around 32,000 (although the class file has a 16 bit
    unsigned int for the number of interfaces, each
    needs a class info and the string in the constant
    pool, which is limited to 65,535 entries).So what's the runtime overhead of adding an interface?

  • How marker interface works?

    Marker interface have blank body containing nothing.
    I want to know how implementing class start behaving in that manner or how marker interface technology work??

    Marker interfaces are also called "tag" interfaces since they tag all the derived classes into a category based on their purpose. For example, all classes that implement the Cloneable interface can be cloned (i.e., the clone() method can be called on them). The Java compiler checks to make sure that if the clone() method is called on a class and the class implements the Cloneable interface. For example, consider the following call to the clone() method on an object o:
    MyObject o = new MyObject();
    MyObjectref = (MyObject)(o.clone());
    If the class MyObject does not implement the interface Cloneable (and Cloneable is not implemented by any of the superclasses that MyObject inherits from), the compiler will mark this line as an error. This is because the clone() method may only be called by objects of type "Cloneable." Hence, even though Cloneable is an empty interface, it serves an important purpose.

  • How do i pass a daqmx task from labview to matlab using the math interface toolkit?

    I want to use DAQMX functions from Matlab using the Math Interface Toolkit (MIT). How can I have a labview function output (return) the DAQMX task to matlab via the MIT?
    I want to do this so I can start a DAQMX task in Labview from a matlab function and return control to matlab without losing the task.

    Hi Mark,
    (I already posted this answer in your other thread, but let's keep THIS thread alive - it makes more sense here in the LabVIEW forum than in Instrument Control forum.)
    Since the DAQmx Task is not a native data type that can be passed directly to MATLAB from LAbVIEW, try flattening the DAQmx Task to a string before passing to MATLAB. However, I doubt that you can access the task from within MATLAB, but feel free to give it a try.
    Good luck!
    - Philip Courtois, Thinkbot Solutions

  • Where are the guidelines for how to interface customized data acquisition equipment to LabVIEW?

    I have a need to do some very specialized data acquisition that may require building special hardware. I would still like to use LabVIEW as the front end and perhaps even carry portions of the interface over into the final product. However, I cannot find the documentation. Where is that kept? I have seen references to a number of generic protocols, without any links back to the details, that may be suitable. The data is high bandwidth, but bursty with sampling rates up to 40 MHz and events that last about 100 milliseconds. Can anyone recommend which of the various methods would best suit this application?
    Solved!
    Go to Solution.

    Once you have figured out your communication bus, it is just a matter of how to format your commands and data.  You will need to do this regardless of programming language you choose.  Formating the data is quite simple in LabVIEW.  You just have to write the data to the right thing.
    Quickly based on the limited parameters you have given us, I would go with an Ethernet connection.  I'm not completely sure if the Ethernet bus will be able to handle your bandwidth, though.  If not, then you will need to go to a PCIe or PXIe connection.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions

  • How to use Labview 7.0 to make program interface?

    Hellow!
    Will Labview 7.0 be able to make the program interface? just like some application software made by VC++,VB?
    The program interface should have the menu,button,...
    Thanks!

    You can use LV to create a fully working program with an interface of your design, just like you would in any other compiler. LV actually serves as a compiler for a graphical language called G, which is based on dataflow instead of text based execution (the data "flows" through wires from one function to the next, controlling execution order and filling the role of variables).
    Since LV is multiplatform (and not MS), its default controls are not identical to those in VC and VB, but those can be accessed to. Actually, in many ways, it's much easier to build an interface in LV, because building the interface actually defines your "variables" and your interaction with the code.
    An interface would be no good without a program, so you will have to know how to use LV. It's much faster to learn than other languages, but you will still need some experience to write good programs.
    To learn more, I suggest you start by reading the LabVIEW user manual. Also, try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide.
    If your question was only about MS buttons, like in VB and VC, you can find them in the Dialog Controls palette, or you can use ActiveX to embed them into your program.
    Try to take over the world!

  • How to interface greek fonts (iso-8859-7) with labview for linux 8.5.1

    I am trying to interface an Labview Linux application with greek fonts ,how i can achieve this out ? I want to use iso-8859-7 icharset. I am using a gentoo distro. Can anyone help me  ?
    thanks....
    Ελευθερία σημαίνει ότι μαθαίνεις να έχεις απαιτήσεις μόνο από τον εαυτό σου, όχι από τη ζωή ή τους άλλους

    Hi Sak1s,
    Are you looking to create labels and captions with Greek fonts?  You may be interested in the LabVIEW Help topic on Localizing VIs. 
    Jennifer R.
    National Instruments
    Applications Engineer

  • How much interfaces can be driven in "real-time" with a VI in LABVIEW 6i

    In my application I need to merged data from different devices hanging to my computer via different interface types. Each data set in to be specifically formatted in a file. Each data set comes a a rate of ~ 10 Hz.
    As acquisition devices I do have
    - 4 digitizers connected to the PCI bus and their labview driver are already given by the constructor
    - an instrument from which data to be imported via a GPIB interface
    - an instrument from which data are imported via a serial port
    - and probably in the future, 2 devices mounted on two USB port
    I wish to developp a LABVIEW 6i code which permit me to make the request to all instrument, to import the data and to merged them as quick as possible so
    that I can store data set coming every 0,1 s. All data from all instruments must be recorded for the same event at the same time (in a triggered manner) before it performs the acquistions for the next event
    I would like to know what is the best way to each my goal.
    - Is it possible to control all this with one VI (containing lot of VIs) ?
    - Should I execute a VI for each interface and run them at the same time and save all data set with a time stamps in a file and then, off-line, process all the files and merge my information.
    In a general manner, are there any rules which indicate the maximum number of interface (according to their nature) which can be properly controled on a given platform from one computer.
    Thanks you very much for any answers

    Its been a couple of days with no reply....
    Look at the occurence functions.
    You can have one loop send occurences at teh rate you need.
    Put each of the other functions in seperate loops that wait for the occurence on each interation.
    Provided each of your loops runs fast enough this approach should serve you up till you run into the indeterminism of Windows. If the the indeterminism will be an issue, you may have to go with LV Real-Time.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to interface ADAM 4060 in Labview 7.0 ?

    I got difficulties in interfacing ADAM 4060 with Labview 7.0. I have tested the device using Advantech ADAM Utility software and it working properly. So, its not hardware error or failure.
    However, when I want to interface it using Labview, I couldn't make it work. Labview didnot communicate with ADAM 4060. I've try using User Libraries >Advantech DA&A > Advanve > SlowDIO > DioWritePortDword.vi, DioWritePortWord.vi and also standard srandard library, COMWrite.vi
    http://docs.google.com/View?docID=0Aak_OiJCAY8kZGd2dmpiMl80NmRxNmJrc2Y2&revision=_latest
    Am I using the right function? FYI, I'm Labview newby.
    Can anyone please help me? Thank you in avdance.
    one-kay
    Solved!
    Go to Solution.

    Hi chelvis7,
    Are you using the same set of VIs from the manufacturer as one-kay? Were you able to communicate with the device using the method discussed in the link posted by David?
    If you are using an NI 485 to USB adapter (such as the NI USB-485), what version of the following software are you using (can be found by opening Measurement and Automation Explorer and expanding the Software section on the left):
    LabVIEW
    NI-VISA
    NI-Serial
    Finally what is the error message and error code that you are receiving when attempting communication?
    Milan

  • How to interface LabVIEW to Matlab?

    Hallo everyone,
    I have a function written in Matlab that does some calculations, the final result which is a number should be sent to LabVIEW to do something else. I want to know what is the best method to do this, ActiveX, TCP/IP or something else. why do I need this? because both programms were developed apart from each other, but know should be connected and it would take more time to rewrite either one in another software.
    Thanks in advance!

    Ive tried but it doesnt help. My matlab code is extremely complicated its all about fuzzy logic stuff and the labview program communicates with a microcontroller to control a pump.
    to make it simple, Ive 2 programms one in Labview and the other in Matlab, i want to give the inputs of the "matlab code" in LabVIEW, then matlab code works, then the result is delivered to Labview to do sth else. does anybody have any idea how to do this or is it even possible?
    Attachments:
    pic.jpg ‏34 KB

Maybe you are looking for

  • Dw cs3 Mac 10.5.2- 10.5.3 update

    Greetings! This is my first post here. I generally get along great with Dreamweaver but after updating my OS from 10.5.2 to 10.5.3 the Split Code/Design View and Design View are no longer available in the document window. Has anyone else experienced

  • When iOS 8 came in Saudi Arabia ?

    When apple came new generation in Saudia Arabia . is apple update all  Product . and what abut the old one . IS 9 september 2014 is date the iOS 8 prod in the market or . IS is apple update for all user or customer and computer. is the problems shade

  • I have drop the SD card to DVD rom .How to get back it?

    when SD card drop to DVD rom inside. How to get back it?

  • URGENT HELP! - Access a MISSING PERSON's account

    Hello, Someone close to me has gone missing VERY RECENTLY and we (family and friends) think that we can get important clues by checking her account (legally, of course). I couldn't find the correct way of getting in touch with Skype Support. Is there

  • Java with flex

    Hi I am new to Flex . Do any one know how to develope an application with flex , java and database connection. I have FLEX SDK 3.1 MySQL 5 jdk 1.5 whether any thing else required for developing the application. Plz help. Its Urgent