CanI set programmatically PXI-8431 half duplex ports (two sons)?

Hello

I use an NI PXI-8431/8 RS485 card for half duplex comms. I use configuration of the serial port baud rate usual VISA, etc., but I also want to set the port to two sons, no handshake.

Currently I can do this from Windows, using the Device Manager, but it depends on someone who knows and not to forget to do. I want to automate so that it still occupies my entry into force, without worrying about who used it do.

Can anyone suggest how I can achieve this?

Thank you

Malcolm

Hi Malcolm,

You can set the thread mode and the type of control (handshaking) flow in LabVIEW using nodes of property.

The article in the link below shows how to do this at the end to set the thread mode. If you duplicate the property node, you can choose Flow Control as property instead of the thread Mode.

Setting the Mode of wireless transceiver on the Ports for the boards of the series NOR:

http://digital.NI.com/public.nsf/allkb/1D516C10D7EDFAC6862571110073B8F4

I hope this helps, please let me know if you have any questions.

Charlotte N

Tags: NI Hardware

Similar Questions

  • How can I programmatically determine if a TCP port is still open

    I use STM to go from communication between a GUI and a reat-time target. Everything works great except if the TCP connection is terminated at each end for a reason any. How I can programitcally queries the port to see if the connection is still valid with on a read or write on the port?

    LabVIEW is not any sort of TCP 'polling' VI. You will need to perform an operation of TCP and get the error provided to indicate that the connection has been lost. What did you do once you have discovered if the connection is no longer valid? Did you want to open a new connection and start using that one? If so, the best way to handle this is by trapping the error conditions in your code. If you get the error "connection interrupted" you open a new connection and try the operation again. I don't know how your code is structured, so I couldn't really tell you the best way to implement this in your code.

  • PXI-8431

    A question about the NI PXI-8431/8 serial port card: is it possible to directly control the TX (transmission) & read the RX (receive) state lines?    I need to implement a scheme of communication series using separate data and similar to SPI clock use differential line drivers.

    Looking at the example RS-485 Transceiver Control.vi, I see that it is possible to control the State of the control of serial port, CTS, DCD, DSR and DTR signals, RI and RTS.

    Hello wantacobra,

    You will not be able to directly control TX & RX lines because the PXI-8431 is specially designed for the RS-485/422 Protocol. Pass it and receive lines will be always expected a package of series. Yes, you can directly control the serial port control signals, but not the TX & RX lines. It would probably be best to get a circuit designed for the protocol you want to use.

    Kind regards

    Jeff L.

  • half-duplex configuration 9871

    I am trying to configure a NI 9871 4 ports 485 series add-on half-duplex communication with non-echo.  My problem is that I can not understand how to select the transmitter/receiver mode.  Table 3 of the manual (http://www.ni.com/pdf/manuals/372277e.pdf) shows four different modes, but it's a mystery to me how to set the mode.  The module is currently in mode 4-wire where the receiver is still active (if I connect the lines TX & RX, I recover what I send.)   I would like to be in car 2-wire mode.   Can someone point me in the right direction?

    BTW: I use a cRIO-9075 mode of scanning and using Labview 2012 SP1 (windows), in the case where that matters.

    Thank you.

    Hi Tomherron,

    If you use the Scan Mode you can set the Mode of the transceiver using a VISA property node. The process would be:

    (1) place a property node VISA on the block diagram of your application.

    "" 2) click on the property node and select: Select property "parameters set" thread Mode. This will allow you to set or get the wiring for a particular port mode. In addition, allows you to have different modes of thread for different ports.

    (3) right-click and select any change in writing.

    "(4) the method of wire with the right button and select Create ' constant.

    (5) to choose what transceiver mode you want to use, click on the constant.

    RS-485/2-EchoDTR and RS-485/2-Auto options. Those who are what you are looking for?

    Kind regards

    Kyle S.
    Technical sales engineer
    National Instruments
    http://www.NI.com/support

  • PXI-8431, without going into fashion with VB6 reception

    I use a PXI-1045 chassis with a PXI-8431 RS422/485 card and communicating via a VB6 program

    Send the output of the PXI-8431 RS485 module works well when it is in mode, the signal levels are approximately 1v and 3v for high and low, but when it is in fashion, that the outputs remain to 1v and 3v instead of going in passive mode and the two floating lines at approximately 2v with approximately 300mV differential as it should receive. This means that when remote devices send, the amplitude of the signal is about half as they compete with the PXI module and the center point of the two signals are 1v and 3v respectively. Our software does not receive the signals of the PXI module that is compatible with my theory, that it is always in the mode of sending and taking control lines, or maybe he's changed 4-wire.

    I swapped the PXI card and cards remotely with our good system and the problem will not move.

    I have eliminated ALL the material on the new ring by replacing it with a 67 on the way pin 9 connector plugged D directly Ohm resistor on the PXI card. With a scope, I can see that the new system will not in passive mode, but with the same connector the old system works OK.

    The only difference I can see between the 6 platforms old we who work and the new 2 that don't work is the new ones use the the NOR-XNET-PXI-8513 and the 'old' use the card CAN PXI_8464. This software would be in conflict? Are there any other updates to the software OR which could be causing it?

    Philip,

    3.5.1 series had some issues related to the read/write mode series 2 wires, I would recommend corresponding versions of driver with your working system or upgrade to the latest driver of series.

    Kind regards

  • Web sites are to lie on the side twice their normal width so I can see only the left half of a site unless I go to view "full screen"; ideas?

    Whenever I use Firefox the page so that I can see only the left half of the some site; that is half of the info useful page (the rest is cut) poster on the half right of my screen so that half left of my screen right bottom of the site. By using the maximize / restore does nothing. If I swap the display full screen, I see everything well, but of course I lose my toolbars. I installed the latest version of Firefox with no joy. I looked for a function of setting page nothing is done. I thought that time would fix it as it is something that has already happened, but was temporary. Other browsers work fine. I thought to uninstall then reinstall but I do not want to lose my favorites etc I don't have to. Thanks for your help in advance; I hope that this hike makes some sense.
    See you soon.

    This problem may be caused by the extension of the toolbar of Babylon 1.1.8

    See:

  • What pins to use to receive the data from the PDS ELITE RS485 with the PXI-8431/2?

    Hello!

    I use the PXI-8431/2 to read data from the flow meter PDS ELITE (Modbus RTU). Receiving data, the RS485 protocol request to terminals 4 and 5, but this configuration does not seem to work. When I connect the RS-485 converter USB of Microflex I get the data correctly, so somehow between the PIN lay and PXI this problem there.

    Can someone help me?

    See you soon,.

    Steven

    Hello Steven,

    I think that what was Hossein trying to send you is the following:

    How to connect and configure a device with RS-485 2-wire

    Can you also tell me a little more what you use to read the data? What environment. You have 2-wire or 4-wire Modbus RTU?

    Kind regards

  • Read the PXI-8431 channels using LabVIEW


    Hi Marc,

    The examples provided with LabVIEW and DAQmx drivers are very detailed and comprehensive to demonstrate how you can use cards. To join the Finder of the example, start LabVIEW and select help > find examples.

    When you load the example Finder, make sure you browse by task.

    For the programming of DIO:
    Navigate to hardware input and output > DAQmx > digital measurement. There is a few screws. Make sure you look in the list of requirements to see the example works with the PXI-6515.

    You can also visit the following links to learn more about programming DAQmx:
    Getting started with NO-DAQmx
    http://zone.NI.com/DevZone/CDA/tut/p/ID/5434
    Learn 10 functions in NOR-DAQmx and handle 80% of your Applications of Data Acquisition
    http://zone.NI.com/DevZone/CDA/tut/p/ID/2835

    For series programming:
    Navigate to hardware input and output > Serial
    You will find most of the screw example it can be used with the PXI-8431.

    I hope that helps you to get off the ground!

  • Hi need some help on this router cisco 1921 complete, auto & half duplex

    We have this old 1841 router series and we change in 1921, I still put the same settings, but this two-sided thing is having problem (I think).

    We are supposedly to have 20mbps up & download speed using this 1841, and if we use 1921 20down / 10upload speed.

    When I put gi0/1 on full-duplex it will descend to the bottom. But if I set auto duplex, it register under the/s and half-duplex and the internet works but only 10 Mbps upload. See below

    igabitEthernet0/1 is up, line protocol is up
    Material is CN Gigabit Ethernet, the address is 0000000
    Description: "connected to this."
    The Internet address is 000000
    MTU 1500 bytes, BW 100000 Kbit/s, DLY 100 usec,
    reliability 255/255, txload 1/255, rxload 13/255
    Encapsulation ARPA, loopback not set
    KeepAlive set (10 sec)
    Half-Duplex, 100 Mbps, media type is RJ45
    control output stream is not supported, control of input stream is not supported
    Type of the ARP: ARPA, ARP Timeout 04:00
    Last entry of 00:00:00, 00:00:00 exit, exit hang never
    Final cleaning of "show interface" counters never
    Input queue: 0, 75, 14, 10242 (size/max/drops/dumps); Total output drops: 79729
    Strategy of queues: fifo
    Output queue: 0/40 (size/max)
    5 minute input rate 5400000 bps, packets/s 546
    5 minute output rate 719000 bps, 390 packets/s
    170608043 package, 1963069286 bytes, 79501 no input buffer
    Received 477 broadcasts (0 of IP multicasts)
    0 Runts, 0 giants, 4 controllers
    entry 0, 0 CRC errors, frame 0, saturation 0, 0 ignored
    Watchdog 0, multicast 0, break 0 comments
    160510262 packets output, 1965851816 bytes, 0 underruns
    0 output errors, 4095435 collisions, 0 resets interface
    unknown protocol 0 drops
    0 babbles, collision end 0, 0 deferred
    carrier, 0 no carrier, lost 0 0 interrupt output
    output buffer, the output buffers 0 permuted 0 failures

    I really appreciate your comments and thank you

    It is very likely that the provider has configured its device for 100 Mbps, which was compatible with the interface of your FE 1841. If you configure the 1921 at a fixed speed of 100 Mbps and full-duplex, it should probably work.

  • How to set programmatically the current node in a tree view of the ADF.

    Hello

    I'm trying to understand how to set programmatically the current node in a tree view of the ADF.

    My use case example is quite simple; If we take the sample application ADF Summit where under Management Summit, we have a tree view on the left with a list of high level of the country which in turn contain a subset of customers; then, in the right pane, we the customer detail information.

    What I'm trying to achieve is a solution by which I can add a new customer, commit and then to the tree show the client newly created as the currently selected entry.

    I use a pop-up dialog box to create my new entry of the customer and everything works well in this area, and my newly created folder is saved in the database.

    I know how to force the tree to cool off, but what I can't understand is how to do so, it highlights the newly created folder.

    Any help would be much appreciated.

    Refer

    https://blogs.Oracle.com/jdevotnharvest/entry/how_to_programmatically_disclose_a

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/78-man-expanding-trees-treetables-354775.PDF

  • Can a name cookie webgate OAMAuthnCookie_ < host >: < port > _ < suffix > be configured?

    Hi all

    Can a name cookie webgate OAMAuthnCookie_ < host >: < port > _ < suffix > be configured?

    I came across the following document registration and management OAM 11 g Agents - 11 g Release 2 (11.1.2)

    I put UniqueCookieNames = disabled in settings defined by the user in the registration of 11g webgate.

    Copied files generated and restarted OSH.

    But it doesn't seem to work! always had cookie name OAMAuthnCookie_ < host >: < port > _ < suffix >.

    Any help will be appreciated!

    Kind regards

    Swaroop

    This setting works for me in an ECC and the DCC. After you have configured this setting I see host: port withdrew the name of OAMAuthnCookie.

    I hope that there are no fault of strike in the setting in your case.

    WebGate version at my end is 11.1.2.0.0 according to the OPatch

    Whats webgate version in your case?

    Concerning

    Aakash

  • I am using oracle 11g express edition, how I can change the service name and the port number?

    I am using oracle 11g express edition, how I can change the service name and the port number?

    I am using oracle 11g express edition, how I can change the service name and the port number?

    What do you mean by "port number"? HTTP port (usually 8080), or listening port (normally 1521)?

    To change the name of the service, you can use (as a DBA or SYSDBA)

    SQL > alter system set service_name = '';

  • How to set programmatically an error message for a validation of an EO rule

    Hello

    Is there a way to programmatically set an error message during the validation of an EO data?
    It seems that the EO interface API has not any method must be defined for my needs...

    Thank you

    The other option, which is the error message that you can set an expression groovy to call a method of EO.
    I documented this on my blog
    http://blogs.Oracle.com/grantronald/entry/dynamic_error_messages_from_a

    Concerning
    Grant

  • How can set my browser size permenantly?

    Firefox is too large on my screen at 100%, better at 90% or 80%. How can I permanently change at that size?
    Currently each new Web page I go on it automatically goes too 100%

    You can set the layout.css.devPixelsPerPx pref on the topic: config page on 1.0 or Windows 8 to 1.25 and if necessary adjust layout.css.devPixelsPerPx from 1.0 to 0.1 or 0.05 steps (1.1 or 0.9) do the icons to display properly.

    See also:

    An extension allows you to adjust the size of the text in the user interface and zoom the page in the browser window.

    You can watch this extension to adjust the font size for the user interface.

    You can watch the Default FullZoom Level or NoScript extension if the web pages need to be adjusted after the change of layout.css.devPixelsPerPx.

  • How can set resolution screen on firefox, I know zoom in and out, but I want to upgrade my browser to my upgrade zoom

    Hello
    How can set my screen resolution of firefox (I know zom in and outside zom, but when I restart my firefox it chanaged to perviose zoom level)

    Hello

    Firefox on Windows is now after display, scaling options that can make the biggest text on screens at high resolution. There are several ways to solve this problem. See the Web pages are broad and fuzzy after update of Firefox - how to fix article for a suggestion. Here is another possible solution:

    • Type of topic: config in the Firefox address bar and hit the Enter key.
    • If the warning that this might void your warranty , click I'll be careful, I promised.
    • Search for layout.css.devPixelsPerPx

    • Double-click layout.css.devPixelsPerPx to edit its value. The default value is - 1.0 in Firefox 22 and above. Change it to 1.0 to run as in previous versions of Firefox.

    If necessary, further adjust the value of 0.1 or 0.05. Values between 1.0 and around 0.5 to reduce the size of the elements. Use a value greater than 1.0 to increase the size. For example, a value of 1.25 will increase the font size of the 125% to account for the default DPI setting in Windows 8. Check the value that you enter. Definition of a value that is too small will take everything away and too high will explode things.

    If the web pages should always be adjusted so you can watch the extension Default FullZoom Level or NoSquint .

    To adjust the font size for the user interface, you can use the extension of theme font & size changer .

    This solve your problems? Please report to us!

    Thank you.

