Base address Get Serial Port (PXI-8420)

I have an application that requires a control to a serial port at low altitude.

I need to recover (pragmatic) address for the COMX, which is generally Beach 0xXXXX.

The card is PXI-8420, 2 RS232 ports.

Thank you

German.

If you use Windows, you can find this information in the Device Manager by looking at the tab resources in the property sheet for the device.  While it is not guaranteed to be that of boot at startup, it will be in practice, as long as you don't add or delete everything material, change the topological layout of material (from slot machines in things are or the provision of connections in a system MXI), upgrade/downgrade BIOS or apply a really unusual Windows patch.

If YOU have the information by program (in this case it changes), it can be obtained by calling the method CM_Get_Next_Res_Des (documented in the SDK documentation of drivers Windows - Google for it) on the device.  The sequence of calls to find your device and get all the parameters to pass into this function is very hairy, but it is pretty well documented if you have time to comb it.

If you use a LabVIEW RT, so unfortunately I don't think there's an API that exposes this information.

Tags: NI Hardware

Similar Questions

  • Cannot Get Serial Port to operate in virtual XP Mode of Windows (operating system is Windows 7 Prof SP1)

    I have a data record meter Extech quite expensive. The software so that it runs only on a PC running XP or by loading the software in virtual XP mode on a computer with Win7.

    The software works OK in virtual XP mode, and I can open previously saved data files. But with the operation of the software, I can not connect to the counter with his serial cable.

    I checked the status of the serial port in the Device Manager on this computer; time in the virtual XP and Win7. In both cases, it shows a COM1 and COM2 works satisfactorily. The only "yellow? s"in Device Manager are"VIRTUAL PC INTEGRATION DEVICE. " The connector Series 9 pins on the computer is labeled as COM1.

    The meter connects smoothly to multiple other XP computers. Flow baud rate 9600 and other port settings are set by the software.

    Hello

    Check out this article Configure a port for a virtual machine COM Microsoft to resolve this issue.

  • 8430 PXI cannot open serial ports

    Hi all

    I have problems using the NI PXI-8430/8 map serial ports.

    After installing the driver, the device works very well and the troubleshooter MAX serial shows all 8 ports as adopted and I can access ports.

    After a restart of the system, I can not access the ports of 8430. This utility lists all the ports 'Impossible' with the message "cannot open port.

    In the Device Manager configuration seems correct. Also, I find no error in the Windows registry (COMDB,...). Everythings seems good enough.

    I think that theres might be no other application that could take control of all ports, especially not after a reboot.

    I tried to reinstall the drivers, reorganize the com-numbers and I have already changed the material 8430. Nothing solved the problem...

    Does anyone have a solution or any ideas?

    My configuration:

    Rack of 1078 / controller: PXI-8135 / Serial Ports: PXI-8430/8

    Windows XP

    I have another system that works pretty well in the same configuration.

    Hello

    I found the solution. It was a conflict situations with the MT7 3 m touch screen driver.

    Special thanks to french colleagues, their position causes an appeal me the right way.

    Here is the link: http://forums.ni.com/t5/Discussions-au-sujet-des-autres/Ports-COM-des-cartes-NI-bloqu%C3%A9s-par-le-...

    You must disable the service "Search MT7 Service series" (configuration/Administration/Services Board). After I did that it worked well...

  • whille prob get bytes to the serial port for serial communication

    Hi all

    I have one using the series write vi to send the command to the instrument. the answer I get is read NICU playback vi. I use between read and write the serial port bytes accumulate bytes. BU what I observed is quite strange. When I run the vi with the debugger, I could c the bytes to port series is 201 and what I get in buffer is only 133.

    any1 can guess at what the problem would be b?...

    You don't show the function of VISA set up a Serial Port, but I guess you have the active stop character. Playback will end automatically when the character is detected and you should never allow when you try to read hex.

  • Get the description of a serial port with bundles of Visa

    Hi all

    How can I get the description of a serial port? for example. Communication port (COM14)

    I use currently Instrument VISA, but there is a large top of the head to the liberation, 65 MB on head.

    I wish to all the port available for the user to select the list.

    Thank you

    Shakeel

    You can find useful resources in the present code published by Martin some time ago. Original code only returns the port number, but running it step by step, you can find the point where the description of the device is found and use it.

  • Need 16 to 115 200 serial ports, can not get more 8 then

    I try to get 16 to 115 200 serial ports send/receive data. I have a NI PCIe-8431/16 (RS-485/422).

    I managed to get 8 ports will at the same time but not anymore. I tried 9 ports at a time and I get timeouts on port 9.

    PC: Dual core 2.4 GHz, 4 GB of Ram. I'm not more taxing on the CPU, I mean its 115 200 what treatment he would need.

    I'm already talking with OR to the care, but so far they don't have a definitive answer of fix. I thought that maybe windows XP can handle 8 ports?

    I also tried to use 8 of 16 channels and 1 another card 4 ports, I've had. Always the same results. I can do 8 simultaneous connections, sending data. and it seems that I can get the 9th to send to 2400 baud, but when I switch to port to 115 200 speed it fails / timesout?

    More information about my project: I am trying to update firmware on 16 devices at once. To 115 200, it takes 6 minutes to push all the code of the device.

    Process is: 2400 baud get version and check if a new version is necessary. 2400 baud say im switching machine for 115 200 2400 baud response. 115 200 baud send start download receive response to 115 200 baud rate. Send the bytes start and spell then line of the file at a time. Send end. done bytes.

    Anyone know of possible limitations under XP or with the device OR? Any help or idea would be apreciated.

    worst case I limit to 8 at a time. which is useless then. Might as well buy a controller at 8 ports and make a smaller device...

    Well, I fixed my problem with the help of using NI SPY on serial ports. Thanks for this idea of troubleshooting, first time I had to use or spy.

    First problem was my 100msec device timeout of 2400 baud to 115200 baud of switching. I added a loop for, 5 time, delays from 20msec (total 100msec) to send 'start download' and also to receive a response, after the transmission change. This allowed the unit to wait for firmware.

    Then I noticed that I had a ton of failure during the download. Process is send receive some line of code 0 x 01 that the code was excluded, then send the following line of code. If she gets 0 x 01 has not received or 0x02, and then send it again (forever if you want, well I think that several seconds until the device stops data receiver)

    My problem here is that I sent the data line, then read 1 byte. Timeout is set to 500msec. My code would get a timeout, so I'll send the data once again, since I have not received of 0x01. For some reason, it does not. After that I get the timeout I can't send/recieve on this port. I have then close and restart.

    Fix was a loop (20 times?) for 500 msec and check the receive buffer. If the receive buffer is empty after 500msec I try again. If the receive buffer has data then I read and check to 0x01. If I don't get 0x01 I try again. Otherwise, send the following line of code. It works very well.

    Finally, I can picture 16 devices in less than 7 minutes. This should normally be one at a time for 7 minutes each using a matrix of series 48.

    Next challenge 48 serial ports!

    Thanks for the help.

  • On the PXI-8106 serial port connection problem

    Currently, I am trying to connect to the serial port on the PXI-8106 via RS232 module. However, when I try to run the Test VI opened for COM1 MAX (PXI Remote) running on a PC, I received an error like below:

    Returns the status code: 0xBFFF00A8

    Name of the State: VI_ERROR_NPERMISSION

    Access to the resource or the remote machine is denied. This is due to the lack of sufficient privileges for the current user or the machine.

    Right now I'm just a just loopback test to ensure that the interface for device is working before you start my labview code. I'm not sure what the problem is exactly, if it has to do with the PXI or PC. Could you please suggest a few solutions to this topic?

    Thank you.

    I managed to understand. It did not work on the right platform.

  • series PCI and ocy port driver easy serial port can not get driver Windows 7 Professional

    series PCI and ocy port driver easy serial port can not get driver Windows 7 Professional

    Hi Louis,.

    What is the brand and model of your computer?

    You can visit the computer manufacturer and try to install the latest version of the Chipset drivers.

    Also try to use Windows Update to update the drivers and check if it helps.

    Automatically get recommended drivers and updates for your hardware

    You can also get in contact with the support of computer manufacturer for assistance.

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

  • Add serial port to VM, get BSOD 0x0000007b

    The operating system is Windows XP and it has been converted from a physical PC about 2 months ago.  He was the starter and working for all of the two months.

    But this computer starts.  I have a snapshot that I can surely return.  And this snapshot successfully starts and restarts.

    But when I add a single serial port (which is a physical port mapping) you get a BSOD on startup.

    After getting the BSOD, if I remove the newly added serial port, he continues to get the BSOD... safe mode or not.

    I am able to join the 'hard drive' to another 'computer' and read / copy files.

    No minidump file is generated by the BSOD.

    I read through all the STOP 0x0000007B VMWare community articles.  While I'm sure it's related to that those who are all about the SCSI drivers and boot devices.

    He is a serial port...

    Someone at - it a theory or something to try?

    OK, so far, I've saved a copy of the VMX for bootable and BSOD.

    A diff seems to indicate that SCSI is get added.  I will try to reduce the VMX BSOD and see what happens.  I might be able to save myself, but feel free to drop some knowledge on me if you have one.

    As well as it did.

    I have nuked two SCSI lines out of the VMX file and it starts.

    scsi0. Present = 'TRUE '.

    scsi0.pciSlotNumber = "16".

    Don't know why VMWare 9 added THAT SCSI on a computer virtual set to IDE... perhaps that will happen every time I have to change the settings.

    Don't know...

    This virtual machine was a horrible time, conversion from physical to virtual and it never worked when trying to make the recommended patches SCSI community.

    Maybe when life slows down I'll clone and try to convert them into SCSI again.

  • NullPointerException when getting the serial port.

    Hello

    I use the comm.jar to get the serial port, but failed.

    Error log:
    java.lang.NullPointerException: name cannot be null
    at java.io.FilePermission.init(FilePermission.java:171)
    to java.io.FilePermission. < init > (FilePermission.java:249)
    at java.lang.SecurityManager.checkDelete(SecurityManager.java:990)
    at javax.comm.CommPortIdentifier.getPortIdentifiers(CommPortIdentifier.java:24)

    I check the code in comm.jar.

    public static enumeration getPortIdentifiers()
    {
    SecurityManager securitymanager = System.getSecurityManager ();
    If (securitymanager! = null)
    securitymanager.checkDelete (propfilename);
    return new CommPortEnumerator();
    }

    Because securitymanager is not null, call checkDelete (propfilename). If securitymanager is null, all is well.

    Issues related to the:
    1. What is the function of the SecurityManager here, is the default value of null?
    2.i put the comm.jar in my class path, see also the win32com.dll file. But what is the cause of the error?

    Thanks in advance!

    Duplicate of NullPointerException when getting sΘrie

    Please post questions only once. It is impolite to post several times.

  • Name of resource VISA get does not have USB serial ports

    We built an application on a computer that had a built-in serial port - COM1.  We have the option to change the COM port in the application.  We have installed the application built on a computer that has no serial port, but installed a USB serial Converter which records as COM3.  LabView does not see this port, even with a test application to return only the names of VISA resources.

    We have verified that the port is good with another program (a Modbus Simulator) and installed the last TIME VISA v4.41 separately without result.

    Any suggestions for more troubleshooting would be extremely useful.

    Joe T.

    My main of the application still does not work, but now the little test ones are.

    Here's what I did:

    1. update my LabView 8.5 with the last VISA - 4.4 runtime.  This update the installer as well.

    2. added the install MAX for the build.

    3. adding the Support of Configuration of NI-VISA for construction

    4. uninstalled the app and reinstalled with the new volume of the system.

    When I run MAX, COM3 appears.  He also appears in the application of test resources.  The simple test Modbus to write the program works, too.  I have a sneaky feeling that COM1 can be hardcoded somewhere in the parent application; our next task is to find where communication breaks down in our code.  The bottom line seems to be a lack of experience with the demand of our manufacturer.

    Thanks to all who participated!

    Joe T.

  • Questions get windows 98 hardware serial port to work on a windows machine 7 using dosbox

    Hi I am trying to run a piece of hardware (which is currently working on a windows 98 computer) to work on a windows 7 Enterprise 32-bit computer. The material is a bike trainer KingCycle that measures power output and who connects via the serial port. I have the hardware connected to the serial port COM1 on the windows machine 7. The software has been configured for compatibility mode in windows 98. I checked on Device Manager to make sure that the port COM1 series works well and that the drivers are up to date. I installed DosBox to run the application Kingcycle and I restarted the pc several times.

    The issue I'm having is that when the software tries to communicate with COM1 it stops and gives the error "No. Interface fitted, error return Code (HEX) = 8000'. Is there something in particular in the COM Port settings / which must be amended to properly synchronize with the material? I don't know if this setting needs to be changed, but baud rate is currently set to 9600.
    Any info would be great.

    It is perhaps that just may work correctly on W7, everything works 100%.

    However, in looking at this article - http://www.dosbox.com/wiki/Configuration:SerialPort you configure the COM in DOSBOX port, first? More here - http://www.f15ijp.com/2013/04/dosbox-using-a-serialport/

    Whatever it is, it may be a good idea to ask on the DOSBOX forum, which seems to be - http://www.vogons.org/viewforum.php?f=53

  • How to get connected serial port information

    Hi all

    My mobile phone is connected with two activate the bluetooth device.

    Can anyone know how to get the port for each instrument (means which device is connected to which port)? While I can open this port directly.

    Hi all

    My problem is solved. I am able to do this in Torch 9800, but it does not work on the Curve 8520. So I close my thread.

    If anyone needs any kind of help with Bluetooth. Please let me know.

  • Signal output data expressed on a serial port

    Hello everyone,

    I received a task which requires me to collect several channels in express signal analog voltages before displaying these data to the serial port of the computer. My programming experience is very limited as Im working on the back of the high school before going to College, and even though I have the foundations of basic labview stowed, Im struggling to understand how to approach this problem.

    I started looking at the base read the series and write vi provided in the examples and I know how to get labview vi to intergrate with signal on purpose, but because of my lack of knowledge related to the use of channels of communications, binary, hexadecimal and asqui I don't really know where to go from here. The writing and reading of strings for example, I don't understand.

    I would like the data are ideally output on the serial port in real time and data are collected continuously at 6 kHz.

    I realize that there probably is no simple answer to this question, given my lack of knowledge, but any help would be greatly appreciated!

    Thank you!

    Harry

    Hi hcook,

    As smercurio_fc said, the strings that you send are totally dependent on what you're talking about. I haven't used a 'box of dspace' before, but a normal serial device will wait to receive specific orders.  Once it receives an order of some, she will perform a certain task.  You are right in saying that you need to establish what string commands to send to the box of dspace.

    You can find these useful:
    General concepts of Serial Communication
    Overview of Serial Communication

    I hope this helps.

  • analysis of the chain of the serial port to retrieve data

    Hi all

    It is a problem of beginner. I have two sensors sending data to a same wireless serial port. In order to distinguish which is which. I coded each sensor to send data with a unique address UoL 000 X, then followed by two values, I want to read. These two values are in the float with format fixed impression (decimal fixed after the third bit). The format string of the first sensor should looks like UoL 0001 123,45678 876.54321. I use the Scan of the String function, unfortunately, it doesn't work that way. Could you please check the VI for me? Or a better solution for this application. Thank you very much.

    S.G

    It does not because what you have set is not different from what you have joined earlier.  Have you tried something?

    See this amendment attached to your VI.  The format strings work with the examples you gave, and sends the data to the appropriate indicator.

    Also, I cleaned up the mess that the inner loop where you were waiting for 1 or more bytes.  Which means most of the time that you would probably get an incomplete message.

