Two module I/O servers. a serial port

is this possible? It makes sense that you would wan't to put multiple devices on the same network series, so you do not have add extra ports to control you. I can't find the answer. I ould think that the API manages the port behind the scenes sharing, but who knows. Can I save myself a job and use the I/O Server, or I'll have to do this the old-fashioned way and use the modbus library?

As long as you use a 485 port, you should be able to communicate with multiple devices using the Modbus over series.  It seems a little strange because you must have a different I/O Server for each slave device, but you can assign all use the same serial port.

Tags: NI Hardware

Similar Questions

  • serial port after the installed DSC module problem

    Hello..

    I want to GSM(with labVIEW) and PLC interface, My PLC will work in serial port only.

    In my PC, I have 3 serial ports. before installing the DSC module in my system, I can configure the ports series all the... but, when I finished installation of the DSC module, 2 ports is not between these 3 serial ports. Before PRECAUTIONS, I can work with PLC and I can use other ports. After installation, I can't configure the serial ports... Hereby, I have attached the error with this...  Please help me soon...

    The Solution is, no need to install the VISA device drivers separately. Installing the DSC module only.

  • Reading and saving data of two serial ports

    Hi, I googled similar questions in the forum, but I don't have an answer for my problem so I'm posting it here.

    I would read and record data of two balances throgh serial ports. I have a drop down menu in VI, I can choose the availabe ports on my pc. But it is still only one that works. So I only get one data scales them.

    I usually get to choose 6 ports, but only one of them works. So I'm wondering if this is something that has to do with my pc or the VI?

    I've attached a screenshot of my VI.

    Thank you =)


  • HP Compaq 6000 Pro AT492AV: Serial Port PCI Driver help - HP 6000 AT492AV Windows XP Pro

    Due to former software compatibility issues, I run Win XP on my computer HP Compaq 6000 Pro AT492AV.  I installed a new copy of XP OEM and have solved all driver except for 2 problems:

    (1) PCI Serial Port, here's the info from Device Manager:

    PCI serial port

    PCI bus 0, device 3, function 3

    PCI\VEN_8086 & DEV_2E17 & SUBSYS_3048103C & REV_03
    PCI\VEN_8086 & DEV_2E17 & SUBSYS_3048103C
    PCI\VEN_8086 & DEV_2E17 & CC_070002
    PCI\VEN_8086 & DEV_2E17 & CC_0700

    (2) unknown Device, here's the info from Device Manager:

    Controller of Interface LPC Intel(r) ICH10D - 3A1A

    ACPI\IFX0102
    * IFX0102

    I'd appreciate any help you can provide!

    All the best

    Hello:

    You need these drivers for devices...

    1.

    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/sp45001-45500/sp45367.exe

    2.

    This package provides the device driver for the Infineon Trusted Platform
    Module (TPM 1.2) in office supported running models taken Microsoft support
    Windows XP operating system.

    FTP://ftp.HP.com/pub/SoftPaq/sp40501-41000/sp40553.exe

  • 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

  • PCMCIA card as a serial port RS232 on Satellite Pro 4200

    I think to use a PCMCIA card as a serial RS232 port. The program that I need to use runs under DOS and needs two serial ports. My question is that I need to run the program and the serial port to be recognized by the system. I have a satellite pro 4200 laptop PC series.

    Thank you

    Why on Earth if you want that?
    Your laptop computer with a serial port doesn't have it?

    Well for the serial ports are standard supported on Windows. In a back box that should be no problem.

    But pure back could be a problem.
    I guess you must also BACK drivers for your PCMCIA card...

  • serial port cRIO

    Hello

    Can someone tell me how to access the serial port of the crio 9024. I pass the data to the serial port of the controller. This transmission must be by crio serial port and not by module CSeries.

    Thank you

    Hello mimran,.

    cRIO controllers run LabVIEW Real-time.  Therefore, you perform series read/write through the range of NI-VISA in LabVIEW.  All data collected from the port, or sent to the port will have to be given "String".

    There are examples for reading installed with LabVIEW series.  These are only a few small changes to work as in real time.

    Follow these steps for an example:

    1. Launch LabVIEW.
    2. In the main menu, go to the 'Help'-> 'find examples '.
    3. In the upper left corner, click on the tab "search".
    4. Search for the term "series".
    5. Open the example called "basic series write and Read.vi.

    Kind regards

  • 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.

  • The cRIO serial port can be used for the CAN bus communication?

    I would like to order a CVC with a CAN of network device and would like to know if this can be accomplished by using a serial port integrates the cRIO (OR cRIO-9024 in my case). Is it possible, or would need a C Series module CAN?

    You need a C Series module. Series and CAN use a DB9, but they do not have the same physical layer.

  • How to periodically send various types of data via the Serial Port?

    Hello! Everyone

    I have to send data to LabVIEW to my device on the Serial Port.

    I know how to send data on serial port in LABVIEW, I already have this part.

    Now the problem is that I have several types of data I need to question my embedded device, if I want to send the query periodically command.

    So lets say that my four Op Codes are the following, which will send four different types of query command to my device on the serial port.

    (To be honest only OP_LED and OP_SENSOR is used now)

    0, OP_SYNC

    1, OP_LED

    2, OP_SENSOR

    3, OP_FUTURE

    Structure of basic package is as follows:

    Header (0x2C), Checksum, length of the data (n bytes), Op_Code (1 byte), length (length of Code + data Op)

    For OP_LED, I need to send the package as follows:

    0x2c 0x02 0x01 0 x 00 0x2F (0x2F being the XOR checksum) (calculation of Checksum part is done and SUB Vi form)

    Length of the package this is 0x02

    0x01 is Op Code for OP_LED

    In the same way

    For OP_SENSORi need to send the package as follows:

    0x2c 0x03 0x02 0x00 0 x 00 0x2D (0x2D being the XOR checksum) (calculation of Checksum part is done and SUB Vi form)

    0x03 is length of packet here

    0x02 is Op Code for OP_SENSOR

    So, how can I do this periodically in labview, in such sort that period can be adjusted whenever necessary.

    Is there something in LabVIEW to do.

    I had done the reception and decoding part and working properly.

    http://forums.NI.com/T5/LabVIEW/store-data-coming-from-serial-port-in-buffer-and-then-take/m-p/32722...

    So I must implement read and write the part of same while loop?

    Do not insert in the table if you put data in an array at index 0.  Just use array to build.

    No need to have Visa to write don't be a part of wire to the wire of reference and error VISA go in the upper part.  These wires should go THROUGH the entry VISA.

    Don't your checksum requires all the bytes up through data?  Righ now, you only put the checksum on data bytes and forget the opcode and length bytes.

    Your sending is not the opcode for Opsync or Opfuture.  You just send the empty tables.  At the same time for the other two, you put the opcode in the data table.  All your original opcode in the table build thread.  Get the data out of these structures in case item which is supposed to represent the opcode.

    xpress_embedo wrote:

    Now it works but I have now two problems.

    (1) OP_SYNC and OP_FUTURE do not data, but still receive its data on serial port, can I do something here as I have nothing when the table is empty in the structure of the case.

    I do not understand this statement.  Perhaps my answer above will fix any issue you have here.

    (2) how can selection operation Code to be send is done using control façade but real application, this task should be automated to a certain frequency, like OP_LED package must go out to the serial port to 100msec and packet OP_SENSOR must go out to 1000msec, I do this.

    Now you agree a little more architecture.  I would encapsulate the code that is in the while loop as a Subvi.  Then with the hand of your program while loop, use two time Express VI, a game for 100 msec, the other for 1000 msec.  When an express VI is true, run the Subvi with a command set waiting for the answer.  When the other VI Express is true, have it run the Subvi with the other set of commands.

    The device responds with anything when you send these commands?  You only send data.  I see no VISA Read to be able to recover all the data.

  • P7000 control via serial port

    I just discovered that there is no module for 9178 chassis to interface with the drive of the P7000. We can use the serial port on the P7000 to control directly from Labview? What would be the best way to fight against it? P7000 tools to operate the stepper throughout the day.

    Thank you for your response. Using portmon, that we could determine the commands used with tools P7000. We have since modbus code embedded in the labview code and are able to control the speed and direction through the serial interface. I hope this fix can help others in the future.

  • 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

  • indicator of serial port

    I have the output of the serial port connected to an indicator, and it is set to display in hexadecimal. (The output string is converted to an array of uint8 first.) I want the indicator to maintain the value of the last number he received from the serial port. Currently, the indicator resets to zero when nothing is received on the serial port. How can I change this behavior so that the value is only updated when new data is received from the serial port. Thanks for any help.

    Place a Case statement that triggers a refresh of the indication only when the bytes to Port is greater than 0 (zero).

    And, of course, place the indicator inside the TRUE of the Case statement case.

    What you can do, is the (digital) output of the bytes to the Port of wire directly to the Case statement.  Check the default case '1'.  You can also use this same case to read the port, so to display the last data series.  Of course, you can have two sons, one who keeps all the data that has been read (shift register) and the other parsed wire the part you want to keep on the screen and you as the production of wire to your meter.

  • Is it possible to share a serial port?

    Hello

    I have to create a dll that manage the ports series. When I use it with a single process, I am able to connect to the serial port.

    But I would use a second process communicating on the same serial port through the same dll. I know that it's impossible to open it twice, manage my dll.

    The problem is I can't read or write with the second process on port, even if it is already open in the same dll.

    Is this a way to share the serial port without using a specific software like this (http://www.eltima.com/fr/products/serialshare/) ?

    Thank you

    Ludo

    I don't think you can call two different applications DLLs and expect it to work. When it is called by the second application, it creates another battery and therefore another copy of the dll that is trying to access the same serial port which is already opened by a first copy of the dll.

    Have you looked at this? 32-bit version is free.

    http://www.eterlogic.com/products.VSPE.html

Maybe you are looking for