Path changed in Executable, screenshot impossible
Hello everybody,
I have a program, which save a screenhot of the current VI. If I create a executable the "save a screenhot of the current VI" doesn't work.
Maybe there is a problem with the file directory? I attempted it with the File constant: current vi path, application directory and default directory, but without success.
If anywhere a simple example or anybody have some links?
many thanks in advance
zäpfle
Solved!
Go to Solution.
I could solve the question, see the attachment.
zäpfle
Attachments:
MAIN_V2.vi 14 KB
Similar Messages
-
Instr.lib path change in executable
Hello,
generated and executable using Labview 2010. It actually run fine on development computer.
However, when running executable on other plaltform, the path for instr.lib changes to C:\instr.lib.
The project only contains a packed library and the start up vi which calls VIs from packed library.
How can I solve this issue?
Ariscrate!Aristocrate wrote:
Is there somthing to pay attention to when building executable that calls VIs dynamically?
You just have to be careful about where your VIs actually are. Using relative paths are typically the way to go. It is best if you can use relative paths based on the Application Directory, which points either to the EXE or the project file.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Changer l'executable du PC RT sans redémarrer le PC
Bonjour
J'ai un PC RT (Phar Laps) sur lequel tourne Labview RT et un PC IHM ( Windows) liaison TCP/UDP entre les 2 PC
D'habitude on utilise un startup.exe qui est lancer des que le PC RT est allumé.
Ce que je souhaite faire c'est de pouvoir changer l'executable qui est exécuté sur le PC RT sans à avoir à redemarer celui ci
Exemple je lance sur IHM un VI (version 2.0) celui ci alors charge sur le PC RT la version RT qui correspond (sans que le PC RT redemarre)
Est-ce-possible ?
MerciBonjour,
Le startup.exe est obligatoirement booté au démarrage, vous ne pouvez pas le modifier sans redémarrer. Vous pouvez néanmoins toujours passer par le projet LabVIEW du PC IHM pour redéployer un nouveau code sans redémarrer.
A noter que vous pouvez aussi faire un VI de démarrage :
> Configuring Startup VIs on LabVIEW Real-Time Targets with a Source Distribution
Cordialement,
Rémi M.
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;}
>> Les présentations NIDays 2010 déjà disponibles au téléchargement ! -
Change the Execute Thread Count im weblogic9.2
Hi
I am trying to change the execute thread count in weblogic 9.2 but i am not able to find the location in weblogic Console to change it can any one help meHi,
In previous versions of WebLogic Server, processing was performed in multiple execute queues. Different classes of work were executed in different queues, based on priority and ordering requirements, and to avoid deadlocks. In addition to the default execute queue, weblogic.kernel.default, there were pre-configured queues dedicated to internal administrative traffic, such as weblogic.admin.HTTP and weblogic.admin.RMI. Now the Same thing is done using WorkManagers...
WebLogic Server, Version 8.1 implemented Execute Queues to handle thread management which allowed you to create thread-pools to determine how workload was handled. WebLogic Server still provides Execute Queues for backward compaitibility, primarily to facilitate application migration. However, new application development should utilize Work Managers to peform thread management more efficiently.
You can enable Execute Queues in the following ways:
* Using the command line option*
-Dweblogic.Use81StyleExecuteQueues=true
So in that Case ...*config.xml* entry will be like this:
<server>
<name>AdminServer</name>
<execute-queue>
<name>weblogic.kernel.Default</name>
<queue-length>256</queue-length>
</execute-queue>
<use81-style-execute-queues>true</use81-style-execute-queues>
<listen-port>7001</listen-port>
<web-server>
<web-server-log>
<file-name>../../logs/admin_access.log</file-name>
</web-server-log>
</web-server>
<listen-address>aaa.bbb.com</listen-address>
</server>
for more detailed Information Please refer to:
http://download.oracle.com/docs/cd/E11035_01/wls100/config_wls/self_tuned.html
Edited by: Jay SenSharma on Jan 20, 2010 3:42 PM -
Hyper-V Virtual Machine VHD parent path changed
Hi all,
As what you can see in the following screenshot, the parent path of a differencing VHD file changed from c:\clusterStorage\Volume1\ to d:\$Recycde.Bin\S-1-5-21...\$RNUGP30\Volume1.
Here is more information:
The current Windows Server 2012 R2 boot from a VHD file(native boot), and original C: drive now is D: drive.
One some differencing VHDs have this issue. I tried to move the parent VHD to another folder in Volume1 and reconnect the differencing VHDs. However, the issue persist.
The problematic computer is a node of a Windows Server 2012 R2 Hyper-V Cluster. If I migrate the VMs with the issue to another node, the issue disappear.Hi Anna,
As you can see in the following screenshot, I create a new differencing VHD with powershell and the path is strange.
I rebuild the system with a new VHD file, however, the issue persist after I join the node to the cluster. -
Background image path changes in Template
I have a template I've created, but whenever I attempt to
create a new page from that template the path to the background
image changes automatically causing it to disappear.
The template displays this path:
body {
background-image: url(../img/bg.gif);
background-repeat: repeat-y;
background-position: center;
background-color: #E8F1FA;
While the page created from the template shows this path:
body {
background-image: url(file:///B|/Web
Development/website/img/bg.gif);
background-repeat: repeat-y;
background-position: center;
background-color: #E8F1FA;
What is causing this? Thanks in advance.Answered on DW forum.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"logicore" <[email protected]> wrote in
message
news:gecn6f$dag$[email protected]..
>I have a template I've created, but whenever I attempt to
create a new page
> from that template the path to the background image
changes automatically
> causing it to disappear.
>
> The template displays this path:
>
> body {
> background-image: url(../img/bg.gif);
> background-repeat: repeat-y;
> background-position: center;
> background-color: #E8F1FA;
> }
>
> While the page created from the template shows this
path:
>
> body {
> background-image: url(file:///B|/Web
Development/website/img/bg.gif);
> background-repeat: repeat-y;
> background-position: center;
> background-color: #E8F1FA;
> }
>
> What is causing this? Thanks in advance.
>
>
> -
BEx Analyzer: Formula Variable with Replacement path change Month with Day
Hi experts I'm facing this issue in BEx Analyzer.
I need to have some dates in format DD/MM/YYYY in Index Structure, in order to do this I've created a formula variable with replacement path referenced to 0CALDAY characteristic.
The formula works but it behaves in a strange way:
if the day is higher than 12 the displaied result is correct (DD/MM/YYYY)
if the day is lower or equal 12 the displaied result is wrong (MM/DD/YYYY)
I'm on BW 7.01 SP6 and BEx Analyzer 7.10 SP12, excel 2007.
anybody has faced this issue before?
any help will be appreciated
Daniele CortopassiHi Daniele,
This seems pretty strange. Pls. redo validation with the dump data, as being a flat struture BEx does not apply any logic changes. May be it might have been MM/DD/YYYY format as in workbooks. Else you may change the property of 0calday display as "Text". Business Explorer > Display > KeyMaster Data/Texts > Texts (Plese check this option). If you are using some text table you may maintain the same using BI0/TCALDAY (Similar to BI0/TCALMONTH2). Guess it should be an excel based issue; if not you may try the same in WAD/Report designer to verify the nature of the issue. If you don't face these inconsistencies in WAD/RD then you may change excel formatting options. Lastly, please let us know if the infoobject has some predefined settings in RSA1 > Infoobject > (BEx) Properites.
Thanks,
Arun Bala -
Wrong path changes in Itunes XML file
hi there,
My Itunes library (9.0.2) is stored locally on my macbook, although actual files are on a network attached storage that I access through AFP. This share is mounted automatically when the mac starts. Everything was working perfectly fine until a few days ago (no major change to the library or mac), when my iphone synchonization started to report impossible to read on the device files.
After a few more investigations, I pinpointed some of the missing files, which were not missing but were replaced by other files (absolutely not linked to my media files).
the <key>Location</key> in the xml file was, for example
<key>Location</key><string>file://localhost/Volumes/David/docs/Me%CC%81dias/src/elodie2.jpg</string>
where it should have been something like
<key>Location</key><string>file://localhost/Volumes/David/media/music/albums/Damien%20Rice/9/09%20-%20Accid ental%20Babies.mp3</string>
Does anyone have a clue about what went wrong and how to circumvent this in the future ?
Thanks in advanceOliver:
The simple answer is yes. Any changes you make to your RSS feed file (xml file) will eventually be updated by ITMS. Usually ITMS updates feed changes within 24 hours. However, the most recent changes I made in my feed files took almost 8 days before ITMS refreshed my listing.
One issue is clear. If you make changes to your image file, there is a high probability that when ITMS updates your database record, your listing in ITMS will show the broken link image for awhile. I've changed my image file twice, and each time, my ITMS listing showed the broken link image. Eventually the new image shows up, but it does take a long time for this day and age.
Good luck! -
How do I set a path in an executable for a DLL?
I wrote a VI that is using a DLL in the Call Function Library Node. I set the parameters to Specify Path In Program in the node. I did this because I am distributing the VI as an executable and the path is obviously not the same as my VI. When running the VI I am using the Current VIs path, Strip Path, and then Build Path to get the directory for the DLL I am calling. It works fine for the VI. Where my problem lies is when I run it as an executable the filename.exe is being used in the build path and the DLL is then not being found. Is there a reason the .exe is acting different than the VI? What would a good solution be to fix this problem? Thanks in advance for any help.
There's a perfectly good reason and this question gets asked about once a week from people new to the app builder. When you use the current VI's path in the development system, the path might be c:\folder\example.vi. When in a exe or dll, the path to the current VI is c:\folder\program.dll\example.vi. You need an extra strip path. You make it work in both development and the dll by using reading the App.Kind property and wiring the output to a case statement. Put the extra strip path in the run-time case.
-
Report Output Changed when Executed in Background
Hi Guys,
I have generated a report,which when executed online displays
four records.
But when i am executing the same report in background by generating a spool,my output is changed,such as third record is missing and i am getting only three records.
In the place of the third record an empty line is displayed.
whats the reason for it?
Can anyone help me in this regard.Hey Aparna,
I have a report which has more than 400 characters in width. When I execute the report in background, I dont have a printing format of more than 255 characters. Therefore the generated spool has only 255 characters.
How can I get the complete spool? Is there a way to define printing format or any other T-Code to print the generated spool?
Regards,
Anosh -
File path changing my code?
Hi,
I am using labview 7 to take voltage readings from a discharge detector, convert them to digital using NI PCI 4474 card then hopefully integrate them. A program for a similar function has already been written for the same card, but when i copied this program to a different PC and changed the file directory, the wire from task out on the DAQmx Stop Task.vi to the DAQmx Clear task.vi "task in" gets broken, and I can't figure out why or how to solve this. I know I need to do quite a bit of development to this program for it to meet my specific needs, but this just makes no sense, can anyone please help?? I've posted the code below.
Cheers
Attachments:
ScanTestb.vi 154 KBStart by looking at the file path.
You can write the base path in "Folder Path", such as C:\test_DA (or whatever you want). The right-click the "Folder Path" control and select Data Operation and make current value default. Just to try as a quick fix ..
RayR
Message Edited by JoeLabView on 06-02-2008 07:36 PM
Attachments:
DefaultPath.PNG 9 KB -
Do you want to save changes after execute query by example
Hi, I kinda hope this is simple to solve.
I have a block with some database fields and some non-database fields.
The none database fields i populate in post-query trigger. However, if I execute the query, it seems that the form thinks that the form id 'dirty', and therefore asks if I want to save changes.
I only want this question if I manually added/changed/deleted something.
Can someone tell me what I should do? Maybe some additional code in the POST-QUERY trigger...
Here's what I've coded so far:
begin
select USERNAME
into :SEC_ACTIVITY_MEMBERSHIP.USER_DISP
from ISMS_SEC_USERS_LOV_V
where ID = :SEC_ACTIVITY_MEMBERSHIP.USER_ID;
exception
when no_data_found then
fnd_message.set_name('ISMS', 'SQL_NO_DATA_FOUND');
fnd_message.set_token('TABLE', 'SEC_ACTIVITY_MEMBERSHIP');
fnd_message.set_token('COLUMN', '(USER_ID)');
fnd_message.set_token('VALUE',
'('||to_char(:SEC_ACTIVITY_MEMBERSHIP.USER_ID)||')');
fnd_message.error;
end;
begin
select NAME
into :SEC_ACTIVITY_MEMBERSHIP.ACTIVITY_DISP
from ISMS_SEC_ACTIVITY_LOV_V
where ID = :SEC_ACTIVITY_MEMBERSHIP.ACTIVITY_ID;
exception
when no_data_found then
fnd_message.set_name('ISMS', 'SQL_NO_DATA_FOUND');
fnd_message.set_token('TABLE', 'SEC_ACTIVITY_MEMBERSHIP');
fnd_message.set_token('COLUMN', '(ACTIVITY_ID)');
fnd_message.set_token('VALUE',
'('||to_char(:SEC_ACTIVITY_MEMBERSHIP.ACTIVITY_ID)||')');
fnd_message.error;
end;Check out this thread:
status=Changed
You probably have something in the validation triggers in those fields which change database fields.
To fix it, reset the record status to Query. -
DATA Log file path change in sql
Dear experts,
due to non avaibility of space in disk i have move my SAPLog file in another drive, but now my SAP working fine but when i try to change path in SQL 2005 its not giving me permission to do.
please let me know how to change log file path in sql 2005.
& if infuture i change my SAP 1 DATA file path how we change configure new path for dabase in SQL 2005.
Regards,
jitendra.Hi
Kindly go thru below web links. before start the process stop the SAP instance.
http://support.microsoft.com/kb/224071
Set the log DB size - http://help.sap.com/saphelp_nwce72/helpdata/en/f2/31ad9b810c11d288ec0000e8200722/content.htm
and ref the SAP Note 363018
Regards
Sriram -
Which fields in PDF DOM are changed after executing a JS. Any way to know that?
while executing a javascript, doest Adobe provides any eventing mechanism indicating what are the fields that have changed?
When any field value is changed, the calculate event of all fields that are set up to calculate are triggered, in the order defined by the calculation order. Within a field's calculate event, event.source gives the field that triggered the calculate chain by having its value changed.
-
Itunes / audio folder path change question
Hello all
I have many audio tracks (voice) that I used in my edits. I had to move my iTunes library to an external disk because of space. Now none of my audio tracks work because I guess the path has changed. I would rather not change the iTunes folder back if I could avoid it. Is there a hack I could do? A symbolic link in the iTunes folder perhaps pointing to the new location?Hi Renita
You should be able to freely name the CHM whatever makes sense to you in the field.
I recall you are also possibly involved in CSH development. So the file name could play a significant role in that. But even after you generate the help you should be able to rename it if you want.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!
Adobe Certified RoboHelp HTML Training
SorcererStone Blog
RoboHelp eBooks
Maybe you are looking for
-
Index with "or" clause (BUG still exists?)
The change log for 2.3.10 mentions "Fixed a bug that caused incorrect query plans to be generated for predicates that used the "or" operator in conjunction with indexes [#15328]." But looks like the Bug still exists. I am listing the steps to-repro.
-
Automatic creation of work center per new employee
Dear gurus, Is it possible to instantly create Work Centers every time an employee is hired and created via HR module? We consider an employee as "created" when infotypes 0000-0002 are accomplished. Work centers in PS are manually done in CNR1. The r
-
Ph/conductivity meter vi or information
I am trying to have labview 7.0 read and record (to excel) pH/conductivity/temp from a thermo-orion 550A multimeter. I have used hyperterminal to communicate with unit, however, would like to encorporate into LV. I am converting RS232 to USB and the
-
Special depru00B0 : posting scheme not compliant with FR GAAP
Hello guys, I have implemented the gross procedure for the special depreciation area (transaction OAYQ) in order to distinguish the increase and decrease movement types for the special reserve Balance sheet G/L account. Indeed, the variations need to
-
Priority queues for external loading
Hi, I was wondering if there was a way to load multiple external files (via the Loader class) in parrallel, but with a priority queue. That is, I want to load 5 images, but I want image 1 loaded as fast as possible. Obviously I could make my own load