Communication series with visa, need help

IM G-codes(which is a string in this case) sending to my Board of Directors, Im using the structure of the event choose sent a code that, when sending as string constants program runs without problems, but when Im getting the format string to string program dosnt sent the code in this case, but its present when events change (so in other cases it works too previous)

problem can be seen in the performance of climax too

I will ask once again: do you need to send a character of endpoint with your order?

Your 4 character button events 'home' have all orders ending in the line.  Other events are not.  My guess is that the unit does not recoginize newline character he received a valid full command until he got the line.

PS: Those who touch terminals that belong in their boxes of the discipline concerned.

Tags: NI Software

Similar Questions

  • communication series with VISA

    I'm trying to communcate with a power supply via a serial connection.  Communication works very well in Hyperterminal and putty, but I can't seem to run in labview.  It times out when trying to read the data.

    Hyperterminal parameters are the basis of everything and it works fine

    9600 baud

    8 data bits

    no parity

    1 stop bit

    no flow control

    Send "VOLT?" with CTRL + J for line break

    Returns under the voltage at the output of the UUT.

    I wonder if I send you the incorrect order in labview.  Any help would be great.  I have attached the VI, it's my first try at comms series so it's pretty baisc and I do not know I'm missing something

    You are not sending the line break.  You send only "Volt"?

    Make a right click on the string constant, visible display style and make \codes show.  Then enter \n at the end.  Now you send VOLT? with the line break.

    In addition, remove the shift regsiters on the son of reference and error.  (A single time-out error will keep your VI to run again until you stop and restart the VI)

    And put a close VISA outside the loop.

  • Communication series with Mettler Toledo 205 XS

    Hey guys,.

    I'm in the process of establishing a communication series between my PC and a microphone Mettler Toledo (XS-205) balance. The Balance is connected via an RS 232 cable to the adapter USB TU-S9, then to the PC. I do not see the port in the MAX of NOR and via the test Panel, I put the configuration of the communication according to those of my balance:

    BD rate: 9600

    Bit\Parity: 8 / no

    Stop bits: 1

    Handshake: no

    EndofLine: LF

    CharSet: Ansi\Win (only within the balance)

    Continuous mode: OFF ("");

    now, the fact is that if I try to query the command * IDN? \n I get as a response

    1: write operation (* IDN? \n)

    Back County: 6 bytes

    2: read operation
    Back County: 17 bytes
    S\sS\s\s\s-0.0006\s\sg\n

    with an error in the data returned (Hex 0xBFFF006C). I also tried to use the script provided by the site OR Mettler-Toledo scales, but I get all the data and at the end of the routine, I get error VISA: (Hex 0xBFFF0015) timeout expired before the operation is complete.

    Everyone as an indication of what's going on? Thank you much for the help

    See you soon!

    Thank you guys for the quick responses.

    my mistake. Mettler Toledo balances does not accept the SCPI standard commands, but they have their own defined standardized command.

    Thanks anyway

  • Bluetooth problem on my new laptop HP Pavilion G series and really need help!

    I recently bought my new laptop and yesterday when trying to send a picture from my phone to it, files have not been sent, even though she said the phone and the laptop were connected, he mentioned something about Image push, but I am new to HP, so I'm not aware of what exactly is and desperately need help Please could someone help me with this, I would really appreciate that I could not yet send the file via bluetooth. Thanks in advance!

    D3,

    You said,

    "bluetooth device has not been successfully installed.

    You said,

    ""photo from my phone it it was settled, but it says ' unable to connect ' "." "

    I'm a little confused by what you say, but I do not understand 'unable to connect '.

    • It's time to go back to information I sent you and go through the installation program.
    • You can also use the HP connection manager to help you get the job done.

    Here is the Connection Manager software.  Download and install it.  Your computer already has the software, it's going to tell if the package will install...

    HP sp54945 V4.1.25.1 Connection Manager

    Once the software is installed...

    And you want to use the HP Connection Manager software.

    • Make sure that your wireless network is enabled,
    • Then look in your taskbar for your Connection Manager icon and
    • Double-click to start

    If you do not see the icon in the taskbar, you can do the following:

    Start > search / type "HP connect" >

    Click on 'Hp connection manager' when you see it in the start list

    This is a HP Connection Manager Help file.

    The document explains how to use the software to connect your Bluetooth devices (and wireless):

    Connecting to a network with the 4.x connection manager

    Good luck!

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

    When you appreciate the effort...

           Please click on the Star Bravo on the left to tell "thank you"! ""

        Is it solved? Make it easier for other people to find the answer:

    Please Mark my Post 'accept as Solution' to say "Yes!"

    Remember: the more information, help, best you , you can receive.

    Always include: (Notebook) product number , printer - model number ,.

    Operating system and a Description of the error

    Never give your serial number

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

    2012 the year of the Dragon!

  • 60 HP G Series notebook PC: need help with Hp 60 G screen flickers to black then returns if repositioned screen?

    First the 8.1 update stinks.  This operating system doesn't do well with a laptop no touchscreen.  The system will not wake up after the cover is closed. I have to restart with a difficult start.  Also when I tap the screen suddenly goes black vibration and movement of the laptop itself. If I set the screen before and behind the screen back to normal. I think it's only a matter of time before this constant back and forth of movement to loosen the screen completely and more severe the wires that connect the Panel to the keyboard.  ORRRRRRRRRRRRR I'll just throw the frustration!

    Help someone!

    Katyana_89

    Your windows just install the latest graphics drivers...
    As for the screen.
    You have a defective vga cable that probably needs to be replaced

  • Communication series with ANSI emulation

    I have a mass flow of gripper controller that uses a connection set to read/write.  I have the connection works in hyperterminal, but we are updating our computers and do not use more serial ports.  I have a cable USb232 and now trying to establish the connection through labview.  There are several required specific hyperterminal settings to get the device to communicate that I can't find in the settings of labview.  The device requires:

    1. 19200 bauds, 8 bits, no parity, no flow control (not a problem, can adjust these settings)

    2 terminal emulation must be set to ANSI

    3. under the ASCII Configuration

    Send line with line breaks ends is NOT enabled

    The echo typed local characters is turned on

    Add RSS to finish lines is running

    When I connect through the serial.vi base, I get a time-out error and do not have all the data of the device.  In hyperterminal, the news on the device are questioned by sending 'A' to the device.  Any help for this communication device would be appreciated.

    Thank you

    Problem solved, I just to activate the writing of the end and read with characters of endpoint and the hexadecimal value on D.

  • Moxa Ethernet series with Visa showing strange characters

    Before going to the Moxa with these questions, I was hoping if someone could easily say "I saw this before and this is probably what is wrong." I use a Moxa device which is just ethernet to serial (NPort 5150). I can say I have everything match correctly in terms of run configuration, and I'm just a loopback test. However the data have some weird characters at the beginning, when I read again. They seem to spend as I add text at the beginning of my thong and maybe has something to do with the first space in the string? Someone has seen something like this before with Moxa or other ethernet equipment series? The device has a few options of delimitter but now that they are not chosen so I don't think that's the question.

    They have a DLL with functions I'd like to try in case they do something special under the hood, but I'm really trying to avoid writing a wrapper around a bunch of UIBC if native G will do. My next step would be to one of their example programs C compile and write data to see if I get the same results as my LabVIEW application.

    Marco, your question about the serial interface made me think, because Yes it is 232 but has 485 capabilities...

    Maybe that I just need to sleep on it, but I came this morning and looked at the settings. The default type is 485 serial device. I switched it to 232 and it worked (big surprise...).

    Thank you for encouraging my brain to start working again.

  • Communication series with Miteq switching system

    Hello

    I am trying to contact a Miteq redundant switching system 1:8 for high power amplifier.

    My VI gives me an error of framing. I have already read the thread on the mistake of framing posted here and made sure my port is configured to match the settings of the device.

    (Data bits - 7; Parity - same, baud rate (9600) equipment is silent about data flow and the stop bits, (I guess NONE and 1.0 respectively)

    I use a laptop with a USB port. I have a USB-serial cable of NOR. I use an IC -? 855 RS232-RS485 converter because the system is RS485. I already checked the pinout for the port that I use a fact a connector corresponding Tx + in the converter with Rx +; TX - Rx-; and the other two wires are connected as well.

    I opened MAX and tried to write directly to the VISA driver, but I get an error as well.

    I do not know if the manual is just, he is a former switch and someone could have changed the port connections.

    Y at - it a trick to know what is the link?

    I'd appreciate any thoughts here

    Thank you very much

    Hi Jeff,

    I can't open the link you sent, but we finally thought that the problem is the connection of broaching. Me not according to the manual or any document we have.

    Sorry I did not before.

    Thank you very much for answering!

  • BlackBerry sudden Z10 and serious problem with Z10 NEED HELP Please

    I have a z10, one of the first who came out in Toronto (if it is one)
    (difference), a few hours ago, I fell into a serious and sudden
    problem.

    I was able to swipe left and right between the pages of apps, even fall down
    Since the Summit, but I cannot open anything, not even not making a call or settings
    Options.

    Any time I try, for a fraction of a second, it looks like its about load
    something then nothing. (image slides to the right quickly and goes back
    each attempt)

    So I first did a reset, same problem, so I did a battery pull (15 minutes) and the problem is.

    I tried via USB to do a backup on blackberry Manager and maybe do a
    Re - install everything, but when I was invited to the password
    my camera on my PC, it told me that it was (I use a wrong password
    This blackberry on my computer 4-7 days a week, twice a day sometimes for an
    year and I have never miss typed my password, nor have I changed it)

    After trying everything to make sure that the first letter was maybe upper/lower
    cases, even my other possible phone password, nothing worked...

    On the 5th unsuccessful attempt my phone prompted me to type "blackberry", which
    I did, then I typed my password on my phone that I type in about 15 times
    one day because I put my phone in a lock in 5 minutes and has always said that he was wrong... I'm no attempt of 9/10 on and lost
    for options.

    Please if anyone can give me any suggestions, or even how do I back up my phone
    and now, or I have a previous backup of whipe form 4 months ago that I
    I wouldn't come back in the worst cases.

    Thanks in advance for your help

    Well... If you are in 9 out of 10 here and you don't mind not to restore your device, then enter the password again once and then the device should enter the device wipe mode. That will reset your device to factory setting and then you can start fresh by reloading your backup made the earlier

  • IOS VPN with NAT need help with ACL?

    What I forget? I have tried other positions, studied bugs known with 12.2 (13) T1, etc. workaround solutions, but perhaps my other choice of configuration interfere with my VPN configuration.

    I can connect, authenticate locally, very well. Stats of Cisco VPN client 3.6.3 show I'm Encrypting traffic on the protected networks, but I can not all traffic through internal hosts once I've connected.

    I removed security tags and replaced all the public IP addresses to fake in hope that someone can point me to what is obvious!

    Thank you very much.

    ----------

    Current configuration: 5508 bytes

    !

    ! 22:24:38 PST configuration was last modified Thursday February 20, 2003 by kevin

    !

    version 12.2

    horodateurs service debug uptime

    Log service timestamps uptime

    encryption password service

    !

    AAA new-model

    !

    AAA authentication login userauthen local

    AAA authorization groupauthor LAN

    AAA - the id of the joint session

    IP subnet zero

    !

    IP domain name mondomaine.fr

    name of the IP-server 199.13.28.12

    name of the IP-server 199.13.29.12

    !

    IP inspect the audit trail

    IP inspect high 1100 max-incomplete

    IP inspect a high minute 1100

    inspect the tcp IP Ethernet_0_1 name

    inspect the IP udp Ethernet_0_1 name

    inspect the IP name Ethernet_0_1 cuseeme

    inspect the IP name Ethernet_0_1 ftp

    inspect the IP h323 Ethernet_0_1 name

    inspect the IP rcmd Ethernet_0_1 name

    inspect the IP name Ethernet_0_1 realaudio

    inspect the IP name smtp Ethernet_0_1

    inspect the name Ethernet_0_1 streamworks IP

    inspect the name Ethernet_0_1 vdolive IP

    inspect the IP name Ethernet_0_1 sqlnet

    inspect the name Ethernet_0_1 tftp IP

    inspect the IP name Ethernet_0_1 http java-list 99

    inspect the name Ethernet_0_1 rtsp IP

    inspect the IP name Ethernet_0_1 netshow

    inspect the tcp IP Ethernet_0_0 name

    inspect the IP name Ethernet_0_0 ftp

    inspect the IP udp Ethernet_0_0 name

    audit of IP notify Journal

    Max-events of po verification IP 100

    !

    crypto ISAKMP policy 3

    BA 3des

    preshared authentication

    Group 2

    ISAKMP crypto nat keepalive 20

    !

    ISAKMP crypto client configuration group vpngroup

    xxxxxxxxx key

    DNS 199.13.28.12 199.13.29.12

    domain mydomain.com

    pool vpnpool

    ACL 110

    !

    !

    Crypto ipsec transform-set esp-3des esp-sha-hmac RIGHT

    !

    Crypto-map dynamic dynmap 10

    Set transform-set RIGHT

    !

    !

    map clientmap client to authenticate crypto list userauthen

    card crypto clientmap isakmp authorization list groupauthor

    client configuration address map clientmap crypto answer

    10 ipsec-isakmp crypto map clientmap Dynamics dynmap

    !

    MTA receive maximum-recipients 0

    !

    !

    interface Ethernet0/0

    Description connected to the Internet

    IP 199.201.44.198 255.255.255.248

    IP access-group 101 in

    NAT outside IP

    inspect the IP Ethernet_0_0 in

    no ip route cache

    no ip mroute-cache

    Half duplex

    clientmap card crypto

    !

    interface Serial0/0

    no ip address

    Shutdown

    !

    interface Ethernet0/1

    Connected to the private description

    IP 192.168.1.254 255.255.255.0

    IP access-group 100 to

    IP nat inside

    inspect the IP Ethernet_0_1 in

    Half duplex

    !

    IP local pool vpnpool 192.168.2.201 192.168.2.210

    period of translation nat IP 119

    !!

    !! -removed the following line for VPN configuration

    !! IP nat inside source list 1 interface Ethernet0/0 overload

    !! -replaced by the next line...

    IP nat inside source map route sheep interface Ethernet0/0 overload

    IP nat inside source 192.168.1.1 static 199.201.44.197

    IP classless

    IP route 0.0.0.0 0.0.0.0 199.201.44.193 permanent

    IP http server

    7 class IP http access

    local IP http authentication

    !

    access-list 1 permit 192.168.1.0 0.0.0.255

    access-list 5 permit 192.5.41.40

    access-list 5 permit 192.5.41.41

    access-list 5 refuse any

    access-list 7 permit 192.168.1.0 0.0.0.255

    access-list 7 refuse any

    access-list 99 refuse any

    access-list 100 permit udp any eq rip all rip eq

    access-list 100 permit tcp 192.168.1.1 host any eq www

    access-list 100 permit ip 192.168.1.1 host everything

    access list 100 permit tcp host 192.168.1.2 any eq www

    access-list 100 permit ip 192.168.1.2 host everything

    access-list 100 deny ip 192.168.1.253 host everything

    access ip-list 100 permit a whole

    access-list 101 deny host ip 199.201.44.197 all

    access-list 101 permit tcp any host 199.201.44.197 eq 22

    access-list 101 permit tcp any host 199.201.44.197 eq www

    access-list 101 permit tcp any host 199.201.44.197 eq 115

    access-list 101 permit icmp any host 199.201.44.197

    access list 101 ip allow any host 199.201.44.198

    access-list 101 permit tcp any host 199.201.44.197 eq 8000

    access-list 101 permit tcp any host 199.201.44.197 eq 8080

    access-list 101 permit tcp any host 199.201.44.197 eq 9090

    access-list 101 permit udp any host 199.201.44.197 eq 7070

    access-list 101 permit udp any host 199.201.44.197 eq 554

    access-list 110 permit ip 192.168.1.0 0.0.0.255 any

    access-list 115 deny ip 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255

    access-list 115 permit ip 192.168.1.0 0.0.0.255 any

    !

    sheep allowed 10 route map

    corresponds to the IP 115

    !

    Line con 0

    exec-timeout 0 0

    password 7 XXXXXXXXXXXXXXX

    line to 0

    line vty 0 4

    password 7 XXXXXXXXXXXXXXXX

    !

    NTP-period clock 17208655

    source NTP Ethernet0/0

    peer NTP access-Group 5

    NTP 7 use only group-access

    NTP master 3

    NTP 192.5.41.41 Server

    NTP 192.5.41.40 Server

    !

    end

    ----------

    Config looks OK, you should be able to get for each internal host EXCEPT 192.168.1.1 with this configuration. If you do a ' sho cry ipsec his 'you see Pkts Decaps increment, indicating that you see the traffic of the remote client? " Do you not see Pkts Encaps increment, indicating that you send a response réécrirait the client to the internal host.

    For what is 192.168.1.1, because you have this:

    > ip nat inside source 192.168.1.1 static 199.201.44.197

    It substitutes for this:

    > ip nat inside source map route sheep interface Ethernet0/0 overload

    for this host traffic only and therefore back for just this host is always NAT would have even if you don't want it to be. To work around to send traffic to this host through an interface of closure with no NAT enabled on it, that it is NAT would have stops and allows you to connect via VPN. You can see http://www.cisco.com/warp/public/707/static.html for a detailed explanation, but basically, we must add this:

    loopback interface 0

    IP 1.1.1.1 255.255.255.0

    interface ethernet0/1

    Static IP policy route map

    permissible static route map 10

    match address 120

    set ip next-hop 1.1.1.2

    access-list 120 allow host ip 192.168.1.1 192.168.2.0 0.0.0.255

  • Having problems with backups - need help

    First of all, I have no idea where the backups are stored when they are done. Where is the area I can tell Lightroom where I saved backups?

    Second, sometimes I do a lot of work and would like to do a backup of the catalog at this time, how can I tell Lightroom to backup whenever I want? or is it possible?

    Thirdly, I know where I want to recorded while I'm doing arbitrary prior to scheduled backups regular backups of backups of Lightroom?

    THA was simply having answer to these three questions would be a big help to me.

    TIA,

    Ken

    Default backups are in the Lightroom folder in backups. However every time the back up menu shows you the possibility where to locate the back upward.

  • Community Windows 7. Need help.

    I would like to know how to improve all my browsers (Chrome, firefox, explore). Three days of work slowly and evil. Thks.

    Internet Explorer
    Ensure that you are using version 11 and all of the updates are applied

    Reset IE: Tools, Internet options, advanced, reset and check the 2nd button as well.

    If your system is still slow, run ADWcleaner: https://toolslib.net/downloads/viewdownload/1-adwcleaner/

    It is then on your installation of security software.  Tell us what you have installed.

    I do not recommend the use of browsers other than IE.  Among my clients, I find there is virtually no cases of browser issues and some of them who use others, often have problems.  If IE works well, there is no good reason to use the other.

  • Writing of multiple orders with communication series

    Hello

    I'm quite familiar with the basics of LabVIEW, but I'm new to communication series with VISA. I had no chance of finding a solution to my problem, but it is similar: http://forums.ni.com/t5/LabVIEW/VISA-read-write-to-serial-port-Unable-to-impelement-multiple/td-p/93....

    I am able to send a command and read the response with the device, but I can't send several commands to change the settings of the device. For example, I send 'F' to the device to read the current operating frequency and read the response (22). But if I send 'f' to the device to change the operating frequency, read the answer ('send frequency... (''), then send my desired frequency (120), I get no response.

    The default frequency at the opening of the port of the unit is 22. I would like to change the frequency to 120, then read the current operating frequency to ensure that it was indeed changed.

    I'm confused about the format of data to be sent in LabVIEW. In MatLab, it works fine if I send 'f' as a character (fwrite), followed by the desired integer frequency. However, in LabVIEW, it seems that the number I want to send is not read correctly. I have tried to cast the integer to a string and read that the slash code, hexadecimal, normal code, all I could think about.

    Help, please

    This give a try. Press the button "Prepare", followed by the 'Set Freq' button. You need to configure your serial port properly first well.

  • Need help on query with decimal places and trailing 0

    Community of Oracle I need help in the following situations:

    I received the following query:
    SELECT (SUM ("VALUE1") COUNT ("VALUE2"))
    FROM sometable;

    This returns the following results:
    200
    222,5

    I want to display as 222.50 222,5 value so I tried ROUND(value,2) but then came to the conclusion that the tour will not show drags me 0.
    So now I tried to_char(value,'9999DD00') and of course he's back 200.00 both 222.50.

    Now how to make it conditional so when a number has no decimal place it shows the whole number and when it has a decimal, it shows it in the format to_char(value,'9999DD00')?

    I hope I have made my situation and question correctly and I hope a solution.

    P. S.
    I need to appear like that since it is an average of the prices of the products

    Published by: Jnijman on July 3, 2010 13:06

    You can use CASES and INSTR:

    SQL> with t as ( -- generating sample data:
      2  select 200 col from dual union
      3  select 222.5 from dual
      4  )
      5  --
      6  -- actual query:
      7  --
      8  select col
      9  ,      case
     10           when instr(col, ',') > 0
     11           then to_char(col, '999d00')
     12           else to_char(col, '999' )
     13         end formatted_col
     14  from   t;
    
           COL FORMATT
    ---------- -------
           200  200
         222,5  222,50
    
  • Hey, need help. I get this in my iPhone that 'there is a problem of billing with a previous purchase. Please update your payment method"in any way I can remove my visa card from iTunes

    Hey, need help. I get this in my iPhone that 'there is a problem of billing with a previous purchase. Please update your payment method"anyway I can remove my visa card from iTunes?

    You must pay your debt first.

Maybe you are looking for