Confirm the operation of HS488 with LabVIEW

Hello

I need to confirm if an instrument that I connected to a correctly implemented HS488.

Is there a a way to check this using LabVIEW?

Thank you very much

(Moved to the LabVIEW forum)

Tags: NI Hardware

Similar Questions

  • How to load the 4155B file, run it and record the results to Excel with Labview

    Hi, I need model command support, sending to 4155B using Labview.

    I would like to load the file from the disk on 4155B using Labview. First of all, I tried to write the command using MAX and found that the command that I write to 4155 B contains the error message. "I sent the two GT ' MYFILE P" and : MMEM:LOADTAT 0, filename orders every time to 4155 B, but failed. May I know what kind of command must send to the communication with the instrument?

    Besides, I need to run the content of the file, I should send it OUT @Hp4155; "' XE ' command?

    After running, I need save the result in excel file back.

    Grateful if someone can help. Thanks in advance for your help.

    Kind regards

    Yong

    SH_Yong wrote:

    Hi, I need model command support, sending to 4155B using Labview.

    I would like to load the file from the disk on 4155B using Labview. First of all, I tried to write the command using MAX and found that the command that I write to 4155 B contains the error message. "I sent the two GT ' MYFILE P" and : MMEM:LOADTAT 0, filename orders every time to 4155 B, but failed. May I know what kind of command must send to the communication with the instrument?

    Besides, I need to run the content of the file, I should send it OUT @Hp4155; "' XE ' command?

    After running, I need save the result in excel file back.

    Grateful if someone can help. Thanks in advance for your help.

    Kind regards

    Yong

    The SCPI commands are found in the manual of the instrument.

  • How to find the point of leakage with Labview?

    I use a myRIO to develop a system to help people imapaired in their navigation to visually. I already have the image processing of which is to be acquired by the device (edge detection and research of straight lines).

    How can I end the vanishing point of the two edges of a path to an image with LabVIEW? There is a special function that I can use?

    Thank you!

    The vanishing point is the intersection of two lines, no?

    https://www.Google.com/webhp?SourceID=chrome-instant&ion=1&ESPV=2&IE=UTF-8#q=intersect%20point%20Of%...

  • Cannot bind to the shared object created with LabVIEW 2009

    I have problems referring to a shared library built from a LabVIEW VI under RHEL 5 with LabVIEW 2009.

    To illustrate the problem, I created a VI with a digital input and output that corresponds to a certain number. Then, I created a draft specification of build to create a shared library with a feature that makes use of this VI square. The shared object is created successfully (square.so).

    When I try to compile a test application written in C, that connects to this library, I get errors in the following link:

    cc  -I/usr/local/natinst/nidaqmxbase/include -I/usr/local/natinst/LabVIEW-2009/cintools build/square.so  test.c   -o test/usr/local/lib/liblvrtdark.so.9.0: undefined reference to `std::basic_istream >& std::basic_istream >::_M_extract(float&)@GLIBCXX_3.4.9'/usr/local/lib/liblvrtdark.so.9.0: undefined reference to `std::basic_istream >& std::basic_istream >::_M_extract(double&)@GLIBCXX_3.4.9'/usr/local/lib/liblvrtdark.so.9.0: undefined reference to `std::basic_istream >& std::basic_istream >::_M_extract(double&)@GLIBCXX_3.4.9'/usr/local/lib/liblvrtdark.so.9.0: undefined reference to `std::basic_ostream >& std::basic_ostream >::_M_insert(double)@GLIBCXX_3.4.9'/usr/local/lib/liblvrtdark.so.9.0: undefined reference to `std::basic_istream >& std::basic_istream >::_M_extract(float&)@GLIBCXX_3.4.9'/usr/local/lib/liblvrtdark.so.9.0: undefined reference to `std::basic_ostream >& std::basic_ostream >::_M_insert(double)@GLIBCXX_3.4.9'collect2: ld returned 1 exit statusmake: *** [test] Error 1
    

    Running ldd reveals that liblvrtdark.so.9.0 is used for the execution of labview.

    In order to investigate on what could be the cause of the problem, I have compiled the nidaqmx basic examples, and I don't have an error. Current running ldd as reveals that he uses liblvrtdark.so.8.2 for the view of laboratory, time of execution.

    My suspicion is that some components of labview are being compiled with gcc 3.4 while others are being compiled with gcc 4.1 (which is the default compiler in RHEL 5).

    Any ideas how I could fix the build errors?

    Thanks in advance for your suggestions.

    PS.

    I enclose a tar file with the source files and here are the details of the ldd:

    ldd build/square.so         linux-gate.so.1 =>  (0x008de000)        liblvrtdark.so.9.0 => /usr/local/lib/liblvrtdark.so.9.0 (0x00b9c000)        libc.so.6 => /lib/libc.so.6 (0x00110000)        libstdc++.so.6 => /usr/local/lib/LabVIEW-2009/patchlib/libstdc++.so.6 (0x009a7000)        libm.so.6 => /lib/libm.so.6 (0x00756000)        libdl.so.2 => /lib/libdl.so.2 (0x00256000)        libpthread.so.0 => /lib/libpthread.so.0 (0x0025a000)        /lib/ld-linux.so.2 (0x00b80000)        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00272000)
    
    ldd /usr/local/natinst/nidaqmxbase/lib/libnidaqmxbase.so.3.3.0         linux-gate.so.1 =>  (0x00e50000)        libnidaqmxbaselv.so => /usr/local/lib/libnidaqmxbaselv.so (0x00248000)        libc.so.6 => /lib/libc.so.6 (0x00689000)        /lib/ld-linux.so.2 (0x00b80000)        liblvrtdark.so.8.2 => /usr/local/lib/liblvrtdark.so.8.2 (0x00e51000)        libdl.so.2 => /lib/libdl.so.2 (0x00813000)        libpthread.so.0 => /lib/libpthread.so.0 (0x001b0000)        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x009c7000)        libm.so.6 => /lib/libm.so.6 (0x00b0a000)        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0050c000)
    

    Hi mimi,

    I'm happy to report that I managed to get the code to work. I have included some of the steps I experienced the problem in case it might help improve the documentation or future generations.

    In response to your question about the "error 1" reported by do, it's just an indication that detected a compiler error (it probably resembles the return code of the compiler).

    The errors ' undefined reference... @GLIBCXX_3.4.9 "have been narrowed down. The generated labview shared library, the square.so, links to /usr/local/lib/LabVIEW-2009/patchlib/libstdc++.so.6 which is a symlink to usr/local/lib/LabVIEW-2009/patchlib/libstdc++.so.6.0.9. I decided to compare this version of libstdc ++ that included with RHEL:

    strings /usr/local/lib/LabVIEW-2009/patchlib/libstdc++.so.6 | grep GLIBCXXGLIBCXX_3.4GLIBCXX_3.4.1GLIBCXX_3.4.2GLIBCXX_3.4.3GLIBCXX_3.4.4GLIBCXX_3.4.5GLIBCXX_3.4.6GLIBCXX_3.4.7GLIBCXX_3.4.8GLIBCXX_3.4.9GLIBCXX_FORCE_NEW
    
    strings /usr/lib/libstdc++.so.6 | grep GLIBCXXGLIBCXX_3.4GLIBCXX_3.4.1GLIBCXX_3.4.2GLIBCXX_3.4.3GLIBCXX_3.4.4GLIBCXX_3.4.5GLIBCXX_3.4.6GLIBCXX_3.4.7GLIBCXX_3.4.8GLIBCXX_FORCE_NEW
    

    So libstdc ++ RedHat does not include a string for GLIBCXX_3.4.9.

    With this in mind, I was able to get my test application to compile using the version of LabVIEW libstdc ++ using the following makefile:

    .PHONY: all cleanCPPFLAGS=-I/usr/local/natinst/nidaqmxbase/include -I/usr/local/natinst/LabVIEW-2009/cintoolsLDFLAGS=build/square.so \        /usr/local/lib/LabVIEW-2009/patchlib/libstdc++.so.6 \        -Wl,--rpath -Wl,/usr/local/lib/LabVIEW-2009/patchlib/
    
    all: test
    
    clean:        rm -f test *.o
    

    When you try to run the application, I got the following error:

    ./test: error while loading shared libraries: /usr/local/lib/liblvrtdark.so.9.0: cannot restore segment prot after reloc: Permission denied
    

    But apparently, it's because of SELinux prohibiting the use of libraries shared with moving text.
    This can be disabled by running /usr/sbin/setenforce 0 as root.

    The test application now works!

    See you soon,.

    RW

  • simulate the track access control with labview

    Hello

    I want to simulate a track with labview access control.

    This is the procedure:

    vehicle is located in front of a door, antenna check access control, if that's ok the traffic light turns green and the gate of the student.

    I thank very you much for helping me.

    Hi hot wheels,.

    I think it will be useful for you

  • Version of the operating system incompatible with Startup Repair tool

    I'm trying to reimage dell inspiron 1525. Operating system is Windows Vista. Error received halfway through restoration. Has been reduced to system recovery options. Startup Repair has chosen to be tell version of operating system incompatible with Startup Repair tool. Now I cannot do anything else.

    Hello
     
    1. you use the correct version of the Vista disc to run Startup Repair?

    2 you also all error messages /codes when you startup repair?
     
    I suggest to run the diagnostic tool memory WINRE mode and check if the memory (RAM) installed on the computer works fine.
     
    Follow the steps below to start the computer using the WINRE and run the memory diagnostic tool.
     
    a. Insert the Windows Vista installation disc.
    b. restart your computer.
    c. If prompted, press any key to start Windows from the installation disc.
     
    Note: If your computer is not configured to start from a CD or a DVD, see the documentation provided with your computer. You may need to change your computer's BIOS settings. For more information, see BIOS: frequently asked questions.
     
    d. choose your language settings, and then click Next.
    e. click on repair your computer.
    f. Select the operating system you want to repair, and then click Next.
    g. on the System Recovery Options menu, select the memory diagnostic tool.
     
    Once scanning is complete, check to see if the problem is resolved.
     
    Access the link below to learn more about Windows recovery options in Windows Vista.
     
     
     
    If you have several sticks of RAM installed on the computer, you can try to remove one of the RAM stick and check if it works very well. Also, you try to exchange the RAM sticks and check if one of the RAM is originally this issue and if it needs to be replaced.
     
    Note: If you are not aware of the evolution and swaping the stick of RAM on the computer, it is best to contact the computer manufacturer for help on this and you can do it at your own risk.
     
    You can also contact Dell support and check if you need to replace any hardware.
     
    Aziz Nadeem - Microsoft Support
  • My version of 11 items seems to have corrupted so I deleted and tried to download another copy. The operation has failed with a message "Adobe reader could not open... because it is not a supported type, file or because the file has been damaged."

    My version of 11 items seems to have corrupted so I deleted and tried to download another copy. The operation failed with the message "type of Adobe reader could not open... because it is not a supported or because file that the file has been damaged. Help please!

    You can also download the demo version of the software directly to that linked page below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    Photoshop/Premiere Elements 11: l http://prodesigntools.com/photoshop-elements-11-direct-download-links-pse-premiere-pre.htm

  • With the help of myDAQ with LabVIEW 2012

    LabVIEW 2012 allows the myDAQ? When I run LabVIEW 2011 I can use the DAQ Assistant in LabVIEW and LabVIEW 2012, I do not see the DAQ Assistant Express VI. I've seen drivers does not support LabVIEW 2012 on the site, but I was wondering if anyone knew a way to use the myDAQ with the 2012 version. The myDAQ runs well on my version of 2011, but my students use the 2012 version and are struggling to make it work. I hope that they do not have to reinstall LabVIEW 2011.

    Thanks in advance

    LabVIEW 2012 support has been added with NI ELVISmx 4.4.  You can download and install the driver, which will install DAQmx 9.5.5 and ELVISmx 4.4 support for LabVIEW 2012, allowing you to use the DAQ Assistant and myDAQ in this version.

  • Order the CD or DVD with LabVIEW

    Hi all

    I am interested in the control of my CD/DVD internal PC using LabVIEW. I had a quick glance the forums and Web site of nor and it seems that external CD readers can be ordered using a PXI card and the SCSI interface.

    Research using LabVIEW, I couldn't find any reference to the SCSI but I guess the Protocol must be put up somewhere, as it can be used with PXI card I found referenced in my search.

    Initially, I just open and close the drive - if anyone can offer some advice in the right direction I would appreciate it.

    Also, if anyone is familiar with the level of access provided by SCSI maybe I could get some additional information. For example then it would be useful to be able to control that the speed of the motor of the CD player is regardless - this type of control exposed in SCSI?

    Thanks a lot for your help.

    David

    Open / close, here: https://decibel.ni.com/content/docs/DOC-19732

  • Configure the cDAQ by programming with LabVIEW

    I have a chassis cDAQ with two modules. I want to (for reasons peculiar, too complicated to enter in ) to be wheat to programmatically configure the MAX configuration for it. And I mean everything.

    I need, in my LabVIEW application, to be able to tell MAX to wipe its current configuration, detect the chassis with the two modules, rename the chassis and two modules and create a lot of tasks.

    I'm pretty sure I can create jobs by program, but I had little luck find info on reconfiguring hardware detected programmatically.

    Can it be done?

    Thoric,

    The only way I know to rename the material without using MAX is to import a configuration file with new names for the same hardware.  One version of the configuration file is a. INI file which as you know is very easy to create/edit in LV MAX copy Configuration.vi can move the configuration file in both directions.  I've been playing with it using my cDAQ and it seems to work.

    I could see getting started material and leave the OR to detect it.

    Config for export. INI and change the names of items, etc.

    Import configuration updated the Max and replace the existing configuration

    Here's a quick example of how I did the export/import

  • How to remove the scrollbars Panel sub with LabVIEW 2009 SP1?

    I did a search and found this thread on the subject: http://forums.ni.com/t5/LabVIEW/subpanel-scollbars-in-labview-8-0/m-p/284503/highlight/false#M149983

    I double checked that the horizontal and vertical scroll bars have not been successful in the appearance of window customize and they were not retained as shown in the image below.  You see scroll bars villain in the façade of the image at the bottom.  Of couse, since the code / sw cannot be shown, it has been repainted but you can still see the scroll bars along the frame of the side panel.

    Custom window appearance settings:

    Scroll bars appear at the bottom & right panel sub frame

    Found the solution...

    Right-click the scroll bars and select horizontal scroll bar and select always off.

    Repeat the procedure for the vertical scroll bar.

  • How to add information in the body/attachment email with labview

    Hi, I did a project on the development of a game for seniors. It's something the breaker of brick where the elderly can adjust the size of the ball & speed. The game worked perfectly.

    If it works that way, when I press the button 'Quit' in the game, he supposed to send an email to the caregiver to notify him that the elderly have played the game. And it works.

    But now I have to include more information in the email, for example how fast & the size of the ball, that the elderly were adjusted during the game. Can someone help me on how I should actually Merge the information 'speed & size' adjusted during the game in the email which is supposed to be sent to the caregiver.

    Thank you.

    It's strange. You have said that you are new to LabVIEW, but wrote this program that has structures of the event, parallel loops, queues, manipulation of the 3D image,... and you don't know how to pass the values of two controls a string in a Subvi?

    Size and speed are controlled by the two sliders on the front panel. When you leave, just read their values and forms a chain that you pass in the Subvi email as the body of the message. Your Subvi e-mail already has a mastery of the body on this subject, but it is not connected to a Terminal. You have just it has a default value.

  • Need some clarification on the operation of H323 with VCS-C/E

    We have our points of endpoints connected to the VCS - C with a VCS-E. When an end point called another unit through IP H323 the VCS - C does anything with the video/audio? He plays the intermediaries? Or is the VCS - C just let both units communicate DIRECTLY with each other (even when I see the appeal in calls in course VCS-C)?

    I try to debug problems with call and need some explanation on how it works.

    Thank you

    RB

    By default, call Routed mode should be on.  This means that the installation & signalling through the VCS, but all media streams are direct between endpoints.

    See you soon,.

    Paul R

  • How to send the picture of u with labview

    Hello

    How to send table unsigned 32-bit via UDP.

    How to convert the 32-bit unsigned byte array table.


  • Use the 'Open with' dialog of the operating system

    Whenever I have right click on a file in Xubuntu and choose "open with another application...". "the next dialog box is presented by the operating system:

    https://support.CDN.Mozilla.NET/media/uploads/images/2015-07-29-00-31-36-e5da3e.PNG

    That's nice and I like Firefox/Thunderbird to the same behavior. But if these applications do not have a default application assigned the MIME type of that the following dialog box appears:

    https://support.CDN.Mozilla.NET/media/uploads/images/2015-07-29-00-31-45-80c2c1.PNG

    I don't want to add MIME types to FF, I want to change the window/dialog box that appears when I want to open a file with an application 'other '.
    Is it possible to say that by default, the operating system 'Open with' dialog box should be used?

    Thank you.

    Concerning
    Tim

    you could be wrong here - that points to https://bugzilla.mozilla.org/show_bug.cgi?id=1129873 , that will be fixed in firefox 41 (I have not read all the details it y still)

Maybe you are looking for