Maybe you are looking for

  • IPad showing 9.3.5 as the latest version of ios

    I updated my phone and watch the last ios. However, when I look for the update to 10 for my iPad, the device checks the update and repeat me that it is using ios 9.3.5 and it is up-to-date. This happens when I use the general tab on the settings as w

  • Different features of Firefox Windows and Linux.

    When I want to navigate to another site, and type the new address on the address of the existing page, that with one click on the version of Windows address nicely takes focus and brands all of the text and overwrite is easy, while with the Linux ver

  • Re: Satellite M70-144 - Internet button does not work correctly

    HelloI have a laptop M70-144. Pressing the button opens up internet Office level but will not start internet explore. This must be done manually. I have re-installed controls Toshiba and 1.5 Bios. Could someone please inform me of what may be wrong.

  • Satellite P750-13N - problem switching between nVidia and Intel GPU

    Hello I used my laptop Satellite P750 on its default settings because I brought and until now that has been very well. I use it mainly for games and now some of the more recent games have a hard run Shading.I used * www.systemrequirementslab.com/cyri

  • Problem with traditional DAQ passage to DAQmx using NOR-6534

    I'm moving the traditional following of DAQ code to DAQmx: This code is used to send data to program a FPGA using a PCI OR-6534 DIO.  This code works like a charm, but when I try to write the equivalent code using DAQmx (in LV 8.6 as well) it does no