HTML DB and Serial(COM) Port

Hi, everyone,
Is there any way that HTML DB can communicate with Serial Port (COM Port) directly? I searched the forum, and saw someone mentioned "Visual Baisc", "Javascript", "ActiveX", or "DLL". Could anyone give an example for it if you had successful experiences about it?
My problem is I'm working on a HTML DB project which will read data from barcode scanner. And request I have is the HTML DB can monintor the Serial Port and read the data from there if there is one. That means some programs need to be embedded in or called in HTML DB page. I known there are some commerial software developed for this purpose on the market, but I am wondering if it can be done by HTML DB itself?
Thank you. And Regards,
Ran

> Is there any way that HTML DB can communicate with Serial Port (COM Port)
directly?
There seems to be a misunderstanding or lack of understanding about what APEX/HTMLDB is ito client-server architecture.
APEX is a server side application. It resides entirely in Oracle as PL/SQL software. It is executed by Oracle server processes that are servicing requests from a web (i.e. Apache) server.
APEX does not "run" on the client. APEX streams, via the web server, data to the client browser. These MIME streams can be anything from HTML, XML, plain text (like CSV data), to images and so on.
The browser receives this data stream, and depending on the browser configuration, does something with it - e.g. it renders a HTML data stream, it starts Flash Player plugin for a Flash graph, etc.
The browser interacts with the client. With the user, the mouse, the keyboard, the printer and any other peripherals the client may have - like a barcode scanner.
Can HTMDBL use a COM port? The more correct question is, Can PL/SQL in the Oracle Server Process access the COM port of the Oracle Server Platform?. The answer to that is yes - it can be done.
But in the context of client interaction and the COM port being that of the client platform - no. PL/SQL is a server-side language. It does not execute on the client in the client browser.
It is important to understand the web client-server architecture - as it is a lot more complex and inflexible and slower than the "traditional" client-server architecture. It is stateless. It uses a very "primitive" client, the web browser. It is bound to W3C standards which is the lowest common denominator. Forget about smooth and slick client GUIs using and supporting the latest desktop GUIs standards and controls. Forget about easily interfacing with the client platform's file system and peripherals and so on.

