Viewing Simulator on TV
Hello,
Is there any way to get the simulator to play back through firewire on a TV. I have my G5 hooked up via firewire to a deck hooked up to a TV.
Thanks,
Matt Silva
Not through firewire.
If your video card has a s-video connector or you have a component capture card, it is possible.
Similar Messages
-
Query's Quick Viewer Simulation.
Hi everybody.
I'm trying to do anything similar to the Query's Quick Viewer, but I don't know how exactly do the dragging simulation for make a field wider.
Doen anyone knows how to do it?
Cheers!!!HI,
U can go through the transaction SQVI.
From there itself u can create any new quick viewer like that
Thanks,
Shankar -
Display Currency tab during General ledger view in T-Code F-53
Hi
When Iam making a payment in foreign currency using T-Code F-53, then on simulation of the document in the General Ledger View (Ctr+F12), Iam trying to press the tab 'Currency' (F9), however, it shows blank, there is no currency visible in it. However, when I press the same tab during Entry view simulation, it shows all the three currencies maintained.
Can anybody analyse the situation and tell me what can be the problem.
Regards
Abhishek KumarHi,
If you have activated New GL then check in Financial Accounting Global settings (New) > Ledgers > Ledger >
Define currencies of Leading Ledger. Secondly, you have to check in FBZP, the payment method in country >
Currencies allowed - If you have not defined anything all the currencies will be taken. In F-53 when you
processing the transaction itself, you can see three currencies, i.e. local currency, group currency, and
hard currency translations. If you click display currency F8, the system will give a pop up for selection
based on document currency(by default), local currency, group currency and hard currency. Please check
and revert back.
Regards,
Sadashivan -
Display Color Management Simulated Rec709 differs from ProRes Output
Okay. I've read the Adobe white paper on proper Color Management workflow about a dozen times now, and I'm still getting some inconsistencies in my render outputs.
DPX footage assigned a Kodak 5218/7218 Profile
Project Settings: ProPhoto RGB
Linearized Working Space
Match Legacy AE QT Gamma Adjustments
Output Profile: HDTV (Rec. 709)
I'm outputting to a ProRes 4444 file.
My problem arises from using the Simulate Output>Rec709 option in AE. I cannot get the output to look like this simulated color. Isn't that supposed to work?
I can match the output to AE when I turn off Color Management and apply a Color Profile Converter effect, but there is a shift in color when viewing Simulated Color vs. using the Color Converter Effect. Even in AE the Converter Effect looks different than Simulated Color.
I was under the impression that the point of the Simulated Output and Display Color Management options were to avoid having to do this. Should I change my workflow and just use the Converter Effect on all my comps? Or do I have a setting wrong somewhere? Has anyone else come across a discrepancy like this?Interesting. I thought it might have something to do with ProRes, but my bit depth is at 32, and the shifts I'm seeing are more subdued than the pictures in that post. It looks darker (like a gamma shift) and slightly more saturated.
I'm more interested to know why there is a difference in the simulated output vs the color profile converter. I can see the difference within AE, before exporting anything. What is simulated output doing that my profile converter isn't? -
[iPhone] How to kill UIAlertView programmatically?
My app is activating a UIAlertView upon disconnection from a server. If the connection is resumed without any user interference, I want my app to kill the UIAlertView so as not to annoy the user in case of a spotty connection by making them repeatedly have to manually dismiss the alerts. I haven't found in the documentation any reference to a forced cancellation of a UIAlertView except possibly a cancellation by the system in case the user presses the home button. I managed to make the alert view disappear by sending it a removeFromSuperview message, but it still has a retain count of 1 so obviously is being retained by some system element, which will cause a memory leak. Can anyone suggest how I might simulate a user dismissal of the alert view or otherwise cancel the alert in a safe way? I thought of sending the alert view simulated "touchesBegan" and "touchesEnded" messages to make it think the user dismissed the alert, but this would be a very annoying and possibly not foolproof way of doing it. Any suggestions?
Thanks - I feel so stupid! I (mis)understood the "dismissWithClickedButton" thing to mean that you are configuring the UIAlertView to be dismissed by the user clicking the button with that index, but in retrospect it's so obvious this is not what was meant, I don't see how it didn't occur to me. Oh well, it happens I guess...
-
Hi everyone,
I have done this several dozen times, but now it is failing and i need some additional eyes to see if there is a problem with what I am doing.
Outline is this...
appDelegate has a view controller, this view controller has one additional view controller.
The second view can be seen in the IB, and can be seen using the view simulator.
I have connected the controller to the view as needed, but when I execute this code block
[code]
CompleteAuditController *screen = [[CompleteAuditController alloc] initWithNibName:nil bundle:nil];
screen.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:screen animated:YES];
[screen release];
[code]
the primary screen goes away, and a white window is displayed.
I do not know what I am missing to have this white window displayed instead of the content of the second view that was designed in the IB.
The steps I used to create a new resource, specifying View XIB for the iPhone product,
then writing the class file
changing the class type to UIViewController and changing the name as needed
setting the implementation name as well.
restarting IB, changing the File's Owner class to the newly created class that was corrected
Setting the view outlet to the view
outside of those steps, that should take care of it??? or am i missing something?
take care
tonyalt-088 wrote:
CompleteAuditController *screen = [[CompleteAuditController alloc]
initWithNibName:nil // <-- replace nil with nib name
bundle:nil];
You need to provide the name of your nib file in the commented line. E.g.:
initWithNibName:@"CompleteAuditController"
For details on what happens when that arg is nil see [initWithNibName:bundle:|http://developer.apple.com/iphone/library/documentatio n/UIKit/Reference/UIViewControllerClass/Reference/Reference.html#//appleref/occ/instm/UIViewController/initWithNibName:bundle:] in the +UIViewController Class Reference+.
Btw the code formatting tag at the beginning and end of your code should be {code} (curly braces instead of square brackets). To see how your post will appear, click the Preview tab above the Reply editor panel.
- Ray -
hello guys
i have a main GUI frame and one button on that fires another frame with few graphs. i have an exit button the child one that needs to close that window and return to main one but that button is not working.
i have tried almost everything so far viz. dispose(), DISPOSE_ON_CLOSE, ChildFrame.this.dispose(), setVisible(false),,,,,, but nothing is working.
please please help .....
thanks a lotok.. its a bit longer to read but i m doin it
################ child class ###################
/* Split pane to view simulation results*/
import java.io.*;
import java.util.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.AbstractButton;
import javax.swing.ImageIcon;
public class GraphPane extends JFrame implements ActionListener {
private JPanel base,graphic;
private JButton first,second,third,fourth,fifth,viewer,quit;
private JTextField firstT,secondT,thirdT,fourthT,fifthT;
private JSplitPane hPane;
private TitledBorder title;
private JFileChooser fc;
//mode constants
private final String FIMB="fimB graphs";
private final String FIME="fimE graphs";
private final String FIMBOTH="Co-ordinated graphs";
//mode flag
private String modus=FIMBOTH;
// arrays to hold data of the simulation(s)
private int[] reader1=new int[75];
private int[] reader2=new int[75];
private int[] reader3=new int[75];
private int[] reader4=new int[75];
private int[] reader5=new int[75];
// arrays to supply data
private int[] supply1=new int[25];
private int[] supply2=new int[25];
private int[] supply3=new int[25];
private int[] supply4=new int[25];
private int[] supply5=new int[25];
// comboBox to choose viewing option
private JComboBox selector;
//change determiner
private boolean isChange;
//setting up gridbag layout
GridBagLayout gridbag;
GridBagConstraints c;
public Component createViewcom() {
//put a relevant image on buttons
ImageIcon opnerIcon = createImageIcon("images/opener.gif");
//create a file chooser
fc=new JFileChooser() ;
fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);
fc.setFileFilter(new NewFileFilter());
// create the mode chooser
selector=new JComboBox();
selector.addItem(FIMBOTH);
selector.addItem(FIMB);
selector.addItem(FIME);
selector.setFocusable(false);
//adding item listener
ModeListener modeListener=new ModeListener();
selector.addItemListener(modeListener);
selector.revalidate();
//selection buttons
first=new JButton("Simulation_1",opnerIcon);
first.setHorizontalTextPosition(AbstractButton.LEFT);
first.setForeground(Color.red);
first.setFocusable(false);
first.addActionListener(new ButtonAction1());
second=new JButton("Simulation_2",opnerIcon);
second.setHorizontalTextPosition(AbstractButton.LEFT);
second.setForeground(Color.blue);
second.setFocusable(false);
second.addActionListener(new ButtonAction2());
third=new JButton("Simulation_3",opnerIcon);
third.setHorizontalTextPosition(AbstractButton.LEFT);
third.setForeground(Color.green);
third.setFocusable(false);
third.addActionListener(new ButtonAction3());
fourth=new JButton("Simulation_4",opnerIcon);
fourth.setHorizontalTextPosition(AbstractButton.LEFT);
fourth.setForeground(Color.orange);
fourth.setFocusable(false);
fourth.addActionListener(new ButtonAction4());
fifth=new JButton("Simulation_5",opnerIcon);
fifth.setHorizontalTextPosition(AbstractButton.LEFT);
fifth.setForeground(Color.cyan);
fifth.setFocusable(false);
fifth.addActionListener(new ButtonAction5());
// textfields
firstT=new JTextField(14);
firstT.setEditable(false);
secondT=new JTextField(14);
secondT.setEditable(false);
thirdT=new JTextField(14);
thirdT.setEditable(false);
fourthT=new JTextField(14);
fourthT.setEditable(false);
fifthT=new JTextField(14);
fifthT.setEditable(false);
// viewer button
viewer=new JButton("View Result");
viewer.setFocusable(false);
viewer.addActionListener(this);
//quit button
quit=new JButton(" Exit ");
quit.setFocusable(false);
quit.addActionListener(new QuitButtonListener(this));
//add them to panel
base=new JPanel();
// layout manager
gridbag = new GridBagLayout();
c = new GridBagConstraints();
base.setLayout(gridbag);
base.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
// set constarins for the panel
//add combo box
c.gridx = 0;
c.gridy = 0;
c.gridheight = 1;
c.gridwidth = 2;
c.insets = new Insets(10,0,50,45);
c.anchor = GridBagConstraints.CENTER;
gridbag.setConstraints(selector, c);
base.add(selector);
// first set
c.gridx = 0;
c.gridy = 1;
c.gridheight = 1;
c.gridwidth = 1;
c.insets = new Insets(10,0,10,10);
gridbag.setConstraints(first, c);
base.add(first);
c.gridx = 1;
c.gridy = 1;
c.gridheight = 1;
c.gridwidth = 1;
c.insets = new Insets(10,0,10,10);
gridbag.setConstraints(firstT, c);
base.add(firstT);
//second set
c.gridx = 0;
c.gridy = 2;
c.gridheight = 1;
c.gridwidth = 1;
c.insets = new Insets(10,0,10,10);
gridbag.setConstraints(second, c);
base.add(second);
c.gridx = 1;
c.gridy = 2;
c.gridheight = 1;
c.gridwidth = 1;
c.insets = new Insets(10,0,10,10);
gridbag.setConstraints(secondT, c);
base.add(secondT);
// third set
c.gridx = 0;
c.gridy = 3;
c.gridheight = 1;
c.gridwidth = 1;
gridbag.setConstraints(third, c);
c.insets = new Insets(10,0,10,10);
base.add(third);
c.gridx = 1;
c.gridy = 3;
c.gridheight = 1;
c.gridwidth = 1;
c.insets = new Insets(10,0,10,10);
gridbag.setConstraints(thirdT, c);
base.add(thirdT);
//fourth set
c.gridx = 0;
c.gridy = 4;
c.gridheight = 1;
c.gridwidth = 1;
c.insets = new Insets(10,0,10,10);
gridbag.setConstraints(fourth, c);
base.add(fourth);
c.gridx = 1;
c.gridy = 4;
c.gridheight = 1;
c.gridwidth = 1;
c.insets = new Insets(10,0,10,10);
gridbag.setConstraints(fourthT, c);
base.add(fourthT);
//fifth set
c.gridx = 0;
c.gridy = 5;
c.gridheight = 1;
c.gridwidth = 1;
c.insets = new Insets(10,0,10,10);
gridbag.setConstraints(fifth, c);
base.add(fifth);
c.gridx = 1;
c.gridy = 5;
c.gridheight = 1;
c.gridwidth = 1;
c.insets = new Insets(10,0,10,10);
gridbag.setConstraints(fifthT, c);
base.add(fifthT);
//the viewer button
c.gridx = 0;
c.gridy = 6;
c.gridheight = 1;
c.gridwidth = 1;
c.insets = new Insets(15,0,0,0);
c.anchor = GridBagConstraints.CENTER;
gridbag.setConstraints(viewer, c);
base.add(viewer);
//the quit button
c.gridx = 1;
c.gridy = 6;
c.gridheight = 1;
c.gridwidth = 1;
c.insets = new Insets(15,0,0,0);
c.anchor = GridBagConstraints.CENTER;
gridbag.setConstraints(quit, c);
base.add(quit);
base.setPreferredSize(new Dimension(320,440));
title=BorderFactory.createTitledBorder("Simulation Comparison");
base.setBorder(title);
base.setVisible(true);
base.setOpaque(true);
base.updateUI();
//split pane creation
hPane=new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
boolean b = hPane.isContinuousLayout(); // false by default
hPane.setContinuousLayout(true);
b = hPane.isOneTouchExpandable(); // false by default
hPane.setOneTouchExpandable(true);
//hPane.resetToPreferredSizes();
hPane.setDividerLocation(365);
//allocate left component
hPane.setLeftComponent(base);
//allocate right component with a default graph panel
DefaultGraph prelude=new DefaultGraph();
graphic=new JPanel();
graphic.add(prelude);
graphic.setPreferredSize(new Dimension(590,440));
graphic.setVisible(true);
graphic.validate();
hPane.setRightComponent(graphic);
hPane.setPreferredSize(new Dimension(945,440));
hPane.setVisible(true);
return hPane;
// action performed for view Result button
public void actionPerformed (ActionEvent e) {
if(modus.equals(FIMBOTH))
System.out.println("3");
for(int i=50,j=0;i<75;i++,j++)
supply1[j]=reader1;
supply2[j]=reader2[i];
supply3[j]=reader3[i];
supply4[j]=reader4[i];
supply5[j]=reader5[i];
else if(modus.equals(FIME))
System.out.println("2");
for(int i=25,j=0;i<50;i++,j++)
supply1[j]=reader1[i];
supply2[j]=reader2[i];
supply3[j]=reader3[i];
supply4[j]=reader4[i];
supply5[j]=reader5[i];
else if (modus.equals(FIMB))
System.out.println("1");
for(int i=0;i<25;i++)
supply1[i]=reader1[i];
supply2[i]=reader2[i];
supply3[i]=reader3[i];
supply4[i]=reader4[i];
supply5[i]=reader5[i];
System.out.println("works fine!");
if(isChange)
viewer.setEnabled(false);
else
System.out.println("button enabled");
// add GraphReceptorData panel to the splitPane
GraphReceptorData graph = new GraphReceptorData(this);
graphic.removeAll();
graphic.add(graph);
//reset the divider location
hPane.setDividerLocation(365);
//repaint the pane after change
graphic.validate();
graphic.paintImmediately(graph.getX(),graph.getY(),570,400);
//add graph to the the split pane finally
hPane.setRightComponent(graphic);
// isChange boolean method
public boolean isChanged() {
if ((first.isSelected())||(second.isSelected())
||(third.isSelected())||(fourth.isSelected())||
(fifth.isSelected()))
isChange=true;
return isChange;
//Action listeners for buttons
class ButtonAction1 implements ActionListener {
public void actionPerformed (ActionEvent e) {
//Handle open button action.
if (e.getSource() == first) {
int returnVal = fc.showDialog(GraphPane.this,"Attach");
if (returnVal == JFileChooser.APPROVE_OPTION) {
try
File file = fc.getSelectedFile();
//loading the file onto the application interface
firstT.setText(fc.getName(file));
RandomAccessFile simulation1=new RandomAccessFile(firstT.getText(),"r");
if ((firstT.getText().equals(fourthT.getText()))||(firstT.getText().equals(thirdT.getText()))||(firstT.getText().equals(secondT.getText()))||(firstT.getText().equals(fifthT.getText())))
firstT.setText("");
JOptionPane.showMessageDialog(null,"File selected has been already choosen","Selection Error",JOptionPane.ERROR_MESSAGE);
else {
for(int i=0;i<300;i+=4)
simulation1.seek(i);
reader1[i/4]=simulation1.readInt();
} // end try
catch (Exception locationError)
System.out.println("Not executed");
} else {
System.out.println("Invalid selection");
class ButtonAction2 implements ActionListener {
// action performed for button2
public void actionPerformed (ActionEvent e) {
//Handle open button action.
if (e.getSource() == second) {
int returnVal = fc.showDialog(GraphPane.this,"Attach");
if (returnVal == JFileChooser.APPROVE_OPTION) {
try
File file = fc.getSelectedFile();
//loading the file onto the application interface
secondT.setText(fc.getName(file));
RandomAccessFile simulation2=new RandomAccessFile(secondT.getText(),"r");
if ((secondT.getText().equals(firstT.getText()))||(secondT.getText().equals(thirdT.getText()))||(secondT.getText().equals(fourthT.getText()))||(secondT.getText().equals(fifthT.getText())))
secondT.setText("");
JOptionPane.showMessageDialog(null,"File selected has been already choosen","Selection Error",JOptionPane.ERROR_MESSAGE);
else {
for(int i=0;i<300;i+=4)
simulation2.seek(i);
reader2[i/4]=simulation2.readInt();
} // end try
catch (Exception locationError)
System.out.println("Not executed");
} else {
System.out.println("Invalid selection");
class ButtonAction3 implements ActionListener {
//action performed for button3
public void actionPerformed (ActionEvent e) {
//Handle open button action.
if (e.getSource() == third) {
int returnVal = fc.showDialog(GraphPane.this,"Attach");
if (returnVal == JFileChooser.APPROVE_OPTION) {
try
File file = fc.getSelectedFile();
//loading the file onto the application interface
thirdT.setText(fc.getName(file));
RandomAccessFile simulation3=new RandomAccessFile(thirdT.getText(),"r");
if ((thirdT.getText().equals(firstT.getText()))||(thirdT.getText().equals(secondT.getText()))||(thirdT.getText().equals(fourthT.getText()))||(thirdT.getText().equals(fifthT.getText())))
thirdT.setText("");
JOptionPane.showMessageDialog(null,"File selected has been already choosen","Selection Error",JOptionPane.ERROR_MESSAGE);
else {
for(int i=0;i<300;i+=4)
simulation3.seek(i);
reader3[i/4]=simulation3.readInt();
} // end try
catch (Exception locationError)
System.out.println("Not executed");
} else {
System.out.println("Invalid selection");
class ButtonAction4 implements ActionListener {
//action performed for button4
public void actionPerformed (ActionEvent e) {
//Handle open button action.
if (e.getSource() == fourth) {
int returnVal = fc.showDialog(GraphPane.this,"Attach");
if (returnVal == JFileChooser.APPROVE_OPTION) {
try
File file = fc.getSelectedFile();
//loading the file onto the application interface
fourthT.setText(fc.getName(file));
RandomAccessFile simulation4=new RandomAccessFile(fourthT.getText(),"r");
if ((fourthT.getText().equals(thirdT.getText()))||(fourthT.getText().equals(secondT.getText()))||(fourthT.getText().equals(firstT.getText()))||(fourthT.getText().equals(fifthT.getText())))
fourthT.setText("");
JOptionPane.showMessageDialog(null,"File selected has been already choosen","Selection Error",JOptionPane.ERROR_MESSAGE);
else {
for(int i=0;i<300;i+=4)
simulation4.seek(i);
reader4[i/4]=simulation4.readInt();
} //end try
catch (Exception locationError)
System.out.println("Not executed");
} else {
System.out.println("Invalid selection");
class ButtonAction5 implements ActionListener {
//action performed for button5
public void actionPerformed (ActionEvent e) {
//Handle open button action.
if (e.getSource() == fifth) {
int returnVal = fc.showDialog(GraphPane.this,"Attach");
if (returnVal == JFileChooser.APPROVE_OPTION) {
try
File file = fc.getSelectedFile();
//loading the file onto the application interface
fifthT.setText(fc.getName(file));
RandomAccessFile simulation5=new RandomAccessFile(fifthT.getText(),"r");
if ((fifthT.getText().equals(fourthT.getText()))||(fifthT.getText().equals(thirdT.getText()))||(fifthT.getText().equals(secondT.getText()))||(fifthT.getText().equals(firstT.getText())))
fifthT.setText("");
JOptionPane.showMessageDialog(null,"File selected has been already choosen","Selection Error",JOptionPane.ERROR_MESSAGE);
else {
for(int i=0;i<300;i+=4)
simulation5.seek(i);
reader5[i/4]=simulation5.readInt();
} //end try
catch (Exception locationError)
System.out.println("Not executed");
} else {
System.out.println("Invalid selection");
//selector listener
class ModeListener implements ItemListener {
// This method is called only if a new item has been selected.
public void itemStateChanged(ItemEvent evt) {
selector = (JComboBox)evt.getSource();
// Get the affected item
String s=(String)selector.getSelectedItem();
if (evt.getStateChange() == ItemEvent.SELECTED) {
// Item selected
modus=s;
System.out.println("cell selected is " + modus);
} else if (evt.getStateChange() == ItemEvent.DESELECTED) {
// Item is no longer selected
} // end of mode listener
// Returns an ImageIcon, or null if the path was invalid
protected static ImageIcon createImageIcon(String path) {
java.net.URL imgURL = GraphPane.class.getResource(path);
if (imgURL != null) {
return new ImageIcon(imgURL);
} else {
System.err.println("Couldn't find file: " + path);
return null;
//get methods to retrieve the values of supply arrays to feed into GraphReceptorData class
public int[] getSupplyOne() {
return supply1;
public int[] getSupplyTwo() {
return supply2;
public int[] getSupplyThree() {
return supply3;
public int[] getSupplyFour() {
return supply4;
public int[] getSupplyFive() {
return supply5;
// listener for the exit button
class QuitButtonListener implements ActionListener {
private Window myWindow;
public QuitButtonListener(Window w) {
myWindow = w; }
public void actionPerformed(ActionEvent evt) {
myWindow.setVisible(false);
myWindow.dispose();
######################## parent class#################
the button there is just calling this class.
// ActionListener for viewGraph button
class ButtonGraph implements ActionListener {
public void actionPerformed(ActionEvent e) {
JFrame frame=new JFrame("Graph view screen");
frame.getContentPane().add(new GraphPane().createViewcom(), BorderLayout.CENTER);
frame.setSize(945, 440);
frame.setResizable(false);
frame.setVisible(true);
}hope this will explain more...
thanks a lot for help guys -
Audio within particular section of my dvd project can't be heard anymore.
Everything was playing/sounding beautiful; I was close to finishing when all of a sudden the 4 tracks within a choral section can't be heard though the track is playing. Looks ok but sound is missing, whether I'm in the viewer, simulator... anywhere! Elsewhere in the project the audio is fine.
Previous to this development I'd been adding/changing connections, but really to tweak other sections of the DVD; I don't recall doing anything to this section. The video (lyric) is there, but no audio.
This doesn't seem like a hardware issue to me. More like a newbie issue perhaps. At least I hope it's something simple.
Suggestions greatly appreciated! I need to hand this off tomorrow.Ha - Got out of the program, opened it again and everything is fine. Whew!
-
Comparing between short and byte operations
Hi, all!
I want to optimize performance of my applet. I have realization of block cipher that work using bytes. But for optimization purpose I rewrite encryption algorithm for short values. In simulator it works 3,5 faster, but when I test it in real card it works 4,5 slower. I use JCOP J2A080 java card.
Has anyone such a problem?
P.S. before optimization I tested different operations in card such : add, shift, xor, and, read/write and for short it works faster.
Code before optimization
public static void add(byte[] x, short xLen, byte[] y, short yOffset,
short yLen) {
short carry = 0, i = 0;
while (i < yLen) {
carry += (short) ((x[i] & 0xFF) + (y[i + yOffset] & 0xFF));
x[i++] = (byte) (carry & 0xFF);
carry = (short) ((carry >>> 8) & 0xFF);
while (i < xLen) {
carry += (short) (x[i] & 0xFF);
x[i++] = (byte) (carry & 0xFF);
carry = (short) ((carry >>> 8) & 0xFF);
private void mainStep(byte[] n1, byte[] key, short keyOffset)
add(n1, (short) 4, key, keyOffset, (short) 4);
Util.arrayFillNonAtomic(om, (short) 0, (short) 4, (byte) 0);
om[0] = sbox[0 + (n1[0] & 0xF)];
om[0] |= (byte)(bArr[1 + ((n1[0] >>> 4) & 0xF)]<<4);
om[1] = (byte)(bArr[2 + (n1[1] & 0xF)]);
om[1] |= (byte)(bArr[3 + ((n1[1] >>> 4) & 0xF)]<<4);
om[2] = (byte)(bArr[4 + (n1[2] & 0xF)]);
om[2] |= (byte)(bArr[5 + ((n1[2] >>> 4) & 0xF)]<<4);
om[3] = (byte)(bArr[6 + (n1[3] & 0xF)]);
om[3] |= (byte)(bArr[7 + ((n1[3] >>> 4) & 0xF)]<<4);
n1[3] = (byte) ((om[2] << 3) | ((om[1] & 0xFF) >>> 5));
n1[2] = (byte) ((om[1] << 3) | ((om[0] & 0xFF) >>> 5));
n1[1] = (byte) ((om[0] << 3) | ((om[3] & 0xFF) >>> 5));
n1[0] = (byte) ((om[3] << 3) | ((om[2] & 0xFF) >>> 5));
}Code after optimization:
private void mainStep(byte [] bKey, short j)
short om1 = Util.getShort(bKey, j);
short om0 = (short)(n_0 + om1);
//change from add function
if((((om1 < 0)&& (om0 >= 0)) && (n_0 >= 0))
||
(((om1 < 0) || (om0 >= 0)) && (n_0 < 0)))
n_1 += 0x1;
n_0 = om0;
n_1 += Util.getShort(bKey, (short) (j+2));
//and add function
om0 = (short)(bArr[n_0 & 0xFF]&0xFF);
om0 |= (short)((bArr[1+ ((n_0 >>> 8) & 0xFF)])<< 8);
om1 = (short)((bArr[2+ (n_1 & 0xFF)] & 0xFF));
om1 |= (short)((sbox[3+ ((n_1 >>> 8) & 0xFF)])<< 8);
n_0 = (short)(( om0 << 11 ) | ((om1 >>> 5) & 0x7FF)) ;
n_1 = (short)(( om1 << 11 ) | ((om0 >>> 5) & 0x7FF)) ;
}From my point of view, simulator is suitable for the logical functionality testing of your application. In order to benchmark your application, you should use an emulator whose configuration is close to your real card.
I used to participated into a smart card benchmark project. The real performance depends on many factors, even the driver for the card reader can affect the application performance. I've never used a simulator to test an application performance so I haven't got any problem like yours. Just some ideas to share with you.
Best regards,
JDL -
View salary details in a single screen in Simulation
Hi All,
InPayroll Simulation is there any way to view the salry details in a sigle screen , insted of going to the drop down and view
SDTry to run with 'Display variant Rem. Statement' parmaneter populated .
-
Can simulations delete previous pages in graph view
When I run simulations with Multisim 13.0 it will add new pages to the grap view windows but after a while I will need to clear the pages with Edit->Clear pages.
Is it possible when I run a simulation that the previous pages from previous simulations are deleted automatically ?
I saw the ' Auto-close pages ' in the Edit menu but I don't know the use of it and can't find help in the help system for it.
Thank you.Hi Pierre,
The option to close a graph automatically is not available; you have to use the 'Clear' option.
When the 'auto-close pages' is checked, once you close a design any graphs relating to that design will close.
To search for any feature, press F1 and then click the "Search" tab. enter the keyword such as 'auto-close pages', in this example I got two results and one of which is "Grapher Edit menu. When you click on this, you will get to the page with the description about this feature.
Tien P.
National Instruments -
Well Documented Live View Exposure Simulation Issue
I'm including a number of links which document this issue across multiple canon cameras. After doing a search on the canon forum, I can't find this particular issue, so I thought I'd post and see if we can get an official solution. (New to the Canon forums, so if I'm not looking in the right place, please let me know.)
In my opinion, the vimeo link illustrates this best. (and while the 2nd link says "solved" ... perhaps the solution could be described as "janky" at best.)
Basically, from what I can gather: The Live View (*in photo mode) uses the lens's aperture data to update the exposure simulation parameters. This effects the way the LCD and the Histogram interpret exposure settings. If you are using a lens without these digital chips, the Exp. Sim. parameters don't get updated and the liveview/histogram will sometimes appear under exposed when compared to the actual photograph (anywhere from -1 to -4 stops from what I've seen).
What's strange is that this problem disapears in video mode. Perhaps I don't understand the real issue, but it sounds like a firmware update is needed. Is there an update available(or will there be) that fixes this problem?
https://vimeo.com/43633270
http://www.dvxuser.com/V6/showthread.php?246032-dark-live-view-on-T2i-550D-when-using-vintage-manual...
http://www.dvxuser.com/V6/archive/index.php/t-247001.htmlIf I understand you correctly... you're referring to a 3rd party lens designed to fit on a Canon EOS body as an "EF" lens -- not actually suggesting that Canon themselves make a lens that has the problem.
Niether Canon nor Nikon (nor anybody else that I am aware of) release the specs to 3rd party lens makers. Those 3rd parties reverse-engineer the cameras in an attempt to build compatible lenses. Again, I'd stress that to my knowledge, ALL camera makers are the same in this respect. It is not a differentiator.
Rokinon (and the same lenses are sold under a variety of names) is known for their very cheap lenses. It's a bit of a case of "you get what you paid for."
I don't work for Canon so I'm not trying to argue that you should only consider Canon products. (I do like their products and am happy with all of my Canon gear.) But I would probably not reduce my camera buying decisions be decided by just this one feature alone. There are are so many aspects to consider when buying a camera. Is this really that important to you?
The guy in this video is using a Canon 5D III. That's a $3500 camera body. Realistically, no photographer who can afford a $3500 camera body is going to shoot with a Rokinon 14mm lens -- and then have the audacity to expect that it's Canon's fault when the cheap lens isn't fully compatible with the high end $3500 body. :-/
There are a number of 3rd party lens makers... Sigma, Tokina, Tamron... and then there are some very high end lens makers... Schneider, Ziess, etc. But when these lens makers build lenses for the cameras, they actually do tend to work correctly (not always... and sometimes a lens that worked with one body might not continue to work years later when Canon comes out with newer bodies... but Canon's own lenses DO work EVEN when you upgrade camera bodies. Canon makes certain of that.)
Rokinon, however (and the same lenses are sold under multiple names... Samyang, Bower, Pro-Optic, etc.) are known for their especially cheap, basic, low-end lenses. If you are going to buy an exceptionally cheap, basic, low-end lens... you should probably not be at all surprised to learn that there are limitations. Notice, for example, that the lens has an aperture ring on the lens... modern lenses don't do that anymore.
Tim Campbell
5D II, 5D III, 60Da -
Software Simulation - Recording in Citrix Desktop Viewer
Hi,
I have to record several software simulations for a customer via a remote connection via Citrix Desktop Viewer. The application to be recorded is a web based app in Internet Explorer.
Normally when I recording these kind of videos locally I choose to record the Application Region thereby removing the fact that it is Internet Explorer or indeed any other browser.
I was wondering if anyone has come across this kind of scenario and has any tips or suggestions for capturing the application region in a remote window setup.
Thanks in advance.
D@ RodWard:
If that is the case then I honestly don't know / think this can be done within Captivate!!
@ OP:
Somebody else who seems to have a similar issue:
http://www.calguns.net/calgunforum/archive/index.php/t-783622.html
Resources that might be useful to you:
http://helpx.adobe.com/captivate/using/system-audio.html
http://helpx.adobe.com/captivate/using/record-video-demonstrations.html
http://helpx.adobe.com/captivate/using/record-video-demonstrations.html#add_audio_to_a_vid eo_project
http://helpx.adobe.com/captivate/using/edit-audio.html#edit_audio
Cogito, ergo sum - René Descartes . -
No audio in simulator or viewer - DVD Studio Pro
First project on DVD studio pro.
I imported MPEG2 and AC-3 on the timeline, but when trying to play on either the viewer or simulator there is no audio.Try to preview just the AC3 by double-clicking on it (assuming that all your system audio stuff is working...) if it plays, you may have an issue with the disk your MPEG-2/AC3 source is on.
If the AC3 doesn't play, you'll want to go back to the source clip you used in Compressor to assure that the audio was exported from the FCP timeline. If the source clip has audio, you'll need to re-open the source in Compressor, add the appropriate codec, test it in Compressor using the Preview function, then transcode it again.
Obviously if the audio was good in the timeline, then an export error occurred.
Post back where the chain broke.
Nevermind... -
16x9 in Viewer, 4:3 in Simulator
I'm making a mixed DVD of 4:3 and 16:9, each on a separate track. To make the track 16:9 I chose 16:9 Pan-Scan. When I play the track it looks 16:9 in the Viewer. But when I play the Simulator it looks like 4:3. What am I doing wrong?
Elmer Lang
H2E Productions - "Better Than Water"
http://elmerlang.com - 60+ films strongYou can actually set the 16:9 track to Pan&Scan
Yes you can, but you must do so? The 16:9 will be shown full frame cropped in both sides in 4:3 TVs. Check this fast Search in the forum and how many times it has been adviced NOT to do so:
http://discussions.apple.com/search.jspa?objID=f952&search=Go&q=pan%26scan
This info is from DVDSP User Manual:
pan-scan: A method for displaying 16:9 video on a 4:3 monitor. Content is cropped at
each end so that the 4:3 monitor is filled. An MPEG-2 video clip with pan and scan can
include vectors that dynamically change the part of the picture that is cropped. See
also letterbox.
Alberto
Maybe you are looking for
-
I have 100 songs on i pod touch. But when i connect it to itunes it only showed 44 songs. What is actually happening and how to fix the problem so that all music in my iphone can be seen in my itune
-
How to make the library visible IN AN EXTERNAL disk?
Hello. Searched this forum (found about 25 identical questions and answers "how to make the library visible"). I turned mine and it is constantly visible now. Before installing Lion made a bootable image. When I connect the external HD, I see it in t
-
HT1222 Why I can't update my iPhone
Everytime I update my iPhone its end wid failed updating
-
OBIEE 11g newbie - need guidelines please
Hello everyone, I have installed OBIEE11g on Windows XP 32bit using simple install, mainly to start learning this technology. My initial aim is to create reports using BI publisher. From what I have read through the manuals and blogs/forums/tutorials
-
Anti-virus for Windows on my Mac Pro
I have recently purchased my Mac Pro and would like to install VMware Fusion in order to put Windows Vista on my system. (Have a lot of old PC storage I want to bring in.) What is a good anti-virus program for this type of installation? Thanks, 3D Da