Cant transmitt and Recieve data when USER INTERFACE Execution Mode selected
Hi..
I am working on a project in which I have to continuously send and recieve serial data..
Again, in my application, I want to use AciveX control to open PDF (Theory related to the project).
PDF can be opened only in USER INTERFACE Execution Mode.
(I dont want to open PDF in Adobe Reader.. I want it inside my application)
But when I use this execution mode, I am unable to transmitt and receive data through VISA.
When I change the Execution mode to STANDERD, all works fine.
Again, I could not change the mode Using Property node.. Shows error that I cant edit the VI in running mode.
How should I get these two works done at a time..
Hi Avatar,
both links are essentially the same…
I don't have Acrobat installed, so I cannot reproduce the problem or test the VI.
Did you try a different tool? There are other PDF viewers available…
Maybe the MS Webbrowser (available as DotNet) can show PDFs on the frontpanel of your VI…
You cannot change the execution system at runtime as it would require recompiling the VI. Point.
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Similar Messages
-
Stored proc to pull data from INV/OM/ASCP and load into a user interface
i'm trying to pull the data from inv, om and ascp into a user interface ? help me write a stored proc to write 3 procedures, with 3 custom tables for the 3 diff source systems i.e., OM/INV/ASCP and also provide these 3 programs in the request set so that when request set is run, it runs the programs one after the other.
-please help me with a simple step by step process in doing so ?
Thanks in advance !!
Edited by: 1003397 on May 20, 2013 3:59 PMi'm trying to pull the data from inv, om and ascp into a user interface ? help me write a stored proc to write 3 procedures, with 3 custom tables for the 3 diff source systems i.e., OM/INV/ASCP and also provide these 3 programs in the request set so that when request set is run, it runs the programs one after the other.
-please help me with a simple step by step process in doing so ?
Thanks in advance !!
Edited by: 1003397 on May 20, 2013 3:59 PM -
In Numbers, how do I lock in the date and time data when an IF/THEN formula is used with the "NOW" function?
=IF(I127,NOW()," ")
I127 equals a check box. The formula retuns a value of the current date and time when a check is placed in the box. How does one lock that date and time so that it cannot be changed?I don't think it is possible to lock in the date and time using a formula. You could put NOW() in a cell, copy, and Edit Paste Formula Results where you want the result.
Or if you are "time stamping" a lot, you may find this Automator Service (Dropbox download) helpful. It puts a "Today" function (actually it should be named "Now" because it includes both date and time) in your Services menu like this:
Just doubleclick the .workflow package to install it. You may have to click "download anyway" in System Preferences > Privacy & Security.
If you want you can assign the service a keyboard shortcut in System Preferences here:
SG -
FM to get start and end date when given month
Hi all,
can anybody help me if there a FM to get start and end date when given month like 01 for jan.
Thanks in advance
SahityaHi,
Check this Function Module
HR_JP_MONTH_BEGIN_END_DATE
here if you r giving the month u wil get the start date and the end date.
Hope this helps you.
Thanks & regards,
Y.R.Prem Kumar -
I have a version 7.0.4. I can't connect to the server. My capacity is 13.5 with 10.4 GB available. Diagnostics and usage data, when scrolled to the bottom, tells me I have low memory.How cani fix this?
Clear Safari, close all apps on the iPad and reboot. Then see if you can connect.
Go to Settings>Safari>Clear Cookies and Data.
Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to each app then swipe "up" on the app preview thumbnail to close it.
Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
If you still can't connect to the internet, you need to do some more troubleshooting with the network connection, but report back with more details if that doesn't work and don't just repeat the question in the text box are that you have to describe the problem. That serves no purpose at all. -
Hi,
I am using the TestExec User Interface editor mode, in the SequenceFileLoad callback from my sequence an instance is made from a C# code module
(the code module is located in another dll) , this reference is stored into a station global variable.
Now I want to retrieve the reference from the station global variable in my TestExec User Interface code.
So, is it possible to get this reference back from the station global variable?
Best regardsReading the StationGlobal is not a problem. But the problem maybe that your reference contained in your StationGlobal is probably not valid once the SequenceFileLoad has completed its execution which it will have done once the SequenceFile has loaded.
Any references you wish to pickup are best down via one of the ProcessModel callbacks such as ProcessSetup.
Regards
Ray Farmer
Regards
Ray Farmer -
Different values when in highlight execution mode.
I am running a vi which does a bunch of math on scalars and floating point images. When I run the vi, the output images are filled with "Not a Number" but when I go throught the vi in highlight execution mode the numbers come out as what they should be. This doesn't have anything to do with the camera not responding fast enough to supply the data for the image when in normal execution mode. I'm just testing the vi by defining an image filled with a particular value so that I can see if it is doing the math correctly. If the "NaN" result was all I had to go on (when running the vi normally) I would keep looking in my code for errors, but I get the correct numbers when I run it with execution highlighting.
Can anyon
e explain why this would be happening?
Thank you.Hi,
I made the expirience that function in undefined order are executed in
different order if the vi is run in highlight mode or normal mode. So it
can be usefull to put some critical functions in a sequenz for the right
order.
Niko -
When Adobe Formscentral retires can we still send the forms to our customers and receive data on the response to export to excel?
Hello,
Unfortunately, after the retirement of Adobe FormsCentral; you will not able to send and receive responses.
Please visit the following link for more information:- End of support | Adobe FormsCentral
Regards,
Nakul -
Basic List:- Need to get data when user double click on report output
Hi,
My requirement is to display asset details as a report and when user double clicks on the asset details, transaction AS03 need to be opened.
The output layout is as follows:
Company code 800 Asset class 111
Asset 1 ................
Asset 2.................
Asset 3.................
Company code 900 Asset class 111
Asset 1 ................
Asset 2.................
Asset 3.................
when user double click on Asset 1 of Company code 800, then transaction AS03 need to be triggerd. But when I use ATLine selection. I only get the Asset1....details in the sy-lisel. But I need Company code for triggering the AS03 transaction.
Please let me know any way of getting company code along with the Asset 1 ......
Regards
Suresh KumarHi,
Herewith i am sending the sample coding for the report.
REPORT YMS_INTERTESTALV .
TYPE-POOLS: slis.
DATA: BEGIN OF itab1 OCCURS 0,
vbeln TYPE vbeln,
bstnk TYPE vbak-bstnk,
erdat TYPE vbak-erdat,
kunnr TYPE vbak-kunnr,
END OF itab1.
DATA: BEGIN OF itab2 OCCURS 0,
vbeln TYPE vbeln,
matnr TYPE vbap-matnr,
netpr TYPE vbap-netpr,
kwmeng TYPE vbap-kwmeng,
END OF itab2.
DATA: t_fieldcatalog1 TYPE slis_t_fieldcat_alv.
DATA: t_fieldcatalog2 TYPE slis_t_fieldcat_alv.
DATA: v_repid TYPE syrepid.
v_repid = sy-repid.
Get the fieldcatalog1
PERFORM get_fieldcat1.
Get the fieldcatalog2
PERFORM get_fieldcat2.
SELECT vbeln bstnk erdat kunnr UP TO 10 ROWS
INTO TABLE itab1
FROM vbak.
IF NOT itab1[] IS INITIAL.
SELECT vbeln matnr netpr kwmeng
INTO TABLE itab2
FROM vbap
FOR ALL ENTRIES IN itab1
WHERE vbeln = itab1-vbeln.
ENDIF.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = v_repid
i_callback_user_command = 'DISPLAY_DETAIL'
it_fieldcat = t_fieldcatalog1
TABLES
t_outtab = itab1.
FORM display_detail *
--> UCOMM *
--> SELFIELD *
FORM display_detail USING ucomm LIKE sy-ucomm
selfield TYPE slis_selfield.
DATA: itab2_temp LIKE itab2 OCCURS 0 WITH HEADER LINE.
IF ucomm = '&IC1'.
READ TABLE itab1 INDEX selfield-tabindex.
IF sy-subrc = 0.
LOOP AT itab2 WHERE vbeln = itab1-vbeln.
MOVE itab2 TO itab2_temp.
APPEND itab2_temp.
ENDLOOP.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = v_repid
it_fieldcat = t_fieldcatalog2
TABLES
t_outtab = itab2_temp.
ENDIF.
ENDIF.
ENDFORM.
FORM GET_FIELDCAT1 *
FORM get_fieldcat1.
DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
s_fieldcatalog-col_pos = '1'.
s_fieldcatalog-fieldname = 'VBELN'.
s_fieldcatalog-tabname = 'ITAB1'.
s_fieldcatalog-rollname = 'VBELN'.
s_fieldcatalog-hotspot = 'X'.
APPEND s_fieldcatalog TO t_fieldcatalog1.
CLEAR s_fieldcatalog.
s_fieldcatalog-col_pos = '2'.
s_fieldcatalog-fieldname = 'BSTNK'.
s_fieldcatalog-tabname = 'ITAB1'.
s_fieldcatalog-rollname = 'BSTNK'.
APPEND s_fieldcatalog TO t_fieldcatalog1.
CLEAR s_fieldcatalog.
s_fieldcatalog-col_pos = '3'.
s_fieldcatalog-fieldname = 'ERDAT'.
s_fieldcatalog-tabname = 'ITAB1'.
s_fieldcatalog-rollname = 'ERDAT'.
APPEND s_fieldcatalog TO t_fieldcatalog1.
CLEAR s_fieldcatalog.
s_fieldcatalog-col_pos = '4'.
s_fieldcatalog-fieldname = 'KUNNR'.
s_fieldcatalog-tabname = 'ITAB1'.
s_fieldcatalog-rollname = 'KUNNR'.
APPEND s_fieldcatalog TO t_fieldcatalog1.
CLEAR s_fieldcatalog.
ENDFORM.
FORM GET_FIELDCAT2 *
FORM get_fieldcat2.
DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
s_fieldcatalog-col_pos = '1'.
s_fieldcatalog-fieldname = 'VBELN'.
s_fieldcatalog-tabname = 'ITAB2'.
s_fieldcatalog-rollname = 'VBELN'.
APPEND s_fieldcatalog TO t_fieldcatalog2.
CLEAR s_fieldcatalog.
s_fieldcatalog-col_pos = '2'.
s_fieldcatalog-fieldname = 'MATNR'.
s_fieldcatalog-tabname = 'ITAB2'.
s_fieldcatalog-rollname = 'MATNR'.
APPEND s_fieldcatalog TO t_fieldcatalog2.
CLEAR s_fieldcatalog.
s_fieldcatalog-col_pos = '3'.
s_fieldcatalog-fieldname = 'NETPR'.
s_fieldcatalog-tabname = 'ITAB2'.
s_fieldcatalog-rollname = 'NETPR'.
APPEND s_fieldcatalog TO t_fieldcatalog2.
CLEAR s_fieldcatalog.
s_fieldcatalog-col_pos = '4'.
s_fieldcatalog-fieldname = 'KWMENG'.
s_fieldcatalog-tabname = 'ITAB2'.
s_fieldcatalog-rollname = 'KWMENG'.
APPEND s_fieldcatalog TO t_fieldcatalog2.
CLEAR s_fieldcatalog.
ENDFORM.
Thanks,
Shankar -
Add days to the dates when user enter +
hello ,
i have requirement that when user enter + 30 in date field he got + 30 dayas of current date is thr any why to do this it is modulpool and i have taken date field on screen.here is sample code to show next and previous month on button click and show current month
and year default.
REPORT ztn_datechk_button.
TABLES sscrfields.
TYPE-POOLS icon.
DATA month TYPE i.
PARAMETERS: date TYPE spmon .
INITIALIZATION.
date = sy-datum+0(6) .
"date = sy-datum+0(2) - 1.
IF date+4(2) < 1 ."or date+4(2) > 12.
date+4(2) = 12.
date+0(4) = date+0(4) - 1.
ELSEIF date+4(2) > 12 ."or date+4(2) > 12.
date+4(2) = 1.
date+0(4) = date+0(4) + 1.
ENDIF.
SELECTION-SCREEN PUSHBUTTON 50(15) but1 USER-COMMAND prev VISIBLE LENGTH 3.
SELECTION-SCREEN PUSHBUTTON 53(15) but2 USER-COMMAND next VISIBLE LENGTH 3.
CALL FUNCTION 'ICON_CREATE'
EXPORTING
name = icon_previous_value
info = 'PREVIOUS' "text = 'Button 2'
IMPORTING
RESULT = but1
EXCEPTIONS
OTHERS = 0.
CALL FUNCTION 'ICON_CREATE'
EXPORTING
name = icon_next_value
info = '' "text = 'Button 2'
add_stdinf = ''
IMPORTING
RESULT = but2
EXCEPTIONS
OTHERS = 0.
AT SELECTION-SCREEN.
CASE sy-ucomm.
WHEN 'PREV'.
date = date+0(6) - 1.
IF date+4(2) < 1 ."or date+4(2) > 12.
date+4(2) = 12.
date+0(4) = date+0(4) - 1.
ENDIF.
WHEN 'NEXT'.
date = date+0(6) + 1.
IF date+4(2) > 12 ."or date+4(2) > 12.
date+4(2) = 1.
date+0(4) = date+0(4) + 1.
ENDIF.
ENDCASE.
IF date+4(2) < 1 OR date+4(2) > 12.
MESSAGE 'Invalid Month' TYPE 'E'.
ENDIF. -
Error Message code 1900 in syntax check and code LV_ERR in user interface
In my webdynpro component when i did the code inspector check i have an error message in syntax check
which says "Message code 1900: ObjectType WDYN Object name ZXXXX Row 1 Column 0 the size of the PXA buffer reached a critical value at 158 percent. The maximum size is currently 4,194,304 bytes ==> The size of the PXA buffer reached a critical value at 158 percent. The maximum size is currently 4,194,304 bytes.
Another Error message in user interface
which says: "Message Code LV_ERR:ObjectType WDYN Object name ZXXXX Sub-Object Type Sub-Object Name Error Load unit of component is very large (generation limit).==> Error Load unit of component is very large (generation limit) .
Please help in resolving these issues.
Thanks in advance.Hi,
you need to discuss with the basis team to increase the abap buffersize.
there is a parameter in the transaction rz11.
go to RZ11 and then wirte parameter as abap/buffersize
check its value.
if you increase it, problem will be solved i guess.
thanks
sarbjeet -
Start and End dates for users in Enterprise portal
Hi Expert,
I have to maintain start and end dates for around 200 users in 4 different Java systems. When I export the file of users it does not capture the validity fields. Is there a way/script to automate this? Otherwise I will have to do it manually.Hello
Please check below URL for User Import Format:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/abdd83c3333205e10000000a42189c/content.htm?frameset=/en/48/a96f43db653206e10000000a42189c/frameset.htm¤t_toc=/en/43/05e450d1cd6e95e10000000a11466f/plain.htm&node_id=2802&show_children=true#jump2822
Regards,
Tapan Goyal -
Store data when user exits from web application
is there anyway to call a method when user closes browser and session finish
thank youI usually just use a HttpSessionListener.
What's the difference?Lots ......
This is from javadoc
public interface HttpSessionListener
Implementations of this interface are notified of changes to the list of active sessions in a web application.
The implementation class would be invoked and in its methods, could process any action on session creation/termination
public interface HttpSessionBindingListener
Causes an object to be notified when it is bound to or unbound from a session. The object is notified by an HttpSessionBindingEvent object. This may be as a result of a servlet programmer explicitly unbinding an attribute from a session, due to a session being invalidated, or due to a session timing out.
The implementation class would usually be a bean. The bean thus has control to take any action it deems fit when its bound to a session or when its unbound from the session.
Depending on the requirements, you could implement either of the two interfaces.
Thanks,
Ram. -
Removal and adding tabs in user interface
Hi,can anybody provide me solution for customizing the user interface page menu tabs in SUN Identity Manager.
My requirement is,i need to remove and add main menu and sub menus in the user interface page in SUN Identity Manager.
Thanks in advance.
Edited by: SUNIDMDEV on Feb 21, 2008 10:52 PMHello,
Article Master and Material Master are one and the same in context (materials are referred as Articles in SAP IS Retail). Please refer the below link for creating the custom fields/adding tab pages
adding custom tab in material master transaction
Hope this helps
Regards
Shiva -
When in Full Screen mode on Mozilla Firefox, the Minimize, Maximize, and Close buttons are extremely small. How do I change the size of these buttons?
Add code to userChrome.css below the default @namespace line.
*http://kb.mozillazine.org/userChrome.css
The customization files userChrome.css (interface) and userContent.css (websites) are located in the <b>chrome</b> folder in the user profile folder.
*http://kb.mozillazine.org/Editing_configuration
You can use this button to go to the Firefox profile folder:
*Help > Troubleshooting Information > Profile Directory: Open Containing Folder
<pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
#window-controls .toolbarbutton-icon { width:25px; height:25px; }
</nowiki></pre>
Maybe you are looking for
-
How to change the default name of new adjustment layers? (and other Q's)
How do I change the default name of new adjustment layers? How can I make it so that adjustment layers don't come with a mask when I create them (unless I have a selection active)? Why isn't the Shadows/Highlights functionality an adjustment layer? I
-
I have created an ABAP client proxy based on a RFC. How can I use it from inside XI to call the RFC? thanks in advance.
-
IPhoto closes when double clicking thumbnails or importing
Hi, iPhoto keeps closing every time I double-click a thumbnail in an album. It also closes when trying to import photos. By "close" I do not mean crash/unexpectedly closed; the window and application just disappears. I looked into my CrashReport logs
-
I do because when I want to automatically synchronize a tone, even 5 seconds pass and tells me that the session was unable to synchronize
-
Using XQuery to filder CDATA section
How do I filter value inside CDATA section using XQUERY in SELECT statement? I am using value function. <DomainConfig> <typeOfDBConnection> <![CDATA[#MS SQL]]> </typeOfDBConnection> </DomainConfig>