[HELP] Teststand error when using labView runtime engine...
I have an extensive TestStand 3.5 project which I am working on. This project uses a large number of LabVIEW 2012 VI’s. (Note: The version of TestStand cannot be changed). When TestStand 3.5 LabVIEW Adaptor is configured to “Development System (Active Version: 12.0)” all the sequence run and perform as expected.
When I change the TestStand 3.5 LabVIEW Adaptor is configured to “LabVIEW Run-Time Engine 12.0” then I get an -18002 error in the first VI called by the sequence and nothing runs. Now this sequence contains a standard library VI in it “Check if File or Folder Exists.vi”.
From research I realised that I needed to deploy the software properly. So created a LabVIEW project with all the sequences and VI’s in it and a “Source Distribution”. I also unchecked “Exclude files from vi.lib”, “Exclude files from instr.lib”, and, “Exclude files from user.lib”. After building the project I get a “data” folder full of VI’s and control files (273 of them).
Next I created an “Installer” and added build to the correct place. I can see the “data” folder in the source files section.
When I install this distribution kit on a PC, which happens to have full LabVIEW 2012 development on it, all the files install but the “data” folder is missed out!!!
If I then attempt to run the installed top level sequence I get the same -18002 broken VI error as before. If I manually copy the “data” folder into the same place as it was built it makes no difference.
Anyone got any suggestions?
Christopher Povey
Senior Test Systems Engineer for BAE Systems.
Bit of additional information:
I created a blank LabVIEW 2012 project. To this I added one VI which included a call to "Check if File or Folder Exists.vi". Then added one TestStand 3.5 Sequence which contained a call to the VI above.
I then added a build to the project and built the project. This resulted in a folder with the sequence file, my VI and a Data folder containing the "Check if File or Folder Exists.vi". When I tried to run the TestStand sequence with LabVIEW Run-Time Engine selected it failed as before.
Next I added another LabVIEW step to my sequence calling "Check if File or Folder Exists.vi" from the "Data" folder. It then worked!
I then modified my VI and added the MD5 checker VI (forget the exact name). It added some files to the dependences in the LabVIEW project. I rebuilt it and ran it again and again it worked. I did not need to add the additional VI's in the "Data" folder to the sequence file.
If I remove the LabVIEW step to my sequence calling "Check if File or Folder Exists.vi" though it breaks again.
This is not ideal though as it is a bit chicken and egg. In order for the project to work I need to add one of the VI's from the generated "Data" folder into a sequence in the project, but I can't do that until I build the project to create the "Data" folder!
Christopher Povey
Senior Test Systems Engineer for BAE Systems.
Similar Messages
-
UDESEncrypt Errors when using the JAVA engine (NW IDM 7.0)
Folks,
I'm seeing an error when I use the uDESEncrypt function with the Java Engine in NW IDM SP2 Patch 3.
The error I am getting is:
runFunctionsInString($FUNCTION.encrPWD()$$) got exception
org.mozilla.javascript.EvaluatorException: uDESEncrypt: Key should be exactly 24 bytes long.
The code calling it is:
// Main function: encrPWD
function encrPWD(Par){
//Example calling DSE internal function
//UserFunc.uStop("Terminated by user");
key = "C:\Program Files\SAP\IdM\Workflow\configs\KEY\keys.ini";
OutString = UserFunc.uDESEncrypt(key, Par);
return OutString;
I have also seen this error when using Patch 4.
Interestingly enough, the error does not occur when using the Windows Engine. Anyone else seeing this?
Thanks,
MattHi Matthew,
Try to replace the '\' with '
key = "C:
Program Files
SAP
IdM
Workflow
configs
KEY
keys.ini";
Alternative approaches,
1) setting key empty and it will look into %DSE_HOME%\KEY\key.ini
which should be C:\Program Files\SAP\IdM\Identity Center\Key\key.ini on default installation path.
2) or setting the key to something like = 6D5A2AF59B1CDD7F9592484F178331C891537A3F9B91D362
a 24 byte key...
Also when using DES you should ensure that in Identity Center underneath Options/General
you have encryption algorithm set to 3DES.
Normally if you intend to use this for password provisioning in IC you would also
on the identity store (for instance 'Enterprise people') underneath 'password policy' check
of for 'enable password provisioning.'
By doing so the MX_ENCRYPTED_PASSWORD with be set when operating through
workflow (3DES encryption version of the MX_PASSWORD) which allows you to obtain password
when provisioning to other target systems... -
TestStand Error when using Waveforms
Attached is the error I get. I'm also attaching a labview type def. For some
reason, when I have an array of these clusters in a vi for a custom step type,
when I go to the module adapter and try to assign this array to a station
global I have, when I click on the default checkbox, it throws the error.
What do you think?
Thanks,
Jamie Olive, Randall Consulting Services
- Capture.JPG - Capture2.JPG - PT3838.ini - Get Measurements for Array.vi -
ArrayControl.ctl - ChannelStatus.ctl
Solved!
Go to Solution.
Attachments:
Capture.JPG 33 KB
Capture2.JPG 61 KB
ChannelStatus.ctl 10 KBHi JamieO,
I've tried to replicate your steps on my computer and did not see any error. Here is what I did.
1. Place the .ctl file into an array in a blank LabVIEW VI.
2. Use the Connector Pane to specify the array as an input.
3. Add an Action step to a blank TestStand sequence file with the VI specified.
4. Create a new Station Global of type Array of Container.
5. Uncheck the Default box on the Module tab for the input parameter of the Action step.
6. Specify the Station Global as the input.
Please let me know if this step list is accurate for your situation. Also, please answer Anand's questions and let us know what version of TestStand you are using. Provide a .seq file that shows the behavior if possible.
Thanks,
KyleP
Applications Engineer
National Instruments -
Invalid Device Error when using Labview to comunicate with Jorway 73A
I'm having a problem when trying to get Labview to communicate with the Jorway 73a CAMAC crate controller. Keep in mind while reading this that I'm still fairly new to both the CAMAC system and Labview. I've downloaded the drivers for the Jorway 73a off your site and run into a "Invalid device" error whenever I try to read or write from the CAMAC crate using the read or write VI's. Oddly, the initialize/clear/inhibit VI runs without error. When reading cmjwdll.c I can tell that this error occurs whenever "the device selected is not a JW 73A". Not sure why I'd be getting such an error, and only with the read/write VI's, not on the initialize/clear/inhibt one.
Thank you for your time.Hi Caleb,
You may want to contact [email protected] for this question. Looking at the driver (http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/398258c61da17663862568ab005fbcbc?OpenDocument) It states that these drivers use 32-bit dll's that only work on 95/NT and are provided by Jorway.
Hope this helps out!
Best Regards,
Aaron K.
Application Engineer
National Instruments -
Following an upgrade from NI_VXI 2.2 to 3.2, a VI which contained VISA Move Out 8.vi to load waveform data to a VXI WaveTek 1396 Arbitrary Waveform Generator using A24 memory space. The error coming back is -1073807298 VI_ERROR_IO and I have A24 Memory Space defined in MAX.
HTE Guy:
You might try disabling DMA. You can do this either in MAX or programmatically using viSetAttribute to set VI_ATTR_DMA_ALLOW_EN to VI_FALSE.
We have an idea of what the problem might be (due to the limited number of places this error occurs in the code) but we can't reproduce it internally. What OS and what VXI controller are you using? If disabling DMA doesn't help, you might want to contact NI tech support directly.
Good luck,
Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments -
Install MAX with only LabVIEW runtime engine
Hi,
I want to know if it is possible to install MAX from the Device Driver CD, when only LabVIEW RunTime engine is installed. There is no full installation of LabVIEW on that PC. That's MAX 3.1.1.3004 with LabVIEW RunTime Engine 7.1.
Patrick.Dear Patrick,
The device driver CD usually does not have a single installation of MAX, but you can install MAX by installing most of the other drivers such as NI-DAQ, NI-488.2, NI-Serial, etc. MAX does not require LabVIEW, so you can have MAX and LabVIEW Run-Time without LabVIEW. Have a great day!
Sincerely,
Marni S. -
LabVIEW Runtime Engine 2010 NI_AALPro Error
Hi All,
I have an problem with the executable version of my LabVIEW program. I just created an LabVIEW program in LabVIEW Professional 2010 version to acquire some FFT spectrums so it also use some function palettes of Sound and Vibrations toolkit like Power Spectrum, Peak Search, Power in Band etc.
Then I just created an executable version of the program to run on a different system (Tools>>Build Executable Verion(EXE)). But when I tried to run the executable verion on a different system is showed some errors. I am attaching a printscreen of all errors showed.
So, the executable version of the program is working fine in the develoment system but showed some errors when we try to run it on a different system. We have already installed the LabVIEW runtime engine 2010 as well in the second system.
My one more question is when we build an executable version of a LabVIEW program then it should run on all PC without any other software (Runtime engine) because it got an extension of .exe
so is there any chance or way to build a totally standalone executable version of the program without using any runtime engine as well.
Thanks
Attachments:
error.JPG 28 KB
dll & lvlib.JPG 41 KBHi PSBRRR,
It seems like you didn't include all the dependencies of your VI or project to your build specification. Can you send a screenshot of the Source Files Setting page of the Application Properties dialog box ? You have to add all the VIs and DLLs that are used in the Sound & Vibration toolkit and any others you are using to your executable file or support directory.
For the last question : no you can't. Since LabVIEW 2010, the Run-Time Engine is like the "Java Virtual Machine". The compiled code inside your EXE is interpreted by the "LabVIEW Virtual Machine" included in the LabVIEW Run-Time Engine. That's why it requires the Run-Time Engine to be executed or at least the development environment (previous versions of LabVIEW didn't use this principle but it was also required to have the Run-Time Engine installed).
Regards,
Da Helmut -
ABAP Runtime error when using RSPC
Hi Team,
I am getting ABAP runtime error when using RSPC in my system.For the same user id in other systems this transaction is working fine.Pls help me.
regds
ShaHello Sha Han,
What is the runtime error you are getting?
Please check the authorization also for the user in that system
Thanks
Chandran -
LabVIEW PDA reports COREDLL.DLL error when using Call Library Function Node
I'm trying to build a LV PDA app that calls an external DLL file built using embedded visual C. When configuring the Call Library Function node I select the stub DLL, configure the I/O parameters and select OK. When the configuration dialog closes I get the following error:
LabVIEW: LabVIEW.exe - Unable to Locate Component
This application has failed to start because COREDLL.DLL was not found. Re-installing the application may fix this problem.
I do not get this error when using the configuration dialog in the example VIs.
Any suggestions as to the cause and/or the solution?
Thanks,
RyanHello -
When you create a PDA VI that calls a DLL, you must include the .c or .lib file that corresponds to the DLL. Take a look at these documents:
LabVIEW PDA Module Build Errors with VIs that Call DLLs
Why Do I Receive Errors When Calling a C++ DLL from a Call Library Node Using the LabVIEW PDA Module...
How To Call External Code in LabVIEW PDA for Palm OS
H
ow To Call External Code in LabVIEW PDA for Pocket PC
Hope this helps!
S Vences
Applications Engineer
National Instruments -
Installer Build Error using LV Runtime Engine 2010
I had an executable and installer working that were built in LV2009. Since then I modified my source code and saved as LV version 2010. I rebuilt the executable, but when I tried to run it on the target computer, I got an error message saying that LV Runtime Engine 2010 was needed. So I tried to rebuild the installer using LV Runtime Engine 2010 as an Additional Installer. However, this build was unseccessful and I got a lenghty error msg that I don't understand (see attached).
Thanks in advance.
Solved!
Go to Solution.
Attachments:
Installer Build Error Message.docx 13 KBHello,
I am building an installer with LV2010 SP1. I have added the runtime engine to be included in the installer. I get the following error
------------------ERROR MESSAGE-----------------------------------
CDK_Item_OnDoProperties.vi.ProxyCaller >> CDK_Item_OnDoProperties.vi >> AB_UI_FRAMEWORK.vi >> AB_UI_Frmwk_Installer.lvclass:Build.vi >> Installer.lvclass:Build_from_Wizard.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_Build.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi
Loading product deployment information
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
Copying distribution 'PSUTS' from: C:\CBESVN\PSUTS\Software\builds\PSUTS Installer\Volume\ to: C:\ProgramData\National Instruments\MDF\ProductCache\
*** Error: Windows SDK function returned an error. (Error code -12)
The system cannot find the path specified.
*** Error Details:
Error in MDF API function: _MDFDistCopyList_CopyItem
Windows function FindFirstFile returned an error. Error code: 3
*** End Error Report
Done building deployment
CDK_Item_OnDoProperties.vi.ProxyCaller >> CDK_Item_OnDoProperties.vi >> AB_UI_FRAMEWORK.vi >> AB_UI_Frmwk_Installer.lvclass:Build.vi >> Installer.lvclass:Build_from_Wizard.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_Build.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi
Loading product deployment informationAdding files to installerDone adding filesPreparing to build deploymentCopying products from distributionsCopying distribution 'PSUTS' from: C:\CBESVN\PSUTS\Software\builds\PSUTS Installer\Volume\ to: C:\ProgramData\National Instruments\MDF\ProductCache\ ***************** Error: Windows SDK function returned an error. (Error code -12)The system cannot find the path specified.
***************** Error Details:Error in MDF API function: _MDFDistCopyList_CopyItemWindows function FindFirstFile returned an error. Error code: 3*** End Error Report************** Done building deployment
--------------------MESSAGE END------------------
In the additional installer page: I see the installer source location (see attached image file) as 'C:\CBESVN\PSUTS\Software\builds\PSUTS Installer\Volume' which is really my installer's source location. But I am not sure how this location got assigned. I have tried to create new build spec from the same project, still the installer source location stays the same. How do I get this issue solved?
Attachments:
Additional.jpg 174 KB -
ME21N Runtime error when using u201CDocument overview onu201D
Hi Gurus,
****I encountered Runtime error when using u201CDocument overview onu201D with variant u201CMy purchase ordersu201D or u201CPurchase orders on holdu201D. I encountered following ABEND message.
Varaint SAP&MEPOBEST not created
****I faced another issue which is mentioned below.
All page activities are blocked when using u201CDocument overview onu201D with variant u201CPurchase Ordersu201D or u201CContactsu201D .
Please reply.Hello,
To use that form you need to configure ADS in your system.
I sugest you to read the ADS configure manual and the troubleshooter note: SAP Note Number: 944221 -
Help: Error when using LSMW (Recording Object Type)
Dear all,
I encountered an error when using "Batch Input Recording" way in LSMW,which is as follows:
I have recorded the transaction MM01 and the source structure and data mapping.When dealing
with "Specify Files",the error comes out with message
--> "File Name 'Converted Data':Max.45 Characters:Remaining saved".
and the subsequent steps cannot be maintained due to the error.Alex,
The name of file for Converted data is a system generated combination of your Project subproject and object followed by lsmw.conv as Project_Subproject_Object.lsmw.conv
System has set a limit of a maximum of 45 characters. It the file name exceeds 45 characters, the system will throw the error.
Just rename the file such that it is with in the 45 charcter limit....you will be fine
Hope this helps
Vinodh Balakrishnan -
Error when calling SOAP Runtime functions - Please help!
Hi,
Very new to SAP. I just installed SAPNW7.0ABAPTrialSP12 (sandbox server, with default options) and setup the
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/db/7c623cf568896be10000000a11405a/content.htm">Flight Data</a>.
I wanted to invoke some of the Flight Data functions through SOAP. So I invoked the following URL:
http://localhost:8000/sap/bc/srt/rfc/sap/BAPI_FLIGHT_GETDETAIL?sap-client=000&wsdl=1.1
I get the following error:
The following error text was processed in the system NSP : Error when calling SOAP Runtime functions
The error occurred on the application server hs_NSP_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: HANDLE_REQUEST of program CL_SOAP_TRANSPORT_EXTENSN_ROOTCP
Method: HANDLE_REQUEST of program CL_SOAP_HTTP_EXTENSION========CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_SOAP_HTTP_EXTENSION========CP
Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP
FROM Runtime Error Log:
Runtime Errors UNCAUGHT_EXCEPTION
Exception CX_SOAP_CORE
Termination occurred in the ABAP program "CL_SOAP_TRANSPORT_EXTENSN_ROOTCP" -
in "HANDLE_REQUEST".
The main program was "SAPMHTTP ".
In the source code you have the termination point in line 37
of the (Include) program "CL_SOAP_TRANSPORT_EXTENSN_ROOTCM004".
Does anyone have any ideas on what is going on? Thanks in advance.Hi,
Have a look at this blog from Michal Krawczyk to find a solution:
The specified item was not found.
Hope this helps,
Grzegorz -
Is there a .sld file for LabView runtime engine when creating Embedded XP image
I'm looking for a .sld file to aid inclusion of LabView runtime engine in my embedded XP image. Has anyone already written one?
Hi,
unfortunately, National Instruments doesn't have any sld files for embedded OS'es, however, please checkout the links from the Lookout discussion forum, where someone was trying to do something similar.
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=506500000008000000AD5C0000&ECategory=Lookout
Although there's no definitive resolution to this thread, the person who answered has said he could be contacted.
Hope that helps
Sacha Emery
National Instruments (UK)
// it takes almost no time to rate an answer -
When opening www.google.dk and searching from the page, everything is ok
When using Google search engine in the address line search bar the error is present
When changing to Yahoo, bing or another search engine in the search bar, the error is not present
So, the error
"www.google.com uses an invalid security certificate.
The certificate is not trusted because no issuer chain was provided.
(Error code: sec_error_unknown_issuer)"
is only present when using google search engine in the search bar
Have tried to delete the files cert8.db and key3.db with no success
Read about firewall settings, but Bullguard firewall was not coveredIn your "More system details" it says your address bar search provider is Babylon, not Google. Perhaps that's the problem? Or are you using a shortcut to force the address bar search to Google?
This add-on will reset your address bar search to Google: https://addons.mozilla.org/firefox/addon/searchreset/
That might not stick if you have an add-on which reverts the setting. You can disable nonessential and unrecognized extensions here:
orange Firefox button (or Tools menu) > Add-ons > Extensions category
Also, you might need to edit or delete your user.js file to prevent your settings from being overridden at the next startup. This article has info on that: [[How to fix preferences that won't save]].
Any luck?
Maybe you are looking for
-
ITunes has stopped working...with iTouch on Windows 7
When I connect my iTouch to Windows 7 HP Pavilion Slimline to iTunes 9.1 I receive error: "ITunes has stopped working..." and iTunes is no longer accessible. The error code in event viewer is Exception code: 0xc0000005. I do not have a problem with i
-
Display TextBox Merging two columns
hi In a Form i want to display textbox merging two columns when i increading the width of textbox , elements(textbox,selectlist) in the column 2 move right side
-
How read a PARAMLIST param??????
Hi. I have a big problem with a applications forms (11g). I´d like to read the content of a PARAMLIST object, but i don´t know how is it. I find in the Oracle Document´s and nothing. I don´t know the name of the values and the content. HOw it is???.
-
Help, should I get xtreme audio or xtreme music?
I want to get a sound card for my PC. Currently I am using an in built Realtek sound card. I need the sound card for the purposes of recording vocal performances using karaoke backing tracks connecting a karaoke player to a mixer (connected to a stud
-
N9 video calling how is it being done
Like N8 I dont see video calling options when a number is dialled.