Maybe you are looking for

  • Garage double NAT &amp; DHCP - bridge Possible issue error

    Help... So it's my game on a yacht... I have a MacMini (run bootcamp Windows 7 Pro), so actually it's a PC. I use internal WiFi adapter of the MacMini to get my internet connection of various different Marina I could stay in I then share the connecti

  • Vista for XP64 Satellite on Satellite P100-400 PSPAG

    People, Someone else sick of Vista. I bought a new laptop Toshiba P100-400 March 31 of this year. I have now bought a copy of Windows XP 64 bit to replace. Before you begin an installation I rang support here in Oz and they sent me to this page: [url

  • Missing DLL, cannot find path?

    I don't find it covered exactly in the forums. I'm trying to fix a DLL on my project in a subfolder.  The whole project can be compiled/made no errors.  It's only when I try to Debug/Release, I get the error: "the program can't start because missing

  • XP logon message... system couldn't open session... not enough memory is available to process this command.

    Windows XP has just received the last update.  If a user is logged on cannot pass between users because when do you a pop up and States opening message... "" the system could not log due to the following error: not enough memory is available to proce

  • Download itunes 9.0.2 on a 32-bit vista machine

    I get the following screen... (An error occurred during the installation of the updates. If the problem persists, choose Tools > download only and try to install manually). Apple says that it is a problem of microsoft... they asked me to install a pa