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.

Tags: NI Software

Similar Questions

  • Change the default ports for http and https

    Hello

    I'm trying to change the default ports for http and https

    I have a 506th PIX (which does NOT of NAT)

    I have the following: -.

    static (inside, outside) tcp 192.168.10.2 601 192.168.10.2 http netmask 255.255.255.255 0 0

    static (inside, outside) tcp 192.168.10.2 602 192.168.10.2 443 netmask 255.255.255.255 0 0

    access-list acl permit tcp any 192.168.10.2 eq 601

    access-list acl permit tcp any 192.168.10.2 eq 602

    Access-group acl in interface outside

    where 601 and 602 are the http port and https to be redirect to respectively.

    I changed the webserver accordingly

    I get the error message

    "No group of translation not found for tcp src outside:189.x.x.x/50232 dst inside:192.x.x.x/80" (trying to access port 80)

    "I also have ' fixup protocol http 601.

    I had access to the internal and external web server before attempting to change the default ports

    Any ideas where I'm wrong?

    See you soon.

    I apologise for not thinking correctly.

    the static method must be:

    static (inside, outside) tcp 192.168.10.2 80 192.168.10.2 601 netmask 255.255.255.255 0 0

    static (inside, outside) 192.168.10.2 tcp 443 192.168.10.2 602 netmask 255.255.255.255 0 0

  • When I click on the 'Get' button in the app store for El Capitan, the beachball cursor rises and crashes the app store (not responding) in the force quit window...

    When I click on the 'Get' button in the app store for El Capitan, the beachball cursor rises and crashes the app store (not responding) in the force quit window...

    How can I fix it?

    Nevermind, I restarted the computer and it was fixed

  • RJ-45 (LAN) and port the expansion Port for laptop

    I am a newbie. I have a HP Mini Netbook 1151NR. Someone can tell me what and where can I find the Port RJ - 45 (LAN) and the expansion Port for laptop? What is it like? How can I use them?

    PindarDraconia wrote:
    I am a newbie. I have a HP Mini Netbook 1151NR. Someone can tell me what and where can I find the Port RJ - 45 (LAN) and the expansion Port for laptop? What is it like? How can I use them?

    The expansion port is used when connecting to a docking station... and it's the rectangular port next to the ethernet port.

  • When I Center the text, I can't get back to the aligned left for the rest of the text in WordPad.

    * Original title: centering in Word Pad

    I don't know how to Center in Word Pad; However, when I Center the text, I can't get back to the aligned left for the rest of the text.  Everything I typed after that a title is also centered.  If I've left this text, the title goes back to the left margin.  Any info out there?

    Hello

    -Is confined to a specific document?

    This problem may be due to the rule of pointer.

    I suggest you to drag the rule of pointer to the left and see if it helps.

    Keep us informed on the status of the issue.

  • PANTONE + does not match the previous Pantone spot color chart. I have several customers who are using spot colors in logos etc and now these colors are a mess. Can I get and use the old color for Illustrator books?

    PANTONE + does not match the previous Pantone spot color chart. I have several customers who are using spot colors in logos etc and now these colors are a mess. Can I get and use the old color for Illustrator books?

    Well, the spot color has not changed, but the way they were simulated four-color changed, they now use color management to get to the nearest ink possible task.

    Here is some info:

    https://helpx.Adobe.com/Illustrator/KB/PANTONE-plus.html

  • Sometimes the lost bytes, reading the serial port

    Hello!

    I'm reading the serial port data (flow rate 57600 baud rate) that works very reliable so that I do not open any other window

    or minimize/restore my window of the application during the program is running. Then a byte of incoming data will be lost.

    I get a string of 30 bytes each 50 m in most of the cases the first byte is lost, sometimes one in the middle.

    This occurs not only on a PC.

    Is this a problem of LabVIEW or Windows?

    Are there settings that can solve the problem?

    Best regards

    JK78

    I solved the problem.  

    There was a bug in my program who become visible only if a window has been reduced or restored.

    When there are two or more messages in the buffer VISA, the separation of the messages was incorrect.

    Array index corresponded to false so that the first byte of the second message was at the end of the first

    and so the second message in the buffer seemed incomplete.

    In normal operation, the playback loop runs so fast, never both messages are in the buffer.

    Thanks for all replies.

    JK78

    Either way, I work with LabVIEW 2009 and serial interface hardware motherboard. With XON/XOFF flow control

    is not possible in my application because all the hex values from 00 h to FFh may appear in a message.

  • Virtual serial port: no bytes to the serial port before you read visa

    Hi I want to use LabView for data acquisition in real time from my dc servo motors. I'm new to LabView, so I will try to do the same thing with virtual port. I am writing some data (a sinusoidal wave) to the virtual port and can read and display it on the chart. the writing part just works that we see in the hyper terminal. but he's not reading anything. the number of bytes to port is zero. I tried to put the number of bytes in visa read manually, but it does not work. I have attached my code below. any comment is appreciated. Thanks in advance

    This is just the basics of how communication works series. To do a reading without any instrument, you loopback (short) the transmission line to the receiving line. For a connector 9 pins, you short-circuit pins 2 and 3. If you have not done this, I do not understand where you thought you could do a reading of.

    In any case, if you have servos that are controllable of RS - 232, it isn't likely that the series is even close to what you do a closure won't tell you much more that the converter is functional. When you have a real instrument connected, you still need to debug settings com (baud, parity, handshake), type of cable (null-modem or directly through) and the actual orders that you send to the instrument and its answers.

  • When registering CS6 design and web premium on a second machine, I get a message: the serial number is not valid.

    I have CS6 Design and Web premium installed on a machine to earn 8.1. Now, I installed the software on a Macbook Pro and get the message that the serial number is not valid after the installation. What can I do?

    You can exchange languages/platforms for a newer version product if you follow the instructions on the following link:

    l http://helpx.adobe.com/x-productkb/Policy-Pricing/Order-Product-Platform-Language-swap.htm

  • need to set the com port for adapter Series USB Belkin need com 1 or 2 default to com8

    I have a belkin Windows serial adapter 7 puts on com8 and I have equipment that does not download that on port com 1 or 2 How can I change the Compote?  I can't change my gear to any other comport com just 1 or 2.  There is nothing assigned to com 1 or 2 on my pc I can find in the hardware configuration.

    Check the documentation that came with the device or on the Belkin support website.  How to change the COM port is specific to the device and its drivers, nothing in Windows that can force this change for you.

  • Change the listening port for SSH on IDS

    Should what command I use to change the listening port on an IDS 4200 series? I listen on another port, and when I applied the S189/S190 update, it changed SSH port 22.

    Just out of curiosity, too, no one knows what else S189/S190 updates change?

    Thank you

    Jim

    Cisco supports only configurations using the CLI interface. The ssh port cannot be changed through the CLI. Modifying the files in config system via the service account is not a good idea and not supported.

  • How can I get replacement lost the installation DVD for?

    I lost my original installation dvd for design standard cs5, how can I replace it?

    You can get the download link for only the most recent version of the software from the Adobe Web site and support Adobe, but there is a site that can help you downlaoding the Roop version.

    http://prodesigntools.com/all-Adobe-CS5-direct-download-links.html

    Read the instructions properly to avoid the error and also write the file downloaded to a Flash DRIVE or a DVD for future use.

  • Get-nicteaming of the distributed port group.

    Hello.

    I try to get nic teaming policy of dv port groups, but had issues with pipes (5.5, 5.5 dvswitch vsphere, powercli 5.5.0.6632):

    PS C:\Windows\system32 > $dv = Get-VirtualSwitch-distributed

    PS C:\Windows\system32 > $dv

    Name NumPorts Mtu notes

    ----                           --------   ---   -----

    1170 1500 dvSwitch

    PS C:\Windows\system32 > $pgs = Get-VirtualPortGroup - VirtualSwitch $dv

    PS C:\Windows\system32 > $pgs

    Name key VLanId PortBinding NumPorts

    ----                      ---                            ------ ----------- --------

    dvSwitch-DVUplinks-44 dvportgroup-45 18 static

    Management dvportgroup-46 128 static network

    INET_UITIS_ephemeral dvportgroup-845 ephemeral 0

    KSPD_ephemeral dvportgroup-846 ephemeral 0

    GZ_Interconnect_ephemeral dvportgroup-843 0 ephemeral

    INET_GUEI_ephemeral dvportgroup-844 ephemeral 0

    VeeamISCSI_ephemeral dvportgroup-849 0 ephemeral

    VeeamISCSI dvportgroup-92 128 static

    Management_Network_eph... dvportgroup-847 0 ephemeral

    ManNetwork_ephemeral dvportgroup-848 ephemeral 0

    vMotion1 dvportgroup-51 128 static

    KSPD dvportgroup-50 128 static

    vMotion2 dvportgroup-52 128 static

    GZ_Interconnect. static 128 dvportgroup-49

    INET_UITIS dvportgroup-339 128 static

    ManNetwork dvportgroup-47 128 static

    INET_GUEI dvportgroup-48 128 static

    Then, if I try this:

    PS C:\Windows\system32 > $pgs | foreach ($dv Get-NicTeamingPolicy - VirtualSwitch - VirtualPortGroup $_)

    I got an error on the conversion of 'VMware.VimAutomation.ViCore.Impl.V1.Host.Networking.DistributedSwitchImpl' in 'VMware.VimAutomation.ViCore.Types.V1.Host.Networking.VirtualSwitch '.

    If I try this:

    PS C:\Windows\system32 > $pgs | foreach (Get-NicTeamingPolicy - VirtualSwitch $dv.name - VirtualPortGroup $_)

    I got another error on the conversion of types of vportgroup 'VMware.VimAutomation.ViCore.Impl.V1.Host.Networking.DistributedPortGroupImpl' in 'VMware.VimAutomation.ViCore.Types.V1.Host.Networking.VirtualPortGroup '. No luck with "..." -VirtualPortGroup $_.name' also, it says that I can not specify type string as input for - VirtualPortGroup.»

    It seems that "get-nicteamingpolicy" comandlet cannot take dv types as input, but I don't know if.

    Seems I forgot, you must use Get-VDUplinkTeamingPolicy to VDS switches

  • How to get audio from the headphone port, while the external HDMI monitor is connected

    I find nothing in the screens to win 10. Is there a way?

    If you install the driver Realtek Audio Acer Support, you should be able to choose your audio output device.

  • What are the main ports for windows live messenger on xp?

    I can't connect to Windows Live Messenger on one of my XP computers. In the situation of troubleshooting WLM reports there is a problem with "main ports"... How to solve this? I use software firewall NetDefense.

    Hi Nick Kontis,.

    The question you have posted is related to Windows Live messenger and would be better suited to the community of Windows live.

    Please visit the link below to find a community that will support what ask you:

    http://www.windowslivehelp.com/product.aspx?ProductID=2

Maybe you are looking for