Asserting the RTS signal for serial ports

I've posted a few times, about asserting the DTR signal line for the serial
ports.
To start off with, i have now come to the realization that I was STUPIDLY
trying to set the wrong thing... I needed to set the RTS, not the DTR!!!
Most of the replies I got said to use the IN PORT and OUT PORT vi's, from
the advanced, memory/portI/O palette.
When i had a fiddle around with these, and looked them up in more depth, I
found a few things...
1. I have read a few times, that these are not portable, because of machine
dependancy... Can anyone tell me how portable they are? Such as, are they
fine for all Intel based architechure's, or what
2. I found that if I initialize the serial port, using the Serial Port
Init.vi, and then use
the Out Port.vi, to set the RTS, by addressing the
register at 0x2FC, for COM 2, the next thing I did, which was write to the
serial port, hung. When I highlighted execution, it was stuck in the Serial
Write.vi Can anybody tell me what I'm doing wrong?
Your help would be greatly appreciated!
Slade Squire
Programmer
Rectifier Technologies Pacific
Melbourne, Australia
[email protected]

You should read replies to your posts more carefully since Craig Graham have
pointed out that VI to use to assert RTS and DTR lines of a serial port. You
also should search this group for the RS485 and RTS/DTR topic; it is a
recurrent question and there are some pitfalls on toggling RS485 direction
in LabVIEW.
As for RTS flow control, you will see something only when the input buffer
of the serial port is full, in which case RTS is asserted to signal the
transmitter to pause transmission.
Jean-Pierre Drolet
"Slade Squire" a �crit dans le message de news:
[email protected]...
> Something else I forgot to mention....
>
> When I try and set RTS in the flow control parameter of Serial Port
Init.vi,
> it doesn't do anything!
> Why?
> (I know it doesn't do anything, because I have an oscilliscope set up on
the
> end of the com cable, wired to the RTS pin)
>
> "Slade Squire" wrote in message
> news:[email protected]...
> > I've posted a few times, about asserting the DTR signal line for the
> serial
> > ports.
> > To start off with, i have now come to the realization that I was
STUPIDLY
> > trying to set the wrong thing... I needed to set the RTS, not the
DTR!!!
> >
> > Most of the replies I got said to use the IN PORT and OUT PORT vi's,
from
> > the advanced, memory/portI/O palette.
> >
> > When i had a fiddle around with these, and looked them up in more depth,
I
> > found a few things...
> >
> > 1. I have read a few times, that these are not portable, because of
> machine
> > dependancy... Can anyone tell me how portable they are? Such as, are
they
> > fine for all Intel based architechure's, or what
> >
> > 2. I found that if I initialize the serial port, using the Serial Port
> > Init.vi, and then use the Out Port.vi, to set the RTS, by addressing the
> > register at 0x2FC, for COM 2, the next thing I did, which was write to
the
> > serial port, hung. When I highlighted execution, it was stuck in the
> Serial
> > Write.vi Can anybody tell me what I'm doing wrong?
> >
> > Your help would be greatly appreciated!
> >
> > --
> > Slade Squire
> > Programmer
> > Rectifier Technologies Pacific
> > Melbourne, Australia
> > [email protected]
> >
> >
> >
>
>
LabVIEW, C'est LabVIEW

