Error 1386 between Labview Quantum Design PMP

(It is a different problem from http://forums.ni.com/t5/LabVIEW/Controlling-PPMS-from-Labview/m-p/2581885/highlight/true#M777361)

I also check the Quantum Design forum and the Web page, but has not found a solution.

My initial guess was that there is something missing with the QDInstrument.dll file, but now I think it might actually be a problem with how Labview interacts with the .NET framework. and call nodes. That's why I write on the Forum of NOR. Sorry for the long text, but I try to give a lot of info.

I am trying to interact with the PPMS Quantum Design. I use the library (PpmsMultiVu.zip) attached to this message. It contains an example of vi, but it requires the QD software to run in parallel.

I get an error 1386 with this error message:

1386 error has occurred to invoke the node in OpenQDInstrument.vi-> QDInstrument_Example.vi
Possible reasons:
LabVIEW: .NET class specified is not available in LabVIEW.

Interestingly, the error occurs only when the library QD is installed on my C drive. It doesn't matter if it's the folder Labview2014 > instr.lib or elsewhere as the office.

Also if I checked:

View > .NET assemblies in memory

It is empty.

If I install the library on a network drive, everything will work fine, and the .NET assemblies in memory has a single entry

Also if I have two copies of the library, on the c drive and the other on network drive, if I run the example of form ch. vi reader, it will always give the error, event if files are always located in the same location on the network drive.

The library makes heavy use of .net invoke nodes

Earlier was an "Unable to connect to the OLE server" error while working with this library, but this solved by itself after a reboot of the computer, without a logical explanation.

Thanks for your comments

I finally found the solution in this discussion:

http://forums.NI.com/T5/LabVIEW/cannot-load-V2-0-targeted-NET-Assembly-in-LV-2013-mixed-mode-not/TD-...

I needed to create a configuration file as described here:

http://digital.NI.com/public.nsf/allkb/4742EB60B64BE22186257BCE0053B8FD?OpenDocument

It is interesting to see that the new feature of 'security' of .net 4 that was supposed to trust only the assemblies stored on the local computer has resulted in exactly opposite results. It is NOT only confident assemblies on the local drive.

This strange behavior is most likely due to the fact that my University stores the user profiles on a central server and not on the local computer. But the software itself is still saved on my C drive!

I like the security ;-)

I hope that this explanation will help others with a similar problem.

Tags: NI Software

