Quit LabVIEW function doesn't work when called from Actor Framework
This is related to a known bug. Details can be found in a discussion we had with LV R&D here: https://decibel.ni.com/content/docs/DOC-28012
I need a functional workaround to this bug because my application's top-level panel is an Actor Core.vi override. Can the AEs please help, as suggested by Aristos_Queue (LV R&D member) in the link above?
Hi David,
Were you able to try the workaround AristosQueue gave you? Below is the workaround he suggested.
Not sure, but I think that it will work just fine if you start a VI running using the Run VI method and have it invoke the Quit LabVIEW node. Not the Call By Reference node, but just wire a Static VI Reference to the Run VI method with FALSE wired to the terminal for whether to wait for it to finish. That subVI will then be running as a top-level VI on its own... and the only thing on its diagram would be the Quit LabVIEW node. I think that will work. Haven't tried it, but based on the description in the CAR, I think it will work.
Carl W.
Applications Engineering
National Instruments
Similar Messages
-
Video doesn't work when calling from Jabber to DX650
Hi,
I just added a DX650 to our CUCM 9.1.2. When I call from either Jabber to the DX650 or Lync to DX650, the video doesn't work and the call is audio only. The message i'm seeing on Jabber is something like "the other endpoint is not accepting video." Sorry i don't remember the exact message. Has anyone seen this issue before? Thanks!Lync is not standards based and has proprietary codecs for video. You will need a Expressway with the MS Interop key to get video both ways.
https://www.cisco.com/c/dam/en/us/td/docs/telepresence/infrastructure/vcs/config_guide/X8-2/Cisco-VCS-Microsoft-Lync-Deployment-Guide-X8-2.pdf -
WebUtil doesn't work when called from WHEN-NEW-FORM-INSTANCE trigger
I need WEBUTIL_CLIENTINFO functions to know some information from the client, like IP, JavaVersion, Hostname, OS user, etc. This functions I call through WHEN-NEW-FORM-INSTANCE TRIGGER and this doesn't nor work. I obtain the next message and error:
oracle/forms/webutil/clientinfo/GetClientInfo.class not found. WEBUTIL_CLIENTINFO.GET_IP_ADDRESS.
But when I call this WebUtil functions through WHEN-WINDOW-ACTIVATED trigger or through a button it works. Why?. I need call WebUtils in the WHEN-NEW-FORM-INSTANCE trigger!
Any help will be of great value.Basically make a timer...
Do you have the wu_test_106.fmb file that comes with the webutil install?
If you look in the wnfi trigger you will see this...
declare
fake_timer TIMER;
begin
-- Purpose of the fake timer is the we cannot call webutil in this trigger since the
-- beans have not yet been instantiated. If we put the code in a when-timer-expired-trigger
-- it means that this timer will not start running until Forms has focus (and so the webutil
-- beans will be instantiated and so call canbe made.
fake_timer:= CREATE_TIMER('webutil',100,NO_REPEAT);
--create_blob_table;
null;
end;And in the form level when-timer-expired you will see this...
:global.user_home := webutil_clientinfo.get_system_property('user.home');
:OLE.FILENAME := :global.user_home||'\temp.doc';
SET_ITEM_PROPERTY('builtins.text_io_item',PROMPT_TEXT,'Write to '||:global.user_home||'\helloworld.txt');
SET_ITEM_PROPERTY('files.userdothome',PROMPT_TEXT,:global.user_home); -
I have recently upgraded to iPhone 5 from 4, call line identity doesn't work when call other iPhones. It works when calling any other brand of cell phone. Network carrier assures me problem is not on there side. Any assistance will be appreciated.
I have recently upgraded to iPhone 5 from 4, call line identity doesn't work when call other iPhones. It works when calling any other brand of cell phone. Network carrier assures me problem is not on there side. Any assistance will be appreciated.
-
Extensions still work when calling from outside but not in listed in DN
Hello,
There are 3 extensions that still work when calling from the outside, but they don't reside in the DN listing. Where could they still exist? Using Cisco Unified CM 8.5.1.
Thank you for any assistance!Review you dial plan and also the unassigned DNs, they might not exist as an exact match, but maybe in something with wildcards.
You can use DNA to search for them.
HTH
java
if this helps, please rate
www.cisco.com/go/pdihelpdesk -
HR_INFOTYPE_OPERATION not working when called from Dynamic action
Hi ,
Senario : I would like to execute a form from dynamic action which
creates a record in 0015 (Additional payment IT) .
I have writen the code as shown below am using FM HR_INFOTYPE_OPERATION
. When i execute the program from se38 it is creating a record, however it is
not created when it is called from dynamic action..when i debugged the code in
inside the FM HR_INFOTYPE_OPERATION there is a FM HR_MAINTAIN_MASTERDATA where
they are using call dialog (statement) and
sy-oncom = 'N' when called from Dynamic action and
sy-oncom = 'S' when called executed directly.
I tried to change the sy-oncom to S while run from Dynamic action it created
the record.
So Can anyone explain me abt sy-oncom and how can i resolve the issue..
code..
REPORT ZHRPYENH01 .
perFORM TERMIATION_9000.
INCLUDE DBPNPMAC.
FORM Termiation_9000 *
FORM TERMIATION_9000.
INFOTYPES : 0015.
*data : i .
*i ='c'.
*break-point.
*message i000(000) with i.
TABLES : PRELP.
DATA : P9000 TYPE PA9000." with header line.
DATA : P0000 TYPE STANDARD TABLE OF P0000 WITH HEADER LINE.
DATA : P0015 TYPE STANDARD TABLE OF P0015 WITH HEADER LINE.
DATA : HIRE_DATE LIKE SY-DATUM,
TERM_DATE LIKE SY-DATUM.
DATA : MOLGA LIKE T500L-MOLGA VALUE '25',
SEQNR LIKE PC261-SEQNR.
DATA : RGDIR TYPE STANDARD TABLE OF PC261 WITH HEADER LINE.
DATA : ACTUAL_PERIOD LIKE PA9000-RETENTION.
DATA : PNP-SW-FOUND TYPE SY-SUBRC ,
PNP-SY-TABIX TYPE SY-TABIX.
DATA : TER_PERNR LIKE PA0001-PERNR.
DATA : REF_PERNR LIKE PA0001-PERNR.
data : key type BAPIPAKEY.
data : payed_amount type p0015-BETRG.
data : future_payment_amount type p0015-BETRG.
data : p0002 like pa0002.
types : begin of t_deduction ,
deducation_date like p0015-begda,
future_payment_amount type p0015-BETRG.
types : end of t_deduction.
data : future_deduction type standard table of t_deduction with
*header line.
data : future_deduction type t_deduction .
data : RETURN type BAPIRETURN1.
*data : deduction_p0015 like standard table of p0015 with header line.
data : deduction_p0015 like p0015 .
xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxx
****Prepare 0015 data for deduction
*deduction for payed amount
clear deduction_p0015.
*refresh deduction_p0015.
deduction_p0015-pernr = REF_PERNR.
*deduction_p0015-pernr = TER_PERNR.
deduction_p0015-lgart = 'M120'.
deduction_p0015-begda = sy-datum + 1 .
deduction_p0015-endda = sy-datum + 1 .
deduction_p0015-BETRG = payed_amount.
deduction_p0015-WAERS = 'SGD'.
deduction_p0015-ZUORD = TER_PERNR.
*append deduction_p0015.
**deduction for future payment amount
*loop at future_deduction.
*clear deduction_p0015.
*deduction_p0015-pernr = REF_PERNR.
**deduction_p0015-pernr = TER_PERNR.
*deduction_p0015-lgart = 'M120'.
*deduction_p0015-begda = FUTURE_DEDUCTION-DEDUCATION_DATE.
*deduction_p0015-endda = FUTURE_DEDUCTION-DEDUCATION_DATE.
*deduction_p0015-BETRG = future_deduction-future_payment_amount.
*deduction_p0015-WAERS = 'SGD'.
*deduction_p0015-ZUORD = TER_PERNR.
*append deduction_p0015.
*endloop.
Create a deduction wage type in 0015 for the employee
break-point.
CLEAR RETURN.
CALL FUNCTION 'BAPI_EMPLOYEET_ENQUEUE'
EXPORTING
NUMBER = REF_PERNR
VALIDITYBEGIN = '18000101'
IMPORTING
RETURN = return
if not return is initial.
message E000(000) with
'Referred Employee could not be locked for referal payment deducation,
please try after some time'.
endif.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '0015'
NUMBER = REF_PERNR
SUBTYPE = 'M120'
OBJECTID =
LOCKINDICATOR =
VALIDITYEND = SY-DATUM
VALIDITYBEGIN = SY-DATUM
RECORDNUMBER =
RECORD = deduction_p0015
OPERATION = 'COPY'
TCLAS = 'A'
DIALOG_MODE = '2'
NOCOMMIT =
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
RETURN = return
KEY = key
break-point.
COMMIT WORK.
if not return is initial.
*return-TYPE
*ID
*NUMBER
*MESSAGE
message I000(000) with return-MESSAGE.
endif.
CALL FUNCTION 'BAPI_EMPLOYEET_DEQUEUE'
EXPORTING
NUMBER = REF_PERNR
VALIDITYBEGIN = '18000101'
IMPORTING
RETURN = return
xxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxx
Thanks and regards
-Senthil Bala
Message was edited by: senthil balaHi Senthil
Why at all U want a subroutine to create a record in IT0015 through Dynamic action.There are some standard codes available to update infotypes.
Let me give U an example
14 9CON BETRG 4 2 I INS,0015 This will create a record in IT0015 when IT0014 is updated with Wagetype 9CON
14 9CON BETRG 4 3 W P0015-LGART='5400' Set wagetype for IT0015(Here U can use a subroutine call to set the wagetype)
14 9CON BETRG 4 4 W P0015-BETRG=P0014-BETRG set amount for IT0015(Here U can use a subroutine call to get the amount)
14 9CON BETRG 4 5 W P0015-BEGDA=P0014-ENDDA set the dates(Here U can use a subroutine call to set the dates)
Hope this will help U.
Please award points if helpful -
Ipod nano 1st gen doesn´t work when disconnected from itunes
I can´t do anything, it doesn´t even turn on, only work when connected to itunes, the moment i unplug it from the computer it stops working, please help!
For anyone else having this problem, I found this solution to work. Try this first:
a) Get Windows to restart the drivers:
- disconnect your USB device and close ITunes
- connect your USB device
- if ITunes loads, close it.
b) File explorer:
Open File explorer and browse to
C:\Program Files\Common Files\Apple\Mobile Device Support\Drivers
In that folder there should be a set of files named "usbaapl64...."
right click on the one ending in "INF"
Select Install. It's very quick.
remove the USB device
c) Restart the computer.
When you login again, load ITunes before you attach your USB device.
d)If you just want to add some photos, songs and movies from computer to your devices, you can use an iTunes alternative to do the job. Hope it helps.
<Link Edited by Host> -
AirPlay doesn't work when streaming from BBC iplayer unless I use mirroring
I usually watch iplayer and 4OD by streaming it from my iPad or iPhone onto my tv with AirPlay on apple tv but now all of a sudden I've been getting a connection error and the stream fails. It does still work when I use mirroring (which doesn't make sense to me) but mirroring won't fill the screen the way AirPlay does and it also makes my phone run hot since it can't blank the screen.
Any ideas what's going on?Try restarting the Apple TV, it works fine for me so it's not the iPlayer.
-
Flex app doesn't work when moved from original location
I'm trying to make an image gallery in flex. It works when I run it in Flex Builder perfectly fine. The html and swf files from the bin-debug folder work perfectly fine when opened in any browser also, but ONLY when those files and all related files are opened from the default location that the application was built in. When I export a build to a different folder, the swf loads but none of the information from the xml file displays. I tried setting all of the paths of the reference files (namely the xml) in the flex app to the exact absolute location on the server, and it still didn't work when I uploaded it to the server.
I've tried several approaches starting from scratch and they have all come up with the same issue. I'm working with an educational license for Flex Builder, I'm not sure if they jip you on those and ruin the compiled swf.
Please help! I'm losing my mind over this.I think it has to do with something else besides the code since it works fine when I hit "Run", but if anyone thinks it will help to post the code let me know.when you build an application using one of the wizards (like coldfusion flex application wizard) it hard codes
paths to cold fusion CFC's, and sometimes gets it wrong.
If your application references cfc's (or other remote objects) then it may be necessary to adjust the flex code
when moving the code into a different base folder.
For example in my own application, the url is http://localhost/crm_dev_flex and the built application gets put into
c:\inetpub\wwwroot\crm_dev_flex\bin-debug
References in the code to components found in c:\inetpub\wwwroot\crm_dev_flex\bin-debug\components\cfgenerated
(in the flex code these looks like crm_dev_flex.bin-debug.components.cfgenerated.<mycomponent> )
These need to change when you move the code to somewhere else.
Also, if you are using wizard generated cfc's then these also contain similar references that need to be changed.
IHTH.
Cheers -
Export to Excel functionality doesn't work when DataControlScope is shared.
Hi All,
I have a taskflow whose transaction setting is as Below:
1.Always Begin New Transaction
2.DataControlScope is isolated(Share data controls with calling task flow checkbox is unchecked).
I have an Export to Excel functionality with exportCollectionActionListener.The jsff source snippet is given below.
<af:commandMenuItem text="#{smviewcontrollerBundle.EXPORT_TO_EXCEL}"
id="cmi1" icon="/images/excel_icon.jpg"
binding="#{backingBeanScope.backing_fragments_RefSetSearch.cmi1}">
<af:exportCollectionActionListener exportedId="resId1"
type="excelHTML"
filename="SmRefSetCodes"
title="System Reference Inquiry Result"/>
</af:commandMenuItem>
The jsff is used in the above mentioned task-flow.Having this configuration in task-flow,export to excel doesn't export any table data in the excel sheet.But the moment,data-control-scope is changed to shared,export starts working.
Is there any specific reason on this kind of behavior.
In all other task-flows in my application,I have data-control-scope as isolated only,but there,export is working perfectly fine.
Please help.
Thanks,
GauravHi Frank,
Thanks for your reply.
Exactly,I have just one task-flow in which I have a page fragment for which export to excel is not working.The moment I change the data-control-scope to shared,export functionality starts working.
I do have correct table id mentioned in exportCollectionListener.
Is there anything I need to look into?
Thanks,
Gaurav. -
'ToDate function doesn't work when I select a month
Hello all,
I've got a problem. It worked before, but can't get it to work anymore
I have a fact called XXOBI_GL_LINES_MV which has a column Amount_accounted. Now I want to use the ToDate function which look something like this:
ToDate(XXOBI_GL_LINES_MV,TIMEDIM.YEAR)
So I want to create a year to date.
Now when I make a report it all works fine. Except when I add a column of the time dimension to the report.
But the strange thing is, it worked, but I can't get it to work anymore so I hope someone can help me out!!
Best regards,
Remc0I don't know if this adds any value, but this is the query it generates:
select D1.c1 as c1,
D1.c2 as c2,
D1.c3 as c3,
D1.c4 as c4
from
(select D2.c4 as c1,
sum(T12332.AMOUNT_ACCOUNTED * -1) as c2,
D2.c3 as c3,
D2.c5 as c4
from
XXOBI_GL_LINES_MV T12332 /* Feit - Journaal */ ,
(select distinct min(D1.c1) over (partition by D1.c4) as c1,
min(D1.c2) over (partition by D1.c4, D1.c3) as c2,
D1.c3 as c3
from
(select Case when case D1.c5 when 1 then D1.c3 else NULL end is not null then Rank() OVER ( ORDER BY case D1.c5 when 1 then D1.c3 else NULL end ASC NULLS LAST ) end as c1,
Case when case D1.c6 when 1 then D1.c3 else NULL end is not null then Rank() OVER ( PARTITION BY D1.c4 ORDER BY case D1.c6 when 1 then D1.c3 else NULL end ASC NULLS LAST ) end as c2,
D1.c3 as c3,
D1.c4 as c4
from
(select T12378.DAY_DATE as c3,
T12378.YEAR_ID as c4,
ROW_NUMBER() OVER (PARTITION BY T12378.YEAR_ID ORDER BY T12378.YEAR_ID DESC) as c5,
ROW_NUMBER() OVER (PARTITION BY T12378.YEAR_ID, T12378.DAY_DATE ORDER BY T12378.YEAR_ID DESC, T12378.DAY_DATE DESC) as c6
from
XXOBI_TIME_MV T12378 /* Dim - Tijd */
) D1
) D1
) D3,
(select distinct min(D1.c1) over (partition by D1.c5) as c1,
min(D1.c2) over (partition by D1.c5, D1.c6) as c2,
D1.c3 as c3,
D1.c4 as c4,
D1.c5 as c5
from
(select Case when case D1.c7 when 1 then D1.c6 else NULL end is not null then Rank() OVER ( ORDER BY case D1.c7 when 1 then D1.c6 else NULL end ASC NULLS LAST ) end as c1,
Case when case D1.c8 when 1 then D1.c6 else NULL end is not null then Rank() OVER ( PARTITION BY D1.c5 ORDER BY case D1.c8 when 1 then D1.c6 else NULL end ASC NULLS LAST ) end as c2,
D1.c3 as c3,
D1.c4 as c4,
D1.c5 as c5,
D1.c6 as c6
from
(select T12378.MONTH_ID as c3,
T12378.MONTH_DESCR as c4,
T12378.YEAR_ID as c5,
T12378.DAY_DATE as c6,
ROW_NUMBER() OVER (PARTITION BY T12378.YEAR_ID ORDER BY T12378.YEAR_ID DESC) as c7,
ROW_NUMBER() OVER (PARTITION BY T12378.YEAR_ID, T12378.DAY_DATE ORDER BY T12378.YEAR_ID DESC, T12378.DAY_DATE DESC) as c8
from
XXOBI_TIME_MV T12378 /* Dim - Tijd */
) D1
) D1
) D2
where ( T12332.EFFECTIVE_DATE = D3.c3 and D2.c1 = D3.c1 and D2.c4 = 'January 2009' and D2.c2 >= D3.c2 )
group by D2.c3, D2.c4, D2.c5
) D1 -
SOFM: Dsiplay method is not working when called from ABAP Webdynpro
Hi All,
I want to open an attachment from ABAP Webdynpro.
I have approached in this fashion:
1) Get the attachments as SOFM object key
2) On Click of a link on Webdynpro, I am calling a function module within which I am creating an instance of the SOFM object
3) Then I am calling the DISPLAY method
It is not opening.
But, if it opens when I driectly execute the function module. It open when I directly test the business object.
Any Idea ?
Thanks & Regards,
DebDisplay Method uses the Dialogue Module, You should not access such methods in web dynpro which are SAPGUI specific.
Web Dynpro Applications are run in Browser environment which cannot understand Dialog, it can understand only HTML.
Read the attachments and get the content and use FileDownload UI element to show it to user.
Abhi -
Keyboard & mouse doesn't work when restarting from battery dying.
When my battery dies, I go to put it back on the charger. Once it is done loading the main log on screen, neither the keyboard or mouse won't work for a good minute or so. Once the screen turns black, then comes back, it works. Any ideas? Thanks!
Try plug an usb keyboard and a usb mouse. If the problem persists, you may reset the SMC and nvidia/PRAM memory.
If that doesn't do it, run the Apple Hardware Test .
Cheers, -
ISight doesn't work when chatting from south america?
I have a MacBook and was able to successfully iChat with my home G5 (10.4.7) desktop no problem. Now I'm working in Uruguay and everytime I try to iChat with my home computer it tells me that the communication is not possible. Does this have to do with the DSL service I have in Uruguay? I'm quite upset cause I actually got the iBook in order to iChat with my family when I'm overseas...
FYI: ALL FIREWALLS from both computers are off...It could be the DSL service, or it could be the DSL modem or your router.
I would try video connections from an Internet cafe or from another Internet connection. -
Caller ID does not work when calling from Jabber
We have the following results when doing calls within the company:
Desk Phone A (4567-X-Smith): 7801234567
Desk Phone B (4568-Y-Miller): 7801234568
Main Company Line: 7801230000
All desk phones have the following type of configuration:
Under the phone -> Line[1] -> Line1 on Device <MAC>
Display (Internal Caller ID): 4567-X-Smith
ASCII Display (Internal Caller ID): Our Company Name
Line Text Label: 780-123-4567
ASCII Line Text Label: 780-123-4567
External Phone Number Mask: 7801230000
Desk Phone A calls Desk Phone B
- caller ID shows up properly on Desk Phone B as 4567-X-Smith
User at Desk Phone A makes the call through the Jabber client to Desk Phone B
- caller ID shows up as 7801230000
This last situation is the problem since we want all internal calls whether they're form the desk phone or Jabber to show the proper caller ID. However, we want the generic main company line (7801230000) to show up to anybody outside the company. What is set incorrectly? Why does Jabber take over the line but not keep the same caller ID settings? Does jabber work as if it's doing an external call?
Thanks in advance,
KrisInteresting... I just 4-digit dialed 8182 (typed in the Search field at the top of the jabber window) and my proper caller ID showed up...
Next I tried 10 digit dial 7804988182 through jabber and it showed 7804988100 (our external calling mask). I also just noiced that it very briefly flashes 97804988182 so that seems to indicate it's trying to dial through the PSTN...
Oddly enough, if I 10 digit dial through my desk phone, it shows the proper caller ID.
Maybe you are looking for
-
SAP ACC 7.3 - Start Services
Hi, We are using SAP ACC 7.3 on NW 7.3 system. As part of i am trying the functionality of Mass Restart or Stop and Start kind of options. During the Mass Restart it stops dialog servers, CI and database in the order and when it automatically does st
-
Final Cut Project file has become bloated
My Final Cut Project file seems to be growing at an exponential level. It jumped from 160mb to 367mb after I DELETED a bunch of files to try & reduce the size. The problem is getting serious. I try & "save as" or create a new project and drag my e
-
HP Envy 7640 driver won't install on Yosemite Mac OS 10.10.1
I am running MAC OS 10.10.1 (newest Yosemite update). I have downloaded the newest drivers from the hp website. I am trying to install the drivers for my new printer for the first time and the drivers will not open, as they say they're not recognized
-
[Solved] Development "methodology"
This is not strictly speaking, a programming question, but this section of the forum seemed the more appropriate. So, say you want to start developing pacman, or vim, or (to stretch the question), KDE. How do you set up your environment? For pacman
-
IMovie Freezes All The Time when I have video clips in my iphoto why ??
I am soooo stressed out I am trying to find a way to keep my iphoto movie clips in iphoto but when I do that I can't open my iMovie it will just freeze and I get the beach ball of death ! Is there a way to fix that other than deleting all my videos f