Changes in Labview.lib between 6.0.2 and 6.1 ?

I recently installed 6.1 and tried to run out test system. The error DSPtrAndHand occured in Labview.lib and lv was shut down. I looked at the labview.lib files both in 6.0.2 and 6.1 and the lib file was twice as big in 6.0.2. I am not an expert on the system but i think that we have an external code that calls the function DSPtrAndHand which seems to be some kind of memcopy. This function seems to have disappeared in 6.1. We have tried to recompile with the new labview.lib and the linker warns that DSPtrAndHand cannot be found.
Br
Johan N

cornholio wrote:
> I recently installed 6.1 and tried to run out test system. The error
> DSPtrAndHand occured in Labview.lib and lv was shut down. I looked at
> the labview.lib files both in 6.0.2 and 6.1 and the lib file was twice
> as big in 6.0.2. I am not an expert on the system but i think that we
> have an external code that calls the function DSPtrAndHand which seems
> to be some kind of memcopy. This function seems to have disappeared in
> 6.1. We have tried to recompile with the new labview.lib and the
> linker warns that DSPtrAndHand cannot be found.
Yes, this function has disappeared in LabVIEW 6.1. I'm not sure as to
the reason and considering that it was documented in the CIN Reference
Manual in earlier versions, I was rather surprised to see
that.
However the workaround is quite simple by creating your own function to
do that particular operation:
MgErr DSPtrAndHand(UPtr p, UHandle h, int32 size)
MgErr err;
int32 len;
if (!h || !*h || !p || !size)
return mgArgErr;
len = DSGetHandleSize(h);
err = DSSetHandleSize(h, size + len);
if (!err)
MoveBlock(p, *h + len, size);
return noErr;
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • Difference with CD auto-mount between OL 5.7 and OEL 5.4

    Hello,
    I'm experiencing a difference when auto-mounting a CD between OL 5.7 and OEL 5.4 (x86_64).
    Under OEL 5.4, a CD does not have "execute" privileges.
    The mount command shows the following relevant entry:
    Oracle Linux 5.7:
    /dev/hdc on /media/Oracle_11gR2_x86-64 type udf (ro,nosuid,nodev,uid=0)Oracle Enterprise Linux 5.4
    /dev/hdc on /media/Oracle_11gR2_x86-64 type udf (ro,noexec,nosuid,nodev,uid=0)I also wonder why there is a difference when using Ubuntu. In Ubuntu Linux (11.04) I can address the problem by installing "autofs" and modifying /etc/auto.misc to include the "exec" mount option. For instance:
    cd              -fstype=iso9660,ro,nosuid,nodev,exec :/dev/cdromHowever, under Oracle Enterprise Linux, modifying /etc/auto.misc has no affect.
    I suspect the the differences are related to gnome-mount and HAL. I know how to work-around the problem, but I wonder if someone knows more details and when and what was changed regarding this issue between OEL 5.4 and OL 5.7
    Thanks and kind regards.

    Meanwhile I found the source of information:
    http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html-single/5.6_Technical_Notes/index.html#hal
    5.6_Technical_Notes
    Prior to this update, the "noexec" option was enforced when mounting CDs, preventing scripts on that media from being run automatically. However, this also prevented applications that rely on executing from media from working correctly. Since the intended level of protection provided by this feature is minimal, and there are other ways to achieve it, the feature has been removed and the "noexec" option is no longer enforced.

  • Sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loop

    sir i have given lot of effort but i am not able to solve my problem either with notifiers or with occurence fn,probably i do not know how to use these synchronisation tools.

    sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loopHi Sam,
    I want to pass along a couple of tips that will get you more and better response on this list.
    1) There is an un-written rule that says more "stars" is better than just one star. Giving a one star rating will probably eliminate that responder from individuals that are willing to anser your question.
    2) If someone gives you an answer that meets your needs, reply to that answer and say that it worked.
    3) If someone suggests that you look at an example, DO IT! LV comes with a wonderful set of examples that demonstate almost all of the core functionality of LV. Familiarity with all of the LV examples will get you through about 80% of the Certified LabVIEW Developer exam.
    4) If you have a question first search the examples for something tha
    t may help you. If you can not find an example that is exactly what you want, find one that is close and post a question along the lines of "I want to do something similar to example X, how can I modify it to do Y".
    5) Some of the greatest LabVIEW minds offer there services and advice for free on this exchange. If you treat them good, they can get you through almost every challenge that can be encountered in LV.
    6) If English is not your native language, post your question in the language you favor. There is probably someone around that can help. "We're big, we're bad, we're international!"
    Trying to help,
    Welcome to the forum!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • I have forgotten my Password to be able to connect between my desktop Mac and Mac Book on my home network. How can I recover the password or change it?

    I have forgotten my Password to be able to connect between my desktop Mac and Mac Book on my home network. How can I recover the password or change it?

    The password used to log in to a user account remotely is the same as you would use to log into it locally. You can also use your Apple ID, so try that.
    To change your login password read OS X Mavericks: Reset a login password
    also OS X Mavericks: If you forget your login password

  • IDVD is producing DVDs which chop the edges off my video.  I have tried changing the aspect ratio between 4:3 and 16:9 but it hasn't helped.  My TV is definitely on the correct settings.  How can I solve this?

    iDVD is producing DVDs which chop the edges off my video.  I have tried changing the aspect ratio between 4:3 and 16:9 but it hasn't helped.  My TV is definitely on the correct settings.  How can I solve this?

    One way to to put the videos into an iDVD slideshow
    and set iDVD's Slideshow preferences to always scale slides to TV Safe Area. 
    However, some users have reported that the audio quality using this method is lessened.  I've not noticed it but then I don't have a good ear when it comes to that sort of thing. If you add more than one video in the same slideshow do not select any transition.
    OT

  • LABVIEW.LIB was not called from a LabVIEW process

    Hi All,
    I've inherited LV code that calls a CIN node to access a motor controller.  I'd like to compile this code to a .NET DLL, but receive the following error when calling it from an external source:
    I've read the knowledgebase article explaining the problem from here, as well as the following support questions:
    http://forums.ni.com/t5/LabVIEW/Labview-lib-was-not-called-from-a-labview-process/m-p/232548
    http://forums.ni.com/t5/LabVIEW/Problem-with-lsb-LABVIEW-LIB-was-not-called-from-a-LabVIEW/m-p/48809...
    http://forums.ni.com/t5/LabVIEW/Labview-lib-was-not-calld-from-a-labview-process/m-p/718427
    http://forums.ni.com/t5/LabVIEW/Building-a-LabVIEW-DLL-with-VIs-that-use-CINs/m-p/632817
    The conclusion seems to be recompiling is the answer.  I've tried recompiling the original CIN vi within LV with no success.  Do they mean to recompile the original C code against the newer labview.lib (sorry, I'm not all that familiar with how the CIN nodes work)?  Any suggestions would be awesome.  Thanks.
    -Joe

    You can't make use of LabVIEW manager functions in non-LabVIEW based processes. Basically unless the C code is for a CIN or DLL that is to be called by LabVIEW (inside the development system or a LabVIEW built application), any function pulled in from labview.lib is not available. LabVIEW.lib is an import library that does not implement any functions but simply imports them from the LabVIEW kernel, either the LabVIEW development system or the LabVIEW runtime DLL. And no you can't just link in the LabVIEW runtime DLL into your .Net application. This DLL needs to be started up and initialized in very specific ways, that only LabVIEW itself knows about when building an application.
    Basically if you want to recompile the code (yes in C/C++) for use in a non-LabVIEW application, you also have to remove all the link libraries from the LAbVIEW cintools directory, and replace any use of functions now unavailable (link error: unavailable external reference) with other similar functionality from your C runtime library. Or implement those functions yourself using C runtime library calls.
    Another possibility could be to actually create a LabVIEW executable that exports the functionality as ActiveX Server. Or in LabVIEW 2010 you could also select to create a .Net Interop Assembly from inside the LabVIEW project.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • LABVIEW.LIB was not called from a LabVIEW process when creating unit tests

    We are developing a DLL to be integrated in LabVIEW using CLFs. So far we have the system working, but we wanted to create some unit tests in C as part of our release process. The problem is that when I link labview.lib in VS C++ and then call the EXE generated I get an error saying: "LABVIEW.LIB was not called from a LabVIEW process". As mentioned in http://zone.ni.com/reference/en-XX/help/371361J-01/lvexcodeconcepts/debug_dlls_and_dll_calls/:
    "Calling the shared library from another C program is also another way to debug the shared library. By calling the shared library from another C program, you have a means of testing the shared library independent of LabVIEW, thus helping you to identify any problems, sooner."
    Some of our functions, however, use LabVIEW specific instructions and we would like to test them in a realistic environment (i.e., calling to the actual functions instead of creating stubs).
    Is there any workaround to this problem?
    Thanks!!

    Hello SaraGr,
    Welcome to the NI Discussion Forums! I have a couple of questions to better determine the issue here:
    1. What is the LabVIEW version that you are using?
    2. Does your DLL uses Serial Compatibility VIs? If so, try using your development on NI-VISA instead of Serial.
    3. Are you using a Code Interface Node (CIN)? If you do, I see that from the help file you would need to compile the code for the new platform. Also, please remember that functions specifc to CINs (such as SetCINArraySize) will not work in a DLL.
    4. Be sure to include the header files in your program, like extcode.h. Please follow this white paper to link labview.lib to your program, or follow the Alternate Method.
    Regards,
    Daniel REDS
    RF Systems Engineer
    Help us grow.
    If a post solves your question, mark it as The Solution.
    If a post helps, give Kudos to it.

  • Is there any changes in the DIAdem script between DIAdem 9.x and DIAdem 10.x ?

    Hello,
    I have got a question about DIAdem Script.
    I saw the compatibility problem described in KB.
    'Why do my DIAdem 9.1 Scripts not work in DIAdem 10?'
    Many problems were solved, but some case were not.
    So I guess there is some changes in the DIAdem script between DIAdem 9.x and DIAdem 10.x
    Thanks for your help.

    Hi supportko...
    Yes, there were a lot of new features introduced in DIAdem 10.0, and 10.1.  These are described in detail in each product's ReadMe file, and also in the Online Help under  the "Index" tab at the node "DIAdem>>New Features>>New Commands and Variables"-- you will see 2 sections there:  "Version 10.1", and "Version 10.0", showing you exactly what has changed.  In most cases there is a compatability switch whenever a new feature creates a compatability issue for scripts developed in a previous DIAdem version.  R&D works very hard to minimize the impact of new features on existing VBScript applications.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    Message Edited by Support on 05-02-2007 03:56 PM

  • LABVIEW.LIB could not locate "RTsetCleanupProc"

    Hi,
    I am trying to get some feedback on a random error that I am getting when
    running Labview on Windows XP. In my application I am performing data
    acquisition with an M-series Daq device while at the same time I am
    recording
    images with NI-Imaq device (PCI-1405). I am also communicating with two
    other
    instruments through a USB and a serial port. At random times (once every month or
    week
    or sometimes a couple of times within the same day) Labview crushes and I
    am
    getting the following error message:
    LABVIEW.LIB could not locate "RTsetCleanupProc"
    After that I have to reboot the computer for Labview to be able to run.
    Please advice on what steps to take in order to fix these problem.
    I am also attaching the corresponding failure log file
    Thanks,
    George
    Attachments:
    lvlog05-19-08-14-58-071.txt ‏1 KB

    Hi Michelle,
    Thanks for getting back to me.
    I got very prompt and useful feedback through email from one of NI’s Application Engineers. However, part of the process of troubleshooting this issue involved waiting for LabView to crash again and look at the error log report. Unfortunately (!?) this did not happen within reasonable time and NI considered this issue resolved. When recently LabView crashed again I tried to follow up with this issue but I was redirected to this message board.
    -George

  • Losing changes in LabVIEW 8--bug report

    Don't know if this has been reported yet or not but it was driving me crazy making my coding changes evaporate until I started realizing it wasn't me.
    To reproduce:
    Create a blank project and a new VI
    Add FP.Open VI Property node with a False Constant
    Run the VI
    All changes will be LOST
    After nearly going mad and tracking down the root cause, I find the newly added note:  "National Instruments recommends using the Front Panelpen [or Close] method instead of this property."
    So you can try that too if you want, which has the same results:
    Create a blank project and a new VI
    Add FP.Close Method
    Run the VI
    All changes will be LOST
    *POOF*  If the VI was an Untitled new VI that hadn't been saved, it will just vanish from the project list.

    You're correct. I forgot one step to make the, "This
    is
    how we close instances of VI templates opened to avoid the Save
    dialog." statement true. The VI must open a reference to itself and
    pass that to the Node to avoid the Save dialog. 7.1 does indeed pop up
    the Save dialog if you just have the Node set to close.
    So now the question is, did NI intentionally change this or not. I've
    found other changes that I thought were bugs that they intentionally
    changed. See this thread for one of them.
    I'll see if I can get the attention of an AE to look into this.
    BTW, I do hit (Ctrl+S) before I run anything because I've had LabVIEW dissapear when I hit Run.
    Ed
    Message Edited by Ed Dickens on 05-03-2006 03:56 PM
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Fatal error Labview.lib not called from a Labview process

    in teststand my vi works fine with adapter set for LV development
    when I configure the LV adapter for runtime, I get fatal error Labview.lib not called from a Labview process
    what is going on?
    how do I fix it?
    thanks.

    Howdy Stephen -
    Are you by chance calling a LabVIEW DLL within your LabVIEW VI which is being called from TestStand?  I know this error occurs when a LabVIEW DLL built in a different version of LabVIEW than the selected Run-time Engine.
    Here is a KnowledgeBase which references the issue:
    KnowledgeBase 203EA3XC: LabVIEW.LIB Error When Calling a LabVIEW DLL Built with VIs That Use Externa...
    If this is the case, you will need to open the LabVIEW DLL source VI in the LabVIEW version you are using and rebuild the DLL.
    Thanks and have a great day!
    Regards,
    Andrew W || Applications Engineer
    National Instruments

  • Change/Remove LabView 6.02

    After updating LabView 6.0i Profetional to Version 6.02 I can not change/remove LabView using Control panel \ Add/Remove Programs in Windows 2000. The error message from Windows is "Error applying transforms. Verify that the specified transform paths are valid."
    What can I do with this issue?

    Hi TXu
    Try the steps described on this site:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/9f563a9a1b40dfcb86256a1700547acb?OpenDocument
    Luca P.
    Applications Engineer
    National Instruments
    Regards,
    Luca

  • What is the differrence between NI motion asst and motion dev module for labview?

    Hi,
     Could you please tell me the difference between Ni motion assistant and soft Motion development module for LabVIEW also the application areas of both.
    Thanx
    Mukesh

    Hello Mukesh,
    Do you mean the SoftMotion Development Module for LabVIEW? FlexMotion and SoftMotion are two totally different methods of creating a motion system. FlexMotion uses a motion controller board (PCI or PXI). The software interfaces with the board. On the board there is a lot of processing that is done (ie: PID control). The board interfaces with the motion drive. In a SoftMotion system, there is no motion controller board. You need to use some other I/O technology (ie: DAQ, FieldPoint, RIO, etc) to interface directly from the software to the motion drive. All of the processing that was done on the motion controller is now done in the software.
    So FlexMotion is an API to help your software interface with a motion controller board. SoftMotion is an API that enables your software to process data in a motion system (ie: process it the way that a motion controller would).
    Motion Assistant is an application environment (separate from LabVIEW) that allows you to set up a sequence motion commands through dialog boxes. You can set up a motion process and test it in Motion Assistant. It is capable of building LabVIEW code for the same motion system. There is also an API that allows you to control Motion Assistant from LabVIEW programmatically.
    I hope this information helps. Please let me know if you have any further questions about this issue. Take care!
    Regards,
    Aaron B.
    National Instruments

  • Difference Between OTL Retro Entry and Salary Change Retro Entry in Payroll

    Hi Everyone,
    We are developing a custom interface from Payroll to Projects which will post all the entries from OTL.
    OTL->Payroll->Projects
    We are stuck with identifying the Difference Between OTL Retro Entry and Salary Change Retro Entry when we process Retropay in Payroll.
    After retropay, we come we would see the retro element entries for both them with same name and creator_type is either EE or RR for both them.
    In our interface we have to treat retro entries through OTL and Salary Change in differentway.
    Has anyone can give some suggestions on this please asap as we are heading towards UAT very soon.
    Thanks in Advance..!!
    Anand

    Hi Anand,
    Element with creator_type RR are created/generated by Retropay.
    Elements with creator_type EE are regular element entries.

  • Print as Image changes between Adobe Reader ver7 and ver8+

    Hi,
    We have customers that upgraded to Adobe Reader ver8+ and are now experiencing printing issues with our printer driver (operating system is Windows XP/Vista). When they use Adobe Reader ver8 and above to print their PDF files, with "Print as Image" option selected, the print output is smaller. It looks like the latest version of Adobe Reader output the images using a square DPI. Our printer (line matrix) does not handle square DPI (for example: printer resolution are 120x48, 120x72, 120x144, and 180x96).
    Our printer driver just takes the output from the Microsoft print spooler and just encapsulate it with our printer language. We don't do any image manipulation. So, I would like to know was there a change in the way Adobe Reader version 8 and above create the output image? If so, is there a backward compatibility switch our driver can issue during the printing function?
    I tried talking to Adobe Tech support (bronze support), but they only handle end user issues. Is there a tech support option that I can purchase that will allow me to get to the root of this driver compatibility issue? Any suggestion would be appreciated.

    Adobe doesn't apparently care. I get this problem all the time on our work network. There's a lot of questions in this forum and elsewhere on the internet.
    The best answer I've seen is that there's something wrong with the PDF or you don't have the right font, or you did something wrong, or here try this ridiculously complicated workaround. I wish they would just fix their program!
    Suggestions: go through all the "standard" things like updating printer drivers, printing the document as an image, updating Adobe (yeah, like "it works now" is a new feature in the latest version), etc. It's possible that could fix the problem. Otherwise, wait until Adobe releases a version of Reader that doesn't have this issue.

Maybe you are looking for

  • How can I get all my photo out after I instal Iphoto 11/9/2/1

    Hi: I update my Iphoto 11/9.2.1 But I cannot load all my photo from the photos liabary

  • AS2 Certificate widget scoring issue

    I received a fix from someone on the Captivate forum that is supposed to fix the AS2 Certificate widget scoring issue. The results on my Score Results page appear correctly, but the results on the certificate do not match those on the Score Results p

  • Serial No in stock

    Hi Gurus,              Scenerion is after production order confirmation serial no is updated and shows in stock. but now the problem is that in system no relation has maintained between stock and serial no e.g stock is 550 no then serial nos are show

  • UIScrollbar creates conflicts

    Hi! I've just a strange thing happening; I managed to succefully use a dynamic scrollbar, everything worked perfectly, but then, willing to add some UIScrollBars to my existing flash 8 site, I found that just the pasting (and immediate deleting) of t

  • Hibernation does not shutdown the computer

    Hello, the hibernation was working perfectly until one of the last updates. I can not say exactly when things get broken since I didn't rebooted my computer for weeks (it was in hibernation only) and so the last kernel updates were probably not appli