Problem reading Hameg 4040 via RS232 VISA

Hello guys!

I'm trying to control my Hameg 4040 power through sustainable intensification of CROPS more than VISA (RS232).

Writing works well, but the return values of reading do not work.

Tried to do a simple Test.vi that puts just in voltage and current.

After that, I want to review my real tension.

I took the example of SCPI codes from the manual, so should work (I think...)

Here's my VI and FGV

Maybe someone could understand my problem?

BR

Sagi

Hi Sagme_Mi,

I have a few questions for you:

1. what "timeout in ms' did you put in my vi?

2. how many bytes you are waiting and how do you get? Do anything at all?

3. maybe the hameg waiting fo a character of endpoint as 0x0A. You send one?

First of all, I would like to try to establish communication with a Hyperterminal as HTerm.

There are also several free tools to monitor communication on your COM-Port. With such a tool has you might observe that the expressVI made differently from your VI.

Kind regards

Heinz

Tags: NI Hardware

Similar Questions

  • Reading from the sensor to LabView via rs232 or Subvi problem

    I'm quite new to LabView and not too experienced with instrument control so I was wondering if someone could help me to solve my problem?

    Currently, I'm using LabView 2011 and I'm trying to read pressure DualGauge of Pfeiffer (TPG 262) pressure sensor and display the readings of two pressure on LabView.  However, when I run my program, the pressure readings are not displayed - what is displayed are default 0.00 if same mBar pressure reading a reading of the display of the DualGauge probe.  To connect the sensor, I use a RS232 cable and have managed to find the device on my device manager, so I don't think that the connection is the problem (I've also seen the port appears in the Device Manager, when I connected the sensor via RS232 and USB in my computer).  I also use Subvi Pfeiffer in my code, and I suspect that the problem may be in there.

    Attached is my code and here are links to the manual of the DualGauge and the driver of the software LabView of Pfeiffer

    Double manual gauge - p. 23 and 68 are probably the only things related to the RS232 connection.

    http://www.idealvac.com/files/brochures/Pfeiffer_TPG262_Operating_Instructions.PDF

    DualGauge LabView driver - software Pfeiffer double gauge LabView driver 2009

    http://www.Pfeiffer-vacuum.com/products/measurement/activeline/measurement-equipment/OnlineCatalog.a...

    Any help is very appreciated!

    -Candice

    You have not tested really do anything. Devices and MAX Manager displays only the com port that you added to the computer. It does nothing to verify that an instrument is truly connected. You might have the wrong settings of com or the wrong type of cable serial (null-modem is required). I suggest that you start with program such as hyperterminal, PuTTY or MAX and try something simple. It seems that you will receive an acknowledgement returned by the instrument when a correct command is received. Make sure that this simple step that happens.

  • How to contact Compax3 via RS232

    "We have a driver/Compax3 servo controller and need to communicate to via RS232 and the orders of the" object "(e.g."o680.5"retrieves the current position." However, I was unable to get the controller to really transform our engine. Someone has he done that before could provide examples of code?

    LV 2009 SP 1

    Windows XP

    You should still be able to read and write objects while it is configured as a T30, but you would need to write a program of IEC which reacts to changes in your variables.  I just did a project with a positioning more comms, and it was some time ago.  My HMI would send '2O 1901.1 =' to define a position and ' $2O 6103CR "to move to the position.  Note the space, and the Czech Republic is a carriage return.  Unfortunately, Parker US doesn't have much experience with the communcations for this product, and the documentation is poor.  You can call technical support of Parker in California.  Rich Rittis would be your best bet to get answers on it.

  • How to communicate via RS232?

    I am trying to program a sbRIO-9606 to communicate with a LCD for matrix orbital via RS232.  I have NI-VISA 5.4.1 with NI-VISA 5.4.1 on the sbRIO server software.  But I see no COM port to use to connect.  Is there other software that I need?  Or is there a resource where I can find some instructions about it?

    Found!

    I also have need of the RT of NOR-Serial installed on the sbRIO 4.0.0.

  • Problem: read bytes to serial port

    Hello, I need to communicate with an external device with serial port. I have to write a command to my device string, and then it should play with 64 bytes of data. I built a function of READING-WRITING and I use it in a loop (I have to read a lot of 64-byte block)

    Sometimes, I have the following problem:

    (1) I have send the command string, I wait with "Bytes to the serial port" whereas I have more then 60 bytes, then I read.

    (2) sometimes happen that the read function cannot read all 64 bytes, so the net for cycle, I have in the receiver buffer mor than 64 and the program to stop working. (does not work well)

    I need to be sure that after writing the command I have 64 bytes, so I red all the 64 bytes so the next loop for, I have the buffer of the empty receiver.

    I enclose my writing reading function. Please refer to the block diagram (there are a few notes).

    Thank you

    In no place in your program see the VISA configure the Serial Port. It's always a good idea to include this that even if you use the default settings. I suspect this is one of the default settings which is wrong with you. By default, playback is set to end when a character is considered. This means that if you have a 10 hex (ASCII LF) in your stream, playback stops until the specified number of bytes is read. Put in a VISA set up the Serial Port and connect a constant False to the stop character allow entry.

  • connect a spex 1702 spectrometer via rs232

    I'm trying to connect an old Spex 1702 spectrometer to our computer via RS232. I have a few vi downloaded from the HORIBA website that are supposed to work with this series. When I run the 'Start-up.vi' which is supposed to make the connection between the spec and the computer, all I get is the red error light. I am fairly new with Labview and know virtually nothing about RS232, help or suggestions on how to get this connection would be appreciated! Thank you

    Matt

    Former pilots used outdated serial drivers that won't work with the newer versions of LV

    There might be newer versions of the drivers are circulating, but I ended up making my own versions of VISA rather than wait for the manufacturer.  Please note that this was a nightmare to migrate...

    Shane.

    PS To install an older version of LV should also work if the OS is supported (LV 7.1?) and XP

  • Reconfigure the channel RS232 VISA

    If I need to reconfigure a VISA (RS232) channel (flow rate in baud, timeout, stop bit, etc) I do first had to close the channel and reopen/configure it?

    I'm currently in the way of the already existing VISA reference in configure it VI and defining a new rate in baud rate and timeout.  Currently, it seems to work very well, but I wanted to make sure that I'm not setting myself to hard to track bugs later.  If anyone has experience with the reconfiguration of this way and ran into problems or knows that it is a free way of reconfiguring a channel RS232 VISA problem I'd appreciate the feedback.

    See attached screenshot for a Visual

    Thank you!

    No problem!

    Really! you apply just new property values to an existing resource of VISA.  One of the advantages of not having to use open VISA

  • Problems reading Premiere Pro CC 2015

    Hello

    I currently have problems reading on Premiere Pro, as it does not return at all. It worked perfectly on the previous version.

    I tried to reinstall and I did the setting change of mercury reading I found something else when, in the forums but I have more questions, can someone shed light on this please?

    Thank you

    Lewis.

    Hello Grayster VGA,

    I currently have problems reading on Premiere Pro, as it does not return at all. It worked perfectly on the previous version.

    EDIT: Please install the update of first Pro CC 2015 (9.0.1). It fixes problems playing more covered in this thread.

    If the update does not resolve the problem of reading you have on a current project, try a new project and see if playback resumes to normal. For any other problem with the update, please create a new position or open a folder with our support on the "video" queue agents: Contact customer service

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

    If the solutions listed here do not help us:

    • Is this a project 2014 CC that you updated to 2015 of CC, and you have no problem with the same images in a new project of CC 2015?

      • You may have a corrupted project 2015 CC and probably continue to experience unexpected behavior so that editing and export.
      • If so, you must return to first Pro CC 2014.2 via Final Cut Pro XML
      • In your CC 2015 project, choose file > export > Final Cut Pro XML and open this file in first Pro CC 2014.2
        • If the first Pro CC 2014 has been uninstalled, see these instructions to reinstall.
        • Update the application to the latest version of CC 2014 by choosing Help > updates
        • Note that only your changes will be preserved. You need to rebuild the project items before continuing work. Effects and transitions are not included in this translation.
        • Protocol for editing in general, it is not recommended update project files you're working on currently. See this blog post.
    • Is this a new project of CC 2015?
      • Work with our agents. Chat with an agent here.
      • Ask the video queue. They are available M - f 07:00 to 19: 00 PST.
      • Open a folder and note the file number.
      • If they cannot help you, MP me by clicking on my name in the upper left corner of this message and click on "Message" on my profile page.

    Thank you
    Kevin

  • In the browser of Muse CC edition there was a problem reading the manifest file Adobe Muse CC for the site - how to fix this?

    I just uploaded the site via the built in ftp upload in muse he then uploaded successfully. When I go in the edition of the browser and enter the name of the site (mernaliddawi.com) it says then this "there was a problem reading the file of Adobe Muse CC manifest for the site. Since Adobe Muse CC use file > load on the FTP host... to export the new site. ' I then exported the site again, but it still does not work also, I went my hosting provider file manager and deleted the file muse_mainfest.xml and then re uploaded still no chance. " How can I fix this thank you, james.

    You need to transfer your domain to your new site. At present, the URL http://mernaliddawi.com/ is a web page that encapsulates the http://mernaliddawicom.ipage.com/ in a frameset. This isn't how a domain is successfully transferred. He doesn't bother with editing in the browser, will prevent redirection to versions Tablet and phone of your site (if you create), and can cause other problems.

    If you enter mernaliddawicom.ipage.com to inbrowserediting.adobe.com it will not work, because this is the URL where your site is currently hosted.

  • Error message - problem reading disc on Satellite

    I wonder if anyone can help. Was a virus on my laptop satellite scan to home (don't remember the model) 2 days ago, when the screen is blue and it was a mistake long message means the laptop has encountered a problem and stops.

    After that 2 hours, that the cell had not yet arrested so disconnected from the electrical network and removed the battery. To try to restart the computer, an error message pops up saying - CTRL + ALT + DELETE to restart problem reading disk. When I made the order it seemed be restart but then returned to the original statement of CTRL + ALT + DELETE. Tried again and amel and can't stand up boot.

    Someone had this problem before?

    Hello

    It seems that it's not possible access to the HARD drive or it is not possible to read the data on the HARD drive.
    I don't know why it happens, but first of all, you should check the boot sequence in the BIOS. If everything shows ok, so you should try to start form the OS cd and check if it is possible to install the new OS.
    If this is not possible if the HARD drive has a fault and you need to replace.

  • DASYLab control via RS232

    Hello!

    I use dasylab to a small control. I would like to controll 3 adjustable transformers. The pc with the NI USB-6210 is near the transformer. Via RS232 I want to controll the processors of the control room. I have connected the two stand-alone (one near the processor) and the other in the control room with a cable RS232. Is it possible to use input RS232 dasylab for this effect? I'm just at the beginning of this project, and I appreciate all the information and advice you can give.

    Thank you very much and have a nice day

    Hilby

    For the RS232 string... we expect that the string must be delimited - for example, it ends with a. When you use the notation

    $1

    DASYLab will begin at the current location and put all the characters in the global chain number 1 (${STR_1} in other modules) until the \r (thecharacter). It does not put the delimited in the global chain.

    If you use the store in the chain, then catch it all on the line. If you need to anchor it better, use the string in quotes to search for a unique header before the $1

    "Single text" $1

    will interpret this line

    Single text can be stored in the global chain

    and store 'can be stored in the global chain' in the global chain 1. She anchors on the 'Unique' text and ends at the.

    For relaxation... use the pre/Post trigger... it's more reliable and outputs 0 or 5.

  • Problem reading text file

    CVI programmer for several years, but it has been awhile. Trying to read in a text file that displays fine in say Notepad. The first line of text in the file is:

    All temperatures in ° F.

    If I use the scan function, say:

    public static char cdum [2048];

    ScanFile (DataFile, "%s > %s", cdum); I get these results:

    cdum [0] is - 2

    cdum [1] is 65 (which is the ASCII character 'A')

    The rest of the cdum is all zeros.

    In a hex editor in decimal display grouped by bytes, the line is:

    0 255 254 65 0 108 0 108 0 32 0 116 0 101 0 109 0 112... as the display looks like

    ybA.l.l.. t.e.m.p.e.r.a.t.u.r.e.s.. i.n.. °. F....

    So I get the scan function is to see the start character, then by pulling the 65 and placing in the location cdum [1], then strikes the character 0 and leaves the function of scan as she found an end of line. Trying to read in the entire line and the subsequent data float line, but is not serious, I can understand that our after I get over the initial problem above.

    Can someone help me with this? I have no problem reading in ordinary text files, but this one is as it is grouped in words rather than in bytes. Have you tried a bunch of different Scan function modifiers source and target [xt0, w #, etc.], but nothing seems to work.

    Data file attached.

    Thank you-

    Scott

    Hello

    I downloaded your file, it is opened in Excel because of its extension and the settings on my computer. I then wanted to save it as a text file normal to see in Notepad and read with a simple C program. In doing so, Excel told me: some features in your workbook may be lost if you save it in Unicode text.

    This is consistent with your observation of 16-bit data.

    LabWindows/CVI, unfortunately, does not support the Unicode character set and functions of the library operated at only 8-bit characters.

    So I would say to convert your file to 8-bit characters; You can also support the pursuit of the Unicode support in CVI here

  • Problem reading the worksheet after you use a DLL to write on the worksheet

    Hello

    I have a few problems reading a sheet DLL created in LabVIEW. The DLL is written in C++.

    I'll dexcribe what do the VI in the screenshots:

    For DLL_INIT = the first false steps the VI (LabVIEW) values and exports in a DLL initialization.
    DLL takes these values and not some und calculation, then wrote the measured values and the new calculated values in a csv file called 'filtered_values' and a file 'filtered_values_complete '.
    so, I have two files like this after initialization:

    1.0000000000; 1.0000000000; 18.8991610737; -3.2940000000; 0.0060000000; 0.9000000000; 6.5806287097; -3.2940000000; 1.0000000000; 0.0000000000; 1.0000000000; 0.0000000000;

    So now on DLL_INIT = true.
    For the calculation, the next step i read the "filtered_values" - file (LabVIEW), calculate the new values and write in filtered_values (DLL)
    And in the "filtered_values_complete" - file I will allways read the DLL entry first, so that I can check later, if the DLL has obtained the values to the right of the front step and then add the calculated values.

    For i > 0 initialization has been made:
    -the VI bed sheet "filtered_values" calculation and rotted the table 1 d in its unique values
    -The last seven values in the worksheet have been exported in the dll as well as five new measured values.
    -This DLL is still a few calculation
    - then it replaces the "filtered_values" - file and adds a new line to the 'filtered_values_complete '.

    This migth be a bit of confusion, so a small example, afer five steps it loooks like this:

    filtered_values:
    5.0625000000; 1.0000000000; 18.9300200447; -3.2870000000; 9.7320000000; 0.8997597592; 5.9159054233; -2.6533532901; 1.0000000400; 0.0000000000; 0.8078703403; 0.0000000000;

    filtered_values_complete:
    1.0000000000; 1.0000000000; 18.8991610737; -3.2940000000; 0.0060000000; 0.9000000000; 6.5806287097; -3.2940000000; 1.0000000000; 0.0000000000; 1.0000000000; 0.0000000000;
     
    2.0625000000; 1.0000000000; 18.8330081064; -3.2940000000; 9.7270000000; 0.9000000000; 6.5806287097; -3.2940000000; 1.0000000000; 0.0000000000; 1.0000000000; 0.0000000000;
    2.0625000000; 1.0000000000; 18.8330081064; -3.2940000000; 9.7270000000; 0.8999399568; 6.4077416273; -3.1451829134; 1.0000000100; 0.0000000000; 0.9480589053; 0.0000000000;
     
    3.0625000000; 1.0000000000; 18.7932988441; -3.2870000000; 9.7280000000; 0.8999399568; 6.4077416273; -3.1451829134; 1.0000000100; 0.0000000000; 0.9480589053; 0.0000000000;
    3.0625000000; 1.0000000000; 18.7932988441; -3.2870000000; 9.7280000000; 0.8998799074; 6.2394046705; -2.9768465052; 1.0000000200; 0.0000000000; 0.8988158138; 0.0000000000;
     
    4.0625000000; 1.0000000000; 19.0445703499; -3.2870000000; 9.7320000000; 0.8998799074; 6.2394046705; -2.9768465052; 1.0000000200; 0.0000000000; 0.8988158138; 0.0000000000;
    4.0625000000; 1.0000000000; 19.0445703499; -3.2870000000; 9.7320000000; 0.8998198333; 6.0754981785; -2.8129479844; 1.0000000300; 0.0000000000; 0.8521305805; 0.0000000000;

    5.0625000000; 1.0000000000; 18.9300200447; -3.2870000000; 9.7320000000; 0.8998198333; 6.0754981785; -2.8129479844; 1.0000000300; 0.0000000000; 0.8521305805; 0.0000000000;
    5.0625000000; 1.0000000000; 18.9300200447; -3.2870000000; 9.7320000000; 0.8997597592; 5.9159054233; -2.6533532901; 1.0000000400; 0.0000000000; 0.8078703403; 0.0000000000;

    So it's good enough that the VI and it works fine until some point when the just VI reads more calculation and x = sheet! There? becomes true.

    Most of the time it happens when the csv file is about 1200 lines

    Someone knows why this happens?

    Best regards

    Stefan

    Hello

    understood, that the error occurs somewhere completely else. the thread may be closed

    BR

    Stefan

  • I have install fallout 3 and the last update (1.7), but when starting a new game, he tell me that windows is having a problem reading it & then it locksup.

    original title: game Fallout 3 on Windows 7 problem

    I have install fallout 3 and the last update (1.7), but when starting a new game, he tell me that windows is having a problem reading it & then it locksup, I have a Toshiba Satellite, Fallout New Vegas works perfectly on my laptop, how can I play Fallout 3, is here to play Fallout 3 on windows 7.

    Hello

    You can see the link provided. It gives information that Fallout 3 is not compatible with Windows 7.

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/search.aspx?l=en-us&type=software&s=fallout%203%20

    Windows 7 Compatibility Center: Fallout 3 http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/search.aspx?l=en-us&type=software&s=%20Fallout%203&OS=32-bit

    You may need to contact the manufacturer of game for support

  • Problem with LabVIEW 9.0f2 and VISA 5.0 on Mac OS x 10.6

    Hello

    I'm using MacOSX 10.6 and Labview 9.0f2. I installed the lates VISA (5.0.0) drivers, as they are the only support OSX 10.6.

    Now, I try to run the "basic series write and read" example and get the following error:

    Error 1073807343 has occurred to the property node (arg 1) visa set up a Serial Port (Instr) .vi-> basic series writing and Read.vi

    Possible reasons: VISA: information about insufficient localization (Hex 0xBFFF0011) or the device or resource is not present in the system.

    As I am a newbie to Labview, I'd appreciate any help on this...

    Thank you

    Daniel

    Hello

    You do not have a device series on behalf of resource, you use to write and read and take?

    Did you check with Max OR and log on to this device.

Maybe you are looking for