VISA: Communication with "Optris Laser Modul" via a port series

Hello

I use a "Optris Laser Module" for measurements of temperature (see attached pdf). This module could be connected via usb to the computer. The pilot of the laser module generates a serial port (COM4 on my PC). The manufacturer's software works without any problem.

The next step is to use labview for communication. Unfortunately, I did not find driver.

The manual shows the adjustments for the serial port

baudrate: 9.6... 115,2 Kbauds

data bits: 8

parity: none

stop bits: 1

FlowControl: no

Normally, the module communicates with a binary protocoll. With a special order, it is possible to change the protocoll in ASCII. To change the protocoll you must write "Dezimal: 131" or "HEX: 0 x 83 '. The answer should be 1 byte with '0 = protocoll binary' or '1 = ASCII protocoll.

I wrote a little VI (see table at right) to change the protocoll. I am not getting any error, but also no answer.

Anyone have an idea where the problem could be found in the code.

Thank you very much and best regards,

Michael

P.S.: If you attach the code, please use LabVIEW 8.2.1, if I'm not able zu read the code. Thank you.

Attached: Small manual for "Optris Laser Modul" and VI.

You would be he catalogued to U16

Tags: NI Software

Similar Questions

  • Communication with EtherCAT defective modules with executable startup

    Hello

    I have a deployment with a hypervisor OR 3110 and four NI 9144 chassis that are connected via EtherCAT. The RT VI I created works perfectly when they are deployed since in the LabView project. However, when I create a start executable (startup.rtexe), it fails somehow communicate with 3 out of the 4 chassis. I can read/set values for the frame that plugs directly into the hypervisor, but cannot control the chassis more far. If I build the executable to start with debugging enabled, the behavior is the same. Strangely, when I connect to the startup.rtexe running through the 'Debug Application or Shared Library' menu in the LabView project, I start getting values as it should. When I disconnect from the debug version, I lose the modules again.

    What I'm missing here?

    Thank you much for the help.

    Christoph

    I found the root of the problem: for iterations inside my call loops, I use property on variables unconnected (type defs) nodes to determine the number of iterations that I need. This doesn't seem to work if the FP is closed, as is the case in a deployed executable startup. If I replace these nodes of property with the constants, everything works as expected. It semms that the compiler removes variables unconnetced, because it "thinks" that they are not used.

  • Impossible communication with an electronic card via the USB port of the United Nations

    Hello

    I must communicate with a normal electronic card a mini-USB port / USB (serial, COM4). This card transmits on the airwaves on a frequency range that I must address.

    When I plug, the PC detects it and accept it (I installed the driver). Plug-in the HyperTerminal in Windows XP to send instructions in hexadecimal this carte pour what change the range of frequency on which it issues.

    Furthermore, neither MAX nor Agilent Connection Wizard not the detected and none are able to communicate with it, everytime the same message error "no device detected".

    I tried under LabView to send instructions with assistant IIOA, no results. I also tried the instructions 'Config VISA' and 'Entry VISA', trying to write in hexadecimal and normal mode, nothing works. Under labView I have yet no error message, nothing. Nothing.

    I don't understand. I know that it is still possible to drive it under LabWindows, but under LabView (8.5) nothing, not a clue.

    I have the latest version OR-488. 2

    Y ' have a procedure to follow pour such communication of?

    Thanks for any help that would be welcome.

    Kind regards

    Zoe.

    Hello

    The NOR-488 driver. 2 is the driver for the hardware from National Instruments GPIB; If you communicate to the port of of a USB through, this will not impact your code or on the resources used. The only element in common with your VISA application EST enhancement. It provides a unified API pour different types interface with instruments (series, Ethernet, GPIB, VXI, etc...).

    Under MAX, on cannot hole your communication card, only the serial port. The first chose to do is therefore to ensure that the serial port 4 is clearly visible under MAX. You can then the uti Test Pannel VISA pour send and/or receive orders to/from your card.

    If these elements do not allow you to properly configure your hardware, n 'hesitate to send a capture d' screen of the configuration under MAX. If you have a CVI code that allows you to interact with the map, it might be interesting to join, so you can see how interactions with the material are made.

    Kind regards

  • VISA communication problem

    Hello..

    I interfaced with a simple ADC from my microcontroller and the microcontroller to the PC via the port series.

    I'm changing the entrance to CDA using an analog POT.

    I used the VISA in LABVIEW2010 to get the data from the serial port and display it in a waveformchart.

    But I have some problems to do. IT (LabVIEW) receives the data correctly in an instant and missing another now, sometimes, I get part of the data. Also I get a FRAMING ERROR also occassionly.

    I send the value of the ADC as 3decimal numbers (0 - 256 as my ADC is a 8-bitADC) followed by a linefeed (0x10) from my microcontroller for each sample. I have strength give everything behind except for the ADC conversion time.

    Configuration of VISA:

    Baud_rate:9600

    Data_bits:8

    Parity: none

    Stop_bits: 10:1

    I've attached my vi file too.

    Please help me, thanks.

    You have several problems and each of them have been explained in many discussions.

    First, the VISA init and closing belongs outside of the loop. Then, remove one of the constants you for the init function then simply right click on the entries to the VI and select ' create Constant. You will get the correct data type and eliminate the red dots of coercion. Thirdly, if you send 3 ASCII characters (i.e. ASCII ' 123'), then simply set the VISA for 3 bytes read and jump the VISA bytes to the Serial Port. Fourthly, an 8 bit DAC is 0 to 255.

  • RS 232 communication with a projector

    Hello! I work in communication with my prjector. The controls are pretty simple, just PWR it for OFF\r PWR to turn off and LAMP? How many hours have the lamp worked \r to land the aircraft. So I just used the example of the writing/reading series with labview, but had a few problems.

    1º) it works but it keeps giving me an error, I can't handle. Is the current operation of visa wait time. I tried it here and all the people say something on the lines of commands, but I put them and set up in the port, so I don't really know how to handle this error. Another thing, it is how can I put \r or 0xD for my end of just the default write command?

    2º) how can I make my request just be an exe that you don't have to press ' EXECUTE ' always to use it?

    3º) my last question is to ask questions about how to manage this thing, I need to read used with the control LAMP lamp hours?, and projector will answer me with something like: LAMP = xxx. How to handle this response to send it via TCP/IP? Should I have to create a new variable or something? I mean, I just need with another application in order to power switch of the projector via tcp/ip and calling hours of lamps via TCP/IP, so I don't really know how to handle. Thanks for all the peoples and let me know if you need more information, I'm not native English sorry for my mistakes.

    Edit: I forgot to put my vi.

    1. you will obviously get a timeout when you send the commands that do not generate a frequency of the instrument. Only do a reading when you send the LAMP? interview and to automatically send \r, set the stop to "0 D" character.

    2. you have the app Builder to create an exe file. In order to make the VI automatically running, go to the properties of VI > execution and check "run then '.

    3. I do not understand. First, you talk about RS - 232 and now you want to convert this TCP/IP communication VI?

  • I removed Applian freecorder in my programs, but I find myself with a toolbar of community with a button for Freecorder help page. How can I get rid of this, preferably on the entire toolbar

    I installed and now have uninstalleda Applian program (freecorder I think) but find myself with a toolbar of community with a button leading to the theFreecorder help page. I don't want the additional toolbar or button. How can I get rid of him? I tried to remove and reinstall Firefox, but this has not done it.

    Hello

    Please try to go to Tools (or Alt + T) > modules, Extensions , click on the left and if it is listed on the right, delete it. Otherwise, you will need to go to Add/Remove Programs in the Control Panel of BONE and remove it from there.

  • DASYLab is not communicating with the hardware dbk25a3

    Hello:

    I'm trying to troubleshoot a high pressure processing equipment. This system uses a PID controller. The level of pressure does not stop at the set point, but continue to increase. I am trying to solve this problem. As the program was written by someone else and there is no documentation on what each represent module and done. It is very difficult for me to solve the problems. Therefore, I decided to start all over again with my own module.  However, I have a problem. My hardware (DBK25 and others) is not communicating with the module of Dasylab. I tried several different things, that nothing seemed to work. I get this error.

    DBK25A3O

    An entry of a module is open.

    Any help is highly appreciated

    Thank you

    Krishna

    The error message indicates that you have a module that has one input open - nothing is connected. You must have a data wire to all entries.

  • 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

  • Problem with getting communication with old instrument GPIB-ENET/100

    Hello!

    I'm trying to get my program in VB.net to communicate with an older instrument (Infratek 305 A, measure of power) via a GPIB-ENET/100 device.

    The manual of the instrument does not say what GPIB standard, it supports, but the instrument is detected by the measurement and Automation Explorer.

    Detected by that I mean that MAE has detected an instrument located on the right GPIB address, but indicated identification is the output measure instrument string

    instead of the name of instrument (as shown for some more recent instruments of Agilent).

    When I run my application, I followed the communication with NISpy.

    Configuration of the device seems to work and I present only once in the program.

    The problem is reading data from the instrument. Whenever I read the data, I get a correct string of the instrument. But the problem is

    I get the same data in two consecutive and all readings first after that I get new data and also these new data are received in two consecutive readings.

    According to the manual of the instrument the instrument generates the data as follows:

    "A row of data ends with CRLF. The instrument can send multiple rows of data. "When all of the data transfer is complete the EOI (end or identify) is sent.

    My endpoint settings are:

    Send EOI to write complete: YES

    Terminate read on EOS: No.

    EOS byte: 2

    8 bit EOS compare: YES

    Define EOI with EOS on write: No.

    How can I configure the GPIB-ENET/100 to work with my instrument?

    Here are som NISpy logs:

    # Configuration #.

    61 ibwrt(UD3, "C0C2C4C8..", 10 (0xA))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.671 call duration 00:00:00.079
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    62 ThreadIbcntl()

    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.750 call duration 00:00:00.000
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    63 ibwrt(UD3, "K0K3K5K9..", 10 (0xA))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.765 call duration 00:00:00.125
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    64 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.890 call duration 00:00:00.000
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    65 ibwrt(UD3, "F14F18F24..", 11 (0xB))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.890 call duration 00:00:09.250
    ibsta: 0 x 100 iberr: 0 ibcntl: 11 (0xb)

    66 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:53.140 call duration 00:00:00.000
    ibsta: 0 x 100 iberr: 0 ibcntl: 11 (0xb)

    ### LU ###

    437 ibrd(UD3, "*AC/1.0A480V/...", 1024 (0x400))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:58:52.484 call duration 00:00:00.094
    ibsta: 0 x 2100 iberr: 0 ibcntl: 225 (0xe1)

    438 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:58:52.578 call duration 00:00:00.000
    ibsta: 0 x 2100 iberr: 0 ibcntl: 225 (0xe1)

    439 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:58:52.578 call duration 00:00:00.000
    ibsta: 0 x 2100 iberr: 0 ibcntl: 225 (0xe1)

    Hello!

    I don't have the opportunity to test with other controllers.

    However, I found a solution to my problem.

    The instrument should output 4 lines of data.

    L1 - line with comments

    L2 - line with current values

    L3 - line with the values of voltage

    L4 - line with power values

    The first line of the reading stops the instrument of implementation of additional measures.

    The measurements in the instrument began reading the last line of data (L4)

    The problem was that the instrument for a reason any also released a fifth line, which was empty.

    Read this line 5' th stopped the instrument again.

    By configuring the HW to finish reading on EOS, with EOS PMQS, the value byte, I could read the

    buffer of the instrument with a line output instead. This way I could read just L1 - L4

    and the instrument could work again.

    Next time I should read data from the Instr. first of all, I would like to read the empty line, then

    L1 - L4.

    Why the outputs Instr. an additional empty line will be left not resolved.

    My problem is solved.

  • Dell Inspiron 531 is not communicating with the Dell AIO 926 Photo printer.

    Dell Inspiron 531 is not communicating with the Dell AIO 926 Photo printer.  Maintains documents in the print queue and print them when the computer is restarted.  In addition, the computer does not recognize my Promaster digital converter when I plug it into a port.

    Hello

    Thanks for posting in the Microsoft Community Forum, please be assured that we would do our best to help you.

    Please answer the following questions that would help us provide a better solution.

    What version of Windows are you using?

    Try to follow the steps and check:

    Step 1:

    Visit the link following if you are using Windows 7.

    Printer in Windows problems

    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    If you are using Windows Vista, see the steps mentioned in the link.

    http://Windows.Microsoft.com/is-is/Windows-Vista/troubleshoot-printer-problems

    Try the steps from the link following if you are using Windows XP.

    Resources for the resolution of the printer in Windows XP problems

    http://support.Microsoft.com/kb/308028

    Step 2:

    Try to activate the devices associated with the Dell printer and disable the rest by performing the clean boot, once done try to print.

    You can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts. The following article explains how to solve problems in Windows Vista or Windows 7 by performing a clean boot:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: Put the normal computer as mentioned in step 7 of section.

    Step 3:

    About the issue with Promaster digital converter try to connect to another USB device or run the fixit and check:

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Please feel free to respond if you have any other questions, we would be happy to help.

  • OfficeJet Pro 8600 Plus: PC stopped communicating with wireless Officejet Pro 8600 more

    My HP printer has been connected to my PC via my home wireless network and work without problem, for 18 months.  A few weeks ago the printer stop appearing in the printer dialog box when I went to print a document.  The printer continues to operate wireless for all my mobile devices without problem.

    I went through all the HP process and tools for troubleshooting, downloaded and installed all updates, nothing helps.  I uninstalled my PC off and now it will not reinstall.  The installation process see the printer on the network, but when I try to install it it said "cannot be installed on the network" and it goes no further. I lost hours and hours trying to get to the bottom of it, nothing helps.

    What is the problem?

    Hi @Layli,

    Welcome to the HP Forums!

    I noticed that your PC has stopped communicating with your HP Officejet Pro 8600 wireless connection more. I'm sorry to hear that, but happy to help!

    Out of curiosity, what happens if you install the printer using the USB method wireless configuration? Check out this guide, your wireless printerand select Configuration USB wireless.

    Also, if this does not work, able to install the printer are you using a USB connection? In this way, we can see if the problem could be the connection itself or not.

    You see error messages on the control panel of the printer at all?

    Thanks for posting and hope to hear from you soon!

  • Windows XP has been infected with a virus/trojan via the net and will pop up window wanting to access the app tray and Windows install wants to work.

    Original title: tray app

    I have a PC with Windows XP. He has been infected with a virus/trojan via the net. I can't access the net, but I have now access to readers of DVD and CD. On the screen is a window who want access to the application of the status bar. I don't have a restore date prior to infection. Installer Windows guard eager to work. How can I get going again and remove the virus/Trojan? I also have a laptop with windows vista. I can download MSE on my laptop for windows XP and copy it to a CD and then use it on the PC?

    Hi shanethornton,

    You can try to download Microsoft Security Essentials from the link below for a CD or a USB key and try to run it on the infected PC and check out them.

    See the link to download Microsoft Security Essentials:

    http://www.Microsoft.com/security_essentials/?WT.srch=1

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Printer is not communicating with the computer

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: I have problems with my Dell v305 printer I tried everything. Error message indicates that the printer is not communicating with the computer

    Hi vanessa James Sluys Veer,.

    Probably you should install/update your printer drivers for your operating system.

    Please see the link below for the Dell Web site:

    http://support.euro.Dell.com/support/topics/topic.aspx/EMEA/shared/support/DSN/en/document?c=UK&l=en&s=Gen&DN=1093016

    I hope this helps!

    Debra
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Will be communicating with VTEP and NSX flow controller (for example the NAV VTEP) network vmkernel management?

    Hello

    I have question concerning communication with the controller VTEP and NSX.

    Will be communicating with workflows VTEP and controller within the network vmkernel management NSX?

    Alternatively, it empties the VTEP network? (Network VXLAN?)

    I think it is by the vmkernel management network, as ESXi host with controller NSX need not always have

    VTEP (or Logical switches) segment.

    I thought that it could flow within the segment of NSX controller if it is independent of the normal (communication of host of ESXi and vCenter)

    management vmkernel, but I think that there are restrictions which network of the controller must be in the same segment of layer 2.

    I tried to find some document but nothing of any document clearly states what network port group transmits VTEP and NSX flow controller.

    I'll be very happy if the experts give me answer.

    BR

    As far as I know: you're right - this traffic is via the host management network and a connection routed between controllers it is not currently supported with NSX - v.

  • My ipad 3 has stopped communicating with my airport extreme.

    My ipad 3 has stopped communicating with my airport extreme.  I rebooted, both so that made a network reset on the ipad.  He sees the airport but does not connect.  It will work on the personal hotspot on my phone.

    Hello

    If your ipad works with a hot spot that's the Aiirport is the problem

    Go to the Apple Web site

    support. Apple.com

    You may need a software update for airport how old is this do you have another

    Router, you can try?

    See you soon

    Brian

Maybe you are looking for