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.

Similar Messages

  • 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

  • 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());
    }

  • TrueTime Card and how to interface with dll file!?

    I am trying to interface with a PCI-SG 2U (IRIG) timing card (Used to made by TrueTime, now Symmetricom).  Does anyone have a solution for this card in LV 2009?  
    If not, can anyone give advice on writing code to interface with .dll file?  I am not sure how to pass through the "GENERIC_READ | GENERIC_WRITE" into the function to open the device. The function says to open it is: 
    TT_OpenDevice(boardID, GENERIC_READ | GENERIC_WRITE, &hDevice)
    No clue on how to pass this in.  Can anyone help?
    Thanks - 
    Tom

    Thanks Mike.  I do have the .h file and the sdk information.  I went through and used the Import>Shared Library Tool and was able to find all the header information that way.  I guess that my problem/question is, the documentation says that it is a DWORD to pass as an input, but LabVIEW says it is a uint32.  I guess the real question is, what the heck do I pass in to the dll function?  Should it be the string "GENERIC_READ | GENERIC_WRITE" or something else?
    Thanks - 
    Tom

  • How LV interfaces with a microcontroller (serial communication).

    I am starting to design a system that uses an RFIC, a microcontroller and a VI to act as a user interface.  The microcontroller outputs in RS232 to a Lantronix device which packages up the information and sends it over a network. I plan on using LV's VISA to locate the device.  I have not worked with a system like this before and I would like to know how LV sees the data that is being sent over the network and how I can unpackage the data and make sense of it in LV, then output data to be sent to the uC.  I would appreciate any suggestions anyone may have.

    The Lantronix device will install a device driver to the PC that creates a virtual com port.  LabVIEW will communicate with that com port (Let's say Com8) through VISA.  The device driver will handle the communication with the Lantronix device over the network.
    The Lantronix device I used is pretty sophisticated, and was not that easy to set up.  It may also have other methods of communication such as talking to it TCP/IP.  If I remember correctly, it also had a local terminal mode and a remote terminal mode.
    In the end, once I figured out the trick to getting the device driver to work (the instructions were just not that obvious on how you had to set up the ports and open up the firewall to make it work), I was able to use it just like I said at the beginning as a Virtual com port.  I've used other remote serial devices that were truly much more plug and play.

  • How to interface with NI PCI-7344

    Hi,
    First off,i have to say im a newbie with labview so if tis is some stupid qns,my apologies.I nid to work out a program using LabView 8.0 to control a stepper motor thru NI PXI-7344 and the NI UMI-7764. The program is ready with the output as a 32-bit integer, However i am clueless to wad should i connect it to. can some1 kindly plz help me thanks
    ~Nova
    Attachments:
    Example.vi ‏18 KB

    Nova,
    Since you have a PXI-7344, it should have come with the NI-Motion
    driver. Is that something that you have installed currently? If not,
    you can find the latest version here.
    To learn how to programmatically control a stepper motor, you might
    want to start off by taking a look at some of the examples that come
    with LabVIEW. To access them, open up LabVIEW, then go to Help >>
    Find Examples...
    Using the Browse by Task option, expand the Hardware Input and Output
    folder, and then the Motion Control folder. Here you will find many
    examples that you can examine to learn her to program your motion
    control application.

  • How to interface with Chameleon camera

    Hi everyone,
    I am trying to use Labview to control Chameleon camera, which is from Point Grey Research. I am using the ActiveX control interface and I have encounter a problem of using "Call Library Function" node. I am using that node to get the image array from a pointer and trying to display. However, the "Call Library Function" node doen't work.
    I am wondering how can I get the  image array from a pointer that is used by the FlyCapture?
    Was there anyone experience the same thing?
    Thanks.
    Carson

    CarsonZ,
    Please check to see if your camera is supported by the Industrial Camera Advisor. Also, when you say that the Call Library Function node does not work, does it return a specific error message or just not return any data?
    Lastly, is the FlyCapture application an ActiveX enabled application? If so you should be able to register for events and also pull the information from the application by running through this help document.
    Logan H
    National Instruments
    Applications Engineer

  • How to Interface with IP in Kernel

    I have a unique problem regd solaris network stack.
    I want to add a new protocol over solaris IP, say RIP.
    How can it be done ?? Does Solaris IP use the published NPI interface ??
    or does it use some other published interface ??
    Can we write a streams module and push it over IP driver to get particular protocols packets from IP??
    If i want to replace IPSec module of Solaris because of some proprietary feature enhancement, is it possible to do that ??
    Regards
    Girija

    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 7921 interface with 3rd party; guest service contact center?

    I want to use 7921 for staff in hotel to get sms from "guest service contact center", how to do the interface?

    You can write an application to push text to 7921, using CiscoIPPhoneExecute and CiscoIPPhoneText object. Check out Cisco's SDK for more information about using these objects.
    There are 3rd party products, like PhoneTop Messenger, which allow you to push text/audio to Cisco IP phones.

  • How to interface with Trial Version of Netweaver 7.01

    Is there a way for an external ,NET program to communicate with the Trial Verson of Netweaver 7.01?
    I've tried the .NET Connector version 2.   However when I try to expand the BAPI or RFC folder in VS 2003 I get the message, "Unable to open c:\windows\sapmsg.ini
    I've tied creating a web service from a BAPI.  However it fails in the last step.   No real explanation.  It ust fails   Furthermore when I go into SOAADMINr, I receive the error URL http://"xxxx":8000/sap/bc/webdynpro/sap/appl_soap_management call was terminated because the corresponding service is not available.

    It was an installation problem

  • Interface with Yahoo Games?

    Hello:
    I would like to try to write an my own applet to interface with the game server at Yahoo. Is that possible? Can someone points me to the documentation of how to interface with Yahoo game servers, please?
    Thanks.

    Of course it's possible. However, they must first define an API or some interface for using their games. You need to get in touch with the people at Yahoo and find out what their interface is. You may use EJB, RMI, or who knows. You may have to use JNI, but it all depends on how Yahoo has their games setup. Without more information, I can't give you a specific answer.

  • Interface with SHBrowseForFolder Function (shell32.dll)

    Dear OTN members,
    Anyone there know how to interface with SHBrowseForFolder
    Function in "shell32.dll" Windows NT's library ?
    Regards
    Khoo
    null

    I am currently using oracle developer Forms4.5 (release 1.6).
    TQ
    Regards,
    Khoo
    null

  • Database design to support parameterised interface with MS Excel

    Hi, I am a novice user of SQL Server and would like some advice on how to solve a problem I have. (I hope I have chosen the correct forum to post this question)
    I have created a SQL Server 2012 database that comprises approx 10 base tables, with a further 40+ views that either summarise the base table data in various ways, or build upon other views to create more complex data sets (upto 4 levels of view).
    I then use EXCEL to create a dashboard that has multiple pivot table data connections to the various views.
    The users can then use standard excel features - slicers etc to interrogate the various metrics.
    The underlying database holds a single days worth of information, but I would like to extend this to cover multiple days worth of data, with the excel spreadsheet having a cell that defines the date for which information is to
    be retrieved.(The underlying data tables would need to be extended to have a date field)
    I can see how the excel connection string can be modified to filter the results such that a column value matches the date field,
    but how can this date value be passed down through all the views to ensure that information from base tables is restricted for the specied date, rather than the final results set being passed back to excel - I would rather not have the server resolve the views
    for the complete data set.
    I considered parameterisation of views, but I dont believe views support parameters, I also considered stored procedures, but I dont believe that stored procedures allow result sets to be used as pseudo tables.
    What other options do I have, or have I failed to grasp the way SQL server creates its execution plans and simply having the filter at the top level will ensure the result set is minimised at the lower level? (I dont really want the time taken for the dashboard
    refresh to increase - it currently takes approx 45 seconds following SQL Server Engine Tuning Advisor recommendations)
    As an example of 3 of the views, 
    Table A has a row per system event (30,000+ per day), each event having an identity, a TYPE eg Arrival or Departure, with a time of event, and a planned time for the event (a specified identity will have a sequence of Arrival and Departure events)
    View A compares seperate rows to determine how long between the Arrival and Departure events for an identity
    View B compares seperate rows to determine how long between planned Arrival and Departure events for an identity
    View C uses View A and view B to provide the variance between actual and planned
    Excel dashboard has graphs showing information retrieved from Views A, B and C. The dashboard is only likely to need to query a single days worth of information.
    Thanks for your time.

    You are posting in the database design forum but it seems to me that you have 2 separate but highly dependent issues - neither of which is really database design related at this point.  Rather you have an user interface issue and an database programmability
    issue.  Those I cannot really address since much of that discussion requires knowledge of your users, how they interface with the database, what they use the data for, etc.  In addition, it seems that Excel is the primary interface for your users
    - so it may be that you should post your question to an excel forum.
    However, I do have some comments.  First, views based on views is generally a bad approach.  Absent the intention of indexing (i.e., materializing) the views, the db engine does nothing different for a view than it does for any ad-hoc query. 
    Unfortunately, the additional layering of logic can impede the effectiveness of the optimizer.  The more complex your views become and the deeper the layering, the greater the chance that you befuddle the optimizer. 
    I would rather not have the server resolve the views for the complete data set
    I don't understand the above statement but it scares me.  IMO, you DO want the server to do as much work as possible since it is closest to the data and has (or should have) the resources to access and manipulate the data and generate the desired
    results.  You DON'T want to move all the raw data involved in a query over the network and into the client machine's storage (memory or disk) and then attempt to compute the desired values. 
    I considered parameterisation of views, but I dont believe views support parameters, I also considered stored procedures, but I dont believe that stored procedures allow result sets to be used as pseudo tables.
    Correct on the first point, though there is such a thing as a TVF which is similar in effect.  Before you go down that path, let's address the second statement.  I don't understand that last bit about "used as pseudo tables" but that sounds more
    like an Excel issue (or maybe an assumption).  You can execute a stored procedure and use/access the resultset of this procedure in Excel, so I'm not certain what your concern is.  User simplicity perhaps? Maybe just a terminology issue?  Stored
    procedures are something I would highly encourage for a number of reasons.  Since you refer to pivoting specifically, I'll point out that sql server natively supports that function (though perhaps not in the same way/degree Excel does).   It
    is rather complex tsql - and this is one reason to advocate for stored procedures.  Separate the structure of the raw data from the user.
    (I dont really want the time taken for the dashboard refresh to increase - it currently takes approx 45 seconds following SQL Server Engine Tuning Advisor recommendations)
    DTA has its limitations.  What it doesn't do is evaluate the "model" - which is where you might have more significant issues.  Tuning your queries and indexing your tables will only go so far to compensate for a poorly designed schema (not that
    yours is - just a generalization).  I did want to point out that your refresh process involves many factors - the time to generate a resultset in the server (including plan compilation, loading the data from disk, etc.), transmitting that data over the
    network, receiving and storing the resultset in the client application, manipulating the resultset into the desired form/format), and then updating the display.  Given that, you need to know how much time is spent in each part of that process - no sense
    wasting time optimizing the smallest time consumer. 
    So now to your sample table - Table A.  First, I'll give you my opinion of a flawed approach.  Your table records separate facts about an entity as multiple rows.  Such an approach is generally a schema issue for a number of reasons. 
    It requires that you outer join in some fashion to get all the information about one thing into a single row - that is why you have a view to compare rows and generate a time interval between arrival and departure.  I'll take this a step further and assume
    that your schema/code likely has an assumption built into it - specifically that a "thing" will have no more than 2 rows and that there will only be one row with type "arrival" and one row with type "departure". Violate that assumption and things begin to
    fall apart.  If you have control over this schema, then I suggest you consider changing it.  Store all the facts about a single entity in a single row.  Given the frequency that I see this pattern, I'll guess that you
    cannot.  So let's move on.
    30 thousand rows is tiny, so your current volume is negligible.  You still need to optimize your tables based on usage, so you need to address that first.  How is the data populated currently?  Is it done once as a batch?  Is it
    done throughout the day - and in what fashion (inserts vs updates vs deletes)?  You only store one day of data - so how do you accomplish that specifically?  Do you purge all data overnight and re-populate?   What indexes
    have you defined?  Do all tables have a clustered index or are some (most?) of them heaps?   OTOH, I'm going to guess that the database is at most a minimal issue now and that most of your concerns are better addressed at the user interface
    and how it accesses your database.  Perhaps now is a good time to step back and reconsider your approach to providing information to the users.  Perhaps there is a better solution - but that requires an understanding of your users, the skillset of
    everyone involved, what you have to work with, etc.  Maybe just some advanced excel training? I can't really say and it might be a better question for a different forum.   
    One last comment - "identity" has a special meaning in sql server (and most database engines I'm guessing).  So when you refer to identity, do you refer to an identity column or the logical identity (i.e., natural key) for the "thing" that Table A is
    attempting to model? 

  • IS-Media interface with PPI Media

    Hi,
    Does anybody has any experience integrating SAP IS-Media
    with PPI media.I have heard that PPI media has standard
    interface with SAP but don't have any idea how it works what methods it uses.
    If anybody has any knowledge how SAP interface with PPI media please share it.
    Please help me if someone has any information regarding this.
    Thanks in advance.
    Rekha.
    Message was edited by: Rekha Lather

    Hello Sowmya ,
    This can be stopped by using a user exits .
    Best Regards,
    Vibin Srinivas

  • I have a roboteq hdc 2450 and want connect to labview but have no idea how to do so. I have the drivers that came with it will it work to interface with labview?

    I have a roboteq hdc 2450 and want connect to labview but have no idea how to do so. I have the drivers that came with it will it work to interface with labview?

    You can create your control code in LabVIEW and then use a Call Library Function Node to communicate with your roboteq DLL.  The first thing to do though, is check to see if Roboteq offers LabVIEW drivers.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013

Maybe you are looking for

  • Lost iphoto, cant install again

    I have lost iphoto, it is no where to be found and some kind soul from here advised me to reinstall. I cant. Help, please Heres what I tried: Installation disk 1- it restarts as it should. Then I get a window that says welcome to Mac 0s x. There are

  • Fiori MM: PR approval

    Hi expert, When configuring Fiori App: PR Approval; I get SAP standard help http://help.sap.com/fiori_bs2013/helpdata/en/b3/f03a5225ecbb10e10000000a44176d/content.htm?frameset=/en/ba/954353a531e647e10000000a441470/frameset.htm&current_toc=/en/ba/9543

  • Reg: Generating  custom number instead of system generated no in ME21n

    Hi Experts,                   I need to know user exits or Badi to generate custom number instead of system generated number while saving p.o ME21n transaction. Regards, Vikram.S

  • OSB: cvc-elt.1 , cvc-elt.4.2

    Good day! I started to continue developing Oracle Service Bus project installing it on weblogic server 10.3.5. (I recently installed wls and did not test on any existing projects yet). OEPE shows me hundreds of errors like following: cvc-elt.1: Canno

  • Air iOS - Do .ipa files need obfuscation?

    Hi, I published an iPhone app with AIR SDK 14 for the App Store. Is the published .ipa file safe from decompilers or should I use a tool like SecureSWF (kindi.com) to encrypt/obfuscate the AS3 source code? Thanks