VISA sending command thru Ethernet
Hi
I am using VISA library to communicate with an instrument thru ethernet. I wonder if viPrintf blocks itself until it's done sending all strings in a command, and if viQueryf also blocks itself until it's done receiving all strings in the reply message.
I use VISA library version 4.1 and I get an intermittent error when I send command to a signal generator. The error was something like "SignalGenerator.exe has encountered an problem and needs to close. We are sorry for the inconvenience." and SignalGenerator.exe hangs. (SignalGenerator.exe is the program I wrote using VISA library. Have you ever had that problem before?
I also wonder if I have viPrintf then followed by viQueryf, is a good practice to put a delay after viPrintf (before viQueryf) ? and if I have viPrintf followed by viPrintf, should I put a delay in between? Please bare in mind that I use ethernet, not GPIB. If you think I should put a delay, how many ms of delay should it be?
Thanks
Hi
Please see my answer in italics below
by the way, is GPIB more reliable than Ethernet? (basically I just want the instrument to perform according to the command I send to it without any errors)
thanks
In order to help, we're going to have to get more information. Are you running an executable?
yes. I am running executable. Single-threaded.
Do you have access to the source code?
Yes, please see the attachment.
What drivers are you using?
NI Visa 4.10 for windows. I have WindowsXP. Do I need any special patch from Microsoft to run NI Visa properly?
What versions?
What is your code doing?
My code controls Anritsu MG3700A Signal generator (eg sending commands to it to output signal, change frequency,...)
Attachments:
code.rtf 6 KB
Similar Messages
-
Hello I need to send commands through ethernet connections,
specifing an IP address and port... similar some xTras with RS-232
protocol, but with ethernet. Are there any command or xTra?
Thank youMy apologies, it is still not clear to me exactly what you
are trying to
achieve. Can you be a bit more specific?
My experience with video projectors is limited to connecting
them to the
VGA port on a laptop to project an presentation onto a
screen. Things
like powering them on, focusing, adjusting the image, etc,
I've only
done using the buttons on the projector itself.
Is this the sort of "manage" tasks you are referring to? Does
the
projector you are referring to have some interface with a PC
that allows
you to do these thing via the computer?
lbadosa wrote:
> I need to manage devices like video projectors or
similar
>
> thanks -
I am trying to connect IMAC OSx 10.9.4 to Suddenlink thru ethernet connection in New Bern NC. No luck. Any hints?
If you bring up Safari browser, and go to www.google.com, does it give you an error?
It is possible that you are not getting DNS. From the OSX terminal can you run the following two commands
1. dig www.google.com
2. ifconfig en0
3. ifconfig en1
4. ping -c 3 www.google.com
1. Example output...
; <<>> DiG 9.8.3-P1 <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44161
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.google.com. IN A
;; ANSWER SECTION:
www.google.com. 92 IN A 173.194.121.18
www.google.com. 92 IN A 173.194.121.20
www.google.com. 92 IN A 173.194.121.16
www.google.com. 92 IN A 173.194.121.17
www.google.com. 92 IN A 173.194.121.19
;; Query time: 43 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Sat Sep 6 17:19:56 2014
;; MSG SIZE rcvd: 112
Example output for commands 2 and 3
ifconfig en0
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether b8:e8:56:35:bf:e2
inet6 fe80::bae8:56ff:fe35:bfe2%en0 prefixlen 64 scopeid 0x4
inet 192.168.1.9 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=1<PERFORMNUD>
media: autoselect
status: active
ifconfig en1
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
options=60<TSO4,TSO6>
ether 72:00:00:79:ee:b0
media: autoselect <full-duplex>
status: inactive
Example output of 4.
ping -c 3 www.google.com
PING www.google.com (173.194.121.18): 56 data bytes
64 bytes from 173.194.121.18: icmp_seq=0 ttl=250 time=9.049 ms
64 bytes from 173.194.121.18: icmp_seq=1 ttl=250 time=10.568 ms
64 bytes from 173.194.121.18: icmp_seq=2 ttl=250 time=9.393 ms
--- www.google.com ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 9.049/9.670/10.568/0.650 ms -
Unable to send command to smart card reader
i am writing code for reading/writing to a smart card through a smart card reader which support RS232 serial communication.
Problem is that the reader is not responding to the commands i send to it.
My Smart CArd reader (HID 6055 Mifare Smart CArd reader) sends some ack when it is switched on. That data i am able to receive though the following code.
So i think i am unable to write (send command ) to the reader.
Also how do i debug my code to see whether the command is actually being sent or not. I tried hyper terminal but if i use hyper terminal then the java prog is not able to open an OtputStream for writing to the smart card.
I appreciate your kind help...
My prog is
*The
import javax.comm.*;
import java.io.*;
import java.util.Enumeration;
import java.util.TooManyListenersException;
public class SmartCard
public static void main(String args[])
CardReader cs=new CardReader();
cs.setConnectionParameters();
if(cs.scanForCard())
System.out.println("Successfully sent Scan command to the reader");
class CardReader implements SerialPortEventListener //,CommPortOwnershipListener
CommPortIdentifier portId;
Enumeration portList;
InputStream inputStream;
OutputStream outputStream;
SerialPort serialPort;
String outputString="";
String inputSting="";
public CardReader()
portList = CommPortIdentifier.getPortIdentifiers();
while (portList.hasMoreElements())
portId = (CommPortIdentifier) portList.nextElement();
if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL)
if (portId.getName().equals("COM1"))
System.out.println("Port Found");
break;
public void setConnectionParameters()
System.out.println("Setting Parameters for "+portId.getName());
try
serialPort = (SerialPort) portId.open("SimpleReadApp", 2000);
catch (PortInUseException e)
System.out.println("PortInUseException in CardReader.setConnectionParameters :"+e);
try
serialPort.addEventListener(this);
catch (TooManyListenersException e)
System.out.println("Error in adding EventListener to serial Port: "+e);
try
inputStream = serialPort.getInputStream();
catch (IOException e)
System.out.println("IoException in CardReader.setConnectionParameters while setting inputStream :"+e);
try
outputStream = serialPort.getOutputStream();
catch (IOException e)
System.out.println("IoException in CardReader.setConnectionParameters while setting outputStream :"+e);
serialPort.notifyOnDataAvailable(true); //We will check for
try
serialPort.setSerialPortParams(9600,SerialPort.DATABITS_8,SerialPort.STOPBITS_1,SerialPort.PARITY_NONE);
catch (UnsupportedCommOperationException e)
System.out.println("Exception in setting the Baud Rate: "+e);
public boolean scanForCard()
boolean result=false;
outputString="AA521D26000A";//Command for Scanning a Card
// outputString="AA4C280810201C";
// byte[] cmd=new byte[]{'A','A','5','2','1','D','2','6','0','0','0','A'};
byte[] cmd=new byte[]{'8','0','4','C','2','8','0','8','1','0','2','0','1','C'};
try
//outputStream.write(outputString.getBytes());
outputStream.write(cmd);
result=true;
catch (IOException e)
System.out.println("Error in writing scan command to smart card: "+ e);
result=false;
return result;
public void serialEvent(SerialPortEvent event)
System.out.println("\nSome Event Occured");
switch(event.getEventType())
case SerialPortEvent.BI: System.out.println("event no 1");
case SerialPortEvent.OE: System.out.println("event no 2");
case SerialPortEvent.FE: System.out.println("event no 3");
case SerialPortEvent.PE: System.out.println("event no 4");
case SerialPortEvent.CD: System.out.println("event no 5");
case SerialPortEvent.CTS: System.out.println("event no 6");
case SerialPortEvent.DSR: System.out.println("event no 7");
case SerialPortEvent.RI: System.out.println("event no 8");
case SerialPortEvent.OUTPUT_BUFFER_EMPTY: {System.out.println("event no 9");
break;}
case SerialPortEvent.DATA_AVAILABLE:{System.out.println("event no 10");
readDataFromReader();}
break;
public void readDataFromReader()
System.out.print("Some data Sent by the Smart Card");
byte[] readBuffer = new byte[20];
try
while (inputStream.available() > 0)
int numBytes = inputStream.read(readBuffer);
System.out.print(new String(readBuffer));
catch (IOException e)
System.out.println("Some Error Occured in reading the data sent by Reader: "+e);hi all..
Im new to this technology and wanna learn and try to program some simple applications using Smart Card...
Reading thru all the topics above, Im wonderring is the Card Reader able write codes to the Smart Card, or maybe jux simply able to update the info inside the card??
I also heard about Card Decoder as well, I mean if the Card Reader can do the task.. why do we need Card Decoder ?!
Sorry if I stated something wrong... Im new and hope that someone could share some valuable knowledges here...
Thanks much much !! -
hey all
is it possible to send files thru email using a java program??? i tried using Runtime..... and executing outlook...but i could not figure out how to give filename and reciever's name at the command prompt...can anybody help me in this???
thanx in advance
bharthiThis is a good tutorial for javamail:
http://developer.java.sun.com/developer/onlineTraining/JavaMail/
The part about sending attachments is:
http://developer.java.sun.com/developer/onlineTraining/JavaMail/contents.html#SendingAttachments -
Sending Commands to Comp from Phone through Mail Problem
okay so I want to be able to send commands to my computer from my phone. the best way I found to do this is via mail. so I would say send a email saying "weather Madison Wi" then it would recieve the email and send me the result. Problem is when i run the code it only pauses itunes then does nothing else. idk why. heres my code any help would be appreciated:
on performmailaction(info)
-- see if iTunes is playing
set itunes_playing to false
tell application "System Events"
if (get name of every process) does not contain "iTunes" then
set itunes_playing to false
else
tell application "iTunes"
if player state is playing then set itunes_playing to true
end tell
end if
end tell
-- pause iTunes if needed
if itunes_playing is true then tell application "iTunes" to pause
tell application "Mail"
set the_messages to |SelectedMessages| of info
repeat with a_message in the_messages
set the_sender to extract name from sender of a_message
set the_subject to extract name from subject of a_message
set the_content to extract name from content of a_message
if (junk mail status of a_message) is not true then
say "Mail from " & the_sender
if the_sender is "My Name here" then
if the_content contains "weather" then
get the second word of the_content
set s to the result
get the third word of the_content
set c to the result
set temp to get_temp(s, c)
set theNewMessage to make new outgoing message with properties {subject:"Weather", content:"Current temp is : " & temp & " in " & c & "," & s, visible:true}
tell theNewMessage
make new to recipient at end of to recipients with properties {address:"my sms number"}
send
end tell
end if
else
set theNewMessage to make new outgoing message with properties {subject:"New Mail", content:"New Mail From: " & the_sender, visible:true}
tell theNewMessage
make new to recipient at end of to recipients with properties {address:"[email protected]"}
send
end tell
end if
end if
end repeat
end tell
-- resume iTunes if it was playing before
if itunes_playing is true then tell application "iTunes" to play
end performmailaction
on get_temp(stat, cit)
tell application "Safari"
activate
set state to stat
set town to cit
set URL of document 1 to "http://www.findlocalweather.com/forecast/" & state & "/" & town & ".html"
set page to text of document 1 as string
set pos to offset of "Temp: " in page
set final_pos to the offset of "°F" in page
set pos to pos + 8
set temp to characters pos thru (final_pos - 1) of page as string
quit
return temp
end tell
end get_tempI'm not sure why you think you need to pause iTunes as part of the script, but I'll leave that for now.
The problem may be that Mail.app cannot send a new message while it's processing a rule via AppleScript. There are numerous discussions about this, both here and elsewhere, so it may well be that there's nothing wrong with your script, it's just how it is. Take a look at this thread for some suggestions. -
Sending mail thru external ISP, authentication problem
Hello all,
i have a little problem that im sure some of you can help me fix. I have a mail server running on a Xserve G5 with 10.4.6. It runs on a local (private) network, mails a polled with fetchmail. Everything works fine except that i can't send mails thru my ISP. Heres what the smtp protokoll says:
May 4 08:56:58 mediatelserver postfix/smtp[3231]: 94CD148774: to=<[email protected]>, relay=smtp.serverkompetenz.de[81.169.163.72], delay=0, status=bounced (host smtp.serverkompetenz.de[81.169.163.72] said: 550 Anmeldung erforderlich / Authentication required (in reply to MAIL FROM command))
Due to the fact that my ISP doesn't support SMTP AUTH or TLS, i have to authenticate with plain user/password. My question is, how can i do this?
Heres the postconf -n output. I've done some "testing" on it
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
enableserveroptions = yes
inet_interfaces = all
mail_owner = postfix
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
messagesizelimit = 0
mydomain = mediatel.private
mydomain_fallback = localhost
myhostname = mediatelserver.mediatel.private
mynetworks = 127.0.0.1/32,10.10.10.0/24
mynetworks_style = subnet
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
relayhost = smtp.serverkompetenz.de
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpdpw_server_securityoptions = plain
smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdsenderrestrictions = hash:/etc/postfix/access
smtpduse_pwserver = yes
unknownlocal_recipient_rejectcode = 550
Thanks in advance
WISKYI see the problem, as we had exactly the same problems. We have a XServe fetching the mails from a ISP with POP. The clients however connect to the Xserve with IMAP. There are clients with 7GB of mailbox size. So, once more: that is the recieving and hosting part.
If the client sends a mail, it sends it with SMTP to the XServe. But then: why to SMTP to the ISP instead of SMTP to the final destination directly? This has nothing to do with the client, because in both cases, the client connects only to the XServe.
So: deactivate this checkbox "Alle Nachrichten über diesen Host weiterleiten" and have fun!! At least: give it a try.
cheers -
I cannot get my messages/text messages to work om my Hi. I am sending this thru my iPad. Respond and let me know you got it. Fun fun fun. . I did go and try to another Apple ID different from my iPhone but it still will not work. Can anyone help me?
chicx wrote:
This is the third time of writing this on your Apple Support Communities!
Not with your current user id.
Far too much uneccesary information in your post, which only confuses things, a vast amount!
Let's start with iTunes.
Have you updated iTunes to 11.1.5, because the previous version did appear to have an issue about seeing iPods?
With iTunes 11.1.5 installed, look in Edit/Preferences/Devices, (or use the ALT key, followed by the E key and then the F key) and make sure that the box named Prevent iPods, iPhones and iPads from syncing automatically does not have a tick in the box.
Once you have doen those two things, check to see if the iPod is seen by iTunes.
chicx wrote:
By the way, what does IOS mean? (I thought IO stood for operating system, but am flummoxed by the S on the end.
Really?
OS stands for Operating System. (In computer speak, IO means Input/Output.)
iOS originally stood for iPhone Operating System, but it now refers to the iPod Touch and iPhone. The iPod Classic, which you have listed in your profile as your iPod, does not use iOS.
I assume that you have been listening to the Podcast in your iTunes on the computer as you cannot transfer it to your iPod. It's what I'd do. -
Cannot start Virtual Machine - OVMAPI_4010E Attempt to send command: dispat
1. Instaleed Virtualbox on Windows 7
2. Installed OracleVM-Manager-3.1.1-build365.ova and OracleVM-Server-3.1.1-build365.ova
3. Completed repository and server pool. They are all runing fine.
4. Crated a Virtual Machine for Linux and tried to start the Virtual Machine and got the following error.
Any comments or help would be appreciated.
Thank you...
ob Construction Phase
begin()
Appended operation 'Virtual Machine Start' to object '0004fb00000600009526838f3d4be255 (first vm)'.
Appended operation 'Bridge Configure Operation' to object '0004fb0000200000b137e9cddcdd09b8 (network.BondPort (1) in myserver1.example.com)'.
commit()
Completed Step: COMMIT
Objects and Operations
Object (IN_USE): [VmDiskMapping] 0004fb00001300008e359279b91c2804
Object (IN_USE): [Vnic] 0004fb0000070000cca7bba64be932d0 (00:21:f6:00:00:09)
Object (IN_USE): [VirtualMachine] 0004fb00000600009526838f3d4be255 (first vm)
Operation: Virtual Machine Start
Object (IN_USE): [BondPort] 0004fb0000200000b137e9cddcdd09b8 (network.BondPort (1) in myserver1.example.com)
Operation: Bridge Configure Operation
Object (IN_USE): [VmDiskMapping] 0004fb0000130000d15838ce48a895f1
Object (IN_USE): [VirtualCdrom] EMPTY_CDROM
Object (IN_USE): [VirtualDisk] 0004fb0000120000efbd814b4b7c0e8d.img
Job Running Phase at 14:57 on Sun, Jul 29, 2012
Job Participants: [c7:c1:6e:69:b9:a7:41:d6:8d:8e:bc:d5:fd:c3:c4:7d (myserver1.example.com)]
Actioner
Starting operation 'Virtual Machine Start' on object '0004fb00000600009526838f3d4be255 (first vm)'
Completed operation 'Virtual Machine Start' completed with direction ==> LATER
Starting operation 'Bridge Configure Operation' on object '0004fb0000200000b137e9cddcdd09b8 (network.BondPort (1) in myserver1.example.com)'
Bridge [192.168.1.0] already exists (and should exist) on interface [bond0] on server [myserver1.example.com]; skipping bridge creation
Completed operation 'Bridge Configure Operation' completed with direction ==> DONE
Starting operation 'Virtual Machine Start' on object '0004fb00000600009526838f3d4be255 (first vm)'
Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: myserver1.example.com failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:[email protected]:8899/api/2 start_vm 0004fb00000300003907f6fd90ef0e08 0004fb00000600009526838f3d4be255, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg'] failed (1): stderr: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?
stdout: Using config file "/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg".
Sun Jul 29 14:57:14 PDT 2012
Sun Jul 29 14:57:14 PDT 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:507)
at com.oracle.ovm.mgr.action.ActionEngine.sendDispatchedServerCommand(ActionEngine.java:444)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:378)
at com.oracle.ovm.mgr.action.VirtualMachineAction.sendStartVmCommand(VirtualMachineAction.java:121)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineStart.asyncAction(VirtualMachineStart.java:65)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAsyncAction(ManagedObjectDbImpl.java:1002)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:826)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.virtual.VirtualMachineProxy.executeCurrentJobOperationAsyncAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:596)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineStart.action(VirtualMachineStart.java:52)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1012)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:826)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.virtual.VirtualMachineProxy.executeCurrentJobOperationAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: dispatch https://?uname?:[email protected]:8899/api/2 start_vm 0004fb00000300003907f6fd90ef0e08 0004fb00000600009526838f3d4be255, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg'] failed (1): stderr: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?
stdout: Using config file "/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg".
Sun Jul 29 14:57:14 PDT 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:798)
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:503)
... 41 more
FailedOperationCleanup
Starting failed operation 'Virtual Machine Start' cleanup on object 'first vm'
Complete rollback operation 'Virtual Machine Start' completed with direction=first vm
Rollbacker
Executing rollback operation 'Virtual Machine Start' on object '0004fb00000600009526838f3d4be255 (first vm)'
Complete rollback operation 'Virtual Machine Start' completed with direction=DONE
Executing rollback operation 'Bridge Configure Operation' on object '0004fb0000200000b137e9cddcdd09b8 (network.BondPort (1) in myserver1.example.com)'
Complete rollback operation 'Bridge Configure Operation' completed with direction=DONE
Objects To Be Rolled Back
Object (IN_USE): [VmDiskMapping] 0004fb00001300008e359279b91c2804
Object (IN_USE): [Vnic] 0004fb0000070000cca7bba64be932d0 (00:21:f6:00:00:09)
Object (IN_USE): [VirtualMachine] 0004fb00000600009526838f3d4be255 (first vm)
Object (IN_USE): [BondPort] 0004fb0000200000b137e9cddcdd09b8 (network.BondPort (1) in myserver1.example.com)
Object (IN_USE): [VmDiskMapping] 0004fb0000130000d15838ce48a895f1
Object (IN_USE): [VirtualCdrom] EMPTY_CDROM
Object (IN_USE): [VirtualDisk] 0004fb0000120000efbd814b4b7c0e8d.img
Write Methods Invoked
Class=InternalJobDbImpl vessel_id=1342 method=addTransactionIdentifier accessLevel=6
Class=VirtualMachineDbImpl vessel_id=1085 method=start accessLevel=6
Class=VnicDbImpl vessel_id=958 method=lock accessLevel=6
Class=VirtualCdromDbImpl vessel_id=209 method=lock accessLevel=6
Class=VirtualDiskDbImpl vessel_id=1107 method=lock accessLevel=6
Class=VnicDbImpl vessel_id=958 method=lock accessLevel=6
Class=VmDiskMappingDbImpl vessel_id=1116 method=lock accessLevel=6
Class=VmDiskMappingDbImpl vessel_id=1122 method=lock accessLevel=6
Class=VirtualCdromDbImpl vessel_id=209 method=lock accessLevel=6
Class=VirtualDiskDbImpl vessel_id=1107 method=lock accessLevel=6
Class=VirtualMachineStartingEventDbImpl vessel_id=1351 method=notify accessLevel=6
Class=VirtualMachineStartingEventDbImpl vessel_id=1351 method=setDescription accessLevel=6
Class=BondPortDbImpl vessel_id=554 method=addJobOperation accessLevel=6
Class=InternalJobDbImpl vessel_id=1342 method=setCompletedStep accessLevel=6
Class=InternalJobDbImpl vessel_id=1342 method=setAssociatedHandles accessLevel=6
Class=InternalJobDbImpl vessel_id=1342 method=setTuringMachineFlag accessLevel=6
Class=VirtualMachineDbImpl vessel_id=1085 method=setCurrentOperationToLater accessLevel=6
Class=InternalJobDbImpl vessel_id=1342 method=setTuringMachineFlag accessLevel=6
Class=BondPortDbImpl vessel_id=554 method=setCurrentJobOperationComplete accessLevel=6
Class=BondPortDbImpl vessel_id=554 method=nextJobOperation accessLevel=6
Class=VirtualMachineDbImpl vessel_id=1085 method=nextJobOperation accessLevel=6
Class=InternalJobDbImpl vessel_id=1342 method=setFailedOperation accessLevel=6
Class=VmDiskMappingDbImpl vessel_id=1116 method=nextJobOperation accessLevel=6
Class=VnicDbImpl vessel_id=958 method=nextJobOperation accessLevel=6
Class=VirtualMachineDbImpl vessel_id=1085 method=nextJobOperation accessLevel=6
Class=BondPortDbImpl vessel_id=554 method=nextJobOperation accessLevel=6
Class=VmDiskMappingDbImpl vessel_id=1122 method=nextJobOperation accessLevel=6
Class=VirtualCdromDbImpl vessel_id=209 method=nextJobOperation accessLevel=6
Class=VirtualDiskDbImpl vessel_id=1107 method=nextJobOperation accessLevel=6
Class=VirtualMachineDbImpl vessel_id=1085 method=nextJobOperation accessLevel=6
Class=BondPortDbImpl vessel_id=554 method=nextJobOperation accessLevel=6
Completed Step: ROLLBACK
Job failed commit (internal) due to OVMAPI_4010E Attempt to send command: dispatch to server: myserver1.example.com failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:[email protected]:8899/api/2 start_vm 0004fb00000300003907f6fd90ef0e08 0004fb00000600009526838f3d4be255, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg'] failed (1): stderr: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?
stdout: Using config file "/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg".
Sun Jul 29 14:57:14 PDT 2012
Sun Jul 29 14:57:14 PDT 2012
com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: myserver1.example.com failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:[email protected]:8899/api/2 start_vm 0004fb00000300003907f6fd90ef0e08 0004fb00000600009526838f3d4be255, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg'] failed (1): stderr: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?
stdout: Using config file "/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg".
Sun Jul 29 14:57:14 PDT 2012
Sun Jul 29 14:57:14 PDT 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:507)
at com.oracle.ovm.mgr.action.ActionEngine.sendDispatchedServerCommand(ActionEngine.java:444)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:378)
at com.oracle.ovm.mgr.action.VirtualMachineAction.sendStartVmCommand(VirtualMachineAction.java:121)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineStart.asyncAction(VirtualMachineStart.java:65)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAsyncAction(ManagedObjectDbImpl.java:1002)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:826)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.virtual.VirtualMachineProxy.executeCurrentJobOperationAsyncAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:596)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineStart.action(VirtualMachineStart.java:52)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1012)
at sun.reflect.GeneratedMethodAccessor683.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:826)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.virtual.VirtualMachineProxy.executeCurrentJobOperationAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
at sun.reflect.GeneratedMethodAccessor1084.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: dispatch https://?uname?:[email protected]:8899/api/2 start_vm 0004fb00000300003907f6fd90ef0e08 0004fb00000600009526838f3d4be255, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg'] failed (1): stderr: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?
stdout: Using config file "/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg".
Sun Jul 29 14:57:14 PDT 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:798)
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:503)
... 41 more
End of JobAs far you are using VirtualBox, your processor capabilities shouldn't counted (min from my own experience while setting up the virtual machine. Change the Domain Type under configuation node to XEN PVM and try again. Most probably the virtual machine will start running.
One more thing, enable promiscuous mode -> Allow allow with your network configuration (if bridged network is in use) for the VM Server prior you try to SSH into the virtual machine (your guest on VM Server)
All the best and post your test results
regards,
raj -
Sending messages thru email and SMS without using XMS APIs
Hi,
I already have some working code that sends messages thru email and SMS. But currently it uses XMS APIs therefore I have a dependency on files like wdk.jar. I want to try and eliminate using the XMS APIs and only use soap to send these messages. I was wondering if there is some documentation available on how I can do this. Also if there a lot of code that needs to be written to do that.
I primarily want a very simple application that sends only string messages and reduce my dependencies.
I would really appreciate all the advice.
Thanks,
Sonali NathHi,
You may refer to the following links to check if they help:
Sending SCCM Status Messages from MDT Scripts.
Send SCCM task sequence email report
Regards,
Sabrina -
Sending command apdu with a byte array as CDATA
Hi,
I am learning java card as part of my final year project. So far I think I can do most of the basic things but I have got stuck at one particular point.
I know that there are different constructors for creating a command apdu object and a number of these constructors take an array of bytes as CDATA values.
My problem is, how to access this array of data in the card side because apdu.getBuffer() returns an array of integers (bytes)? And what is actually on apdu.getBuffer()[ISO7816.OFFSET_CDATA)] location when you send command apdu object using such a constuctor?
regards
Edited by: 992194 on 06-Mar-2013 06:12992194 wrote:
(..) I should have mentioned earlier that my card use jc 2.2.1 version, and i have read from different places that this version does not support ExtendedLength facility.Indeed.
Also I understand the semantics of apdu.getBuffer()[ISO7816.OFFSET_CDATA] that is the first byte of the command data. My question is, this command data was initially supplied as an array of bytes. Something like this:
+new CommandAPDU(CLA, INS, P1, P2, DATA_ARRAY, Le)+
So when you call:
byte [] buffer = apdu.getBuffer()
So does this mean that the byte values inside DATA_ARRAY automatically occupy locations +buffer[ISO7816.OFFSET_CDATA]+ onwards inside the buffer?Yes. The length would be<tt> (short)(buffer[ISO7816.OFFSET_LC]&0xFF) </tt>. Notice the<tt> &0xFF </tt> is a must above 127 bytes.
Or their is a mechanism of extracting the DATA_ARRAY array itself?No.
In fact, in the interest of performance and portability in environments with little memory, the usual coding style is to pass<tt> buffer </tt>, an offset within that, and the length; rather than making an object, which would require a copy. Welcome to the real world of Java Card. -
Can't send command to SMTP host
Hi,
I am using Jdev11.1.1.2.0 and web logic servere10.3.I am using mail scheduling in weblogic.Actually in window server 2003 I am getting exception is
get message method--->Can't send command to SMTP host
javax.mail.MessagingException: Can't send command to SMTP host;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
But same application windows7 Its working.
So can u give me the idea ? or any configuration webloigc in windows server 2003 ?
Plz help me.
Thanks
AnupI put environment variable (path) weblogic.jar but still same issue
get message method--->Can't send command to SMTP host
javax.mail.MessagingException: Can't send command to SMTP host;
nested exception is:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1564)
Plz give me the solution..
Thanks
Anup -
I have Adobe Photoshop Album 1.0 & suddenly cannot send photos thru e-mail. It looks like it's working ok; but when I hit Send nothing happens and the program stops responding. Any suggestions?
I have starter 3.0 and cannot share pictures via outlook express. Evidently that version is discontinued and my outlook express does not support the MAPI that is required. I think the only solution is to upgrade to photoshop
elements or to send photos as attachment to your e-mail. I have the same problem using Zoom Browser EX sending photos via internet. I spent a whole day trying to resove this issue and have exhausted all options. Just like "Instant share" in HP image Zone that was replace by photoshop album starter 3.0 and now it is out dated. -
Sending Command Line Arguments to Jar Executable
Hi All
I wish to send Command Line Arguments to Jar Executable.
i.e. before I Jar'd my program, I would do the following
public class CmdLnArgmntExp {
public static void main(String[] args) {
System.out.println("d");
for (int i = 0; i < args.length; i++)
System.out.println(args);
Running the program in Console.
Java CmdLnArgmntExp arg1 arg2 arg3 arg4Output:
arg1
arg2
arg3
arg4
How would I do this to a Jar executable, hope that made sense
Thanksjava -jar executable-jar-file-containing-class-CmdLnArgmntExp.jar arg1 arg2 arg3 arg4
-
Sending PDF thru email with password protection in our SAP system
Need solution for sending PDF thru email with password protection in our SAP ecc 6
Or maybe you have found any other way? You can check here:
Password protect PDF file:
Re: Password protected PDF file
pdf with password encryption
Regards Otto
Maybe you are looking for
-
Internal table export and import in ECC 5.0 version
Hi friends, I am trying to export and import internal table from one program to other program. The below export and import commands are not working when I run the program in background (using SUBMIT zxxxx via JOB name NUMBER number ..) EXPORT ITAB T
-
ITunes sometimes doesn't sort my mp3 folder
hey everyone - i triesd searching the forum for an answer to this but unfortunately didn't seem to find anything. i might be searching with the wrong keywords. but basically my question is this: ihave iTunes set up so that it sorts my mp3 folder. i t
-
Order of schemas matters for SchemaFactory.newInstance().newSchema?
When calling SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI).newSchema(streamSources);I receive an error if the streamSources are not ordered in a particular fashion. I am trying to build a framework that allows schemas to be added ad h
-
Regd SPAU and SPDD!!!
Hi, I am involving in technical upgradation. I am getting the list of programs from my onsite persons and just correcting the programs and sending them the modified ones. But I want to know where exactly SPAU and SPDD transaction codes comes into pic
-
I am unable to get dragging guides from rulers when using CS6 InDesign. Is anybody else getting this problem?