Similar Questions

  • LabVIEW Communication Design Suite (size of the installation)

    Hello

    Can someone tell me how much space Labview Communication Design Suite (trial version) requires for installation and for how long can I use evaluation version of Labview Communication Design Suite.

    Thanks in advance.

    Hi Joseph,.

    The required disk space are in the readme file. These requirements will not change if you are just evaluating the software. The evaluation standard for all software period of NOR is 7 days, but can be extended for another 45 days as described by this KB.

  • Space required on target RT for LabVIEW Control design and Simulation

    Hello

    I want to run a DLL file on an RT target using LabVIEW Control design and Simulation, but I'm not sure of the required amount of RAM on the RT-target. My RT-target options are respectively cRIO 9002 and cRIO-9004 with 32 and 64 MB of RAM. Is this a sufficient amount of RAM to run the simulation? ¨¨

    Thanks in advance

    This will depend on the size of your dll, the size of the rest of the code, you can create other necessary drivers/modules, memory use when your application runs, etc.

    9002 and 9004 have not a lot of RAM on them and the minimum software installation to run a control application Design & Simulation (CD & Sim) will take around 22Mo of it (the majority of RAM available to the 9002). It would be possible to run your application on these two controllers if you keep it small but it will depend on what you want to do.

  • LabVIEW FPGA: An internal software error in the LabVIEW FPGA Module has Unknown

    Sir/Madam,

    Note Labview 2012 SP1 installed about 2 weeks ago.,.

    Accident occurred during the compilation of an fpga vi who worked satisfactorally in the past.

    When I restarted and went to the message recomplile "LabVIEW FPGA: an internal software error in the LabVIEW FPGA Module" see attached picture of popup.

    I reinstalled Labview in its entirety and backed out the changes I made to the vi but still get the same message.

    Thanks in advance

    Daryl

    It turns out that the question was in the VI and not of LabView FPGA module as the message may indicate. I created a vacuum vi, cut and pasted items in this from the vi error and recompiled and it ran very well.

    Somehow the vi has been corrupted internally.

    Thank you it's fixed.

  • Sharing of Variable error-1950679023 in LabVIEW 8.6.1

    Hello

    Is anyone else having problems with this error after installing LabVIEW 8.6.1?

    Programs using variables shared that I wrote (and worked), just in older versions don't seem to work.

    Kind regards

    Sarah

    Hi Sarah,.

    Good afternoon and I hope that your well today.

    Sorry for the delay...

    I've did some more research and found that there is a patch for LabVIEW 8.6.1 and variable - could this be the cause of your faceing...

    Link: http://joule.ni.com/nidu/cds/view/p/lang/en/id/1255

    "This is an update to only LabVIEW 8.6.1 solve a problem when the variable path related is incorrect after variable deployment."

    You don't seem to have proved the issue about outside of your code - I go to the update being installed and not the goal of the solution to reproduce your problem.

    Finally, please run - but do not uninstall! the attached MSIBlast tool. It will list all the packages OR (Packages MSI) installed on the machine. Please note that the list should include,

    Client Variable nor to RT + versions Supprt

    Support for versions + OR motor Variable

    Variable Manager OR

    ... to name a few.

    I would be interested to know if they appear in the list,

    Hope this helps,

  • Interface between LabVIEW and c#

    Hello

    IAM trying to send data to Labview via ithernet in a product that already have in c# .net. This means that data send LabVIEW must be posted in c#. Thus the Labview will act as the server and the product in c# will be serving the customer. I have serached in the forums to make the connection between Labview and c#. I saw a tutorial to make dlls in labview, in what they explained to hold tools > Build Application or shared Library.But I can't find in my tools although I version2009 of professional development.

    Can someone give me some instructions to send Labview data and display it in c#. IAM attaching the VI Server I made. The client in c# is a great product that has already done by others in c#. I have very less experience of programming in c#. Can someone give me some instructions or attach a few tutorials to make the connection between Labview and c#.


  • Help! Error 1047 to LabVIEW: LabVIEW failure of sending variable to the script server. Server

    Hi community, I have a problem with script labview matab, I have this problem:

    Error 1047 to LabVIEW: LabVIEW failure of sending variable to the script server. Server

    Possible reasons:

    LabVIEW LabVIEW: Cannot send the variable to the script server.

    We have some documents that mention possible reason why this error occurs, you might see if either of the following apply to what you see.

    http://digital.NI.com/public.nsf/allkb/8BEBC0C86541224286257AF300561B5E?OpenDocument

    http://digital.NI.com/public.nsf/allkb/2B3FF46C8512C4F786256CF30071BE53?OpenDocument

  • Passing variables between LabVIEW and TestStand

    Hello

    I'm just learning how to use TestStand and although there are a multitude of resources available, I always find me at a loss on how to pass variables between TS and LV, leaving me to think that there is one fundamental thing that I'm missing which is likely, given that I have a weeks experience with LabVIEW and a days of experience with TestStand.

    I took a glance to the example of 'Clusters' to the Code Modules in TestStand examples (I use TS 2016 if it matters) because I thought it would be quite ideal for what I hope. In this case, I hope to be able to pass a string (a file path) to LabVIEW and VI power take this string and use it as part of an order for the Exec.VI system.  Then, I would be able to pass strings back to TestStand to show the user if an error occurred, but I thought I should get the first part of work.

    I guess my question is what do I have to wait to see in clusters to the example of the Modules of Code? The Watch window displays all defined variables premise on which has the ContainerOut in the Variables pane, but I don't see any kind of update on facades (VI1.vi and VI2.vi) LabVIEW code. Should I be?

    I looked at a few other discussions of the forum here and here, as well as the document of the basis of knowledge here, but could not recreate their solutions. It seems that the connector pane would be a viable way to go, but I'm not sure on how we create and use effectively. According to this document , it makes it seem like it should be simple enough to makes these terminals, but I am still missing a key step. I was able to follow all the steps on the knowledge base document and run the sequence, but then had no idea if it worked or not; I have the report show me the values of the variables I put, but I have no idea whether or not he actually did anything with the LabVIEW VI, or how I could see that.

    Please let me know if you need further information or clarifaction everything I ask.

    Thank you for your time,
    JColvin

    Digilent, a company of National Instruments

    If you want to enter values, you must create a vi for instance dialog box

    The OK button will allow new values to pass to the output terminals.

    A Cancel button will pass just the original through the output values without alteration. The VI will close when either the OK button or cancel were pressed.

    Concerning

    Ray

  • Communication between Labview and Acton spectrometer via USB or RS232

    I'm trying to communicate between a PC running XP and a spectrometer to Acton 2300i using Labview.  Windows recongizes the specification and assigns it to COM3 with the correct name.  Also, the software provided with the specification can communicate with him.  However, I was unable to communicate using VISA in Labview.  I downloaded the simple read and write example vi fromt the example finder and changed the entries at 9600 baud... but I am still unable to connect.  I also tried connecting via software of measurement and automation NOR, but getting the timeout error code.  I was able to connect using GPIB of Labview for another more old Acton Spec 500i but the onle new version connects via RS232 or USB.

    The problem was simply not having a return of carrage added at the end of my order.  Thank you for your help.

  • Table does not work correctly between LabView and TestStand

    I'm doing a TestStand program that reads data from a LabView VI.

    If I run the VI in LabView, it works perfectly well and generates a table with 18 points in length, the first 3 are numbers between 0 and 10 and the rest being-1 as I intended. Re-run the VI causes the re - initialize correctly and I get a new table that also meets my specifications.

    When I run the VI of TestStand, it works fine once, producing a table with 18 points, the first 3 are numbers between 0 and 10, and the rest is-1.

    If I run the VI in TestStand once again it increases the length of array in 18 each time. In so doing, it fails to write the new 3 numbers and just add - 1 in table 18 times. If I restart TestStand will work fine once more, he repeats the error if I re - run the VI. I don't understand why this is happening.

    I have re-product the error in a separate VI and the order, and I have attached an example in this post. The VI contains all the necessary information (if not, please say so and I will correct it), and TestStand sequence is configured to put all results, I would find useful in the report (as additional results).

    Your problem is your VI.   Specifically the comment nodes.  They initialize on the first call.  TestStand retains the VI in memory.  So when the VI is called again, the comments always nodes have their last value.  You will get the same results if you have VI your ArrayBuild.vi twice appealed.

    The way you use the feedback nodes, they really replace with Shift Registers.  I like your comment nodes, but since you pass the value of the node in the loop, the SHIFT registers are much more appropriate.  Just make sure you initialize your Shift Registers.

  • Failed to create the recovery disk - error: differences between the following files

    Hello, I am using the recovery disc option, but during the creation of the third disc, I get this error repeatedly (I tried to create 4 + times now, using the same type of discs that worked well with the first 2 discs). The full error message is:

    "differences between the following files. "Source path: path:F\ZZImg\09753XSP2.swm E\HDDrecovery\SWImg\0975XSP2.swm target (error code: 02016F-3 c-00000000)"

    How to solve this? I want to reformat my laptop, and the thought that it would be better to create these discs first. It is recommended to have the front discs I try to reformat? This error would prevent me to use the option 'restore factory settings' which is present by pressing the 0 key during the loading screen?

    (I'm not very technically capable, so I am greatly worried something bad).

    Any help would be greatly appreciated.

    Thank you.

    Have you tried using different disks from different manufacturers?
    To do this. I had similar problem and it was not entirely compatible disc-related.
    I use TDK R CD or DVD. They work great!

  • How to pass variables between Labview and Teststand

    It is probably a trivial question, but I'm new to TestStand. All I'm doing is updated to a variable in Labview and then pass this value in a local variable Teststand. A simple test that VI is attached. I get no error and it seems correct, but when I followed the variable via TS watch display is not updated. Also I am not able to read the variable outside TS. It is probably a trivial thing, I'm doing wrong, but I'm stuck.

    Too bad, it was simple. Just need to add the context of sequence as input, then set it to ThisContext TS

  • How to fix error 1097 in labview?

    I use call library function to call a dll.when it turns that it is an error of 1097.  «An exception occurred in the external code that is called by a node call library feature.» The exception may have corrupted memory of LabVIEW. How you can fix this error?

    see the following link, can give you some advice:

    http://forums.NI.com/T5/LabVIEW/error-code-1097-coming-in-DLL-calling/m-p/1847055

    I used the search box on top right of the site nor and entered 1097

    It may be useful

  • Problem between Labview and Melanie 2602

    Hello world

    I think my question is a bit silly, but I really don't know what the problem is. I just want to read my current solar cell by changing the level of my blood to get an IV curve, which is normally pretty easy. So, I created a loop, where I increase my voltage step by step, and used a function named VI from Labview library that connects the Keithley and Labview together, "Keithley 2600 Series.lvlib: Source Level.vi. I start at 0 and increase by 0.01 volt each time. If I use execution of climax, I see clearly the value is correct, and if I go inside the SourceLevel VI, I clearly see the command string: "smub.source.levelv = 1.6," for example, if I want to put my voltage at 1.6V. The attached picture shows a part of my code.

    Despite all this, it is clear that the Keithley does not react properly. It only works v of v 1V, 2V, 3V, etc... but never the values between. My IV curves are ok to read the Isc, but no VOCS. Never happened to any of you? I would be really happy to understand what I'm doing wrong, because it seems easy enough to solve. :/

    Thank you very much!

    It is quite difficult to debug a picture of a tiny part of the code.

    But I'll take what I see.  Your constant shows a 0.01 (comma).  So I guess that you are in a country that uses a comma instead of a decimal point.  I don't see what is happening inside the code Keithly, but I'll make an assumption that he made some conversions where it is expected that the comma is a period.

    Look closely at the code Keithly and see if that explains it.  Try to set your PC to use a period for the decimal point and try to re-run your code and see if it works better.  It is possible that Keithly conversion uses a system, rather than setting using a decimal point, which is that your sentence says it's sending.

  • Communication between Labview and Rn42 Bluetooth

    Hello

    I am currently working on a project that requires communication between a bluetooth equipment and my pc with bluetooth built-in. The bluetooth hardware is verfied working with Blueterm on android. However I'm unable to connect with my laptop blueterm. Is back a unabe to connect error. I use bluetooth vi without series or visa. This method is suggested? Thank you


Maybe you are looking for

  • Firefox forget profile and says "unable to load Your Firefox profile"

    Win7 64 bit, Firefox 24 I have Firefox installed on my drive C. I created a profile on my drive d. (by the way: I also Thunderbird installed on my C drive, with a profile on my C drive; the reason for my Firefox profile to reside on drive D is that i

  • Cannot access the Media folder via App IOS Readycloud

    I have a RN204 4.6.2 running in an OSX system which will not allow access to the Media folder via the IOS app on iPhone or iPad. I can access the media folder via the ReadyCloud portal or the finder on MAC without problem, but the IOS App shows "Acce

  • Text customized by Contact notifications?

    Hi all I just changed from one Galaxy to the Turbo. So far, I love it - but I'm missing a feature, that I loved on my galaxy. I don't see where I can customize the text for my contacts notifications. I see the option for ringtones - but I wonder if i

  • Running a Labview VI illustrated alongside Teststand

  • Windows monitor linux host

    Hello I have FMS on Linux OS. Using the cartridge infrastructure I'm tring to monitor windows host. I get errors when connecting. I know that port 135 must be open and WMI profits as well. The problem is that I can't open the port range. Is there a w