Similar Messages

  • Send signal to serial port

    Hi, I have a trouble.
    I need to send a signal to serial port to pilot a relè.
    I can't find how to send a Vcc signal for some second on a pin in java.
    Someone have an idea?
    Thanks a lot!
    Edited by: Alberto.Marcigaglia on Aug 29, 2008 2:27 AM

    There are many results from the search below:
    http://www.google.com/search?q=java+serial+port
    I suggest that you use the 3-rd party RXTX package rather than the obsolete javax.comm package. There are a number of very detailled posts in these Sun forums regarding the installation and use of RXTX - search for them.

  • Slmodem/wvdial: cannot get information for serial port

    Hi,
    I have the following problem when trying to set up my Intel WinModem with arch:
    After configuring wvdial I get an error when trying to launch it
    /dev/ttySL0: Cannot get information for serial port
    Does anybody know about this problem? There is absolutely no information about it on the internet.
    Thanks for any help!!!!!

    Hi,
    I have the following problem when trying to set up my Intel WinModem with arch:
    After configuring wvdial I get an error when trying to launch it
    /dev/ttySL0: Cannot get information for serial port
    Does anybody know about this problem? There is absolutely no information about it on the internet.
    Thanks for any help!!!!!

  • What are the security risks for opening port 80 on workstations?

    Hello all,
    in our environment, there is an application which open port 80 on workstations when installed, but it is not allowed on preimeter FW
    could you please advise what are the security risks for leaving port 80 opened on the workstations? or it is considered secure unless it is not allowed on the preimeter FW?
    thanks alot & regards

    Hi R.Naguib.
    The 80 port is open by default through the firewall on Windows system, it is used by a http protocol by a browser.
    As for the network or hardware Firewall settings, I suggest to turn to the network administrator for details.
    Regards
    Wade Liu
    TechNet Community Support

  • Can I get an Ipad with wifi and cellular but no contract with a carrier in the US?  I want to use it overseas in Africa with a local SIM card and use the cellular signal for all my internet.

    Can I get an Ipad with wifi and cellular but no contract with a carrier in the US?  I want to use it overseas in Africa with a local SIM card and use the cellular signal for all my internet. 

    Yes you can.  All Ipad's are unlocked and can be used any where in the world. Buy the AT&T version which is GSM in other countries

  • My account is active and paying per month for Acrobat Pro. Why I cannot open files and the screen asks for serial number?

    my account is active and paying per month for Acrobat Pro. Why I cannot open files and the screen asks for serial number?

    I don't work for Adobe but it seems to me you might be signing in to Acrobat with the wrong Adobe ID.
    Check the Adobe ID you use in Acrobat.
    Check this Adobe ID on Adobe's to make sure that it has an active subscription.

  • Start a program with a signal from serial port

    Hi, my program need to continue when it's gets a signal from the
    serial port, I've understand that i need to use Java Communications 3.0 API.
    couldn't install it.
    when i import, in my program, javax.comm.* it can't be resolve.
    thank for eny help..:-)

    Glad you got it to work. I would only say 2 very important things:
    1) Do not use an IDE as long as you can't code using notepad and command console and don't understand the concept "classpath". Now you've to learn both the IDE and the Java language basics. This is going to take a longer time than when you learn it one by one.
    2) You should NEVER place any 3rd party libraries in JRE/lib or JDK/bin. This is receipt for major future troubles. You should define the classpath yourself. You shouldn't misuse the default classpath.

  • Signal at Serial Port

    Hello,
    I am receiving signal at the serial port through wireless communicator at a baud rate of 9600. I want to analyze this signal and for that i need to know that what sampling frequency i should use and what is its relation with the baud rate.
    Thanks alot

    Abuzar,
    The sampling rate for your signal is the rate at which the digitizer in the microcontroller takes samples.  If you are trying to get a good reprodcution of the waveform, the sampling rate is probably 300 to 1000 Hz.  If you are anywhere near 1000 Hz sampling, you will not be able to transmit all the data through your 9600 baud link (~ 1 ms per byte).
    Lynn

  • How can I read the voltage from a serial port

    I am fairly new to LabView and I am having trouble figuring out how to read the DC voltage coming out of an RF Power Supply through a serial port so that I can monitor the voltage every few seconds. In order to do this do I need to purchase a DAQ card or anything like that?

    You would not need a DAQ card to read data over the serial port. You would, however, need a serial port. That may sound sarcastic, but it's not, since many manufacturers are ditching serial ports on computers. If you don't have a serial port then you would need to get something like a USB<->serial adapter or a serial port card that you plug into an expansion slot in your computer.
    Assuming you've got that then you need to find the command set for the RF Power Supply, and write drivers for it so you can send the command to read the voltage, and then read the resposen. I would suggest looking in the Instrument Driver Network to see if a driver for your supply has already been written. 

  • How can I define the start bit in Serial Port Init VI?

    I don't know if the number of start bits of the Serial Port Init VI match with the serial communications requirements of the device I need to communicate with.
    Is there any way of modifying this parameter?

    LabVIEW uses the standard WindowsAPI for all of its serial functions. As such, LabVIEW does not support a customizable start bit since the native serial driver does not.

  • Why did Apple remove the search engine for serial numbers for technical specifications?

    I use to be able to look at the specs of all my apple devices by looking up the technical specifications by serial number. It appears this function has been removed from the website. I would like to add that this feature of the website was incredibly useful and removing it creates alot of confustion for me because I would like to upgrade my MacBook Pro but am unable to find the technical specifications.

    Append the last three characters of the serial number to http://www.everymac.com/ultimate-mac-lookup/?search_keywords= and load the page.
    (85784)

  • How do i split the digital signal for PIP?

    My tv requires 2 separate A/V inputs to use PIP. How do I split the incoming signal without affecting the signal strength to STB? Everytime I connect a slpitter, the signal looses stregth and I can't HD out of my STB only digital, not HD. Is there a fix or solution for this problem?

    DcmFD wrote:
    My tv requires 2 separate A/V inputs to use PIP. How do I split the incoming signal without affecting the signal strength to STB? Everytime I connect a slpitter, the signal looses stregth and I can't HD out of my STB only digital, not HD. Is there a fix or solution for this problem?
    It is just the nature of beast in that when you add a 2:1 splitter, you will lose 3.5dbm of signal strength (more loss per leg the larger the splitter.. IIRC a 4:1 splitter a is 7 or 7.5 dbm loss.)
    How many splitters do you currently have from the ONT to that STB? Do you have any 4:1 splitters in the path that you could swap with a 3:1 or 2:1 (leaving no open legs)? 
    I will leave it to someone else to recommeand a MOCA amplifier, but that may be you only possible solution. It would have to be a MoCA amplifier, as the STB requires 1150Mhz to receive guide info, etc.. A traditional signal booster typically does not pass frequencies higher that 850-950Mhz. 

  • Setting Stop Bits for Serial Port

    I am using the serial communication VI (in examples/instr/smplserl.llb) to send hexidecimal commands through the serial port. I am hooked up to an oscilloscope to make sure that the commands are being sent correctly, and I have found that no matter what I set the stop bits to, I always get two stop bits. I need only one stop bit. Is there any way to fix this?

    How would I do this to my attached example? We have LabView version 6.0
    Attachments:
    SerialComm1.vi ‏45 KB

  • Do the triggering signals for the DALSA CL-P1 4096 camera work properly?

    (Since I wasn't sure if anyone had seen my additions to the question "How do the DALSA CL-P1 4096 attributes correspond to the i/o trigger signals?" 6/3/2002, this is an addition to that question.)
    We are using a DALSA CL-P1 4096 camera with the NI IMAQ PCI-1422 image acquisition board, and we believe the signals are not triggering properly on the "Controlled" integration setting. All images are coming out black, but all signals are present. What we, as well as DALSA's support believe the problem is is that the PRIN signal goes low before LVAL goes high. Attached are the timing diagrams that we are getting and which we should be getting (provided by DALSA support). We would like to
    know if there is anything you can do for us if this is actually a problem with how the board is triggering the control signals (i.e. if there is a patch you can provide us, or a way to program how the board triggers the signal). Thanks for all your help.
    (Also see the question "How do the DALSA CL-P1 4096 attributes correspond to the i/o trigger signals?" )
    Attachments:
    IO_Signals.bmp ‏28 KB
    P1Timing.bmp ‏16 KB

    I was wondering why I hadn't heard from you and when I looked at your previous question I saw that my last post didn't make it to the page. But I see what you mean from the timing diagrams that you attached and we should be able to extend the length of time that the PRIN is high so that it doesn't go low until after the LVAL goes high. However, to do this it means changing the camera file (.icd) for that camera and that would probably be best while talking on the phone if possible so that we make sure that it all works correctly. Just go to www.ni.com/ask and generate a phone support request and it will give you a toll-free number to call. I'll be on the lookout for your call.
    Regards,
    JR A.
    Application Engineering
    National Instruments

  • Because the applications ask for serial number if I bought a plan?

    Because the applications ask for a serial number if i bought a plan ?

    Hi Victor,
    Please refer to the help document below to fix this error:
    https://helpx.adobe.com/creative-cloud/kb/ccm-prompt-serial-number.html
    Regards,
    Sheena

Maybe you are looking for

  • Import/Export statement  not working..

    Hi all,    I want to export some data from BADI & Import it back in user exit. I wrote following line of code in BADI        export P1 FROM xstr to memory id 'ZABHI'. & following line of code in User Exit       import P1 to xstr FROM memory id 'ZABHI

  • Can I re-download files from iTunes if the songs are corrupted?

    I just downloaded some songs on my birthday, 7/22, and when I listened to them on my ipod today, 7/31, a majority of them were corrupted and skipped. Is there any way I can re-download them? or will I have to spend more money to get them all over aga

  • Reg Keyfigures data type in Transfer structure

    Hi Guys,   When we create a transfer structure for a falt file source system, keyfigures data type is getting converted into CHAR automatically and even the length is assigned . Whats the reason behind this?? How do we get the lenght of a keyfigure?

  • Data struct in rsa7

    Hi guys, I came across an issue while loading data from the r/3 system to BI.The Infopackage which carries the data to the bi is fetching 0 recs...while the RSA7 queue is having data for the current selection. Can any one of tell me what could be the

  • Firefox has zoomed in on facebook and made everything really big, how can I put it back to normal size??

    Firefox has enlarged facebook and made everything really big. What do I do to put everything back to normal size?