Similar Messages

  • Blackberry hijacked my serial com port!

    Hello! I'm new to blackberries! When I tried to sync up my old palm device, it wouldn't connect. Checking into my serial com ports, I saw that the Palm M100 (aka old) was configured for com port 4. Looking on my device manager, I noticed that my Curve took over serial com ports 3 and 4. I intend to still use the palm device. How do I get the computer to recognize it without having to uninstall or reinstall anything?

    change the USB port on which you connect your BlackBerry device.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Adding Serial (COM) Port

    I need to add a single 9-pin serial (COM) port to hook up a device that has a serial connector.  The MB has an 16550A electrical connection but no serial port. What should I be looking for?  Most of what I see online are PCI serial cards or ISA-slotted ones.  I assume that if there's an electrical connection there's no need for a PCI board.  Thanks. 

    Quote from: Built2Last on 14-May-06, 10:16:06
    genegold, I just picked up the same board for my HTPC and it came with the com bracket in the box along with a audio out bracket & tv out bracket. Maybe you should check with your supplier to see if you got short changed.
    Wow, this is getting better.  Mine came from ZipZoomFly and doesn't have one, but does have the others you mention.  The serial header is listed as optional in the manual, but with other parts that means if the board has the connection then there should be a bracket.  I'll have to call MSI Monday and ask (and look all around just to see if it dropped somewhere).  Thanks!

  • VISA unable to communicate with or see RS232 serial com port

     I have a Dell Optiplex GX260 which has recently had Windows XP (Service Pack 2) re-installed on it.  National Instruments VISA is unable to communicate with the single RS232 serial com port on the computer.  Neither the "VISA Resource Name" control in LabVIEW 8.5 nor the "Measurement and Automation Explorer" can see the serial port.  Refreshing the list does not help.  "HyperTerminal"is able to both see and communicate with instruments connected to the serial port.  In Windows "Device Manager, the serialport appear in the list of hardware without any warnings.
    Can anyone please help with suggestions as to how I may be able to get VISA in LabVIEW to 8.5 to see and communicate with the serial port?
    System Details:
    Dell Optiplex GX260 (One RS232 serial port)
    Windows XP Home Edition Service Pack 2
    LabVIEW 8.5
    Solved!
    Go to Solution.

    AKA_TG wrote:
    Just passing by but I gotta say
    Guyts who answer like that do really irritate me
    Someone oughta apologize to the porr guy trying to get some help here.
    Go ahead and put me on your ignore list please!
    First, there is a plethora of messages on this forum and a plethora of information in the NI KnowledgeBase. If someone doesn't make the simple effort to take 5 minutes to perform a search what does that say? The issue being raised has come up, literally, dozens of times. Do you like answering the same question over and over and over and over and over again?
    Second, my feelings are not unique. You will find that the irritation of people not bothering to do a simple search is shared by most of the regulars here. Why do you think search engines are available? Just so that ads can be sold?
    Third, posting the SAME question in multiple threads is self-defeating. People who try to answer don't know what's already been suggested, and end up wasting their time as well as the poster's time in providing the SAME answer and/or suggestions that were provided in the other thread. 
    Fourth, simple forum netiquette. In both threads the poster essentially hijacked someone else's thread. This is frowned upon in just about every forum that I've ever seen.

  • Serial COM Port to TCPIP

    I saw a lot of posts that deal with this, however: I have a test rack with 24 UUTs, each has a usb to Ethernet adapter.  I want to use each adapter to talk to the UUT with the same IP (can't changed it it's static).  I need to be able to go through a com port and communicate to a specific UUT, knowing that I am communicating through this specific com port, not any other of the 24.
    I saw a few virtual drivers, that seem to do this, but has anyone done anything of this nature before?  I know I can create a NI Visa resource in NI MAX but that doesn't help me, because I can't link a com port to that resource, can I?

    rsmrostov wrote:
    ‎You wrote that you have a USB-to-Ethernet adapter. Did you mean the TRIPP-LITE extender?
    yes
    That is simply a USB extender, no conversion to Ethernet. - obviously
    Then why did you describe it as a USB-to-ethernet adapter?
    rsmrostov wrote: 
    Does your device speak TCP-IP or serial? -TCP-IP
    Where is the USB-to-serial adapter, and what model is it? non, there's a driver that comes with the device, that must let you talk to TCP/IP 
    Is it integrated into the DUT? - most likely, not sure to be honest, as I am helping out one of the guys who plain just doesn't know.
    What can you tell us about the DUT? - Linux based device, has a fixed IP
    You showed us a screenshot of MAX, listing several COM ports. So, those COM ports somehow exist on your system. You also said that only one of them is connected to the DUT. If this is true, then the COM port must be created outside of the device (for example, a USB-to-serial adapter). However, if the device doesn't use serial communications, then it doesn't make any sense to have a USB-to-serial adapter at all, because there's no easy way to run TCP over serial.
    It sounds like you need to do some research on exactly how your DUT works, what types of connections it offers, and what protocol it uses. If you absolutely need to connect to multiple devices, each of which have the same IP address, I would recommend that you get a bunch of cheap home NAT (network address translation) devices, often seen as a home/office router (allows you to connect multiple computers to a single internet connection). Assign each one a unique IP address within the same subnet, plug them all into an ethernet hub or switch, and plug one DUT into each router. Configure the router's internet address to match the subnet of the DUT, and set each router to route all incoming connections to the IP of the DUT.

  • Bluetooth over serial com port

    I was wondering if I could somehow determine the COM port my bluetooth device is on. I have gotten as far as discovering my bluetooth device and extracting the correct address and device name using the Blueooth Discover VI, and I have been able to obtain the correct UUID number from the Bluetooth RFCOMM Service Discovery VI. Is there any way to obtain what com port it is on from what I have?

    CF_eee,
    Thank you for clarifying what you are trying to do.
    I have two suggestions for you. Each of them may be able to accomplish what you are trying to do.
    (1) Use the Windows Registry to look up information on connected hardware.
    On my computer, information about my Serial Port (COM1) is stored in the Windows Registry at HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\ACPI\PNP0501\1.
    Example keys are Class, ConfigFlags, DeviceDesc, Driver, FriendlyName, HardwareID, and Service (amongst others).
    You can access these registry values from LabVIEW using the Functions located at Connectivity > Windows Registry Access VIs. If you walk through the Enum or ACPI folders, you should be able to determine which Serial Port represents your Bluetooth device by parsing and matching against these keys.
    (2) Use the System Exec VI to call the devcon Command-line Utility from Microsoft
    The devcon utility can be downloaded here: http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q311272
    From the devcon download page: The DevCon utility is a command-line utility that acts as an alternative to Device Manager. Using DevCon, you can enable, disable, restart, update, remove, and query individual devices or groups of devices.
    The System Exec.vi can be found on the Functions palette at Connectivity > System Exec.vi
    You can find documentation on devcon at the download page (linked above).
    Jared A.
    Applications Engineer
    National Instruments

  • Newbie : working with INTERRUPTS with SERIAL com port ?

    hi guys !
    here is the deal :
    my app needs to
    monitor a com port while doing something else
    or to be interrupted when something is available on the com port.

    Ive been trying to do something similar
    so far I launch a new thread, which sets up a comcallback to trigger on
    0x05 comming through the serial port (ENQ)
    unfortunately, this seems to ltake like 100% CPU
    Grahh!
    im doing this in cvi...but i should think you can do the same in labview
    andy
    jerry wrote in message
    news:7sqnad$45u$[email protected]..
    > hi guys !
    >
    > here is the deal :
    >
    > my app needs to
    > monitor a com port while doing something else
    > or to be interrupted when something is available on the com port.
    >
    >

  • Streaming Audio over serial com port

    I have a task where I am programming a robotic system and control unit.  I am using a laptop for the control unit.  On the laptop is a microphone.  What I would like to do is capture the audio from the microphone and transmit this via the radio to the robot to play on a speaker.  The radio plugs into the com port on the laptop.  I can transfer a .wav file by using the Flatten to String.vi send and unFlatten on the other side.  What I need to do is stream the audio as it is collected from the microphone.  Is this possible?  If so, any suggestions would be appreciated.

    It will depend on the speed you are using and the resolution. Let me give an example. Say you are using 1 start bit one stop  bit and 8 bit data. This mean for each byte you have to send 10 bit. Given that you are using 16 bit for audio and a 115200 rs232 link the maximum sample speed will be 115200/20 equal to 7760 samples pr second. But I guess your actual max speed will be lower. If you only need 8 bit sound  you may get higher data rates. That is perhaps the reason for the strange voice on robots in motion pictures 
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Working with INTERRUPTS with SERIAL com port ?

    Hello all.
    I need to monitor a com port ( to use with a gsm modem siemens m20) while
    doing something else
    or to be interrupted when something is available on the com port.
    I want to do it with interrupts in NT operating system. I could do a device
    drivers to do that, but, is possible to do it in a simple way?
    Thanks.

    Ive been trying to do something similar
    so far I launch a new thread, which sets up a comcallback to trigger on
    0x05 comming through the serial port (ENQ)
    unfortunately, this seems to ltake like 100% CPU
    Grahh!
    im doing this in cvi...but i should think you can do the same in labview
    andy
    jerry wrote in message
    news:7sqnad$45u$[email protected]..
    > hi guys !
    >
    > here is the deal :
    >
    > my app needs to
    > monitor a com port while doing something else
    > or to be interrupted when something is available on the com port.
    >
    >

  • Simple Serial Com port

    I have an external device that I need to write and read simple ascii commands to through a serial port. For some unknown reason I can not get Labview or for that matter M&A to com to it. I can com to it through a terminal (putty) with no problems. I have tried through M&A and also several labview basic read & Write Serial example VIs. No luck. All I need to send is  $1RD  This tells the external device to send a measurement back. Its basic ascii. The device coms on 19200 baud 8 bit words no party or flow control and 1 stop bit. Anyone have any ideas?

    Bkasper wrote:
    It works fine in putty. Yes I have to press the enter key to send the $1RD. I have tried adding \r and \s to the end of the command in labview, but no luck.
    Try adding a \r\n or just a \n to the end of the line. A carriage return by itself is not a normal line termination.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Task initialization thorough serial com port

    I want to initiate a task by passing a string suppose "y" (from serial port) and it should remains active until vi doesn't receive another string suppose "n". Please tell me how can I do it?
    Attachments:
    smplserl.llb ‏29 KB

    Provide some details please. I don't understand what you mean by ' remains active'. What are you connecting your serial port to?
    What is the point of attaching an llb that comes with LabVIEW?

  • Xlet and serial port

    does anybody know if it is possible to make an active Xlet interact with an Input Stream through the serial port?
    Roughly speaking i would use the serial connection between the STB and a PC as a sort of return channel

    like Steve, Threre is no standard inputstream of serial port in DTV environment. That bounds hardware device.
    Most of case of using serial port, STB use to view log in PC. So, if STB manufactors support serial com port in low-level by c function, you shoul check it out on STB manufactors low-level API.
    Definitely, MHP does not support inputstream from serial port.

  • Write among COM ports in the same PC without cables

    How can I write to the memory address(es) of a serial COM port?  I would like to send data from one serial COM port to another in a manner similar to the that of the 'Simple Data Client' and 'Simple Data Server' vi examples.  This must sound strange since this is exactly what a null modem cable will do, externally.  I would like to eliminate the cable connection between COM ports that exsit in the same PC and communicate between them, internal to the PC, somehow. 
    Currently, I am using a LabVIEW vi to read a serial message on COM1, translate it, send the trsanslation out on COM2, so that a separate windows program (no .DLLs to interface with LabVIEW) can read the message on COM 3.  COM 2 and COM 3 are connected by a null-modem cable.  This requires three COM ports, and two serial cables.  I realize that I can use a physical loop-back jumper on COM2, for instance, where I send and read the translated message on COM2, but I still wonder if there is a method for doing this in memory, or something. Is there a way to accomplish the same objective with one cable (into COM1), no loop-back jumpers, and only two serial ports?  In summary, I want to read on COM 1, translate in LabVIEW, then write directly to another COM port, internally, without using a serial cable.  Can the 'IN PORT' or 'OUT PORT' vi's apply here?  Are these tools only for parallel ports?
    Hope this is not too confusing....  It seems like I am always trying to do something with LabVIEW that was not meant to be done....
    Thanks.

    Thank you.  If I pay the price they ask, this looks like it will create and share virtual COM ports - exactly what I need.  However, I would really like to find a way to do this in LabVIEW, such that I do not have to make my application dependent on another piece of third party software.  The 'Simple Data Client.vi' and 'Simple Data Server.vi', included in the shipset examples, seem to do this for TCP/ IP ports.  I wonder why the COM ports cannot be addressed at the memory level, in a similar manner???

  • COM port from VISA alias

    I have a test fixture I am designing in LabVIEW that is composed of many independent instruments. For simplicity sake I gave all of these instruments a VISA alias (for instance Programmer rather than COM3) so I wouldn't have to guess at which COM port the instrument was attached to.
    Now, in LabVIEW, one of my instruments does not have a driver but does have a DLL shared library that I am trying to create wrappers for. One of the inputs is the serial port in a numeric format (0 for COM1, 1 for COM2, etc). If I didn't have the alias I would just do something like this...
    But....because I have these aliases I cannot make it so simple. Is there a way to get the serial (COM) port number (I can decrement it) from the VISA alias?
    Edit: seems the code didn't make it in on the first pass
    Solved!
    Go to Solution.

    Jeff·Þ·Bohrer wrote:
    obviously you're not using Quick Draw correct that drop.
    they are on the pallets under measurements and they show up at the lower left hand sideI believe they install with DAC MX or device drivers
    and of course that's a snippet so you could have just drop it will block diagram right click instead find an outlet from the alt correction find on pallets from the help
    side note: Google speak doesn't recognize everything correctly
    Ah.. I see them since I have never used any sort of DAQ devices or quick-drop (never could figure that out) I guess I never saw them before.

  • Satellite Pro M30 , Can you help me to how i can connect Serial COM wire?

    Dear Sirs,
    Can you help me to how I can solve my following issue:
    I have TOSHIBA Satellite Pro M30 computer and as you know there is no Serial COM Port in this model.
    Can you help me to how I can connect Serial Com wire (SR232 DATA)?
    Where I need to connect above wire for Satellite Reserve updating.
    Also for your information the wire which I have is tow male sides.
    Regards
    Ali H. Ba-Aqeel
    [email protected]

    Hello,
    youve got the alternative to get an PCMCIA Serial Port Adapter.
    The Installation was easy at my Notebook and runs without Problems in Windows XP and 2000.
    Have a try.

Maybe you are looking for

  • Mail spam suddenly

    Running 10.7.5,  I have mail setup it has been working great for months.  In the last week though I have started getting tons of spam in the following format. From: Mail Delivery System To: My email address on the server Subject: Undelivered Mail Ret

  • Broken links after uploading web site to server

    We created our office's web site using Dreamweaver CS4, and uploaded it to the server of our ISP.  Prior to uploading, we tested the site in both IE7 and Firefox, and everything worked fine.  After uploading, however, all images are lost and several

  • Savemail: cannot save rejected email anywhere

    Hi folks... When I run dmesg I see lots of sendmail errors that state "savemail: cannot save rejected email anywhere". I found a document at "http://sunsolve.sun.com/search/document.do?assetkey=1-9-83988-1" that indicates the if I run "/usr/lib/sendm

  • Elements 7 Scanning Album Import Issue

    In the Elements 7 viewer I will use the ctrl-G command to bring up the Photo Downloader and scan 35mm film.  Elements will then start my scanner software and the film is scanned then downloaded into my hard drive where I tell Elements to put it and I

  • Problem for install creative cloud

    Hi, i'm French, I live in South Korea and I want test the new PhotoshopCC for retina, but I have an error message : And this error for Creative cloud : Thank you