MD5 function generates a different checksum than Solaris utility Options

Hi,
I am generating a MD5 checksum as follows:
MD5Init(&md5handle);
in=open("myfile",O_RDONLY);
while (count=read(in,buf,sizeof(buf))>0) {
MD5Update(&md5handle,buf,count);
close(in);
MD5Final(buf,&md5handle);
for (i=0;i<16;++i) printf("%02x",(unsigned char) buf);
printf("\n");
This generates:
32ccd14017f783d031a3be893f18a9d7
However if I:
openssl md5 myfile
MD5(myfile)= 53c6a47024849e652006826a39144892
Can someone explain why the checksums differ? They are calculated from
the same file.
The functions MD5Init, MD5Update, MD5Final are standard Solaris calls
Thanks

Perhaps you need to change while (count=read(in,buf,sizeof(buf))>0) to while ((count=read(in,buf,sizeof(buf)))>0)

Similar Messages

  • How to generate & publish  webhelp html files in different folder than default folder

    Hi All,
    I am new to robo help. I have a requirement to generate & publish webhelp html files in a different folder than default folder.
    Could anyone please tell me the steps to change the folder
    Thanks
    Rashmi

    You change the generate folder and filename in the first field on the first page of the wizard. It must be a folder on your hard disk.
    You change the publish folder in the last page of the wizard. Anywhere you like.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • File permissions different in solaris 10 than solaris 9

    We have created a new solaris 10 zone and are currently testing an application on the zone ( the old application was runnign solaris 9) however i am having problem identifying why a file transferred from the users desktop onto the solaris9 server has the following permissions
    -rw-rw-rw- 1 snt01 user 136621 Jul 2 13:50 SOI_07062012.dat.xml
    and the same file transferred to the new solaris 10 server has the following permissions
    -rw-r--r-- 1 snt01 user 136621 Jun 29 08:13 SOI_07062012.dat.xml
    I have checked the umask and it is 022 on both servers, i have checked the snt01 user on both and they are exactly the same
    snt01:x:103:15:File Transfer - Test User:/appl/utl_file/spool/printlib:/usr/bin/csh
    snt01:x:103:15:File Transfer - Test User:/appl/utl_file/spool/printlib:/usr/bin/csh
    There is no .cshrc or .profile in the users home directory
    .login only has the following line
    logout
    I cannot work out why the file is transferred with a different permissions when the only difference i can see is solaris 9 to 10, does anyone have any ideas?

    I don't know what filezilla does with respect to permissions but given the different results on Solaris 9 and 10 I would check to see if the user's account has the same umask on both machines. It may be that the Solaris 9 account is using a umask or 0000 and Solaris 10 is using 0022 and filezilla is storing files with the default permissions. The "umask" command will report the umask.
    If it isn't the umask, it could be a difference in the filezilla executable across the two systems. Maybe the Solaris 10 one is configured to be a bit more secure.
    You might also check the permissions on the directory. If a "ls -ld" on the directory shows permissions ending with a '+' there is an ACL on the directory which might be having an impact.

  • How can I Generate two different reports from single execution of Test cases in NI teststand

    Hi,
    My requirement is to generate two different reports from NI teststand. One for the Logging of error descriptions and the other report is by default generated by the Teststand. How can i generate a txt file that contains error descriptions other than that mentioned in the default report?
    Solved!
    Go to Solution.

    Do you need to do that just for these two sequences but not for other sequences? I don't see a problem to use SequenceFilePostStepRuntimeError. Create this callback in both sequence files and configure them to log into the same file. SequenceFilePostStepRuntimeError callback is called after each step of the sequence file if it has runtime error. You can access the calling step error information via RunState.Caller.Step.Result.Error property. Take a look to attached example.
    The "other way" is useful if you need to log errors not for every step of the sequence file, but for some of them. This is more complex, because you need to create a custom step types for these steps. For the custom step you can create substeps (post-step in your case) which will be executed every time after step of this type executed. Then, this is you job to determine if error happened in the step, acces to step's error information is via Step.Result.Error property. 
    Also, be aware that step's post-expression is not executed in case of error in the step.
    Sergey Kolbunov
    CLA, CTD
    Attachments:
    SequenceFilePostStepRuntimeError_Demo.seq ‏7 KB

  • Exposure to the right results in different TRC than normal exposure

    Exposure to the right is advocated by most experts to improve tonality and dynamic range. On the Luminous Landscape a photographer noted that ETTR all the way to the right followed by negative exposure correction in ACR produces a different image than is produced by normal exposure, and that he preferred the latter image.
    Luminous Landscape Thread
    Most responders to this post postulated that, since ACR is operating on linear data, underexposure by 1 EV followed by a 1 EV boost in ACR would produce the same results.
    I had some exposures of a Stouffer step wedge. The first was exposed so that step 1 has a pixel value of 250 when converted with ACR at default settings into aRGB. This is exposed to the right as far as possible. A second exposure placed the same step at 221, and this step was brought back to 250 in ACR, which required an exposure compensation of +1.05 EV.
    If you compare the resultant images in Photoshop using the difference blending mode, the differences too dark to make out on the screen, but can be detected with the eye dropper. In this image, normal exposure to the right is on top, and the difference between normal exposure and underexposure followed by a boost of 1 EV in ACR is shown on the bottom.
    The different resulting tone response curves are better shown by Imatest plots of the two images. As is evident the TRCs are different, contrary to my expectation. Comments are invited.

    The ETTR Myth
    ETTR is short for expose to the right. Some folks have promoted it as a replacement for traditional exposure metering. The premise is that you can validate camera metering by simply reading the histogram in the cameras preview window.
    Unfortunately, it is based on some basic misunderstandings about digital photographic technology. The first misunderstanding is the premise that each bit level in a digitally encoded image represents an exposure stop. The second misunderstanding is the premise that all digital cameras capture light in a perfectly linear fashion. The third misunderstanding is the premise that the histogram represents the raw image data captured by the camera. I will briefly address each of these.
    Any correlation between exposure stops and digital bit levels can only be accidental at best. The total exposure range in a scene or an image is correctly known as the dynamic range. The dynamic range of digital cameras is wider than most folks assumes and usually equal to or better than film or paper. It can be defined in terms of tone density, decibels, or exposure stops. It is a function of the optics and sensor electronics in the camera. The few cases where an accurate range is provided by the vendors, it varies from 8 to 12 f/stops.
    The image data is converted from analog measurements by the analog/digital (A/D) circuits early in the capture. This can wind up as an 8-bit, 12-bit, 14-bit, or even 16-bit digital value depending on the camera and its user settings. It is simply a number that has been digitized. Any correlation between bits and exposure levels is pure speculation, end of subject.
    Second, the digital capture of light is not strictly linear. It is true that the silicon sensor itself will capture light in a very linear fashion. But this ignores reciprocity at the toe and heel of the extremes, the quantum efficiency of the substrate, and most importantly it ignores the optical filters in front of the sensor. If the color filter array were linear it would be impossible to reconstruct colors. And these are not the only optical filters in your camera. Then, the A/D circuits have gain controls based on the current ISO setting. And some A/D circuits perform some pre-processing based on the illuminant color temperature (white balance) and limited noise reduction based on the ISO setting. The point is that there are many steps in the pipeline that can introduce non-linearity.
    Finally, the image in the preview window has been color rendered and re-sampled down to a small size. This is the data shown in the histogram. The camera can capture all colors in the spectrum, but the rendered image is limited to the gamut of an RGB color space. So, in addition to exposure clipping the histogram will include gamut clipping. This is also true for the blinking highlight and shadow tools. This might imply an exposure problem when none exists. There is no practical way to map all the data in a raw image into a histogram that you could use effectively in the preview window.
    If you capture an image of a gray scale chart that fits within the dynamic range of the camera, at the right exposure, you can create a linear graph of the raw data. But if you underexpose or overexpose this same image, the graph will not be linear and it is unlikely that software will be able to restore true linearity. End of subject.
    If you typically shoot JPG format, the histogram will accurately represent the image data. But clipping can still be from either gamut or exposure limits. If you typically shoot RAW format, the cameras histogram is only an approximation of what the final rendered image might look like. There is a significant amount of latitude provided by the RAW image editor. This is probably why you are shooting RAW in the first place.
    So, in closing, I am not saying that histograms are bad. They are part of a wonderful toolkit of digital image processing tools. I am saying ETTR is not a replacement for exposure metering. If you understand what the tone and color range of the scene is, you can evaluate the histogram much better. And if you master traditional photographic metering, you will capture it more accurately more often.
    I hope this clears up my previous statements on this subject. And I hope it explains why I think ETTR and linear capture are based more on technical theology than on technical fact.
    Cheers, Rags :-)

  • Elvis: Is It possible to use the Function Generator and the Oscilloscope simultaneously?

    Hi,
     We are using the NI Elvis to output a function or a sine wave at a certain frequency and using the oscilloscope on the same board/elvis to read a modified signal. Is this possible? Can we use both the Function Generator and the oscilloscope at the same time? Please help. The oscilloscope would be reading signal from an accelerometer. Thank you in advance. We have no VI as we do not know which to use and if they are possible.

    Hi,
    There is no problem using the Function Generator and Oscilloscope
    at the same time with NI ELVIS. Using the NI ELVIS soft front panels (Start
    >> Programs >> National Instruments >> NI ELVIS 3.0 >>
    NI ELVIS – see picture attached –‘NI ELVIS soft front panels.JPG’), you can choose
    to open more than one instrument at a time. We do this by opening one
    instrument, allowing it to begin, and then opening another. We can also program
    in LabVIEW using more than one instrument at a time by placing down multiple
    Express VI’s taken from the NI ELVIS pallet on the block diagram (see picture
    attached – ‘ELVIS Express VI's (LabVIEW).JPG’). One note when doing this,
    please see KB 41ODPHX1 
    for an example of how to program in parallel. If you do not wire the ‘stop’
    terminal of the express VI’s, you will get the error described.
    David L.
    Systems Engineering
    National Instruments
    Attachments:
    ELVIS Express VI's (LabVIEW).JPG ‏74 KB
    NI ELVIS soft front panels.JPG ‏56 KB

  • Create a melody with Labview/ Function Generator

    Hi (first sorry for poor english, not my native language)
    I have a project at school which is creating a melody using Labview and a function generator. I've worked on it for hours now and i still can't get through it.
    I joined the vi file with my post so you can get a look at what i've done so far.
    First, i do'nt know which loop i have to use (u'll understand soon enough if u just take a look at the vi file), the problem is that i want to create 4 arrays using 2 text files.
    The first one is used as a reference : exemple the frequency to play an A is 440Hz, so my first text file looks like that :
    A 440
    B 493
    the second one is my melody, which includes the notes and the tempo (in ms)
     , so it's like :
    B 1000
    C 1500
    I used the first two loops to seperate each string lines of my files so I have at the end 4 different arrays. One containing the note's references, one containing the frequency, one containing my melody's notes and one containing the duration of each notes.
    The problem is that when I use a while loop, it seems that my arrays are not containing every elements it should, it only has the last one. Just try to run the vi file.
    Could anyone give me some help ? Don't hesitate to ask more questions if u didn't fully understand my problem !
    Thx
    Attachments:
    PR.vi ‏19 KB

    Hi claudeuntel,
    Your array contains just the last note because at each for loop iteration a new table is created.
    You have to send the table you created at one iteration to the next one.
    To do this you can use shift register.
    I didn't have tested the VI below but it should looks like that.
    Valentin
    Valentin
    Certified TestStand Architect
    Certified LabVIEW Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • Proportional controller connected to a function generator

    Hi....
    We'd like to connect some output from a proportional controller to a function generator which
    produces a square pulse with variable duty cycle.
    The question is what proportional controller to use here and if there is any examples related?
    And how to produce this square pulse with a high frequency, while some controllers do not support
    any thing more than 1kHz? In addition, if it exceeded this, something wrong happens to the output and disappears?
    Thanks in advance
    Ray

    Ray,
    Please be more specific in your description. Proportional controllers usually do not connect to function generators so it is not clear exactly what you are trying to accomplish.
    Which parts of your system are hardware and what kind? Which are implemented in LV (which version)? What are the inputs and outputs to both the hardware and software? What frequency range do you need? If you have specific problems with a part of your LV program, posting an example showing the problem is very helpful.
    When you say the output disappears, do you mean that the pulses stop? That may simply indicate a 0% or 100% duty cycle.
    Many inidviduals with a wide range of experience monitor this forum and will try to help if we understand what you are trying to do.
    Lynn

  • DC offset problems in NI-5401 function generator card

    When i give a Dc offset of 1 Volt the output of my function generator reads 1.97v. what is the reason behind this,why is it so what setting have to be made so as to get the dc ofset only when no ac signal is given.

    Hi. The NI 5401?s output voltage is specified in terms of 50 ohms. This means for a 50 ohm load, you should see 1.0 Volts for a 1.0 Volt setting when the load is 50 ohms. For an other than 50 ohm load, there is a voltage divider action that takes place, where the voltage will vary up to double the size for a high impedance load, such as most default oscilloscope settings. The Connecting Signals>>ARB Connector section of Chapter 1 of the NI 5401 user manual describes this in further detail.
    To generate just a DC voltage level, there is an option for DC as the Waveform to use when programming the device. The LabVIEW niFgen Function Generator Example shows this on the front panel. If you are using the Sources Soft Front Panel, when the Standard Function Output is se
    lected, there is a DC Voltage level selection button available to be selected to generate a DC voltage.

  • ORA-01189: file is from a different RESETLOGS than previous files

    Hi,
    I am trying to clone a database A from B.. the cloning is on the same server.. they are both oracle 8i databases... my OS is sun solaris 8...
    I followed the steps outlined in the following article:
    http://www.samoratech.com/TopicOfInterest/swCloneDB.htm
    Now, while creating the control file on target server, i am getting the erorr:
    CREATE CONTROLFILE SET DATABASE "GNXDBT02" RESETLOGS NOARCHIVELOG
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01189: file is from a different RESETLOGS than previous files
    ORA-01110: data file 40: '/dbase17/oradata/gnxdbt02/ts_objs_vlarge_06.dbf'
    It means that the file is from a time before a prev. resetlogs and hence is invalid.. I don't have a old copy of this file before prev. reset logs.. so in that case what options can i apply to open the DB and also not lost the data in that datafile?
    thx

    Hi,
    According to documentation:
    Cause: In a CREATE CONTROLFILE command, either this file or all previous
    files were backups from before the last RESETLOGS.
    This also may occur if this is a file that is offline and has been
    offline since before the last RESETLOGS.
    Action: If the file was taken offline normally before the last RESETLOGS and
    is still offline, omit it from the CREATE CONTROLFILE command.
    Rename and online the file after the database is open.
    Otherwise, find the version of the mentioned file consistent with the
    rest of the datafiles and retry the command.
    If is the case, you can try edit the CREATE CONTROLFILE script, omit the erroring datafile listed in the ORA-1110 error, from the CREATE CONTROLFILE script, rerun the CREATE CONTROLFILE script and after the database is open, rename and manually online the erroring datafile.
    Cheers

  • How do I use OracleMaps Javascript API from a different host than MapViewer

    Hello,
    I have successfully set up the Mapviewer quick start 10131, and am able to view the sample page showMap.html perfectly. I would like to run this same sample on a different server than where Mapviewer is installed. Let say mapviewer is installed on jstraub-winsvr:8888 and I want to run showMap.html from jstraub-linux1:7777. I tried changing the function showMap and the location to oraclemaps like the following:
    <script language="Javascript" src="http://jstraub-winsvr:8888/mapviewer/fsmc/jslib/oraclemaps.js"></script>
    function showMap()
    var baseURL = "http://jstraub-winsvr:8888/mapviewer";
    var mapCenterLon = -122.45;
    var mapCenterLat = 37.6706;
    var mapZoom = 4;
    var mpoint = MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,8307);
    var mapview = new MVMapView(document.getElementById("map"), baseURL);
    mapview.addBaseMapLayer(new MVBaseMap("mvdemo.demo_map"));
    mapview.setCenter(mpoint);
    mapview.setZoomLevel(mapZoom);
    mapview.display();                
    Now when I try running this page on jstraub-linux1:7777 I get a Javascript error, and in Firebug, I can see that there are request like the following:
    POST: http://jstraub-linux1:7777/mapviewer/ReturnLocaleOper
    GET: http://jstraub-linux1:7777/mapviewer/mcserver?xml_request=%3C?xml+version=%221.0%22+standalone=%22yes%22?%3E%3Cmap_cache_admin_request%3E%3Cget_client_config+map_cache_names=%22mvdemo.demo_map%22+format=%22JSON%22/%3E%3C/map_cache_admin_request%3E
    Obviously those requests are bogus since mapviewer is at jstraub-winsvr:8888 and not jstraub-linux1:7777, I just want to run the page from jstraub-linux1:7777. Anybody know how I do this?
    Regards,
    Jason

    I believe that I am having the same problem. While I don't yet have a resolution, I do have a bit more information that may be useful. I have examined the oraclemaps.js script file and found some relevant references to the Javascript document.location object. As I watch the script execute, it seems that the author has made the assumption that the page served to the user has been served from the same Oracle Application Server running MapViewer. I have listed the lines that contain references to document.location below. (The line numbers may be off by a line or two as I have made some minor changes to facilitate my investigation.)
    Line 742 : //_f16._f104="http://"\+document.location.host\+"/mapviewer/foi";
    Line 6280 : var x2=String(document.location);
    Line 10270 : var x40=String(document.location);
    By changing line 742 to...
    f16.f104="http://mymvserver:8888/mapviewer/foi";
    ...I believe I have the script looking in the right place. (Previously, it had been looking for /mapviewer/foi on the server that originally served the page.)
    The x2 variable (at line 6280) seems to provide the current document location as a means to determine the MapViewer URL. Once again, the author seems to presume that MapViewer is found on the same server that originally served the page.
    this._f53=x2.substring(0,x3\+x5\+2)+"/mapviewer";
    I changed this line to read:
    this._f53="http://mymvserver:8888/mapviewer";
    Having made these changes, I have moved past the "object not found"-types of errors I had been getting. I now get "Permission Denied" errors which, I am thinking, may be the result of cross-site scripting problems predicted by the previous poster.
    So, my question is this: Is it really expected that the page that integrates the map display must be served by the same Oracle Application Server instance on which MapViewer is running? This strikes me as an absurd limitation, so I assume it is not the case. Indeed, there is a post on this forum by another user who claims to have written an ASP.Net application that uses the Javascript interface to integrate MapViewer and the map display ( Link:securing mapviewer ). This is precisely what we are trying to do; but I have yet to determine how to go about doing it.
    Can this be done? Is there any documentation that describes how to accomplish this?

  • Problems with the Stanford Reseach Systems DS345 Function Generator

    I'm writing a labview program that will allow operation of the Stanford Reseach Systems DS345 Function Generator. The problem that I'm having is in the amplitude calculation. The way the driver finds the amplitude is by recieving an array of what are essentially y-coordiantes (on a cartesian graph system), finding the max and min of the array, and subtracting them.
    This is where the problem lies. I've designed my program so I can type in an equation, see the graph of this equation, and send the y values into a the subvi provided by the driver. This subvi is the one that finds the amplitude...etc and sends it to the oscilliscope. However, when I use a formula for something as simple as sin(x), it caclulates the amplitude as 2. This is because the max/min values of sin(x) are 1 and -1. So the function generator reads in an amplitude of 2. This amplitude of 2 results in a sine wave that oscillates between 2 and -2. Obviously, this is not what I'm looking for. I know by dividing the sine wave coordiantes by 2, or just using the max/min value to be sent to the function generator as the amplitude will work in this case, but not for all cases (ex: sin(x)*e^(-3x). I'd appreciate any suggestions on how to fix this amplitude problem for all cases.
    In addition to having this sine function, I wrote a subvi that essentially generates a series of pulses depending on the user preferences. It's relativly complicated to explain how it works, but it just sends an array of y-coordinates (similar to above, and they are sent to the same subvi to be sent to the function generator). This array is the one that truly puzzles me.
    For example, I have a single pulse, with height 5. The y array is 10 places big. At index 0 to 3, the y value is 0. At 4 to 6, the value is 5. And from index 7 to 9, the index is zero again (Imagine a pulse "_|-|_" , it may help understand this).
    I send this array of 10 places to the same subvi as the one described in the sine function earlier. I would expect the amplitude to go in as five (max - min), and it does. However, when determining the actual value from the oscilliscope, it turns out to be 10.8 peak to peak voltage. The values range from -.8 volts to 10 volts. I can't imagine why they do not range from 0 to five as specified in the array which is sent.
    If anyone has any answers, suggestions or questions concering this description, I would greatly appreciate it. Feel free to post answers or email me at: [email protected]
    I'll be more than happy to post the files if someone wants to look at them.
    Thanks again,
    Jim Dalton
    North American Lighting
    [email protected]

    I am taking these measurments using the measurment and automation explorer test function. I set my range on all channels to 0-8khz and Have been inputing no more than 8khz. What leads me to believe I have a software or config problem is that I sent in a module to NI for repair and this is the brand new one they sent me back. While testing this module, I also have a 1102 module and 1124 module on the scxi-1000 chasis and both of those are working as specified. I also moved the 1126 module to slot 1 and ran it that way as well when I replaced the chasis.

  • HELP! opencascade error when making, different problem than usual

    Dont be intimidated my the make log, it all ran well exept for this part, so i dont think u will need to read the rest
    i think the problem is the "*** missing separator. stop" in the first line after TKMATH
    Making all in TKMath
    make[3]: Entering directory `/home/corex/build/opencascade/src/ros/adm/lin/amk/TKMath'
    make[3]: Leaving directory `/home/corex/build/opencascade/src/ros/adm/lin/amk/TKMath'
    make[2]: Leaving directory `/home/corex/build/opencascade/src/ros/adm/lin/amk'
    make[1]: Leaving directory `/home/corex/build/opencascade/src/ros'
    for some reason it does not show when i wrote makepkg &> opencascade.log, but its there, it there anyway to make a better log and find out where the spaces are instead of tab(i looked online and found that the error means that there were spaced where there should be a tab) is it possible for me to bdstar the OpenCASCADE660.tgz, make the apropriate changes, and then repkg it for make? or is there an easyer way, or something i dont know, pls help.
    make log
    probably to much, but it never hurts. i think the problem is the "*** missing separator. stop" in the first line after TKMATH
    ====================================================== aclocal
    ====================================================== libtoolize
    ====================================================== autoheader
    ====================================================== automake
    ====================================================== autoconf
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether gcc understands -c and -o together... yes
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for library containing strerror... none required
    checking whether byte ordering is bigendian... no
    checking how to print strings... printf
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
    checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether gcc and cc understand -c and -o together... yes
    checking for gawk... (cached) gawk
    checking whether ln -s works... yes
    checking for bison... bison -y
    checking whether make sets $(MAKE)... (cached) yes
    checking for ANSI C header files... (cached) yes
    checking  for C header files ... checking for dlfcn.h... (cached) yes
    checking dl.h usability... no
    checking dl.h presence... no
    checking for dl.h... no
    checking ieeefp.h usability... no
    checking ieeefp.h presence... no
    checking for ieeefp.h... no
    checking time.h usability... yes
    checking time.h presence... yes
    checking for time.h... yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking pwd.h usability... yes
    checking pwd.h presence... yes
    checking for pwd.h... yes
    checking sys/statvfs.h usability... yes
    checking sys/statvfs.h presence... yes
    checking for sys/statvfs.h... yes
    checking sys/vfs.h usability... yes
    checking sys/vfs.h presence... yes
    checking for sys/vfs.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking osfcn.h usability... no
    checking osfcn.h presence... no
    checking for osfcn.h... no
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking net/if.h usability... yes
    checking net/if.h presence... yes
    checking for net/if.h... yes
    checking sys/systeminfo.h usability... no
    checking sys/systeminfo.h presence... no
    checking for sys/systeminfo.h... no
    checking sys/utsname.h usability... yes
    checking sys/utsname.h presence... yes
    checking for sys/utsname.h... yes
    checking sysent.h usability... no
    checking sysent.h presence... no
    checking for sysent.h... no
    checking for unistd.h... (cached) yes
    checking sys/unistd.h usability... yes
    checking sys/unistd.h presence... yes
    checking for sys/unistd.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking ndir.h usability... no
    checking ndir.h presence... no
    checking for ndir.h... no
    checking sys/ndir.h usability... no
    checking sys/ndir.h presence... no
    checking for sys/ndir.h... no
    checking sys/dir.h usability... yes
    checking sys/dir.h presence... yes
    checking for sys/dir.h... yes
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking sys/signal.h usability... yes
    checking sys/signal.h presence... yes
    checking for sys/signal.h... yes
    checking sigfpe.h usability... no
    checking sigfpe.h presence... no
    checking for sigfpe.h... no
    checking floatingpoint.h usability... no
    checking floatingpoint.h presence... no
    checking for floatingpoint.h... no
    checking sys/machsig.h usability... no
    checking sys/machsig.h presence... no
    checking for sys/machsig.h... no
    checking sys/siginfo.h usability... no
    checking sys/siginfo.h presence... no
    checking for sys/siginfo.h... no
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking for strings.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking sys/sem.h usability... yes
    checking sys/sem.h presence... yes
    checking for sys/sem.h... yes
    checking sys/ipc.h usability... yes
    checking sys/ipc.h presence... yes
    checking for sys/ipc.h... yes
    checking sys/times.h usability... yes
    checking sys/times.h presence... yes
    checking for sys/times.h... yes
    checking dirent.h usability... yes
    checking dirent.h presence... yes
    checking for dirent.h... yes
    checking getopt.h usability... yes
    checking getopt.h presence... yes
    checking for getopt.h... yes
    checking sys/vnode.h usability... no
    checking sys/vnode.h presence... no
    checking for sys/vnode.h... no
    checking  for C++ header files ... checking istream usability... yes
    checking istream presence... yes
    checking for istream... yes
    checking ostream usability... yes
    checking ostream presence... yes
    checking for ostream... yes
    checking for istream... (cached) yes
    checking fstream usability... yes
    checking fstream presence... yes
    checking for fstream... yes
    checking ios usability... yes
    checking ios presence... yes
    checking for ios... yes
    checking iomanip usability... yes
    checking iomanip presence... yes
    checking for iomanip... yes
    checking iostream usability... yes
    checking iostream presence... yes
    checking for iostream... yes
    checking stream.h usability... no
    checking stream.h presence... no
    checking for stream.h... no
    checking strstream.h usability... no
    checking strstream.h presence... no
    checking for strstream.h... no
    checking istream.h usability... no
    checking istream.h presence... no
    checking for istream.h... no
    checking ostream.h usability... no
    checking ostream.h presence... no
    checking for ostream.h... no
    checking fstream.h usability... no
    checking fstream.h presence... no
    checking for fstream.h... no
    checking for stdlib.h... (cached) yes
    checking ios.h usability... no
    checking ios.h presence... no
    checking for ios.h... no
    checking iostream.h usability... no
    checking iostream.h presence... no
    checking for iostream.h... no
    checking iomanip.h usability... no
    checking iomanip.h presence... no
    checking for iomanip.h... no
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking values.h usability... yes
    checking values.h presence... yes
    checking for values.h... yes
    checking float.h usability... yes
    checking float.h presence... yes
    checking for float.h... yes
    checking siginfo.h usability... no
    checking siginfo.h presence... no
    checking for siginfo.h... no
    checking bits/sigset.h usability... yes
    checking bits/sigset.h presence... yes
    checking for bits/sigset.h... yes
    checking bstring.h usability... no
    checking bstring.h presence... no
    checking for bstring.h... no
    checking for sys/types.h... (cached) yes
    checking sys/select.h usability... yes
    checking sys/select.h presence... yes
    checking for sys/select.h... yes
    checking X11/extensions/transovl.h usability... no
    checking X11/extensions/transovl.h presence... no
    checking for X11/extensions/transovl.h... no
    checking X11/extensions/readdisplay.h usability... no
    checking X11/extensions/readdisplay.h presence... no
    checking for X11/extensions/readdisplay.h... no
    checking for X11/extensions/multibuf.h... yes
    checking sys/filio.h usability... no
    checking sys/filio.h presence... no
    checking for sys/filio.h... no
    checking sys/mman.h usability... yes
    checking sys/mman.h presence... yes
    checking for sys/mman.h... yes
    checking libc.h usability... no
    checking libc.h presence... no
    checking for libc.h... no
    checking pthread.h usability... yes
    checking pthread.h presence... yes
    checking for pthread.h... yes
    checking for pthread_create in -lpthread... yes
    checking for dlopen in -ldl... yes
    checking if platform is 64-bit... no
    checking for tclConfig.sh... "/usr/lib/tclConfig.sh"
    checking tcl.h usability... yes
    checking tcl.h presence... yes
    checking for tcl.h... yes
    checking for tkConfig.sh... "/usr/lib/tkConfig.sh"
    checking tk.h usability... yes
    checking tk.h presence... yes
    checking for tk.h... yes
    checking for size_t... yes
    checking whether struct tm is in sys/time.h or time.h... time.h
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for working memcmp... yes
    checking return type of signal handlers... void
    checking for gethostname... yes
    checking for putenv... yes
    checking for re_comp... yes
    checking for regcomp... yes
    checking for strcspn... yes
    checking for strdup... yes
    checking for strtol... yes
    checking for statfs... yes
    checking for statvfs... yes
    checking if it is OK to define stream input and output... no
    checking if class ostream has member function form... no
    checking if union semun is defined in <sys/sem.h>... no
    checking if function semop takes a value... no
    checking if function semctl takes a value... no
    checking for mallinfo in -lmalloc... no
    checking for ieee_handler in -lsunmath... no
    checking for finite in -lm... yes
    checking for jni_md.h in /usr/lib/jvm/java-7-openjdk/include... /usr/lib/jvm/java-7-openjdk/include/linux/jni_md.h
    checking jni.h usability... yes
    checking jni.h presence... yes
    checking for jni.h... yes
    checking java JNI version >= 1.2... yes
    checking for X... libraries , headers
    checking for XCreateWindow in -lX11... yes
    checking X11/Xmu/Xmu.h usability... yes
    checking X11/Xmu/Xmu.h presence... yes
    checking for X11/Xmu/Xmu.h... yes
    checking for XmuLookupStandardColormap in -lXmu... yes
    checking GL/gl.h usability... yes
    checking GL/gl.h presence... yes
    checking for GL/gl.h... yes
    checking GL/glu.h usability... yes
    checking GL/glu.h presence... yes
    checking for GL/glu.h... yes
    checking for _GLUfuncptr... yes
    checking for glClear in -lGL... yes
    checking for gluSphere in -lGLU... yes
    configure: try system freetype
    checking ft2build.h usability... yes
    checking ft2build.h presence... yes
    checking for ft2build.h... yes
    checking for FT_Init_FreeType in -lfreetype... yes
    configure: try system ftgl
    checking ftgl.h usability... yes
    checking ftgl.h presence... yes
    checking for ftgl.h... yes
    checking for FTGLTextureFont in -lftgl... yes
    CC       = gcc
    CXX      = g++
    CFLAGS   = -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -fexceptions -O2
    CXXFLAGS = -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -DCSFDB -DOCC_CONVERT_SIGNALS -DLIN -DLININTEL -D_GNU_SOURCE=1 -O2
    CPPFLAGS = -D_FORTIFY_SOURCE=2 -I/usr/lib/jvm/java-7-openjdk/include -I/usr/lib/jvm/java-7-openjdk/include/linux -DNDEBUG  -DNo_Exception
    LDFLAGS  = -Wl,-O1,--sort-common,--as-needed,-z,relro -lstdc++ -lrt
    3rdparty mandatory products       
    freetype      : yes
    tcltk         : yes
    3rdparty optional products       
    gl2ps         : no (--with-gl2ps=DIR option was not defined)
    freeimage     : no (--with-freeimage=DIR option was not defined)
    tbb includes  : no (--with-tbb-include=DIR option was not defined)
    tbb libraries : no (--with-tbb-library=DIR option was not defined)
    qt            : no (--with-qt=DIR option was not defined)
    Component                   Build
    FoundationClasses           yes
    ModelingData                yes
    ModelingAlgorithms          yes
    Visualization               yes
    ApplicationFramework        yes
    DataExchange                yes
    Draw                        yes
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating adm/lin/amk/Makefile
    config.status: creating custom_amk.sh
    config.status: creating adm/lin/amk/TKernel/Makefile
    config.status: creating adm/lin/amk/TKMath/Makefile
    config.status: creating adm/lin/amk/TKAdvTools/Makefile
    config.status: creating adm/lin/amk/TKG2d/Makefile
    config.status: creating adm/lin/amk/TKG3d/Makefile
    config.status: creating adm/lin/amk/TKGeomBase/Makefile
    config.status: creating adm/lin/amk/TKBRep/Makefile
    config.status: creating adm/lin/amk/TKGeomAlgo/Makefile
    config.status: creating adm/lin/amk/TKTopAlgo/Makefile
    config.status: creating adm/lin/amk/TKPrim/Makefile
    config.status: creating adm/lin/amk/TKBO/Makefile
    config.status: creating adm/lin/amk/TKBool/Makefile
    config.status: creating adm/lin/amk/TKHLR/Makefile
    config.status: creating adm/lin/amk/TKFillet/Makefile
    config.status: creating adm/lin/amk/TKOffset/Makefile
    config.status: creating adm/lin/amk/TKFeat/Makefile
    config.status: creating adm/lin/amk/TKMesh/Makefile
    config.status: creating adm/lin/amk/TKXMesh/Makefile
    config.status: creating adm/lin/amk/TKShHealing/Makefile
    config.status: creating adm/lin/amk/TKService/Makefile
    config.status: creating adm/lin/amk/TKV3d/Makefile
    config.status: creating adm/lin/amk/TKOpenGl/Makefile
    config.status: creating adm/lin/amk/TKMeshVS/Makefile
    config.status: creating adm/lin/amk/TKNIS/Makefile
    config.status: creating adm/lin/amk/TKVoxel/Makefile
    config.status: creating adm/lin/amk/PTKernel/Makefile
    config.status: creating adm/lin/amk/TKPShape/Makefile
    config.status: creating adm/lin/amk/TKCDF/Makefile
    config.status: creating adm/lin/amk/TKLCAF/Makefile
    config.status: creating adm/lin/amk/TKCAF/Makefile
    config.status: creating adm/lin/amk/TKBinL/Makefile
    config.status: creating adm/lin/amk/TKXmlL/Makefile
    config.status: creating adm/lin/amk/TKShapeSchema/Makefile
    config.status: creating adm/lin/amk/TKPLCAF/Makefile
    config.status: creating adm/lin/amk/TKBin/Makefile
    config.status: creating adm/lin/amk/TKXml/Makefile
    config.status: creating adm/lin/amk/TKPCAF/Makefile
    config.status: creating adm/lin/amk/FWOSPlugin/Makefile
    config.status: creating adm/lin/amk/TKStdLSchema/Makefile
    config.status: creating adm/lin/amk/TKStdSchema/Makefile
    config.status: creating adm/lin/amk/TKTObj/Makefile
    config.status: creating adm/lin/amk/TKBinTObj/Makefile
    config.status: creating adm/lin/amk/TKXmlTObj/Makefile
    config.status: creating adm/lin/amk/TKXSBase/Makefile
    config.status: creating adm/lin/amk/TKSTEPBase/Makefile
    config.status: creating adm/lin/amk/TKSTEPAttr/Makefile
    config.status: creating adm/lin/amk/TKSTEP209/Makefile
    config.status: creating adm/lin/amk/TKSTEP/Makefile
    config.status: creating adm/lin/amk/TKIGES/Makefile
    config.status: creating adm/lin/amk/TKXCAF/Makefile
    config.status: creating adm/lin/amk/TKXCAFSchema/Makefile
    config.status: creating adm/lin/amk/TKXDEIGES/Makefile
    config.status: creating adm/lin/amk/TKXDESTEP/Makefile
    config.status: creating adm/lin/amk/TKSTL/Makefile
    config.status: creating adm/lin/amk/TKVRML/Makefile
    config.status: creating adm/lin/amk/TKXmlXCAF/Makefile
    config.status: creating adm/lin/amk/TKBinXCAF/Makefile
    config.status: creating adm/lin/amk/TKDraw/Makefile
    config.status: creating adm/lin/amk/TKTopTest/Makefile
    config.status: creating adm/lin/amk/TKViewerTest/Makefile
    config.status: creating adm/lin/amk/TKXSDRAW/Makefile
    config.status: creating adm/lin/amk/TKDCAF/Makefile
    config.status: creating adm/lin/amk/TKXDEDRAW/Makefile
    config.status: creating adm/lin/amk/TKTObjDRAW/Makefile
    config.status: creating adm/lin/amk/TKQADraw/Makefile
    config.status: creating adm/lin/amk/DRAWEXE/Makefile
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands
    (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/corex/build/opencascade/src/ros/make/missing autoheader)
    rm -f stamp-h1
    touch config.h.in
    cd . && /bin/sh ./config.status config.h
    config.status: creating config.h
    config.status: config.h is unchanged
    make  all-recursive
    make[1]: Entering directory `/home/corex/build/opencascade/src/ros'
    Making all in adm/lin/amk
    make[2]: Entering directory `/home/corex/build/opencascade/src/ros/adm/lin/amk'
    Making all in TKernel
    make[3]: Entering directory `/home/corex/build/opencascade/src/ros/adm/lin/amk/TKernel'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/corex/build/opencascade/src/ros/adm/lin/amk/TKernel'
    Making all in TKMath
    make[3]: Entering directory `/home/corex/build/opencascade/src/ros/adm/lin/amk/TKMath'
    make[3]: Leaving directory `/home/corex/build/opencascade/src/ros/adm/lin/amk/TKMath'
    make[2]: Leaving directory `/home/corex/build/opencascade/src/ros/adm/lin/amk'
    make[1]: Leaving directory `/home/corex/build/opencascade/src/ros'

    When you are fixing your first post to include the code tags as jasonwryan said above, editing the first post will allow you to edit the title.  Please remove the "HELP!" from your title.  It is irritating considering that these forums are mostly used as support forums.  Trying to yell louder than everyone else is not going to get you more attention here, and likley will just attract the wrong attention.

  • Creating two sin signals using function generator.vi example

    hi all. i want to create two sin signals with different parameters using function generator.vi example. i tried to modify the example by copying the code and try to output two sin signals on different channels of the DAQ but error message saying that you are validating of the AO write buffer . attached is the file. how can i modify it to solve the problem?!
    Attachments:
    function_generator2.vi ‏123 KB

    Nidal,
    Below is an example that illustrates how to generate different sine waves on two separate analog output channels.
    Example

  • Send data using exel file to function generator

    Hi all,
    I have one function generator which I controll with LabVIEW, I attached here the simple code.
    I would like that code read some data from exel file .
    May you please help me?
    Thanks
    Attachments:
    DG4000General.vi ‏43 KB

    I used different example like the one that I attached but I can not connect with m device.
    Now I can read my datas from Exel but how can I send to generator?
    I really confused.
    thanks in advance
    Attachments:
    Untitled 1.vi ‏34 KB

Maybe you are looking for