How do I create an "if" function in a custom calculation script?
I need to take a simple "value is the sum of" and make it so if one field is less than 1 then the result of the formula will equal "0".
For example here is a simple "sum of" script:
Incent Bns.26, Time Bns.26, Spec Bns.26.
Now converted to a custom calculation script:
event.value = ((this.getField("Time Bns.26").value) + (this.getField("Incent Bns.26").value)) + (this.getField("Spec Bns.26").value);
Where Time Bns is calculated by looking at another field Hours26 using a special formula to calculate the bonus.
I would like to add something like an "if" function to the script so that if the Hours26 field is less than 1 then the output of the script will equal "0".
I tried this already:
var rank = this.getField("Hours26").value
var value = 0
if (rank < 1) {
value = 0
else (rank > 0) {
value = ((this.getField("Time Bns.26").value) + (this.getField("Incent Bns.26").value)) + (this.getField("Spec Bns.26").value);
event.value = value
But get the error: SyntaxError : missing ; before statement 7 at line 8:
Thanks ahead of time for any help.
Bruce
Try this:
var rank = this.getField("Hours26").value;
var value = 0;
if (rank < 1) {
value = 0;
} else {
value = ((this.getField("Time Bns.26").value) + (this.getField("Incent Bns.26").value)) + (this.getField("Spec Bns.26").value);
event.value = value;
Similar Messages
-
I am working on a form fill PDF converted from MS excel. This is for others to use who don't have MS excel that need to use my spreadsheet.
1. I would like to know how complex can the formulas be in the custom calculation script in the calculate tab under properties in a cell menu?
2. Where can I find what formulas will work in the custom calculation script along with the format for those formulas to work correctly (tutorials would help)?
I have tried writing an "if" function but received and error so I am assuming either functions don't work in the script or there is a different format than standard spreadsheet formats.
BruceIn that case the for loop would be:
for (var i = 0; i < 8; i += 1) {
sum += +getField("Total." + i).value;
So initially, the counter i is equal to zero, so the field name used with the getField method is:
"Total." + 0, which results in the string "Total.0". With each iteration, the variable i is incremented by 1, so the subsequent field names are the following:
"Total.1"
"Total.2"
"Total.3"
"Total.4"
"Total.5"
"Total.6"
"Total.7"
The script gets the value of each field, converts it to a number, and adds the number it to the running sum. -
How t o create breadcrumbs in flash cs 5 using action script 2.0?
how t o create breadcrumbs in flash cs 5 using action script 2.0?
If the user is going throungh some buttons then at last there is breadcrumb on last scene (like it is selected 1,2 or 3 button etc..)then final display should show last used button.
Am besically looking for breadcrumb.Can anyone know how to create breadcrumb with using movie clip?or any other code?
Can any one help me?My problem is when i cross first,second and then third scene then on third scene if there is any crieteria like to show the value which user have used like if user have selected "a" on first scene and "b" on second scene.then on third scene if there is criteria-
first scene-
second scene-
then it should show value like-
first scene-"a"
second scene-"b"
This "a","b", have separet sound file.It should show "a","b" text and also sound should play after click on button.
Can any on help? -
How can I create packages procedure & function in user-define Library
hi.
i am already created packages procedure & function in database and use so on.
now i would like to create these in library file.
please anyone give me example of any procedure or function to store in library.
thanks
Ali<FONT FACE="Arial" size=2 color="2D0000">> please send me one simple example for create library
then create any function in library.
2nd is any package can be create in library or not??
Thanks S.K
AliHave you checked the link?
A simple example is provided.
I think What I understood from your post is that, you want to put function/ Proc and want to call that as Library ..
Which is not possible.
For exampel an external routine is a third-generation language procedure stored in a
dynamic link library (DLL), registered with PL/SQL, and called by the DBA to perform
special-purpose processing.
In Unix a dynamic link library is known as a shared object (so).
At run time, PL/SQL loads the library dynamically, then calls the routine as if it were a
PL/SQL subprogram. To safeguard our database, the routine runs in a separate address
space, but it participates fully in the current transaction. Furthermore, the routine can
make a call back to the database to perform SQL operations.
To identify a DLL we have to use CREATE LIBRARY command.
The CREATE LIBRARY command is used to create a schema object, library, which
represents an operating-system shared library, from which SQL and PL/SQL can call
external third-generation-language (3GL) functions and procedures.
Learn something more on External Procedures
-SK
</FONT> -
How can I create a conversion function?
Hi!
I want to know hot to create a conversion function.
I want to display at program screen the format 000.000.000-39 but register 00000000000(char 11).
ThanksYes you can. I will point you to an example. You can do the same.
1. Display domain PS_POSNR in SE11.
2. Click on the Definition tab.
3. Look at the field called Convers routine. It says ABPSP
4. Double-click on this field. This shows two function modules, one called *..INPUT and the other called *..OUTPUT.
You will have to create a function group with those two function modules and assign the conversion routine in the domain, -
How to allow create different transaction type for different customer
We are using CRM 7.0 now. We have two types customer, one is sap customer, the other is potential customer. We want to distinguish the two types customer. And user can create all transaction (for example: quotation, opportunity, activity) the sap customer. And the user only can create activity for the potential customer, they can't create others transaction type for potential customer. How can we realize it? Thanks.
Hi,
We can make use of the BLOCKING REASONS to realize your requirement.
A Blocking Reason can be assigned to the Business Partner role dependent data and to the transaction type. A Business partner can be used in a transaction only if he is not assigned to this blocking reason.
For Ex, In your scenario you can create a Blocking reason 'Not a SAP Customer ' and assign it to all the Potential Customers. You should assign the blocking reason to all the transaction types which the potential customers should not be allowed.
Hope it helps. Please let me know if you need further help.
Regards,
Vamsi.
Edited by: Vamsi Krishna Potta on Sep 7, 2010 9:41 AM -
I have Adobe X how can I create a windows 8 install using Custom Wizard install X?
I have used Adobe Customization Wizard X to create a custom install on our Windows XP machines. I tried to install it on a Win8 machine and it failed. How can a create an install that will run on a windows 8 machine?
Win 8 is not supported until 10.1.5 as described here: Overview — Acrobat and Adobe Reader Release Notes
Get the update here: ftp://ftp.adobe.com/pub/adobe/acrobat/win/10.x/10.1.5/misc/
However, it's a better idea to update to the latest which is currently 10.1.13.
If you need more help, see Introduction — Enterprise Administration Guide
hth,
Ben -
How to get the Employess count ?? in the calculation script
Dears,
I have a problem in my calculation script.
I want to get the total number of employess in every grade .
My logic is about ,to check if the cell of the employee is have a number
So, I could counter how many cells filled with numbers . So, I could get the numbers of employess in each grade.
I have 2 members :
-One to put the employee No ( Which I will do the check in)
-the other to put all number of the summed calculation
Thanks in advance.Dears , I'm very grateful for your quick feedback ,
BUT, I have some comments
@COUNT functions is used to calculate how many members in the specified member |
ex. in sample basic If I did @COUNT on products , It would return the number of products in outline
BUT my situation will be as following :
I have dataform for employess for the specified grade, containing employee number and employee name
I want to check the cell of number of employess have a number or not , then count the employess total number by oserving how many rows filled with data -
How Do I create a Modular Function for use with Event Listeners
OK I'm very new to AS3 and I'm curious as to how to get
modular functions to work in AS3.
for instance if I have this code:
function snowfall(snowflake:MovieClip, movement:Number):void
snowflake.y = movement;
snowfall(snowflake1_mc, 10);
snowfall(snowflake2_mc, 20);
snowfall(snowflake3_mc, 30);
Now on the stage I place 3 instances of a snowflake movie
clip. Each time I call the "snowfall" function I refer to a new
instance of the snowflake movie clip and a different amount of
movement along the y axis.
This is great but what if I want to use a button to control
these snowflake movie clips and I want to maintain that modular
nature? I don't really get how to do this. I created a button with
an instance name of "myButton" and I've tried this code but it is
throwing an error I don't really understand:
myButton.addEventListener(MouseEvent.CLICK,
snowfall(snowflake3_mc, 30));
Can I not pass information to a function using an
EventListener?Hi --
What you want to do on your button is this..
myButton.addEventListener(MouseEvent.CLICK,snowfall)
Then in the function you can check which button called the
function using
properties of the event..
function snowfall(event:MouseEvent) {
trace(event)
I am not sure off the top of my head of the data available in
the "event"
but the trace will show you all the variables you can access.
As far as the amount of movement -- how is this information
set? You can
keep this in a global variable and then read it from inside
the event
handler rather than needing to pass it to the event.
Rich
"HalcyonCollective" <[email protected]>
wrote in message
news:fl695r$l95$[email protected]..
> OK I'm very new to AS3 and I'm curious as to how to get
modular functions
> to
> work in AS3.
>
> for instance if I have this code:
>
>
function snowfall(snowflake:MovieClip, movement:Number):void
> {
> snowflake.y = movement;
> }
>
> snowfall(snowflake1_mc, 10);
> snowfall(snowflake2_mc, 20);
> snowfall(snowflake3_mc, 30);
>
> Now on the stage I place 3 instances of a snowflake
movie clip. Each time
> I
> call the "snowfall" function I refer to a new instance
of the snowflake
> movie
> clip and a different amount of movement along the y
axis.
>
> This is great but what if I want to use a button to
control these
> snowflake
> movie clips and I want to maintain that modular nature?
I don't really get
> how
> to do this. I created a button with an instance name of
"myButton" and
> I've
> tried this code but it is throwing an error I don't
really understand:
>
>
myButton.addEventListener(MouseEvent.CLICK,
snowfall(snowflake3_mc,
> 30));
>
> Can I not pass information to a function using an
EventListener?
> -
How do i create a static function in a class and implement ActionListener?
i am trying to create a pop up dialog box in a seperate class.
and i want to make the Function static, so that i only need to access it with the class name.
But how do i have a ActionListener ?
everything in a static function is static rite?import java.awt.*;
import java.awt.event.*;
public class StaticFunction
Dialog dialog;
private Panel getUIPanel()
Button button = new Button("show dialog");
button.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
if(dialog == null)
dialog = OutsideUtility.showDialog("hello world");
else if(!dialog.isVisible())
dialog.setVisible(true);
else if(dialog.isVisible())
dialog.dispose();
dialog = null;
Panel panel = new Panel();
panel.add(button);
return panel;
private WindowListener closer = new WindowAdapter()
public void windowClosing(WindowEvent e)
System.exit(0);
public static void main(String[] args)
StaticFunction sf = new StaticFunction();
Frame f = new Frame();
f.addWindowListener(sf.closer);
f.add(sf.getUIPanel());
f.setSize(200,100);
f.setLocation(200,200);
f.setVisible(true);
class OutsideUtility
public static Dialog showDialog(String msg)
Button button = new Button("top button");
button.setActionCommand(msg);
button.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
Button button = (Button)e.getSource();
System.out.println(button.getActionCommand() +
" from anonymous inner listener");
button.addActionListener(new ButtonListener());
Button anotherButton = new Button("bottom button");
anotherButton.setActionCommand("another button");
anotherButton.addActionListener(localListener);
Panel north = new Panel();
north.add(button);
Panel south = new Panel();
south.add(anotherButton);
Dialog dialog = new Dialog(new Frame());
dialog.addWindowListener(closer);
dialog.add(north, "North");
dialog.add(new Label(msg, Label.CENTER));
dialog.add(south, "South");
dialog.setSize(200,200);
dialog.setLocation(425,200);
dialog.setVisible(true);
return dialog;
private static WindowListener closer = new WindowAdapter()
public void windowClosing(WindowEvent e)
Dialog dialog = (Dialog)e.getSource();
dialog.dispose();
private static ActionListener localListener = new ActionListener()
public void actionPerformed(ActionEvent e)
Button button = (Button)e.getSource();
System.out.println(button.getActionCommand() +
" from localListener");
private static class ButtonListener implements ActionListener
public void actionPerformed(ActionEvent e)
Button button = (Button)e.getSource();
String ac = button.getActionCommand();
System.out.println(ac + " from ButtonListener");
} -
Hello All,
I could really use some help here. I have very little experience with LabView and I am trying to create a threshold detector that outputs a boolean value once the threshold is crossed. I am getting a 2-d waveform in from my daq, that part was easy, I am trying to do this in real time and point by point. Ultimately once the threshold is crossed I need a true to go to a while loop which will then perform another operation. I am running LabView 8.0 and could really use the help to get this threshold figured out. Thank you very much, if any further information is required please feel free to let me know.
I really appreciate it,
ClambakePictures are easier than words.... (On a Sunday evening )
There are many ways of detecting thresholds. Below are a few examples. Remember that the data to the graph is often an array of numerics (doubles - usually). So simply make use of array functions or comparison functions. Many math functions are polymorphic and work very well with arrays. So do boolean functions.
Have a look at the three examples below. Hopefully they will help.
RayR
Message Edited by JoeLabView on 11-18-2007 09:54 PM
Attachments:
arraysFun1.PNG 10 KB
arraysFun2.PNG 18 KB -
How can we create a common function for 2 or more java card applets?
I have 2 java card applets. They use one common function. But i don't know how to set up it. Anybody knows it, please help me. Please show me step by step to do it. Thank you.
When insert below line of code in the Test_Class_1.java and Test_Class_2, the Project will be failed:
byte aP1 = Test_common_function.GetP1((byte)0x02);
byte aP1 = Test_common_function.GetP1((byte)0x01);
Here is the source code:
Test_Class_2.java
package Test_Class_2;
import Test_common_function.Test_common_function;
import javacard.framework.APDU;
import javacard.framework.Applet;
public class Test_Class_2 extends Applet
public static void install(byte[] bArray, short bOffset, byte bLength)
// GP-compliant JavaCard applet registration
new Test_Class_2().register(bArray, (short) (bOffset + 1),
bArray[bOffset]);
public void process(APDU apdu)
byte aP1 = Test_common_function.GetP1((byte)0x02);
}Test_Class_1.java
package Test_Class_1;
import Test_common_function.Test_common_function;
import javacard.framework.APDU;
import javacard.framework.Applet;
public class Test_Class_1 extends Applet
public static void install(byte[] bArray, short bOffset, byte bLength)
// GP-compliant JavaCard applet registration
new Test_Class_1().register(bArray, (short) (bOffset + 1),
bArray[bOffset]);
public void process(APDU apdu)
byte aP1 = Test_common_function.GetP1((byte)0x02);
}Test_common_function.java
package Test_common_function;
import javacard.framework.APDU;
import javacard.framework.ISO7816;
import javacard.framework.Applet;
import javacard.framework.ISOException;
public class Test_common_function extends Applet
public static void install(byte[] bArray, short bOffset, byte bLength)
// GP-compliant JavaCard applet registration
new Test_common_function().register(bArray,
(short) (bOffset + 1), bArray[bOffset]);
public void process(APDU apdu)
// Good practice: Return 9000 on SELECT
if (selectingApplet())
return;
byte[] buf = apdu.getBuffer();
switch (buf[ISO7816.OFFSET_INS])
case (byte) 0x00:
break;
default:
// good practice: If you don't know the INStruction, say so:
ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
public static byte bP1_Class1 = (byte)0x90;
public static byte bP1_Class2 = (byte)0x90;
public static byte GetP1(byte idclass)
return idclass == (byte)0x01? bP1_Class1:bP1_Class2;
}and here is the trace log (in case of failure)
cm> /term "Remote|localhost:60351"
--Opening terminal
/card -a a000000003000000 -c com.ibm.jc.CardManagerresetCard with timeout: 0 (ms)
--Waiting for card...
ATR=3B F8 13 00 00 81 31 FE 45 4A 43 4F 50 76 32 34 ;.....1.EJCOPv24
31 B7 1.
IOCTL().
ATR:
T = 1
=> 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00 ..............
(578768 nsec)
<= 6F 65 84 08 A0 00 00 00 03 00 00 00 A5 59 9F 65 oe...........Y.e
01 FF 9F 6E 06 47 91 01 17 33 00 73 4A 06 07 2A ...n.G...3.sJ..*
86 48 86 FC 6B 01 60 0C 06 0A 2A 86 48 86 FC 6B .H..k.`...*.H..k
02 02 01 01 63 09 06 07 2A 86 48 86 FC 6B 03 64 ....c...*.H..k.d
0B 06 09 2A 86 48 86 FC 6B 04 02 15 65 0B 06 09 ...*.H..k...e...
2B 85 10 86 48 64 02 01 03 66 0C 06 0A 2B 06 01 +...Hd...f...+..
04 01 2A 02 6E 01 02 90 00 ..*.n....
Status: No Error
cm> set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
cm> init-update 255
=> 80 50 00 00 08 37 0D D8 24 C9 C8 32 53 00 .P...7..$..2S.
(1829 usec)
<= 00 00 DE 81 34 18 39 B7 09 70 FF 02 00 00 3D 02 ....4.9..p....=.
9C 31 C7 89 7A 8E 57 44 05 A7 67 C7 90 00 .1..z.WD..g...
Status: No Error
cm> ext-auth plain
=> 84 82 00 00 10 D8 BE 91 A3 94 E8 34 18 42 28 F6 ...........4.B(.
74 EE 50 06 29 t.P.)
(1683 usec)
<= 90 00 ..
Status: No Error
cm> delete -r 01020304050102
=> 80 E4 00 80 09 4F 07 01 02 03 04 05 01 02 00 .....O.........
(833593 nsec)
<= 6A 88 j.
Status: Reference data not found
jcshell: Error code: 6a88 (Reference data not found)
jcshell: Wrong response APDU: 6A88
Ignoring expected error
cm> delete -r 01020304050103
=> 80 E4 00 80 09 4F 07 01 02 03 04 05 01 03 00 .....O.........
(769014 nsec)
<= 6A 88 j.
Status: Reference data not found
jcshell: Error code: 6a88 (Reference data not found)
jcshell: Wrong response APDU: 6A88
Ignoring expected error
cm> delete -r 010203040501
=> 80 E4 00 80 08 4F 06 01 02 03 04 05 01 00 .....O........
(734456 nsec)
<= 6A 88 j.
Status: Reference data not found
jcshell: Error code: 6a88 (Reference data not found)
jcshell: Wrong response APDU: 6A88
Ignoring expected error
cm> upload -c -d -b 250 "D:\WorkSpace\Test_Common_Funcation\bin\Test_common_function\javacard\Test_common_function.cap"
=> 80 E6 02 00 13 06 01 02 03 04 05 01 08 A0 00 00 ................
00 03 00 00 00 00 00 00 00 .........
(1864 usec)
<= 00 90 00 ...
Status: No Error
Start loading Header.cap (44 byte)
=> 80 E8 00 00 2C C4 82 03 E3 01 00 25 DE CA FF ED ....,......%....
02 02 04 00 01 06 01 02 03 04 05 01 14 54 65 73 .............Tes
74 5F 63 6F 6D 6D 6F 6E 5F 66 75 6E 63 74 69 6F t_common_functio
6E 00 n.
(1607 usec)
<= 00 90 00 ...
Status: No Error
Header.cap loaded (44 byte)
Start loading Directory.cap (36 byte)
=> 80 E8 00 01 24 02 00 21 00 25 00 21 00 0C 00 0B ....$..!.%.!....
00 26 00 0E 00 4C 00 0C 00 0D 00 00 00 6F 02 5D .&...L.......o.]
00 02 00 00 00 00 01 01 00 00 ..........
(1368 usec)
<= 00 90 00 ...
Status: No Error
Directory.cap loaded (36 byte)
Start loading Import.cap (14 byte)
=> 80 E8 00 02 0E 04 00 0B 01 03 01 07 A0 00 00 00 ................
62 01 01 00 b...
(1096 usec)
<= 00 90 00 ...
Status: No Error
Import.cap loaded (14 byte)
Start loading Applet.cap (15 byte)
=> 80 E8 00 03 0F 03 00 0C 01 08 01 02 03 04 05 01 ................
01 01 00 08 00 .....
(1188 usec)
<= 00 90 00 ...
Status: No Error
Applet.cap loaded (15 byte)
Start loading Class.cap (17 byte)
=> 80 E8 00 04 11 06 00 0E 00 00 00 80 03 00 FF 00 ................
07 01 00 00 00 1C 00 .......
(1457 usec)
<= 00 90 00 ...
Status: No Error
Class.cap loaded (17 byte)
Start loading Method.cap (79 byte)
=> 80 E8 00 05 4F 07 00 4C 00 01 10 18 8C 00 02 7A ....O..L.......z
05 30 8F 00 08 3D 8C 00 00 18 1D 04 41 18 1D 25 .0...=......A..%
8B 00 01 7A 02 21 18 8B 00 06 60 03 7A 19 8B 00 ...z.!....`.z...
04 2D 1A 04 25 73 00 09 00 00 00 00 00 0F 11 6D .-..%s.........m
00 8D 00 07 7A 02 10 1C 04 6B 07 7C 00 03 70 05 ....z....k.|..p.
7C 00 05 78 00 |..x.
(1101 usec)
<= 00 90 00 ...
Status: No Error
Method.cap loaded (79 byte)
Start loading StaticField.cap (15 byte)
=> 80 E8 00 06 0F 08 00 0C 00 02 00 00 00 00 00 00 ................
00 02 90 90 00 .....
(1069 usec)
<= 00 90 00 ...
Status: No Error
StaticField.cap loaded (15 byte)
Start loading ConstantPool.cap (41 byte)
=> 80 E8 00 07 29 05 00 26 00 09 06 00 00 01 03 80 ....)..&........
03 02 06 80 03 00 05 00 00 00 03 80 0A 01 05 00 ................
00 01 03 80 03 03 06 80 07 01 01 00 02 00 00 ...............
(3134 usec)
<= 00 90 00 ...
Status: No Error
ConstantPool.cap loaded (41 byte)
Start loading RefLocation.cap (16 byte)
=> 80 E8 00 08 10 09 00 0D 00 00 00 09 05 06 04 0A ................
07 07 13 0A 05 00 ......
(2067 usec)
<= 00 90 00 ...
Status: No Error
RefLocation.cap loaded (16 byte)
Start loading Descriptor.cap (114 byte)
=> 80 E8 00 09 72 0B 00 6F 01 00 01 00 02 00 00 02 ....r..o........
00 04 00 09 00 00 00 80 03 01 09 00 00 01 80 03 ................
00 81 00 01 00 14 00 05 00 00 00 00 01 09 00 08 ................
00 16 00 12 00 00 00 00 07 01 00 1C 00 19 00 1F ................
00 00 00 00 02 09 00 3D 00 1D 00 0D 00 00 00 00 .......=........
00 09 00 14 00 16 00 14 00 1F 00 21 00 1F 00 23 ...........!...#
00 25 FF FF 01 10 04 B4 31 06 68 00 A1 02 33 01 .%......1.h...3.
30 01 B0 01 20 02 41 00 0... .A.
(1344 usec)
<= 00 90 00 ...
Status: No Error
Descriptor.cap loaded (114 byte)
Start loading Debug.cap (608 byte)
=> 80 E8 00 0A FA 0C 02 5D 00 1A 00 29 54 65 73 74 .......]...)Test
5F 63 6F 6D 6D 6F 6E 5F 66 75 6E 63 74 69 6F 6E _common_function
2F 54 65 73 74 5F 63 6F 6D 6D 6F 6E 5F 66 75 6E /Test_common_fun
63 74 69 6F 6E 00 19 6A 61 76 61 63 61 72 64 2F ction..javacard/
66 72 61 6D 65 77 6F 72 6B 2F 41 70 70 6C 65 74 framework/Applet
00 19 54 65 73 74 5F 63 6F 6D 6D 6F 6E 5F 66 75 ..Test_common_fu
6E 63 74 69 6F 6E 2E 6A 61 76 61 00 0A 62 50 31 nction.java..bP1
5F 43 6C 61 73 73 31 00 01 42 00 0A 62 50 31 5F _Class1..B..bP1_
43 6C 61 73 73 32 00 06 3C 69 6E 69 74 3E 00 03 Class2..<init>..
28 29 56 00 04 74 68 69 73 00 2B 4C 54 65 73 74 ()V..this.+LTest
5F 63 6F 6D 6D 6F 6E 5F 66 75 6E 63 74 69 6F 6E _common_function
2F 54 65 73 74 5F 63 6F 6D 6D 6F 6E 5F 66 75 6E /Test_common_fun
63 74 69 6F 6E 3B 00 07 69 6E 73 74 61 6C 6C 00 ction;..install.
07 28 5B 42 53 42 29 56 00 06 62 41 72 72 61 79 .([BSB)V..bArray
00 02 5B 42 00 07 62 4F 66 66 73 65 74 00 01 53 ..[B..bOffset..S
00 07 62 4C 65 6E 67 74 68 00 07 70 72 6F 63 00 ..bLength..proc.
(937268 nsec)
<= 00 90 00 ...
Status: No Error
=> 80 E8 00 0B FA 65 73 73 00 1C 28 4C 6A 61 76 61 .....ess..(Ljava
63 61 72 64 2F 66 72 61 6D 65 77 6F 72 6B 2F 41 card/framework/A
50 44 55 3B 29 56 00 04 61 70 64 75 00 19 4C 6A PDU;)V..apdu..Lj
61 76 61 63 61 72 64 2F 66 72 61 6D 65 77 6F 72 avacard/framewor
6B 2F 41 50 44 55 3B 00 03 62 75 66 00 05 47 65 k/APDU;..buf..Ge
74 50 31 00 04 28 42 29 42 00 07 69 64 63 6C 61 tP1..(B)B..idcla
73 73 00 14 54 65 73 74 5F 63 6F 6D 6D 6F 6E 5F ss..Test_common_
66 75 6E 63 74 69 6F 6E 00 19 00 01 00 00 00 01 function........
00 02 00 01 00 02 00 00 02 00 04 00 03 00 04 00 ................
09 00 00 00 00 00 05 00 04 00 09 00 00 00 01 00 ................
06 00 07 00 01 00 01 02 00 05 00 01 00 01 00 00 ................
08 00 09 00 00 00 05 00 00 00 04 00 0F 00 0A 00 ................
0B 00 09 00 08 02 00 12 00 03 00 04 00 00 0C 00 ................
0D 00 00 00 12 01 00 0E 00 0F 00 00 00 12 02 00 ................
10 00 04 00 00 00 12 00 00 00 07 00 14 00 08 00 ................
0D 00 15 00 0E 00 10 00 14 00 11 00 11 00 16 00 ................
(785421 nsec)
<= 00 90 00 ...
Status: No Error
=> 80 E8 80 0C 6C 00 11 00 12 00 01 00 1C 02 00 1F ....l...........
00 03 00 06 00 00 08 00 09 00 00 00 1F 01 00 13 ................
00 14 00 00 00 1F 02 00 15 00 0D 00 0C 00 13 00 ................
00 00 05 00 1B 00 06 00 06 00 1D 00 07 00 0B 00 ................
20 00 0C 00 17 00 21 00 18 00 1D 00 27 00 1E 00 .....!.....'...
1E 00 29 00 16 00 17 00 09 00 3D 02 00 0D 00 01 ..).......=.....
00 01 00 00 18 00 04 00 00 00 0D 00 00 00 0C 00 ................
2F 00 /.
(1986 usec)
<= 00 90 00 ...
Status: No Error
Debug.cap loaded (608 byte)
Load report:
999 bytes loaded in 0.0 seconds
effective code size on card:
+ package AID 6
+ applet AIDs 15
+ classes 17
+ methods 79
+ statics 2
+ exports 0
overall 119 bytes
cm> install -i 0102030405010101 -q C9#() 010203040501 0102030405010101
=> 80 E6 0C 00 1F 06 01 02 03 04 05 01 08 01 02 03 ................
04 05 01 01 01 08 01 02 03 04 05 01 01 01 01 00 ................
02 C9 00 00 00 .....
(2346 usec)
<= 00 90 00 ...
Status: No Error
cm> upload -c -d -b 250 "D:\WorkSpace\Test_Common_Funcation\bin\Test_Class_2\javacard\Test_Class_2.cap"
jcshell: Cannot read <D:\WorkSpace\Test_Common_Funcation\bin\Test_Class_2\javacard\Test_Class_2.cap>: java.io.FileNotFoundException: D:\WorkSpace\Test_Common_Funcation\bin\Test_Class_2\javacard\Test_Class_2.cap (The system cannot find the path specified)
cm> install -i 0102030405010303 -q C9#() 01020304050103 0102030405010303
=> 80 E6 0C 00 20 07 01 02 03 04 05 01 03 08 01 02 .... ...........
03 04 05 01 03 03 08 01 02 03 04 05 01 03 03 01 ................
00 02 C9 00 00 00 ......
(1231 usec)
<= 6A 88 j.
Status: Reference data not found
jcshell: Error code: 6a88 (Reference data not found)
jcshell: Wrong response APDU: 6A88
Unexpected error; aborting executionThank very much!
Edited by: WhoKnows on Apr 20, 2012 9:32 PM -
How to auto create Report Search functions and Breadcrumb Menu on new pages
Hi
First off I want to say I have just started using Html DB, and think its a great product! I have been using it for a few months now to create an application, and find it flexible, powerful, but still fairly simple to use.
When I create a new Application using "Based on Existing Tables", the pages that get created have some very nice Report Search functions and Breadcrumb Menu features generated automatically.
I want to do the same when I add pages to an existing application. That is, I want new pages to automatically include those Report Search functions and Breadcrumb Menu features.
I have tried various combinations of the existing wizards, but I have not been able to find any that generate all those features automatically. I know I can create pages using the page wizard, and then manually add the Report Search and Breadcrumb Menu. But that is very tedious. Nor can I find a better answer in the forum
Any suggestions or ideas?
Thanks
RichardCan you show the scripts and reports screenshort, so we can have a clerarl idea.
madni -
How I can create new XQuery functions in AQSB?
Hi,
I need create XQuery functions in AQSB to use them in proxy services. Is that posible?
Thanks for your help!!! :-)Hi,
Have you activated the IC in the last dialog box of the wizard. Expand the root Account and see if you were able to see your sample BC. If you found that check the box and it will be available in the IC.
Regards,
Joseph -
How can I create a ramp function, that continuously increases the voltage over time?
I do not have the option of upgrading to a full version or version 7, so I do not have the ramp vi. How can I increase the voltage over time, because I don't think that ramp vi even has a time element.
The ramp.vi can easily be duplicated with a few wire strokes, see e.g. attached diagram image.
(Of course, in your case you don't even need the ramp output, just update the voltage in a timed fashion as shown. Just add your own trimmings).
LabVIEW Champion . Do more with less code and in less time .
Attachments:
ramp.gif 4 KB
Maybe you are looking for
-
Why when I am trying to install a free game app does Apple need my credit card info?
I am trying to install a free game app and it won't install without my credit card info. Why?
-
Problem with aiff files playback after 10.9.4 update
I use Logic and Reason to produce electronic music. Ever since I updated my system to 10.9.4 I have had issues with track playback on my iMac. It seems to be centered around the playback from online sites (i.e. Soundcloud, YouTube, Skype, etc) and
-
How to set iTunes not to sync the apps I have on my iPad to my iPhone?
How can I do this. I always plug my phone in and iTunes transfer the purchased apps to mynlibrary, same with my iPad. Today I wanted to add some songs to both iPhone and iPad so I added them to iTunes library then I synced the iPad with no problem ne
-
Pulse width modulation signal generation for ULx
Hello, I am trying to produce an analogue waveform (i.e square wave) with an option to control the duty cycle. I am outputting through a Measurement Computing card, which uses the ULx user libaries. There are many examples to do what I want using DAQ
-
How can I get the "comments" to show up in the left tool bar?
Yesterday the "comments" were (A) appearing stacked on the left of the pages document, today, they are only (B) appearing as a sqaure notation and I can not seem how to switch back to the (A) style. Any tips is appreciated. Thanks!