Communication serial port IRP_MJ_READ

Hello, I would ask you serial port communication. I am currently apply for communication with my engine not to not (Microcon), but it does not work. If I try to connect with the original software, my serial port monitor gives me values

IRP_MJ_WRITE when I write some values and

IRP_MJ_READ when I try to read from the serial port

But when I'm using LabView, I can only send IRP_MJ_WRITE function by using the component to write VISA (if this one works well), but when I use VISA component read my serial port monitor gives me only IRP_DEVICE_CONTROL. Do you have any sugestion where can be a problem? I don't know how to get this function IRP_MJ_READ using LabView VISA component.

You watch the using PortMon software? The only thing I see here is that the order that you send, there could be a space that you could have made while typing,

or

You're still motor control software running step by step when running the labview? In this case, there will be conflict.

When you use software original stepper motor and when you send the command wirte down the hexadecimal value (see portmon or any other monitoring software) and try to send back the same hex values using labview. Sending a command, sending of hex are the same but just give it a try,.

Use bytes depending on the port before VISA to read all available data.

Search for Microcon network drivers driver Instrument in the Web site OR if you want a quick and simple solution.

Tags: NI Software

Similar Questions

  • Communication Serial Port with PIC

    Dear all.

    I am interfacing the labVIEW to an eeprom controller PIC, where I need to input data user to store in a location memory EEPROM, according to my condition that I've done programming the pic and it works very well with hyperterminal, at the same time I need to do with a labVIEW using communication serial port VISA , but when I did I receive a warning in 1073676294 that cannot be ignored, but I am not able to write user data to EEPROM by labview but I can do it to hyperterminal, please someone help me on this.

    Charron a G

    I was interfacing to pictures for a while, and the example that you have to build from was the same that I used. First, move the initialization OF THE outside of the loop. No need to re-initialization of the COMM PORT every 750ms.  Inside the code example, there is an expectation of 500ms between WRITING and READING (it is hardcoded for now, you brought it out on the ICON).  So time total is 750ms loop over the 500ms wait (more traffic comms), FYI.

    You do not use a return of ramasseherbe (13) or a NEWLINE (10) as a dismissal. You use a SO (14). Unless you're on a triggering a 14 ASCII in the PIC, the PIC will never see the "end of the chain of command" to analyze out. I have attached a good routine of init (IMO) I re - use on all my PIC projects, take a look.

    I use compilers Mikroelectronica MikroCPRO and displayed a complete interface of the UART (triggers on a CR (13)) on their site LIBSTOCK if you want to take a look at the side of the PHOTO of my work.

    http://www.libstock.com/projects/view/250/RS232-interrupt-driven-command-based-interface

    Steve

  • Communication serial port problems

    Hello.  I'm trying to control a pressure controller MKS Instruments 651 via RS - 232 c.  Right now, I just try to establish a basic communication with the device on the serial port.  I can connect to the device with hyperterminal of windows using the following parameters:

    Bits per second: 9600

    Data bits: 8

    Parity: None

    Stop bits: 1

    Flow control: no

    Once I log in, I'm in file--> properties, settings tab and click the button settings ASCII.  I need to check the following boxes (not ticked by default) for communication any occurs:

    Send line ends with line breaks

    The echo locally typed characters

    Add line breaks to incoming line ends

    Force incoming data to 7-bit ASCII

    Once I got it, I can communicate with my device via hyperterminal.  What I want to do now is to use LabVIEW to control the unit, so I need to be able to send and receive data through the connection RS-232 using LabVIEW.  I have been using the basic series write and read vi, but I get no response from my camera.  Looking at the block diagram for the basic reading/writing, I saw that allow termination Char has been wired to false, so I changed to a control and set it to true.  I also changed the termination to a control tank and assign 0xD for the CR.  I can't always get a response from the device.

    I guess I'm still not put in all for the serial port configuration correctly.  Can anyone give me some suggestions on what else to change to match my hyperterminal settings?  Thank you!


  • Having problem of PCI and PCI communication serial port

    Hello guys,.

    I have a problem with my serial port PCI and PCI communication, I use Windows 7 64 bit found no solution please help about this and I am very happy to thank

    B.Regards,

    Hussain SF

    Hi Hussain SF,

    Thanks for posting your query on the Microsoft Community.

    I imagine the inconvenience that you are experiencing and will certainly help you in the right direction to solve the problem. However, I would be grateful if you could answer a few questions to refine the question in order to provide you with better assistance.

    1. You get no matter what error code/message when connecting to the serial port PCI?
    2. What is the brand and model of the computer/motherboard?
    3. What card has been inserted in the PCI slot?

    PCI stands for Peripheral Component Interconnect. It's an industry standard bus to connect devices to a computer.

    A serial port is a serial communication physical through transfers of information inside or outside a bit at a time. The term "serial port" usually identifies hardware more or less conforms to the RS-232 standard, designed to interface with a modem or a similar communication device. The serial port used to be widely used to connect to a variety of devices external and is essentially a two-way communication port. There are still devices using a serial port connection. These are often marked as RS232 and would include devices such as TELEVISION receiver cable boxes.

    The PCI of Simple Communications controller is a generic label given by Windows for PCI cards installed in a PC when the drivers for the device are not installed.

    You probably received this error because you have not installed the driver for your PCI device.

    If your computer came with a motherboard driver disc, put the CD in and install the chipset drivers from Device Manager browse the CD. This would update the drivers for those devices.

    Steps to follow:

    a. right click on the entry in the Device Manager and select Properties.

    b. in the driver tab updated some drivers.

    c. Select Browse my computer for driver software.

    d. click on browse and look for DVD player option.

    e. follow the instructions on the screen and restart the computer after installing the drivers.

    If you don't have the motherboard drivers CD then please download and install the drivers for the chipset of the manufacturer's Web site and see if it helps.

    Get back to us with all the information and results of proposed suggestion. We will be happy to help you.

    Kind regards

  • communication serial port works to the max, but not in labview

    Hello

    I am trying to connect a regulator to oxygen flow (flow Bronkhorst EL) to a laptop through a USB using MAX and Labview series port adapter. After the MAX aperture, I see my instrument on port COM5 and need to change the baud rate to 9600 to 38400. After this I querry the command: 06030101217D00\r\n, I can turn the mass flow at maximum power regulator (looks a little weird order because of the syntax of the instrument, but it works very well). If I write a vi to do the same and send the same string through visa series, I get no results, it seems that the command is not send to the device. I tried to change all settings for the serial port, nothing seems to work.

    I've attached an example vi here, any suggestions?

    Hello

    just a simple misunderstanding, happy that you added the code.

    In MAX \r\n will be always interpreted as send a cr and line break.

    In LabVIEW only when you select \codes view by right-clicking on the channel.

    In your situation, it now sends a-a r another- and a n

  • Communication Serial Port without a VISA

    Is it possible to connect to the serial port without a VISA?

    The thing is that the VISA is required to be installed on the deployed machine. It is not for my client.

    Thanks for any help.

    You can find driver series placed in Non-VISA:

    http://www.MHST.de/downloads.htm

    Benefits:

    • you need not install DURATION VISA on a deployed machine. Place a dll (dll is included) in the system folder - that's enough.
    • There are several additional features that has no VISA
    • works reliably

    Disadvantages:

    • Works for serial port only
    • uses the WinAPI functions
  • communication serial port to read from an Analog Devices inertail sensor

    Hi, I have an ADIS16350 of inertial sensor by Analog Devices. My motive is to read continuous data of the sensor. Firmware sensor has specific commands as follows:

    Wil returns OK

    RA read a time of sensor

    It's going to read the sensor continuously

    When I try this in hyperterminal, everything works fine.

    However, I tried in the same method labview. However when I send no matter what this command the façade shows an error message. That means if I send 'at' command, instead of return 'OK' I get "ERROR: 61-74-30-43-error" in my opinion, this is a mistake sent by the firmware of the sensor. However just to test the system, I tried to send the command "continuous acquisition" of my program, LABVIEW, LabVIEW close, open Hyperterminal. To see the data is received at the Hyperterminal.

    Did someone come acroos a situation? Your comments are greatly appreciated.

    Thank you!

    Stéphane

    Check the stop character that you send with your order.  It is \r return (hex 0D dec 13) of the distribution or the new line/newline (hex 0A dec 10) \n?

  • Questions about serial port read and write at the same time

    Hi I create a user interface for the communication serial port, where there are essentially 2 front panels, where the user enters commands one and the other where the prints of UART is delivered. I thought initially using a state machine but the reading and writing may be independent sometimes and so I can't rely on States. I searched a bit on the forum and he left me even more confused. Help, please.

    (1) in a thread that sessions visa duplicated has been used for writing and reading at the same time, is it recommendable? How will this affect performance?

    (2) essentially when the vi is reading data are it must constantly view as well, however, someone said that it takes too much memory to use shift registers, so how do I go about this? If using a State in queue after the loop of reading it affects the playback loop and be sequential?

    In addition anyway is to move the cursor to the latest data from the indicator

    (3) for the control of the user input, assumes that the user has entered an order in the control and press ENTER, then writing visa is launched, but if it comes in another string and press enter then write must be called again... is - it possible? will detect the previous commands in the control of compensation?

    (4) according to my understand the expectation for the event do not monopolize resources and writing can go in parallel, am I right?

    Thank you. I have attached a very basic vi which took me to the point, but I want to make it more robust. Please help especially in the part of the user interface.

    su_a,

    (1) you can have only one session to a port. Several UART can handle full duplex so performance is not affected.  At flow rates of high data and large amounts of data, buffering and latencies of BONE can become a problem.

    (2) who told you that shift registers using too much memory? Shift registers are usually the best way to transfer data from one iteration to another. String concatenation inside a loop (registry to offset or not) causes the chain to develop and may require re-allocation of memory.  Your VI never clears the string so its cold length become very large.

    Generally, you do not have an active cursor on an indicator.  If you want to always display the most recently received characters and turn on the vertical scroll bar use a property node to keep scrolls to the bottom.  This can be annoying for users if they attempt to manually move the scroll bar and find that the program continues to move it back automatically.

    (3) if the user has changed the value in the chain of command, when he hits enter the modified value event fires.  Simply strike brace does not change the value and does not trigger the event.  Not control need to be erased, but the value that he has to change.  If you want to send the same command again, have a button send a command may be a better choice.

    (4) write is a case of the event.  It is not in parallel with anything.  The structure of the event do not monopolize resources.  The other loop will run while it waits.

    The event loop will not stop when you press the STOP button. Probably it wll take two command: change events of value after JUDGMENT before any loop stops.  Replace the Timeout event (which never expires) with a STOP: value change event and a real wire of this judgment to the Terminal endpoint.  Remove the local variable.  Make mechanical locking when released.

    Lynn

  • How to trace data sent through the serial port by controlling simultaneously the buttons

    Hello

    I want to plot data by controlling the two buttons at the same time and the draw according to my control using communication serial port, but the problem is that the plot on the graph alternates between the two controls his do not change according to my control for example if I move the potentiometres1 / 1000 and button 2 to 4000 replacing these values on the graph I placed a select control, the problem is still not resolved u can help me please thanks in advance

    Regarding

    Samatha


  • Serial port PCI and Communications Simple driver (s)

    I just reinstalled windows 7 Pro X 64 and I have all the drivers, but these two. Any ideas on what they are, and where I could get them?

    PCI serial port

    PCI Simple Simple Communications controller

    I have a HP Elitedesk 800 G1

    Hello:

    You need this driver...

    http://h20565.www2.HP.com/portal/site/hpsc/template.page/public/PSI/swdDetails/?sp4ts.Oid=5387468 & spf_p.tpst = swdMain & spf_p.prp_swdMain=wsrp-navigationalState%3Didx%253D%257CswItem%253Dvc_131760_1%257CswEnvOID%253D4059%257CitemLocale%253D%257CswLang%253D%257Cmode%253D%257Caction%253DdriverDocument & javax.portlet.begCacheTok = com.vignette.cachetoken & javax.portlet.endCacheTok = com.vignette.cachetoken

  • HP DC7700: Serial Port PCI and simple Communication controllers pilots missing in HP DC7700 windows 7 (32 bit)

    PCI\VEN_8086 & DEV_2997 & SUBSYS_2801103C & REV_02
    PCI\VEN_8086 & DEV_2997 & SUBSYS_2801103C
    PCI\VEN_8086 & DEV_2997 & CC_070002
    PCI\VEN_8086 & DEV_2997 & CC_0700

    and

    PCI\VEN_8086 & DEV_2994 & SUBSYS_2801103C & REV_02
    PCI\VEN_8086 & DEV_2994 & SUBSYS_2801103C
    PCI\VEN_8086 & DEV_2994 & CC_078000
    PCI\VEN_8086 & DEV_2994 & CC_0780

    Experts in the House should please come to my rescue.

    I just upgraded my Hp DC7700. I was able to get all the drivers except for SERIAL PORT PCI and PCI SIMPLE COMMUNICATIONS CONTROLLER missing. above are the two missing pilots hardware ID

    Hello:

    There is no W7 drivers for these devices.  You must use the Vista drivers and if auto installation does not work, you will need to install the drivers manually by navigating to the folder of the driver that was created when you ran the file from the device in the Device Manager (browse my computer for driver software).

    This package contains the driver Intel Host Embedded Controller Interface (HECI) for access to Active Management Technology (AMT) initiative of the Intel Digital Office for rated desktop models and operating systems.

    FTP://ftp.HP.com/pub/SoftPaq/sp34501-35000/sp34743.exe

    This package contains the Intel (LMS) Local Management Service and Serial - over - LAN (SOL) support for the technology of Directors Active (AMT) under the Initiative of digital office Intel for the supported desktop models and
    operating systems.

    FTP://ftp.HP.com/pub/SoftPaq/sp34501-35000/sp34744.exe

  • HP DC7700p PCI SIMPLE COMMUNICATIONS CONTROLLER AND PCI SERIAL PORT

    Hello

    I have a HP DC7700p Office for work that is missing, PCI SIMPLE COMMUNICATIONS CONTROLLER AND PCI SERIAL PORT DRIVERS for WINDOWS XP PRO MISSING. CAN SOMEONE HELP ME TO DOWNLOAD THE DRIVERS. I ' M RUNNING WINDOWS XP PRO ON THIS MACHINE.

    THANKS IN ADVANCE

    SERIAL PORT PCI: PCI VEN_8086 & DEV_2997 & SUBSYS_2801103C & REV_02\3 & B1BFB68 & 0 & 1 B

    PCI SIMPLE COMMUNICATIONS CONTROLLER: PCI VEN_8086 & DEV_2994 & SUBSYS_2801103C & REV_02\3 & B1BFB68 & 0 & 18

    Hello:

    Need the driver of the amt for devices...

    http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=3232101&spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3Didx%253D%257CswItem%253Dir_46768_1%257CswEnvOID%253D1093%257CitemLocale%253D%257CswLang%253D%257Cmode%253D%257Caction%253DdriverDocument&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken

  • dc7800mt: dc7800 10 Windows 64 b PCI Simple Communications and PCI Serial Port drivers missing

    Can't seem to find the drivers for a dc7800 upgraded to Windows 10 64 b for PCI Simple Communications Controller and PCI Serial Port devices.  Any help would be greatly appreciated.  Paul_Tikkanen, are you still there?

    Hello:

    Yes, I'm still here, and Yes, I know what drivers you need...

    You need this for the PCI of Simple Communications controller:

    This package contains the device driver Intel Active Client Manager Host Embedded Controller Interface (HECI) for desktop models and operating systems supported.

    FTP://ftp.HP.com/pub/SoftPaq/sp46001-46500/sp46137.exe

    PCI serial port:

    This package contains the Intel Local Management Service (LMS) and the support of Serial - over - LAN (SOL) for Intel Active Management Technology (AMT) for the supported desktop models and operating systems. This software is part of the Intel Digital Office Initiative.

    FTP://ftp.HP.com/pub/SoftPaq/sp46001-46500/sp46134.exe

    And let me give you a bonus tip... Install the audio driver Soundmax ADI W7.

    I found that works much better than W10 installed.

    You install it, then select multistreaming in adi Control Panel, restart again and go to manage audio devices in the Control Panel, and then select the PC speakers, but of course install the W7 audio driver is optional, and it is up to you...

  • Serial port PCI and PCI Simple Communications Controller

    Hello!

    My computer OS is Windows 8.1.

    I just shearch something and I found that... I don't have serial Port PCI and PCI Simple Communications Controller. (Unintalled)

    Serial port PCI-> VEN_8086 & DEV_29B7 & SUBSYS_2819103C & REV_02\3 & 21436425 & 0 & 1 b

    Controller PCI Simple Communications-> VEN_8086 & DEV_29B4 & SUBSYS_2819103C & REV_02\3 & 21436425 & 0 & 18

    Sorry for my English. But can anyone help me?, where I can download these files.

    Hello:

    Here are links to the drivers you need...

    Install PCI Simple controller Comms

    http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=3459243&spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3Didx%253D%257CswItem%253Dvc_78668_1%257CswEnvOID%253D4059%257CitemLocale%253D%257CswLang%253D%257Cmode%253D%257Caction%253DdriverDocument&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken

    Install PCI Serial Port:

    http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=3459243&spf_p.tpst=swdMain&spf_p.prp_swdMain=wsrp-navigationalState%3Didx%253D%257CswItem%253Dvc_78665_1%257CswEnvOID%253D4059%257CitemLocale%253D%257CswLang%253D%257Cmode%253D%257Caction%253DdriverDocument&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken

  • Another question on serial port communication

    Hi all!

    I started working with tools of communication series LV (actually, I'm a newbie in LV at all).

    The question is - how I effectively detect y at - he new data arrived in the read buffer VISA?

    I mean, in the examples I found, there is always a fixed delay between writing series and the read operation - it makes the instrument depends on the speed of communication and (worse) on the response time of the required device. I want to implement is a vi that writes a (or different applications) via a serial port and then check periodically (with the relatively small period, say, 1ms) series read buffer for the response data until new data stops arriving. For this I need to know the number of bytes of data into the buffer, or a property (if any) detecting the arrival of new data.

    As I read on this forum (and figured out from my own experience)-using VISA bytes to the Serial Port is ' t a good idea also I have found a solution without delay set by the user between the writing and the read operation in the recent previous topics.

    Can you give me an opinion?

    Thnx in advance.

    Use VISARead with a number of bytes to read and a timeout.

    When your data is received it will play instantly. When no data comes in, you will get a time-out error, which you can manage!

Maybe you are looking for

  • Need adapter for my Satellite Pro 6100

    My charger broke the bit that connects to the laptop itself and I need a replacement. Any standard charger will work on this subject? Found one on amazon.co.uk, but I don't know if it will be compatibleAnd nobody knows what kind of hard drive? Thanks

  • I can't manage keithley 224 driver with labview. Help me, please.

    Hi, my name is Kim Yonghyun. I am student in physics at the University of Seoul. I use Keithley 224 Power Source. I would like to address with the LabVIEW (v2011) for the Keithley224 program. I try to use the driver provided by Keithley, but Keithley

  • Sampling frequency for two different routes for acquisition of data USB-6009

    Hello I use a box USB-6009 and incorporating the "daq assistant" to change the sampling frequency.  I'm trying to find a way to set the sampling frequency to two unique values for the two separate channels.  I tried implementing two assistants daq an

  • The name of the product

    Dear Sir How to know the name of the product of my HP Pavilion? regarding Koli Vijay

  • can't activate windows 8

    I've done the research and notice that you can activate win 8 on the first PC you installed cannot install on multiple PCs. So here's the microsoft problem! I installed the OS on my old computer for two weeks only; I noticed that it is slow, so I cre