Using "Choose" Statment in Lookout
To simplify, I have 3 POTS. I want to select the value of (1) of the three pots in an expression (using a radio type switch). When I use the expression CHOOSE. The values do not show up.I have tried NCHOOSE and LCHOOSE also....
Max.... is right. And if you want to use the Radio Object, you would just use it in place of Pot4, like this: nchoose(Radio1,Pot1,Pot2,Pot3)
-Khalid
Similar Messages
-
Calling a Report Program In Web Dynpro Using Submit statment
Hi all,
Can any one suggest how can i call a report program form Web Dynpro using Submit statment. I tried to call it its showing Field symbols not defined error. Is their any other ways to call Report in a Web Dynpro?. I have posted the error message when i tried using SUBMIT ZRR AND RETURN CONTROL
Field symbol has not yet been assigned.
The error occurred on the application server mnghcmsap_HRS_00 and in the work process 1 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Form: CHECKBOX_OUT of program SAPLKKBL
Form: GEN_LINE_OUT of program SAPLKKBL
Form: DATA_OUT_SIMPLE of program SAPLKKBL
Form: LIST_OUTPUT_NEW of program SAPLKKBL
Form: FIRST_LIST_DISPLAY of program SAPLKKBL
Module: LIST_DISPLAY of program SAPLKKBL
Function: K_KKB_LIST_DISPLAY of program SAPLKKBL
Method: PRINT_BACKEND of program CL_GUI_ALV_GRID===============CP
Method: SET_TABLE_FOR_FIRST_DISPLAY of program CL_GUI_ALV_GRID===============CP
Form: PBO of program SAPLSLVC_FULLSCREEN
Edited by: VINMANO on Jul 22, 2009 2:54 PMHI,
Its possible to call report program from Web dunpro...
chk out dis link,
calling report(se38) in webdynpro abap
By the way are using field symbol anywhere and left it unassigned?
Thanks,
Divya.S -
Just wondering if anyone has found out how to use a Twido in Lookout using some other driver that support ethernet.
We are using TWDLCAE40DRF.. and we are just trying to find away to controll it trhough lookout not really wanting to have to
stick another plc in place. Any info appreciate thanksi think if you are on ethernet you want to use modbus TCPIP and point to the TWIDO via the IP address you have on the TWIDO
if you want to use the primary serial port you need to use a RS-485 to RS-232 adapter and use the MODBUS RTU protocol and set the
TWIDO to have that protocol turned on for port # 1.
I know this works since I am using 6 twidos over RS485 into one HMI touchscreen on MODBUS SERIAL. -
How to use "choose file with prompt" command?
I need to use "choose file with prompt" command and I want give user possibility choose ONLY images (jpeg, png, gif). So, I write like this:
choose file with prompt "Please, choose images for processing..." of type {"JPEG Image"}
But this doesn't work! - All files (including jpegs) are dimmed, and user can't choose any....
So, how can I filter JPEGs, PNGs and GIFs?I have found, that most of images on my computer has missing file_type, I don't know why..... so "type identifier of (info for (choose file))" also doesn't work properly.
The only one way that 100% works is use Uniform Type Identifier (UTI) -- details here: http://www.huw.id.au/code/fileTypeIDs.html
thanks.
iMac G3, PowerBook G3 FW Mac OS X (10.4.5) -
IS it possible to use ni-visa with lookout to use an instrument driver
IS it possible to use ni-visa with lookout to use an instrument driver,, or just use the insturment driver...
Thanks
MarkHi Mark,
NI-VISA is a driver layer that is used to communicate to Serial, GPIB, VXI and PXI platform.
In reality the drivers that you use with Lookot do not make use of this driver layer called VISA (which is used for the most part in the instrument control area).
Normally the terminology (Instrument Driver) is not used in Lookout (or in any SCADA system). So the answer for your question is no, you cannot use NI-VISA with Lookout, with Lookout you either use the drivers object that comes with the package or you use an OPC server (normaly provided by the hardware manufacturer, this hardware is normally a PLC) to provide data to Lookout.
I hope it helps
Regards
Andre Oliveira
Applications Engineer
National Instruments -
How to use CHOOSE function in OBIEE
Hi,
Could any one help me out in using the choose function in OBIEE.
How can a column be restricted using the choose function, when different users belonging to different groups logs in.
RakeshIt seems be obvious that you should not publish reports to users and groups who are not allowed to see the columns in the report,
but in practice it can be very challenging to oversee this, especially when you have a lot of groups and a very strict security model....or "unsurmountable" and unchangeable "business requirements" ;-)
Testing definitely is the crucial point. And when you start going nuts with column access rights plus column selectors, dynamic view switching, guided nav., dynamic column formulae etc. etc. the fun really begins. -
Using Choose and @inlines commands together
I am looking for help on how to structure Choose using @inlines. I can get @inlines to work with IF statements and I can get CHOOSE / WHEN to work on it own, but I have a couple of places where I need to use the combination of CHOOSE and INLINES together. I have tried several different options but can't seem to find the magic combination.
Thanks for any help
MatternWould this example help?
<?choose@inlines:?>
<?when@inlines:EMPLOYEE_NUMBER=''?>No Number<?end when?>
<?otherwise@inlines:?><?EMPLOYEE_NUMBER?><?end otherwise?>
<?end choose?>
Thanks! -
How to use Logger object in Lookout 5.0
I am now trying to log data using Logger object. I use Switch1 for activating LogContinuously mode and Switch2 for breaking logging process. If I turn off Switch1, the logging process stops, its ok. My problem is if Switch1 is still on and I turn off Switch2, the logging process is still running. I seems different from what I have read from Help file. Anyone has the solution for it?Please give me an advice! Thanks a lot. Its better if someone post an example about using Logger object here for reference.
Regards,I think the behaviour you described is correct. If you turn on switch2, the logging process will stop, even when switch1 is on. If you turn off switch2, the process will be running.
Here is an example of logger object.
http://zone.ni.com/devzone/cda/epd/p/id/3816
you can change the "log break" button into a switch, which can better show you how it works.
Ryan Shi
National Instruments -
Problem in using COLLECT statment
Hi experts,
getting problem in using COLLECT statement. attaching my code below.
LOOP AT it_final1 INTO wa_final1.
LOOP AT it_final INTO wa_final WHERE vagrp = wa_final1-vagrp AND verwmerkm = wa_final1-verwmerkm.
wa_final1-anzwertg = wa_final-anzwertg.
COLLECT wa_final1 INTO it_final1.
ENDLOOP.
CLEAR: wa_final1, wa_final.
ENDLOOP.
here , i want to use collect statement only for "anzwertg" field from internal table. but 2 more fields also getting compressed .
attaching screen shot
here, original_input and max fields also getting compressed.
could anybody please help me out in this.
Thanks in advance.
Regards
satishHi satish....
collect statement works based on char fields..
by default it will taken char fields as a key fields .........
if any char field is repeated then corresponding numc values will be added....
other wise it will act as a APPEND statement......
Here in ur code there is no char field then how it will caliculate that values...
just check it once..
Regards,
Vamsi.... -
CONVT_CODEPAGE : Abap Dump while using Transfer statment
Hi,
I am getting an abap dumb CONVT_CODEPAGE when the program is executed.
It is encountered at the Transfer statement.
The file is opened in legacy text mode.
So i assume come characters in the file are not being interpretated using the existing system codepage,thus the dump.
Pls let me know if my analysis is incorrect.
Can anyone provide me with a workaround ?
Answers will be rewarded.
- RohanHi Rohan
Check these notes :
Note 547308 - Shortdump CONVT_CODEPAGE when displaying measure
Note 752835 - Usage of the file interfaces in Unicode systems
Note 1057289 - Reasons for CX_SY_CONVERSION_CODEPAGE / CONVT_CODEPAGE
Note 853665 - LSMW: Dump occurs when file imported from application server -
Hi cani use multiple statment to past data frm different work area
hi i am doing like this is it ok
LOOP AT it_inv_data INTO wa_inv_data.
READ TABLE it_zfi_inv_master INTO wa_inv_master WITH KEY
CUSIP = wa_inv_data-CUSIP.
IF SY-SUBRC = 0.
wa_maturity-cusip = wa_inv_data-CUSIP.
wa_maturity-status = wa_inv_data-status.
wa_maturity-zdate = wa_inv_data-zdate.
wa_maturity-CREDSUPP = wa_inv_master-CREDSUPP.
here ineed some data from wa_inv_data and some from wa_inv_master can i combilnely use this as above using data from wa_inv_master and wa_inv_Data to pass to wa_maturity
APPEND wa_inv_data TO it_maturity.
CLEAR: wa_inv_data.
endif.Hi,
It is possible to do it. Your logic is almost right.
You can use Move-corresponding to assign values from workarea if the field names are same in the source and target fields.
Loop at itab1 into wa1.
move-corresponding fields of wa1 to wa3.
read table itab2 into wa2 with key key1 = wa1-key1.
move-corresponding fields of wa2 to wa3.
append wa3 to itab3.
endloop.
Regards,
Lakshmi. -
Why we are using Hide statment in the loop ?
Plz explain .
hi,
<b>HIDE</b>
The HIDE statement is one of the fundamental statements for interactive reporting. You use the HIDE technique when creating a basic list. It defines the information that can be passed to subsequent detail lists.
HIDE <f>.
This statement places the contents of the variable <f> for the current output line (system field SY-LINNO) into the HIDE area. The variable <f> must not necessarily appear on the current line.
To make your program more readable, always place the HIDE statement directly after the output statement for the variable <f> or after the last output statement for the current line.
As soon as the user selects a line for which you stored HIDE fields, the system fills the variables in the program with the values stored. A line can be selected
by an interactive event.
For each interactive event, the HIDE fields of the line on which the cursor is positioned during the event are filled with the stored values.
by the READ LINE statement.
You can think of the HIDE area as a table, in which the system stores the names and values of all HIDE fields for each list and line number. As soon as they are needed, the system reads the values from the table.
The example below presents some of the essential features of interactive reporting. The basic list contains summarized information. By means of the HIDE technique, each detail list contains more details.
if you are not keeping hide statement inside the LOOP it is not working properly, because it stores the data inside in the system genarated table. we can process the table data by using LOOP.......ENDLOOP statement only.
regards,
Ashok reddy -
Create Autonumber GUID using SQL Statment
Hi Everyone,
I have an Access 2013 database. In it, I use SQL statements heavily in VBA to process transactions, modify system date, process updates etc. I am at a point where I would like to create a table with an SQL Statement. Sounds easy. Do it all the time. But
I want the ID field and PK to be an AutoNumber ReplicationID (or GUID).
It's easy enough to create an AutoNumber using the AUTOINCREMENT datatype in SQL and it's easy enough to create a ReplicationID field using the GUID data type. BUT ... I can't create an AutoNumber Replication ID field.
I have a function called GetGUID(). There are examples that I have found where using a simple function like that as the default value for the field should work but access keeps telling me that the function is not found or not valid.
The SQL statement that creates an AutoNumber (Long) looks like this:
CREATE TABLE myTable
ID AUTOINCREMENT PRIMARY KEY UNIQUE,
Field1 VARCHAR(255) NOT NULL,
Field2 GUID NOT NULL,
SomeDate DATE,
SomeTime TIME,
Field3 VARCHAR(255),
If anyone can help make this script create an AutoNumber GUID, I would appreciate it.
P.S. I can create this using DAO Table Defs, but that doesn't fit with the DQL Statement based update process that I need it to.
Cheers
Stephen, RedGalaxy Darwin, AustraliaYou cannot use your own function GetGUID() in the default property of a field in a table. Only built-in functions are allowed, and GenGUID() is the built-in Access function to generate GUIDs.
The reason why you are gettting the #Error is explained in
Alex Dybenko's Access Blog
Unfortunately, it is not possible to modify the Attributes property after the table has been created. But normally, such a GUID field is hidden from the user. If it doesn't bother you, just leave it as is. Otherwise, you will have to create an exact copy
of the table using DAO (and possibly ADOX) methods.
Matthias Kläy, Kläy Computing AG -
How to insert image file as a field value into blob field type using insert statment
i have a column named picture of datatype BLOB
now i want to insert an image file into that column using
INSERT state so that it can be called in a jsp file using
getBLOB request method.
HELP!!
thank you
salSee this link
http://www.psoug.org/reference/dbms_lob.html -
Hi I've the following requirement.
create table test1 (mt_id number,mn_id number)
create table test2 (mt_id number,mn_id number)
insert into test1 values(20,'')
insert into test1 values(10,100)
insert into test2 values(20,200)
insert into test2 values(10,100)I need to select the columns test1.mt_id , test1.mn_id (If it is null Use test2.mn_id) , NULL Lvl (IF test1.mn_id is null then print 'Med' else NULL )
So i tried the following query
select mt_id,mn_id
,t2_mt,t2_mn,case when t2_mn is null then 'Med' else null end lvl
from (
select t1.mt_id,t1.mn_id,t2.mt_id t2_mt,t2.mn_id t2_mn,null lvl from test1 t1,test2 t2
where t1.mt_id=t2.mt_id and (t1.mn_id=t2.mn_id or t1.mn_id is null) )But didn't get the expected output.
Expected output
MT_ID MN_ID LVL
20 200 Med
10 100 null Could you please help me out
Thanks/* Formatted on 2012/06/19 16:39 (Formatter Plus v4.8.8) */
CREATE TABLE test1 (mt_id NUMBER,mn_id NUMBER);
CREATE TABLE test2 (mt_id NUMBER,mn_id NUMBER);
INSERT INTO test1
VALUES (20, NULL);
INSERT INTO test1
VALUES (10, 100);
INSERT INTO test2
VALUES (20, 200);
INSERT INTO test2
VALUES (10, 100);
COMMIT ;
SELECT t1.mt_id, t2.mn_id, CASE
WHEN t1.mn_id IS NULL
THEN 'med'
ELSE NULL
END
FROM test1 t1, test2 t2
WHERE t1.mt_id = t2.mt_id
Maybe you are looking for
-
Processing Binary files with Mapping NOT (always) possible ??
Hello All, I need your help solving this strange behaviour of XI. I am developing a (image)file to (image)file interface with a simple mapping but XI is giving unpredictable results. Processing the same inputfile e.g. 10 times after each other: resul
-
when i send a text message on my iphone 5 i get an automated "delivered" status under the message, on my mates phone it shows "delivered" and once the message has been read she gets a "read" status under her message. how do i set my phone to do this
-
I want to reset my mac to sell but i don't have the original cd how do i do it?
i want to reset my mac to sell but i don't have the original cd how do i do it?
-
TS2755 Trouble with downloading games on App Store
I was on the App Store trying to download this game I wanted when I downloaded it it worked but was not on the front of my screen what do I do??please help...
-
Help with 5.1 Audio Out via TosLink Optical Cable
My Mac mini is connected a Vizio 5.1 sound bar with a TosLink optical cable. In the Sound preference pane, the name of the device for sound output is "Digital Out". However, when I go into Audio Midi Setup, the Built-In Output shows "0 in/2 out", and