How to display binary output in numeric indicator
Hai
How to display binary output in a Numeric display.
in my program i use numeric display for displaying numeric values in one case
in the other case i want to display binary output in the same numeric display window as binary,
i don't want to make seperate o/p display for binary o/p i want change the property of the Numeric display to binary display .
is it possible to display Binary data in numeric indicator, please give me an idea to do this.
thanks
sk
Attachments:
DBL2BIN.vi 39 KB
Alternatively, you can use the FormatString property node, and use %08b as format string : 08 means : pad the output with 0 to get a 8 digits wide result.
See attachment.
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...
Attachments:
DBL2BIN[1].vi 21 KB
Similar Messages
-
How to display an output in string data type in an applet
hello there..may i know how to display an output of string type in an applet
thanks.i'll try
-
How to display the Output messages on LabVIEW
Hi,
I'm building a simple user interface on LabVIEW and I have the following question:
- TestStand has an Output Tab where I display some messages using Engine.OutputMessage; How can I do the same thing on my UI?
I've attached a printscreen of my TestStand sequence as an example of what I want do do on LabVIEW.
I apreciate all the help.
Thanks in advance.
Regards,
Daniel Coelho
Daniel Coelho
VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
Controlar - Electronica Industrial e Sistemas, Lda
Attachments:
TS PrintScreen.JPG 137 KBSorry, from your post in the LabVIEW board I did not understand that it was the Output message that you were looking for.
I thought you wanted the results from your test steps displayed on the user interface.
It is the “Output Panel” in the sequence editor that displays your output message, but I do not know if there is default Output panel activeX indicator for user interface that the TestStand engine would update automatically like it does the execution view.
Maybe someone else knows
As also pointed out, the UI messages is your other option.
The Output Message event number is 40
http://zone.ni.com/devzone/cda/epd/p/id/3879
UIMsg_OutputMessages–(Value: 40) TestStand sends this message at periodic intervals when it holds references to output messages that calls to the OutputMessage.Post method queue. TestStand transfers the queued messages to an OutputMessages collection attached to the UIMessage.ActiveXData property for this event. An application that processes output messages should copy the output message references from the collection in UIMessage.ActiveXData to its own private OutputMessages collection by passing its private collection to the OutputMessages.CopyMessagesToCollection method. An application calls the Engine.NewOutputMessages method to create a private OutputMessage collection. TestStand generates this event only if the Engine.OutputMessagesEnabled property is True. Because there can be more than one handler for this event, the application should not modify the OutputMessages collection the UIMessage.ActiveXData property holds.
Omar
Message Edited by OmarGator on 10-09-2008 10:12 AM -
How to Display PHP Output as Portlet in HTML Region using utl_http.request
I wanted to be able to parse PHP functions to add more functionality to my Page. nothing fantasy, something simple like: http://phpsysinfo.sourceforge.net/phpsysinfo-dev/?template=classic
Where the realtime values are retrieved from the OS. this represent some kind of problem to me, I know how to do it from Shell Script, Perl or PHP, but not from PL/SQL.
Based on my experience using Oracle Portal, Portlets, I think we really can make use of the feature used in Portal called Web Clipping. [ This feature basically goes to some Site a retrieve part of the site to show in the current page]. Well the PL/SQL utility utl_http.request does something similar.
Make sure your request page does not retrieve some headers because that would cause a problem in your page and will not show up.
This is what I did:
<b> 1.- </b> Grant Privileges to execute [ <b> utl_http.request </b> ] to the owner of your schema.
login into the OracleXE / APEX as SYS then go to the Object Navigator, then click on packages, find the utl_http.request then click on it, later click on grant and select your schema owner for your applicaion.
<b> 2.- </b> Logout as SYS then login as your application schema user. just to test the functionality go to the sql command then enter the following command and then click run:
<b> select substr(utl_http.request('http://www.oracle.com/'),1, 255) from dual; </b>
If your output is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Oracle 10g, Siebel, PeopleSoft | Oracle, The World's Largest Enterprise Software Company</title> <meta name="title" content="Enterprise Applications | Database | Fusio
<font color='blue'> Wow It worked </font>, this really could be useful !!, If not go back to step 1 and check your permissions to execute, or perhaps your Internet connectivity.
3.- Once we know the package works and we can retrieve content from the Internet. lets go to some of our pages add some HTML Region.
4.- Create an item and put into the new region. the source will be SQL, For the purposes of my test the query to the Oracle Page failed, so I decided to give a shot with a simple PHP script with no headers.
The internal server is: http://mytest.com/hello_world.php
Where the content of the hello_world.php is:
<?
echo '"<b> Hello World </b> ";
?>
This PHP works fine and display the basic Hello World. can be the same server or not, also noticed this can be another port perhaps using something like Ruby,Mason or Java.
<b> 5.- </b> Finally in my Item the source type is SQL and looks like this:
<b> select substr(utl_http.request('http://mytest.com/hello_world.php'),1, 255) from dual; </b>
Apply the changes and run the page !!!
Excelent It worked as expected. now you know how use utl_http.request to create webclipping in your OracleXE / APEX from remote pages, or how to use it to parse the output from CGI, Perl, PHP, Ruby or Java pages.
Note: [ Just make sure to strip the headers or parse into a PL/SQL Procedure to clean then show ]
Best Regards <b> Dino </b>.
Brains R Like Books only work when they R Open.
http://www.htmldbhosting.com/Sorry, from your post in the LabVIEW board I did not understand that it was the Output message that you were looking for.
I thought you wanted the results from your test steps displayed on the user interface.
It is the “Output Panel” in the sequence editor that displays your output message, but I do not know if there is default Output panel activeX indicator for user interface that the TestStand engine would update automatically like it does the execution view.
Maybe someone else knows
As also pointed out, the UI messages is your other option.
The Output Message event number is 40
http://zone.ni.com/devzone/cda/epd/p/id/3879
UIMsg_OutputMessages–(Value: 40) TestStand sends this message at periodic intervals when it holds references to output messages that calls to the OutputMessage.Post method queue. TestStand transfers the queued messages to an OutputMessages collection attached to the UIMessage.ActiveXData property for this event. An application that processes output messages should copy the output message references from the collection in UIMessage.ActiveXData to its own private OutputMessages collection by passing its private collection to the OutputMessages.CopyMessagesToCollection method. An application calls the Engine.NewOutputMessages method to create a private OutputMessage collection. TestStand generates this event only if the Engine.OutputMessagesEnabled property is True. Because there can be more than one handler for this event, the application should not modify the OutputMessages collection the UIMessage.ActiveXData property holds.
Omar
Message Edited by OmarGator on 10-09-2008 10:12 AM -
How to display Excel output in browser instead of client desktop
Hi,
Similar to PDF and Text output, Is it possible to display Excel Output In browser itself.
Whenever we try to view the report where the output type is excel, the output opens in Excel Desktop version.
We have a requirement where we need the output to be displayed in browser itself.
I have tried modyfing the Viewer profiles but was not able to get the desired result. We are currently working on E-Business Suite 11g.
Regards,
Sandeepfor ideas look at
Export to Excel of a Financial Reporting (FR) Report Opens the Excel File in the Workspace Browser Window (Doc ID 1300573.1)
and
How to configure Internet Explorer to open Office documents in the appropriate Office program instead of in Internet Ex…
so in your case it is vice-versa -
How to display smartform output?
Hi,
Can anybody give me some hint on how to display a smartform output containing tables and texts in a bsp?? I have searched the forum but since I am new to bsp,I am not finding a caompact solution by following which I can get the idea. Please help..Hi,
Check this link [Smartform PDF output in BSP|Smartform PDF output in BSP;
Hope this helps you.
Regards,
Rajani -
How to Display Report Output in X & Y Axis Format based on Date & Site ?
Hi,
I got a requirement to display the output of a Report in X & Y Axis Format like Date in Vertical wise & Site in Horizontal wise.
please suggest me how to do this.These programs also..
GFW_PROG_BAR : Bar chart example
GFW_PROG_PIE: Pie chart example -
How to display different fonts in same indicator in labVIEW
hi
i want to know how to display different fonts in same string indicator at run time in labVIEW 8.2
Regards
Abhishek VermaHi ABHI VERMA,
see this http://digital.ni.com/public.nsf/allkb/6BD344ACA4DEE20A8625692700737E16
Mike -
How to display binary content in EP 5.0?
I would like to display binary content in a http-response. Formerly using a BSP-Application in Web-AS I achieved this by something like
call method mserver->response->set_header_field(
name = 'Content-Type' value = mimetype ).
call method mserver->response->set_data( data = mimedata ).
Within the context of AbstractPortalComponent I dont find a way to set the content type in a way to directly display binary content in a PRT-Context.
What did I miss ..?I know this is a little out of date but you can do the following:
/* Get the underlying HttpServletReponse object */
HttpServletResponse httpresp = response.getRequest().getServletResponse(true);
try {
// This seems to be required to get rid of any buffered
// content
httpresp.reset();
//Set appropriate content type here
httpresp.setContentType("application/pdf");
//write out data
//in this case just a PDF in string format
httpresp.getWriter().write(data);
} catch (Exception e) {
// handle errors appropriately
<b>NOTE:</b> I haven't tested this in a productive environment so test this fully before implementing
Michael -
How to display the output screen when I use bdc.
hey expert,
I want to display the output screen when i use bdc without using mode 'A'.
thank you.Hi,
You can go for mode 'E'.. it will display the output screen directly and if there is any error in the transaction you would get that particular screen and you can correct and continue after which you will get the final screen if anything goes fine...
check this sample code....
I had a program if you execute below program it automatically creates a new zprogram.
REPORT zprogram_create_recording.
PARAMETER:
p_prog TYPE sy-repid OBLIGATORY,
p_shtxt TYPE repti OBLIGATORY,
p_pack TYPE devclass DEFAULT '$tmp'.
DATA:
t_bdcdata LIKE
STANDARD TABLE
OF bdcdata.
DATA:
wa_bdcdata LIKE LINE OF t_bdcdata.
REFRESH t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLWBABAP'.
wa_bdcdata-dynpro = '0100'.
wa_bdcdata-dynbegin = 'X'.
wa_bdcdata-fnam = 'RS38M-PROGRAMM'.
wa_bdcdata-fval = p_prog.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'NEW'.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSEDTATTR'.
wa_bdcdata-dynpro = '0200'.
wa_bdcdata-dynbegin = 'X'.
wa_bdcdata-fnam = 'RS38M-REPTI'.
wa_bdcdata-fval = p_shtxt.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'TRDIR-SUBC'.
wa_bdcdata-fval = '1'.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'CONT'.
APPEND wa_bdcdata TO t_bdcdata.
IF p_pack EQ '$TMP'.
*local object
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSTRD'.
wa_bdcdata-dynpro = '0100'.
wa_bdcdata-dynbegin = 'X'.
wa_bdcdata-fnam = 'KO007-L_DEVCLASS'.
wa_bdcdata-fval = ' '.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'TEMP'.
APPEND wa_bdcdata TO t_bdcdata.
ELSE.
*package assignment with request
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSTRD'.
wa_bdcdata-dynpro = '0100'.
wa_bdcdata-dynbegin = 'X'.
wa_bdcdata-fnam = 'KO007-L_DEVCLASS'.
wa_bdcdata-fval = p_pack.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'ADD'.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSTRD'.
wa_bdcdata-dynpro = '0300'.
wa_bdcdata-dynbegin = 'X'.
wa_bdcdata-fnam = 'KO008-TRKORR'.
wa_bdcdata-fval = ' '.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'KO008-AS4TEXT'.
wa_bdcdata-fval = ' '.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'LOCK'.
APPEND wa_bdcdata TO t_bdcdata.
ENDIF. " IF P_PACK EQ '$TMP'
CALL TRANSACTION 'SE38' USING t_bdcdata MODE 'E'.
Hope this would help you..
Regards
Narin Nandivada -
How to display the output of report(9i) using Report Background Engine
Hi,
We are converting the forms and reports from 6i to 9i.
we could run the report in the browser from form using WEB.SHOW_DOCUMENT built-in, but we are not able to display the report output from form using the Report Background Engine.Let us know if you have any solution for this.
Regards,
Pramila.Pramila,
you have to use Reports Server called from RUN_REPORT_OBJECT(). Please see the Reports Integration whitepaper on otn.oracle.com/products/forms. You can either look it up in the Forms 10g collateral seciton or the Forms 9i collateral section.
Frank -
How to display binary file saved in BLOB column in Discoverer PLUS /VIEWER
HI, Friends,
I tried to display the binary file saved in the database in BLOB column with the *.doc or *.xls fomats, but it seemed not work at all. I can display them in discoverer DESKTOP, but not the web version PLUS or VIEWER. MY Discoverer PLUS/VIEWER version is 9.0.4.45.02 and the database is 9.2.0.4. Are there any special setting/configuration in somewhere (Discoverer administration/Applicaiton server/PLUS/VIEWER?)
Any help /information will be greatly appreciated.
Thanks a lot.Hi,
Sorry but this feature is not available in the web version of 9.0.4.45. You will have to write your own mod_plsql function to download the file.
Rod West -
How to display omega sign in string indicator
Hello,
I want to print a omega sign in word report.Hi Ravindranath,
The following discussion might help you.
http://forums.ni.com/t5/LabVIEW/How-do-I-display-omega-symbol/td-p/38544
Regards. -
How to display the output of a reports called from forms in the same window
Hi all.
I have installed Forms / Reports 11g Rel2 developer only installation on my windows 7 box.
I can successfully call a reports from forms using RUN_REPORT_OBJECT and WEB_SHOW.document, but the report is opened in a new window.
I'd like to open it in the same widow, in a new tab, similar to ctrl-t and make a call.
How is that possible?.
I'm using Chrome 25.0. Could this be done through browser settings?.
Thanks in advance ...!
Edited by: myluism on 14-mar-2013 6:09Don't know for Chrome, so Google for it.
One more thing, though. what is the 2nd parameter in web.show_document? Is it '_blank'? If not, try that. -
How to display the JSP output in the same page....
im new to JSP..... can anyone tell me how to display the output of a particular JSP page in the same page itself...... if anyone could send a small sample code it will be very useful for me....
thanks in advance
regds
Krish......Hi Robert -
When you say you are writing a template-based Renderer, do you mean that you are creating a custom look and feel and replacing the header Renderer? If so, I'd recommend instead simply creating your own template (not template-based Renderer), and reference your template directly from your uiXML pages where you want to insert the timestamp.
You'll probably want to write a method data provider which calls System.currentTime(), convert the result to a date, and then use Java's date formatting capabilities (see java.text.format.DateFormat) to produce a user presentable String that you can return from your data provider.
For more info (and samples) on templates and data binding, see the "Templates and Data Binding" section of the "Includes and Templating in ADF UIX" help topic:
http://tinyurl.com/5b7bf
Andy
Maybe you are looking for
-
Duplicate Calendars in iCal on iPad
Hi there, I have two versions of all my calendars on my iPad. I use MobileMe, and tried unchecking Sync iCal Calendars from the info tab in iTunes, but they still duplicate. I'd like to get rid of these duplicates. Any suggestions? Thanks!
-
Hey all. I am presented with a weird problem with the App World in my bold 9700. At times when I try to open the App world I get the error: APN is not specified However at times restarting the phone works and at times it doesn't. Does it have somethi
-
IsCommitted()Z method not found
I am trying to use a RequestDispatcher object to forward the output from one > servlet to another - here is the relevant code: > --------------------------------------------------------------------------
-
Can somone explain the secret of loading a podcast?
I have used the search function, and threads often are answered with a link to a FAQ or a tutorial,none of which have explained why I cannot put a podcast on my nano. I have mine set for autosyncing (I believe) and there are like 19 podcasts in my iT
-
ALV development in SAP 4.5
Hi Has anyone done any development on ALV interactive report on SAP version 4.5? Possible to provide me pointer. The interactive ALV report include checkbox to perform certain task once the save button is clicked.