Send order GTL or 488.2 Communicator

Hello

I opened MAX and selected a GPIB instruments I want to communicate with.  Is there a way to send the command go to Local (GTL) of the instrument by the Communicator?  How would send GTL to an instrument with a C program?  Do I need to use a call of viWrite() VISA?

Thank you!

Have you read the help? With the open Communicator, simply type Help as it is said. Find the ibloc command. There is also a help NI-VISA detailed that you simply have to open and read. The function that you would implement is viGpibControlREN. If you intend to do any programming, you understand really what is detailed in the help file.

Tags: NI Hardware

Similar Questions

  • How can I send orders Series USB mosquit IO card?

    I recently bought a Board "Mosquit-IO" of Trossen Robotics:

    http://www.trossenrobotics.com/Mosquit-IO.aspx

    He said do anything to control the servos connected to the Board of Directors is to send a command like:

    255 25 42 69 25 42 69 / r

    Where the orders are sent to: 19200 baud, 8 bits, no parity, 1 stop bit, with the RTS/CTS handshake enabled.

    I'm writing a code to send these commands, but not having not success talking to the Commission.  I'm also just try, using the example of "Basic series write and read" LabVIEW.  I'll even have to unsuccessfully with the example.  According to me, if I can get labview example works, I can get my code works.

    When I send commands on the example of the "basic series write and read, the command:

    255 25 42 69 25 42 69 / r

    It turns into:

    255\s42\s69\s25\s42\s69\s25\s/r

    but the servos do not move.

    Can anyone help?

    Thank you

    Hello

    I think you mix the formats of data here. I guess you shouldn't send the ASCII string "255 25 42 69 25 42 69 / r ' here, but the numbers represent the values of bytes." G. E. the number 255 represents the maximum value of an octet, but if you enter this value into a string and send to your device, you send actually three bytes with values 50 (= the ASCII value of the character '2'), 53 (= ASCII '5') and 53 (= ASCII '5'). / r is the symbol for carriage return, which equals a value of octet 13.

    The best way to create your chain of command is to use an array of bytes (U8) and convert it to a string.

    The string is not human readable, but it represents the values of bytes of your orders.

    I hope this helps.

    Jochen Klier

    National Instruments

  • UDP communication with microcontroller

    Hello

    I need to access a controller for some engines. The controller can be accesed by Ethernet. Unfortunately, I know very little such communications.

    So I worked by the UDP-examples of LabView provides. That helped a lot, however, some questions remain:

    What I don't understand is how I'm supposed to open a connection to the controller. In all the examples of LabView you still need to enter the Port number on the server and the ability to use vi. However with the microcontroller, I can't just enter a port number. I guess, that the microcontrroller already has some kind of a port and is similarly to the reciver.vi in the examples, but how can I find the port number or manipulate?

    I found documentation for the microcontroller. It is said that all commands to the microcontroller and the answers will be to send UDP-protocoll text encoded in UTF - 8. The orders correctly decoded will be responded with a package "ACK"and return to the "Commander".»

    The commands are the following:

    overall. Exit = ends the server

    overall. Socket = opens UDP-socket

    overall. IsConnected = responds with 0 or 1, if the port can be used

    global.getPort = returns the port number where the server is listening

    There are more of course. Some for setting up a gerneral I/O-Port and a lot more to move the motors of course. However, I think that the above is those that I need to open a connection.

    Of course, there are child of all that I need. I don't know how to use it. How is it I am destined to one of these commands sent to the controller without having a connection already?

    Do I have to sort of send orders 'everywhere', hope that this device is the only one who responds, ask for its port and then open a connection?

    I am really lost!

    Thanks for your help already!

    Hello

    Thank you very much to all those who helped.

    I managed to make it work, writing type of an own port scanner. The controller has been programmed to send a response to every shipment of order, I wrote a UDP server in LabView that would send a command to the controller that he had to answer. In the 'open UDP', I specified the IP address of my computer's ethernet card, which was connected to the microcontroller only via the crossover cable.

    The server sends the command to an unspecified IP (xFFFFFFFF). First of all to channel 1, then 2-port, etc... and waited for a response. In this way, that I have to know the IP address.

    In the end, the Port number is (of course) 1234.

    Thanks again for your time and all your ideas!

    Greetings

  • Serial communication - ignore parity error

    I have a question about how LabVIEW opens a serial port for communication. I communicate with a device that uses a protocol owner. It sets and clears the parity bit to indicate the nature of the response. For example, the orders are sent with the parity bit higher while responses are sent with the weak parity bit (unless the answer is at the end of the transmission, in which case the device sets the parity bit high to indicate).

    My problem is the way that LabVIEW opens the serial port for communication. Using Portmon, that I captured the control indicators, that it sends to Windows to configure serial communication:

    IOCTL_SERIAL_SET_LINE_CONTROL   Serial0 SUCCESS StopBits: 1 Parity: MARK WordLength: 8IOCTL_SERIAL_SET_CHAR  Serial0 SUCCESS EOF:0 ERR:0 BRK:0 EVT:0 XON:11 XOFF:13IOCTL_SERIAL_SET_HANDFLOW  Serial0 SUCCESS Shake:1 Replace:44 XonLimit:64 XoffLimit:64
    

    Note the values 'Shake' and 'replace '. In my view, they are originally bytes with parity errors is removed. A separate RS232 Comm Debug tool that I use with success looks like this:

    IOCTL_SERIAL_SET_LINE_CONTROL    Serial0 SUCCESS StopBits: 1 Parity: NONE WordLength: 8IOCTL_SERIAL_SET_CHAR  Serial0 SUCCESS EOF:0 ERR:0 BRK:0 EVT:0 XON:11 XOFF:13IOCTL_SERIAL_SET_HANDFLOW  Serial0 SUCCESS Shake:0 Replace:80000000 XonLimit:128 XoffLimit:128
    

    Notice the difference in values. By using this tool, Windows does not packages with parity errors - that's what I want. Is there any way to change how LabVIEW opens the serial communication port to achieve?

    I tried to change the parity, where the ILO is defined differently, but I think that I am running in a race condition; LabVIEW can not run the code and change the mode of fast enough parity before the next byte of data is sent by the device.

    Ravens fan: the parity bit, in the proprietary protocol, that I use, is not used for parity checking. Basically, the protocol uses a 9-bit serial communication. The parity bit must be paid or compensated according to what byte do (if it is a command, if it is the end of transmission, etc.).

    I found an old post on this page which seems to answer my question (my apologies for not completely research before posting... I learn the right use/search phrases that I find more information). I download the 3.4.1 version of VISA now.

  • How fast can I send using SPI commands in a NI8451 of python?

    I use SPI communications with NI8451 leave a python code. I want to know how I can increase the speed at which I can send orders? and what is the maximum that you can go. I'm developing an application in real time if I want to continue to read the data as soon as possible.

    I don't think that there is a way to overcome this, since the selections of line and to update is completely made of material by the microcontroller inside the 8451. The rate at which data is sent to the microcontroller depends on how fast the code on the hosting platform is running and the time it takes for data to cross via USB (which can be ignored).

  • Difficult communication between Windows Server 2008 R2 and Windows Server 2008 R2

    I have a client-server application. The application server is installed (Jboss 4.2) on a computer that uses Windows 2003. The Jboss does not have Local system, but a user who has administrator rights. Among other features, this application communicates with other servers that use Windows Server 2008 R2, to find all the services of Jboss that are installed on these machines, their status, the databases that are connected to them, the ports (by checking the file jboss - service.xml, oracle - ds.xml). This communication is done by sending orders sc, as (and other controls to start and stop services):

    Status of request \\server SC = all | find/i 'jboss ' | find/i 'service_name ' | find/i "_q".

    My problem is that I have to migrate this application from Windows 2003 to Windows 2008 R2.  After I installed it on my new machine, I saw that the application is not behavies as it should. I managed to observe that the response time to send the same command (the one above) to Windows 2008 R2 to Windows 2008 R2 takes more time that sending the same command from Windows 2003 to Windows 2008 R2.

    Is something changed in the sc command or there's a problem with the security rights?

    If you have an idea, please give me a feedback.  This problem is beyond my knowledge.

    You can find server gurus in the following forums:

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

    This forum deals with domestic users of questions, so using Server forums you will get a much better response.

  • SDI-12 communication without Waterlog H-4191

    Hello everyone!

    I would ask you communication SDI-12. I am developing a Labview VI that could communicate with a sensor. Communication with this sensor must use the SDI - 12 Protocol.

    I found that there is an already developed Labview API to do this (http://zone.ni.com/devzone/cda/tut/p/id/7726). To do this they use a (SDI - 12-RS - 232) converter and the VISA of RS - 232. The converter that is used is the H - 4191 Waterlog, however, I used another (a Vegetronix). Mine is exactly a SDI - 12 USB converter, but I don't know how it does, USB works as a virtual COM port.

    The problem I have is to use Hyperterminal, the communication works perfectely (I opened the virtual COM5 port, I write the SDI-12 commands and responses of sensor); However, if I try to use MAX or the SDI-12 LabVIEW API or even a manager of LabVIEW RS-232 (I mean a VI which includes RS-232 VISAs), I have does not work. It's as if my PC sends orders but nobody reads.

    Do you know what is happening?

    Thank you!!

    Hello Martijn,

    Thank you very much for your answern. The problem is solved apart, and it has involved two errors:

    On the one hand, it is necessary read and write the synchronously.

    On the other hand, I did mistake silly spruce I: a terminal character I write \n\r and it was only necessary \r!

    In the example that I used and which is developed for the COM port is used \r\n as the hyperterminal just have to press Enter, so you don't know what the machine is actually written at the end!

    Thank you very much

    1000A

  • VISA + Serial Communication - need help!

    Hello world

    I have a lot of help with my project of this forum and I'm looking for more . Thank you for taking the time to help. Please bear with my as I ask a LOT of questions.

    I intend to control a frequency converter using its series terminals and send orders from my PC + LabVIEW it. The commands do the basic functions like, start, stop, speed up/down etc etc. I use a converter Series USB to transfer data.

    Now, I ve played with examples like SERIAL COMMUNICATION VI and others and I begin to understand the functioning of VISA.

    Q1. In order for LabVIEW + VISA contact my frequency converter, do I need to install some sort of a driver for him to recognize? The frequency controller is old ages, even I don't know and I don't think I can find a driver for it any time soon? What kind of driver I'm looking for? Is it possible to customize my own driver and which would be easy?

    accessory included - process.jpg

    I downloaded some pictures about the problems of data format. I need to send information to the converter to format "telegram" as shown in the image below. Each 'function' in the 'format telegram' has varied length in bytes: some have 1 others have 2, other 4...

    I also downloaded an image called "Format.jpg" which indicates what information each of these 'functions' will contain. Note:-the frequency converter uses only the last 4 bits.

    Say for example:

    START function will have this bit of information-

    Start the Byte - ASCII ' 59 "

    Address - 00

    Control character -? I'm not sure what it should be I need to use the converter based on parameter values - is confused on what to choose - C, U, I or r Start, stop, etc. have their own specific parameter values such as 402, 404 RESP, so I guess I want update (U)?

    Word of State control -? depends on the previous action

    Sign - do not necessary

    Data - 0

    Comma - is not necessary

    check the sum - is not necessary

    Stop the Byte - ' > ' (ASCII: 62)

    Phew... How would I go about clubbing this whole format together to send a control signal? Put all this information in a table allow somehow?

    Please help to me... to achieve desperately need...

    Thank you

    Sandeep

    It would be useful that you could find a driver, but it is not absolutely necessary to have a. You can write your own, use the Instrument i/o Assistant, or use VISA readings and some discreet.

    The format of the commands is a bit complicated but not impossible. You just need to be careful to have the exact number of bytes.

    What I don't see in the atttachments, it is possible words to control and the State and the number of parameter. I hope these are in another part of the manual.

    A bytes example (without the control and settings) to update the frequency to 12.34 could be '<00U________+123403??>'.

  • When I try to order a book of Photos, nothing happens. My account is up to date and I have version 1.3.

    I did a project in Photos and you want to order a book. Drunk, nothing happens - can´t "send order". My account is OK with the address and Visa data. I have version 1.3 Photo. I have an Imac with Os X 10.11.2

    This probably isn't the issue here, but you are two updates behind and it would be good to get up for data and stay up to date - the current OS X 10.11.4 and Photos 1.5 s software

    What happens (nothing is impossible - something to do) and we need to know exactly what happens

    And in your preferences Photos make sure you have the country printed store selected and that it matches your billing and shipping information

    If it's al right then in the apple store re - enter all your account and billing informaiton and try again

    LN

  • Orders series

    Hello

    I'm trying to control my device using a RS232 with Visa control box. The device requires HEX commands to run. When I run my VI visa writing has no mistakes, but then reading times out. The device works with the software supplied for the connection is not the problem. What, in my view, will not is that I do not send orders in HEXADECIMAL. I have various entries in my VI (CNC, boolean and constant) turns into a hexadecimal string then concatenated to form the command (cmd for example: 020F0F07000D) when I'm sending this to a string in hexadecimal display indicator I get 303030304646 which is obviously not good. The problem could be that I am not to convert hex entries correctly? I enclose my VI and the manual for the control box. Any help or advice would be appreciated...

    Hi Kane,

    If you are the 'number of HEX conversion' guy of the month (or is it week?)!

    You should read your manual carefully and try something like this:

    This one is going to build a table of numbers U8 (= BYTES!) and convert them to a string. Just look at the string in hexadecimal display...

  • Office communication target RT PC with host via RS232

    Hello

    I use the computer as target RT. I want to run a standalone program on target RT for her turns. The goal of the RT is connected to the FPGA through the ethernet port. So I want to communicate with the host PC via the serial interface RS232 to send/receive data as the ethernet communication is not possible. The target RT PC desktop is compatible with RS232 communication with host and simultaneously with the FPGA target? If so, is there a protocol for this communication?

    I use LabVIEW 2012 and RT moudule.

    Thanking in advance.

    Rashmi


  • We have 2010 550 5.7.1 exchange server client has no prmission to send that sender I get this error on Exchange pop3 accounts and account owa works fine

    Helloo...

    I have exchange server 2010 my all work fine, but since last week, my two not able to send mail to another domain I get customer error 550 5.7.1 doesn't have permission to send that sender ot 550 5.7.1 Unable to relay.

    I'm trying to make new Email id this two days well only after two days work I get to new same error.

    Thank you
    Ashok pal

    Hello

    Since you are facing problem with Exchnage Server 2010, it would be preferable to send the same in the Technet community for more help.

    http://social.technet.Microsoft.com/forums/en-us/smallbusinessserver/threads

    Hope the information is useful

  • APEX_SEND, PAAS and limit sending emails

    Hello world

    I intend to use APEX_MAIL. SEND_MAIL to send mails from 15 000-20 000 with PAAS.

    According to this http://docs.oracle.com/cloud/latest/dbcs_common/CSDBU/develop013.htm#CSDBU250 , we can send only 5000 emails per day...

    Is it possible to increase this limit to $ 15,000 or 20 000? I saw here that could send emails to 10 000 (https://community.oracle.com/message/2684697#2684697) so I'm quite confused, someone could help me on this please?

    Thank you

    Youssef

    1192074 wrote:

    Please update your forum profile with a real handle instead of '1192074 '.

    I intend to use APEX_MAIL. SEND_MAIL to send mails from 15 000-20 000 with PAAS.

    According to this http://docs.oracle.com/cloud/latest/dbcs_common/CSDBU/develop013.htm#CSDBU250 , we can send only 5000 emails per day...

    Is it possible to increase this limit to $ 15,000 or 20 000? I saw here that could send emails to 10 000 (https://community.oracle.com/message/2684697#2684697) so I'm quite confused, someone could help me on this please?

    The limit of 5000 applies to use the database Oracle Cloud Service. The post on the 2008 forum refers to the use of an installed instance locally the APEX, where no limit can be configured by the administrator of the instance using the instance Email Maximum per workspace setting.

    Ask questions specifically about the service Cloud DB on the Oracle database Service of Cloud forum. Note that since it is a parameter of the instance level, it will be not configurable for individual workspaces Cloud.

  • Adobe uses Muse the rest orders?

    Adobe uses Muse the rest orders?

    You can create a Web site in Adobe Muse to send orders to rest and receive data from a server of Muse? And if not someone at - he found a work around?

    Thank you!

    Muse do not use orders for rest but additional script can be added to the site created in Muse to perform this action, would actually depend on the situation, the other API etc. no matter what you're trying to build.

    Thank you

    Sanjit

  • Roll of photos in the mess in the iOS 10

    I just got my new iPhone 7 and after successfully it restore a backup from my iPhone 6, I noticed that all my photos in the film are out of sync. I realize they're supposed to be in chronological order of when they were taken, but they are very mixed up... some photos/videos that I picked up in February. I always restored my new device from a backup whenever I've updated to the latest iPhone and have NEVER had this problem.

    I read through some of the posts here where people have had this problem or something like that in the past, but nothing has been listed as a direct fix for this problem. I tried anything and everything I found online or here as a way around the out-of-order fixing and nothing has worked.

    It's extremely frustrating! Could someone please help?

    I have the new 7-256Gb black iPhone running iOS 10.0.1.

    Thank you!

    I just realized that I probably posted this in the community of bad management. For some reason any 'iPhotos to OS"was not appear when I first submitted the post and posted"Hardware of the iPhone."

    I am not able to edit this post more for some reason any. Someone knows how to do this? Or send my message to the correct community? Thank you very much!

Maybe you are looking for