Problem related USB Virtual COM PORT using PDA module 8.2 on Windows CE

Hi,
I am working on tranferring my application developed on LV 8.2 to a Single-board computer(SBC) running Windows CE 5.0. I am using LV PDA module 8.2 to achieve this. My problem lies in finding the port number of the Virtual COM Port on the SBC. I need to connect a USB RF modem from Maxstream to this SBC and to talk to it using VISA. I have installed the required drivers from Maxstream for converting the USB port to a virtual COM PORT. What is a way to figure out the COM PORT number on a Windows CE device? For a PC, I can see the COM PORT in the device manager but I do not know how to find this in Windows CE. . Also, I have tried using "VISA Find resource" function ..it works on a PC but I do not get anything in the Win CE device.
Any help would be much appreciated.
-Shruti

Shruti,
Is there a way to verify that the Maxstream driver successfully provides you with this virtual COM port? Essentially, what I mean is that if you did not have LabVIEW on this device, how does Maxstream prove that their driver is functional? Does it come with additional software that would be used to configure the USB RF modem? In any case, we would want to try opening any terminal program (like the hyperterminal) to determine what ports are listed for communication. I hope this is useful for you. Please post back when you are able to give this a try. Thanks,
Mike D.

Similar Messages

  • Commands to FTDI virtual COM port via NI VISA interfere with communication with FTDI chip using D2XX drivers

    Hello!  
    I am trying to communicate with a DLP Design module DLP-USB1232H which uses an FTDI chip.  My program uses the D2XX drivers.  It works, but...
    In another program that runs at the same time, I'm communicating with another instrument via a virtual COM port (VCP) that uses an FTDI UART.  In this program, I use the VISA Serial Port functions.  It works, too, but...
    The first program has the capability of listing all the FTDI devices in the system prior to choosing the right one to communicate with.  When the VCP is plugged in, it lists it (FT232R USB UART) along with the DLP-USB1232H and communication with the latter device works.   But as soon as the second program sends a command through the VCP, the first program no longer "sees" any FTDI device.  It stops working.
    I have tried 2 different FTDI VCPs; one a standalone cable and the other built in to the instrument.
    I’m using Windows 7 32-bit.  My programs are both LabVIEW 8.5 executables. 
    Is VISA "taking over" the channel to the DLP-USB1232H?  Does someone who understands NI's implementation of VISA have any ideas on why VISA is doing this?  Or if something else is going on?
    I'm also interested in workaround ideas.  I've tried a "Prolific" VCP, but most drivers don't work and the one that doesn't give an error in Device Manager doesn't communicate with the instrument.  
    Cheers
    Halden
    Solved!
    Go to Solution.

    Halden,
    It really sounds like you have a resource conflict. That occurs when two programs or parts of programs try to use the same device or port at the same time.  Your Get Device Function probably tries to open a session with each port (as you increment the index). When it hits a port which is being used by the other driver, it cannot open the session and stops working? Have you examined the errors returned by each program? The VISA drivers will return an error when the port is in use.  I do not know about your program or drivers, but I would expect some kind of error.  Automatic error handling in LabVIEW will not catch errors from a driver if it does not translate them to LV error clusters. So do not count on automatic error handling, if you use it, to display all possible errors.
    Lynn

  • Not enough memory error when disconnecting device on a virtual com port

    I maintain a large application that collects data from many data source channels (using coustom hardware read thru a conventional COM port) and I am adding a GPS data source on a USB port using a virtual COM port driver. The application runs 24/7/365 and works well including the GPS data, if undisturbed. However, the application needs to tolerate a physical disconnect and reconnect of the GPS device without user intervention.  When I disconnect the GPS, the application becomes unresponsive most of the time (the mouse responds and other programs that are open on the desktop work fine). I abstracted the serial code and made a separate vi (below) for testing.  When I disconnect the GPS from the COM port, I get a "Not enough memory to complete this operation" message 9 out of 10 times and the vi is unresponsive until I clear the error message (the tenth time it continues working). I built the vi this way to collect data continuously. I suspect that this is the problem with the full app but I don't see the Not enough memory message there and therefore the full app does not respond and must be terminated via Task Manager. The full app runs full screen mode.
    The LV app runs on Windows XP and LabView 7.0 (the client doesn't want to upgrade).
    I have tried probing the error message lines at all points in the vi but they don't show anything when the 'Not enough memory' message occurs (they show the expected device not found error after clearing the error message).
    Any suggestions would be greatly appreciated,
    Mel
    Still learning LV......
    Please post any code suggestions as graphics as I don't have access to any version of LabView newer than 7.0.
    Attachments:
    SerialPortRead.png ‏22 KB

    Jeff·Þ·Bohrer wrote:
    First, there likley WAS human intervention that caused the GPS device to be removed.  That wont happen when you lock the device inside a cabinet with the rest of the test system.  Physical access control first!  If someone goes and mucks with your experiment setup while its running, that's a "poor Labratory procedure" not a "new software requirement"
    I think he was meaning to say without user intervention on the software side.
    I have seen odd behavior if you disconnect from a com port whilst LV still has the port open.   There are a couple things I myself woud try, being the experimenting type that I am.  Perhaps setting up a com port check to see if it has a valid connection before polling for data. If not then a blank case or some other generic code. 
    The issue with this would be if it became disconnected while LV was polling data.  Hard to get around this condition.  Is there a way that the cause of the of the connect/disconnect (whether human or otherwise) could be set up so that a signal can be sent to the controlling system (pre-disconnect and post-connect) to trigger an event to handle the software side?  A simple signal switch or something.  Just thinking out loud. Withoug knowing all the particulars, it's hard to make detailed recommendations.
    Doug
    "My only wish is that I am capable of learning each and every day until my last breath."

  • How do I remove USB virtual printer port

    Im having some problems printing (see different thread) so I have removed all reference to the printers and drivers (nothing in devices and printers; nothing in print management), Ive removed all USB devices (except the mouse) switched off and removed the
    battery for 60 minutes. The restarted.
    Still 3 USB ports
    Ive tried
    http://www.ehow.com/how_6688235_delete-usb-virtual-printer-port.html  but I cant see the virtual USB ports in device manager
    http://www.ehow.com/how_6910965_delete-usb-printer-port.html  But I cant (unsurprisingly) find the ports in installed programs
    http://www.ehow.com/how_5869559_remove-usb-printer-port.htmll  (delete form devices and printers) But when I highlight the port from printer properties and click delete I get "selected port cannot be deleted. The request is not supported
    Makes me think these are not properly installed ports.
    Ive searched the registry for USB001 and there are 4 USB00? entries all under unknown printer with headings like 6&30e6e7fe&0&USB003. So I tried to deleted all of them. It lest me delete the parameter sub key but I am not allowed to delete the other
    keys (error while deleting key)
    So after a bit of a search I came up with psexec (see link for more details and do take backups and read the instructions)
    http://social.technet.microsoft.com/Forums/windows/en-US/56fed319-a532-46a4-a384-fd795998c4a3/regedit-permissions-access-denied-or-error-while-deleting-key-even-as-admin?forum=w7itproinstall
    And that allowed me to get rid of the ports from the registry but they were still visible in Devices adn printers under ports (after slecting a device)
    So how do I get rid of these wretched ports?
    TFAI

    Hi,
    Yes, you could create a new port for other printer. Of course, you also assign it to a different print if you don't use this printer.
    The detailed steps are below:
    1. Click the START button, click navigate to "Control Panel", then navigate to and click on "Printers."
    2. Once the printers window is open, click on "Add a printer" in the dark blue menu bar.
    3. At the "Choose a printer port" section click on the "Create a new port" radio button then select "Standard TCP/IP Port" for the "Type of port."
    4. At the "Type a printer hostname or IP Address" section select "TCP/IP Device" for "Device type" and input the proper hostname depending on the printer that you are installing, the IPs for all of the different departmental printers can be gotten from the
    main printer help page on this website.
    5. At the "Type a printer name" section type in what you would like to call the printer under the "Printer name" section, this is entirely up to you. Here you also want to make sure that the driver that it says it will install corresponds with the model
    of printer you are installing.
    6. After the installation you should get a section called "You've successfully added [printername]." Here you should click the "Print a test page" button to make sure everything is installed correctly.
    Karen Hu
    TechNet Community Support

  • Unable to create the bluetooth virtual COM port

    Hi all
    I install BS from Toshiba and it seems ok. Bt ir desn´t work. I see all the drivers installed, system devices, etc. No Toshiba BT ports can be seen. Local com ports only show modem port. Try to create a virtual port but get a message "unable to create a bluetooh virtual port" I have a satellite m100-145. Can anyone help on this ?
    thx

    Thx for your suport.
    I decide to reinstall windows and all software. Now it works.
    The error was due to the fact that if you have BS from Microsoft (called bluetooth monitor) and you install the BS from Toshiba after that, even if you remove the BS from MS, the BS from Tos is unable to create the virtual com ports (except modem).
    I try with the latest version of BS and the problem was not solved. So if there is a previous installation of BS fom MS the BS from Tos get the message of "unable to create the bluetooth virtual com port".
    Now i fixed reinstalling SO from beginning.

  • USB TO COM port drivers in LabVIEW..

    Hi Everyone,
                      I have virtual com port equipment (hardware) from STmicroelectronics and i need to communicate it with LabVIEW through USB.
    I have done with NI-VISA Wizard which i have gone through previous posts but am not able to communicate.
    Can i get any drivers for this communication.
    In MAX, i can see it as COM4, COM5 like that but i want it as USB.
    Thanks,
         Sony.
    '' A professional is someone who can do his best work when he doesn't feel like it''...........

    To expand on Sir Dennis' point, it is not uncommon for vendors with USB widgets to sell to implement the interface to them as virtual serial ports, and the reason is simple: Nearly any environment can talk to a serial port, and you don't need any special hardware. In addition, because it is a **virtuall** serial port you don't even have to worry about cables.
    The point to remember is that when you plug in one of these devices you are in essence adding in both the device AND the port to talk to it.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Labview PDA module 7.1 and Windows Mobile 5.0

    Hi!
    In spite of reading that Labview PDA module is compatible with Windows Mobile 5.0, I've tried to compile an application for Pocket Pc 2003 in my device (which has a Windows Mobile 5.0 OS) and it doesn't work. It seems that the process fails when the executable is being sent to the device. Does anybody know what happens and what can I do to solve it? It's strange because the same application compiles properly with a device with Windows 2003 OS!
    If it was not possible to solve, could I create an executable directly in my Pc and then copy it in the device?
    Thank you very much for your help!!!!
    Greta

    I believe it was said that the problem with writing for CE 5 is only with downloading the application, which you need to do manually. You can do this by copying the EXE to the device's shared folder. ActiveSync should automatically recognize that and synchronize the folders, so you will have the file on the PocketPC. Another option is to copy it to the Mobile Device folder, which should appear under My Computer.
    Try to take over the world!

  • Using USB device with Virtual Com port

    I have an actisys IR USB device that creates a virtual serial port. I can read from it using VISA, however it will not write. I have the same setup working on LV 6.1 running windows 2000. I need to make it work on my system running XP and LV 7.1.

    Hello,
    Does your Windows 2000/LabVIEW 6.1 system work correctly or do you see the same behavior?  It sounds like there may be something wrong with the termination of the command.  What termination method are you using?  Is your instrument set for that method?  You may also want to try using the NI-488.2 Interactive Control.  A tutorial on how to use it is located here if needed.  This will bypass VISA and LabVIEW.  If this works, you may want to update to the latest version of VISA (if you don't already have it) to see if that fixes the issue.
    Chris R.
    Chris R.
    Applications Engineer
    National Instruments

  • FTDI virtual com port driver (VCP) and Labview 2009 - random connection loss

    Hi,
    I am using an FTDI chip to go from USB to serial communication (FTDI Driver: 2.06.00). It seems to work at first but then after some time the connection gets lost ("connection for the given session has been lost" or "I/O error"). This happens in MAX as well as the built executable of the program I am running. Latest VISA drivers are installed - 4.6.  I have tried flushing the buffer before and after communication with both visa clear and visa buffer flush vis. The lost connection seems to happen randomly. 
    I have seen other threads about this issue but they never reach a resolution. One thing i notice is that there are two FTDI devices in this system and only one fails, however when I unplug the working device the one that fails is able to connect again.  
    To sum up here are the system specs:
    Windows XP SP3
    FTDI 2.06.00 and older 2.04.02 drivers both fail.
    2 FTDI devices on the system - they do get assigned different COM ports
    Labview 2009 run-time
    VISA 4.6 run-time
    Thanks for any help. 

    We use Targus ACH63US Super Mini USB 2.0 4-Port Hub. It doesn't require external power but if you have a high power device you will have to plug the Targus hub into two usb ports on your pc (one provides power and the other does power and data transfer). They provide the usb Y cable to do this.

  • Problem connecting N79 to serial port using blueso...

    Greeetings to All,
    I have a big problem, when i connect my n79 using bluesoleil v3.0, i got File transfer, dialup networking and object push services only.
    If i try to start serial port service to connect my n79 to a serial port it displayes error "can not start service".
    i have tried various bluesoleil versions but the problem remains same everytime. on the other hand i can connect my sony k750i to a serial port without any problem.
    can someone tell me how to connect n79 to a serial port using bluesoleil
    OR
    Does N79 not support bluetooth serial port connectivity?
    or is there any other way to connect n79 to a serial port using blesoleil and my bluetooth dongle on a WINXP SP2 system?
    Thanks in Advance

    Yes, PCSuite supports a great deal of Bluetooth drivers. These are all built in so, give it a try.
    Windows Vista x32 en x64 editions:
    Microsoft Windows Bluetooth stack
    Toshiba Bluetooth stack, driver versie 5.10.12
    IVT BlueSoleil Bluetooth stack, driver versie 5.0.5
    Windows XP x64:
    Microsoft Windows Bluetooth stack
    Toshiba Bluetooth stack, driver versie 5.10.12
    IVT BlueSoleil Bluetooth stack, driver versie 5.0.5
    Windows XP:
    Microsoft Windows Bluetooth (enkel in Service Pack 2)
    Toshiba Bluetooth stack, driver versie 4.0, 5.0 and 5.10.12
    WIDCOMM Bluetooth stack, driver versie 1.4.2, 3.x, 4.x and 5.x
    IVT BlueSoleil Bluetooth stack, driver versie 2.x, 3.x and 5.0.5
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • Probleme mit USB 3.0 Ports IdeaPad N581

    Hallo,
    Ich habe folgendes Problem mit meinen USB 3.0 Ports:
    Wenn ich meine externe Festplatte (WD MyBook 3TB 3,5") an einen USB 3.0 Port anschließe, gibt Windows mir ohne Pause die gleiche Fehlermeldung aus: "Sie müssen den Datenträger in Laufwerk F: formatieren, bevor Sie ihn verwenden können."
    Wenn ich die Festplatte an einen USB 2.0 Port anschließe funktioniert sie allerdings ohne Probleme.
    Der Laptop ist frisch neu aufgesetzt, hatte das Problem aber auch schon vorher. Ich habe den aktuellen Treiber für die USB Ports erst von der Support Seite von Lenovo, dann den Aktuellsten direkt von Intel (1.0.10.255) installiert.
    Die Festplatte hat im Laufe der Fehlersuche ebenfalls den aktuellsten Treiber, sowie die neueste Firmware verpasst bekommen, leider alles ohne Erfolg.
    Leider habe ich kein zweites USB 3.0 Gerät um es an den Ports zu testen, jegliche anderen USB-Geräte funktionieren allerdings einwandfrei...
    Wenn ich die Festplatte anschließe sieht es so aus, als würde die Festplatte immer wieder connecten, die Fehlermeldung auslösen und dann wieder disconnecten.
    Anbei ein Screenshot des Geräte Managers. Das sieht genauso aus, wenn die Festplatte an USB 2.0 oder USB 3.0 hängt.
    Entschuldigt den langen Text, vielen Dank im voraus
    Grüße,
    Arsanian

    Hallo Arsanian,
    danke für die Nachricht.
    Der Sachverhalt gilt für beide USB 3.0-Ports?
    Du könntest auch noch einmal den Chipsatz-Treiber und danach den USB 3.0-Treiber neu installieren.
    Deinstalliere die beiden genannten Treiber bitte über den Gerätemanager.
    Fange mit dem Chipsatz-Treiber an. Deinstallation --> Neustart des Rechners --> Neuinstallation.
    Gruß, Marcel
    PS: Bitte lade die Treiber im Vorfelde herunter....
    → Wenn Du eine Lösung auf Deine Frage erhalten hast, markiere diese bitte als gelöst - Hilfreiche Beiträge verdienen Kudos. Zögere nicht Kudos zu vergeben.   

  • Buffer overflowin​g in PDA using PDA module?

    I am trying to send data from a Rabbit Microcontroller (RCM3600) through the serial point, I am recieving the data correctly, but the buffer is filling up and then the data is shifts one place over, the buffer indicator that I have set only goes up to 8191 for some reason, even if I set the buffer at 1024, I am using the PDA module to do this, I am sending it to a HP5550

    Ben,
    Could you attach a copy of your application so that we can take a look at it. It is fairly difficult to suggest possible remedies based on your description. If you can simplify your VI before posting it to the parts that are causing the problem it would be very helpful.
    Christian L
    NI Consulting Services
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • Delta Problem while extracting the data by using function module

    Hi Experts,
    I have extracted the data by using Function module, for delta loads I have given Calday and additive delta in Generic delta settings, in BW side I have initialized the data after that I have given delta update option in infopackage and I made process chain also, every day process chain is running successfully but it is showing zero records, but there is a data in Data source (RSA3), means delta is not working.
    What is the problem,
    Is there any another settings for delta loads,
    Please help me to do this,
    Helpful answer will be appreciated with points,
    Regards,
    Venkat

    Hi,
    Try this delta type :NEW STATUS FOR CHANGED RECORDS.
    More information from Nagesh, this information may help
    1. New status for changed Records.
    2. Additive delta.
    New status for changed records means
    New Order
    order no quantity
    1000 10
    order changed to quntity 8. then 2 records will posted 2 BW in first case.
    1000 -10
    1000 8
    if you come to Additve delta.
    for the same case it will send the same record as
    1000 10
    changed records
    1000 -2
    this is the difference. New status with changed records should be used only in association with ODS not cube becoz we don't have overwrite option.
    Additive delta we can use for ODS and Cubes with update mode Addition.
    Regards,
    Satya

  • How to use PDA module to access the database of PDA?

    I want to develop a program which  can access the database of PDA by the pda module. give me some advice!
      thanks!

    It may help you to know how I add JARs
    1. I open my Project (myProject)
    2. I Mount the JAR to the FileSystem (like mypackages.jar = which includes com.mus.de.myClass.java)
    3. I Mount the File to the FileSystem (like c:\..myfiles..\myProject)
    3.1 I add the File to my Project
    4. I select File | New -> Classes | Main
    4.1 I typed "import com.mus.de.myClass.java" to refer to this package.
    4.2 I called some of the public methods
    thats it
    Andreas

  • "NormFltH is a missing VI or C file" when using PDA module

    To whom it may concern,
    I developed a VI, which containing some Digital Signal Processing (DSP) functions and digital filters. I want to download it to my PDA via NI LabVIEW PDA module. However, the system always prompted "NormFltH is a missing VI or C file". I don't know what such "NormFltH" file is. If I run this VI on my PC, everything works well unless I try to run it in my PDA device.
    Can anyone offer me some guidance or suggestion? Thanks so much for your valuable help.
    Zhanpeng

    will this helps you? if didn't solved your problem, post back.
    Thanks,
    Mathan

Maybe you are looking for

  • Getting Inconsistent catalog view error  while invoking OCI.

    Hi, I am using OCI calls in my java application for communicating with the Oracle database. I am facing a problem while invoking the function "CHANGE_PACKAGE". The problem that i'm facing is: e : java.sql.SQLException: Internal Error: Inconsistent ca

  • HT1386 Sync problem from Macbook Pro to iPad 4

    I managed to download the music I purchased from iTunes to my Macbook Pro. I also managed to sync the music with my iPhone 5 so that I have all purchased music on the iPhone. However, I fail to sync the same music from the Macbook to my iPad 4. Any c

  • Sine generator VI output jump

    Hi, I was describing a problem in the Multifunction DAQ board, but it looked like software had a part to play too. Basically, I was running a sine generator VI through analog output to a speaker, and experienced a sudden break or phase skip in the ou

  • Why does quit safari stay grey

    why can't i quit safari

  • A cache problem ? Adobe Reader 9

    Hello, I create a pdf form with three buttons. Each of them send an email to a different address. It works fine ... one time ! At the first time the mail is send to the good user. At the other times the mail is always send to this same user. Is it a