Plot cylinder from the equation (and a trajectory on it)
Hello,
for an application I need to plot a cylinder. I already found the "Create Cylinder" + "Create Object" combination for displaying a "ScenObject", but I am not sure it is the best vi I need (I also did not understand if I need 2 objects in order to use the Object.AddObjectNode, but this is a differente story).
From an external application I get the 'a' and 'b' paramenters of the cylinder equation (X^2 / a^2) + (Y^2 / b^2) = 1, and I need to plot the cylinder starting from these parameters. Is it possible with labview?
Moreover, once the cylinder is plotted, I should draw on its surface a trajectory: t is a sort of 'Z' trajectory that starts from a point, goes parallel to the major axis for a certain length, than starts from the first quote, but offsetted by a certaing quote along the minor axis. So the final result is a series of parallel line on a portion of the cylinder surface.
Can you please help me figuring out a solution?
thank you a lot in advance and best regards,
Diego
It will cost you approximately US$219.00 to US$299.00 depending on the model.
Apple will replace the entire iPad; they don't repair.
http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipad
Similar Messages
-
Is there a way to open Excell file from the server and display in the UI and save it back on to the
Hello there,
Is there a way to open Excell file from the server and display in the UI and save it back on to the server? (like showing xell file as a datagrid - add rows, columns etc.)Hi Mike,
Welcome you to the forum.
You may try:
SELECT * FROM MyDBNameHere.dbo.OUSR T0
Thanks,
Gordon -
I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.
Hello. Most of the engineers in developer exchange are more familiar
with NI products. Contacting ICS for technical support is a better
course of action. -
We purchased a new iPad2 and registered it using a 'new' iCloud email/ID. We are unable to send email from the iPad and iPhone. The error is:>> Cannot send mail. The user name or password for iCloud is incorrect.
About ~20 hours later, this ended up solving itself. We can send email using the '.icloud' email from both the iPad and iPhone. Advise would be 'wait' before you start seeking alteranatives like yahoo, hotmail, etc. This definitely is a convenient way to keep all your 'cloud' information in a centralized place, including the common email...
-
When I first got my phone it worked perfectly fine with the wifi. Although later on I began to have problems connecting it. It will randomly disconnect from the wifi and when I try to retype the password it tells me it is wrong, although it is right. It will eventually work but in its own time, a message will pop up and allow me to type in the password and it will work. But sometimes it takes an hour or more and sometime it takes 10 minutes. I've seen where other people have had this problem but I don't know how to fix it. I'm not sure if it's an issue with my phone or if it's with my wifi. Does anyone know how to fix this?
Does this happen with all Wi-Fi hotspots? A specific one?
Have you tried forgetting the Wi-Fi connection and then reconnecting to it?
What about power cycling the Wi-Fi router? -
Need help Take out the null values from the ResultSet and Create a XML file
hi,
I wrote something which connects to Database and gets the ResultSet. From that ResultSet I am creating
a XML file. IN my program these are the main two classes Frame1 and ResultSetToXML. ResultSetToXML which
takes ResultSet & Boolean value in its constructor. I am passing the ResultSet and Boolean value
from Frame1 class. I am passing the boolean value to get the null values from the ResultSet and then add those
null values to XML File. When i run the program it works alright and adds the null and not null values to
the file. But when i pass the boolean value to take out the null values it would not take it out and adds
the null and not null values.
Please look at the code i am posing. I am showing step by step where its not adding the null values.
Any help is always appreciated.
Thanks in advance.
============================================================================
Frame1 Class
============
public class Frame1 extends JFrame{
private JPanel contentPane;
private XQuery xQuery1 = new XQuery();
private XYLayout xYLayout1 = new XYLayout();
public Document doc;
private JButton jButton2 = new JButton();
private Connection con;
private Statement stmt;
private ResultSetToXML rstx;
//Construct the frame
public Frame1() {
enableEvents(AWTEvent.WINDOW_EVENT_MASK);
try {
jbInit();
catch(Exception e) {
e.printStackTrace();
//Component initialization
private void jbInit() throws Exception {
//setIconImage(Toolkit.getDefaultToolkit().createImage(Frame1.class.getResource("[Your Icon]")));
contentPane = (JPanel) this.getContentPane();
xQuery1.setSql("");
xQuery1.setUrl("jdbc:odbc:SCANODBC");
xQuery1.setUserName("SYSDBA");
xQuery1.setPassword("masterkey");
xQuery1.setDriver("sun.jdbc.odbc.JdbcOdbcDriver");
contentPane.setLayout(xYLayout1);
this.setSize(new Dimension(400, 300));
this.setTitle("Frame Title");
xQuery1.setSql("Select * from Pinfo where pid=2 or pid=4");
jButton2.setText("Get XML from DB");
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
catch(java.lang.ClassNotFoundException ex) {
System.err.print("ClassNotFoundException: ");
System.err.println(ex.getMessage());
try {
con = DriverManager.getConnection("jdbc:odbc:SCANODBC","SYSDBA", "masterkey");
stmt = con.createStatement();
catch(SQLException ex) {
System.err.println("SQLException: " + ex.getMessage());
jButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
jButton2_actionPerformed(e);
contentPane.add(jButton2, new XYConstraints(126, 113, -1, -1));
//Overridden so we can exit when window is closed
protected void processWindowEvent(WindowEvent e) {
super.processWindowEvent(e);
if (e.getID() == WindowEvent.WINDOW_CLOSING) {
System.exit(0);
void jButton2_actionPerformed(ActionEvent e) {
try{
OutputStream out;
XMLOutputter outputter;
Element root;
org.jdom.Document doc;
root = new Element("PINFO");
String query = "SELECT * FROM PINFO WHERE PID=2 OR PID=4";
ResultSet rs = stmt.executeQuery(query);
/*===========This is where i am passing the ResultSet and boolean=======
===========value to either add the null or not null values in the file======*/
rstx = new ResultSetToXML(rs,true);
} //end of try
catch(SQLException ex) {
System.err.println("SQLException: " + ex.getMessage());
======================================================================================
ResultSetToXML class
====================
public class ResultSetToXML {
private OutputStream out;
private Element root;
private XMLOutputter outputter;
private Document doc;
// Constructor
public ResultSetToXML(ResultSet rs, boolean checkifnull){
try{
String tagname="";
String tagvalue="";
root = new Element("pinfo");
while (rs.next()){
Element users = new Element("Record");
for(int i=1;i<=rs.getMetaData().getColumnCount(); ++i){
tagname= rs.getMetaData().getColumnName(i);
tagvalue=rs.getString(i);
System.out.println(tagname);
System.out.println(tagvalue);
/*============if the boolean value is false it adds the null and not
null value to the file =====================*/
/*============else it checks if the value is null or the length is
less than 0 and does the else clause in the if(checkifnull)===*/
if(checkifnull){
if((tagvalue == null) || tagvalue.length() < 0 ){
users.addContent((new Element(tagname).setText(tagvalue)));
else{
users.addContent((new Element(tagname).setText(tagvalue)));
else{
users.addContent((new Element(tagname).setText(tagvalue)));
root.addContent(users);
out=new FileOutputStream("c:/XMLFile.xml");
doc = new Document(root);
outputter = new XMLOutputter();
outputter.output(doc,out);
catch(IOException ioe){
System.out.println(ioe);
catch(SQLException sqle){Can someone please help me with this problem
Thanks. -
i have my mums payment details on my itunes account, but i bought a £15 itunes voucher today from the shop and put it on my phone.. but it wont let me buy any apps becouse it keeps going to my mums payment details. can someoe help me with this
If the amount of the purchase is close to $21.07, then you need to take into account taxes may be added.
If you go beyond the credit from a gift card the balance will be billed to your credit card account. -
Delete record from the form and from the database
hi,
i want delete record from the form and the database ,but the record is only delete from the from !!!
this is my code :
if //condition then
delete_record;
commit;
end if ;
Any solutions ??
thnxYou have unique key field(s) on the table you are trying to insert which actually restricts you from inserting the same value again.
When you are deleting the record and issue commit there is a record to be inserted in the table which is a duplicate that's why you are getting this unique error.
As oracle is not able to insert your commit fails and stops your deletion of record from table -
I accidently deleted the file folder audio books from the library and from teh device section in iTunes how to replace
Edit > Preferences > General tab, tick Books. Audiobooks are synced from the Books tab of the device.
tt2 -
How to download a file from the net and save it into .txt format in a datab
Can some one show me a tutorial on how to download a file from the net and save it into .txt format in a database?
Thank you,http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html
-
I am trying to update my itunes and iphone. Everytime I trie comes out a message about 'key access'. I've done all the steps from the support and nothing worked out. I cannot unistall and now I can't open it anymore also. What should i do, please?
Isn't that only used when a PC will not boot?
What options does booting with this give me?
Thanks
JK MCP
Hi,
USB recovery disk was used to recover your system when it encounter problem. You can try to use it to fix your problem instead reinstall system. However, there is no method to keep your program whenreinstall system.
Roger Lu
TechNet Community Support -
I have an Ipad from the UK and some iTunes vouchers. I am going to get a bp newer ipad/mini. Can I transfer app/music/photos etc on pro new device and can I use iTunes vouchers forum the UK?
You can sync your content to a new device but you cannot transfer vouchers from one country's store to another country's store if that is what you want to do.
-
Can I use two Time Capsules? one as an extension of my laptop (for music and video storage) and the other one to back up everything from the laptop and Time Capsule (for music and videos)
Not via Time Machine. It cannot back up from a network location.
The 3rd-party apps CarbonCopyCloner and ChronoSync may be workable alternatives.
EDIT: And, if you're going to do that, you could back up from the Time Capsule to a USB drive connected to the TC's USB port. Second TC not required.
Message was edited by: Pondini -
I explained it most in my question but I am getting charged double for songs that I have already paid for and am not going to pay for twice because that is messed up. But I want to get some apps from the store and it wont let me because of $5.25. Who can I talk to about resolving this issue?
You're right, it would have been covered under warranty. But because of the user damage, chances are there's a 200-something dollar fee . If you explain to them that it had a defect previously, they might replace it for you at no charge. **MIGHT**. But they would have to believe that it had a defect previously.
-
I have uploaded photos from the past and they are automatically arranged by date. As a result, there are many events grouped into one library/event/folder/album (not sure of the proper terminology) I'd like to separate them into folders/albums/smart albums so that I can easily identify the contents. How do I do that and do I delete the originals?
It would be good to take the tutorials and learn iPhoto - these are for the previous version but the concepts are the same and much of the command is the same - and it would be a worthwhile investment of time to take the iphoto tutorials - http://www.apple.com/findouthow/photos/ - they are very helpful and will save you a lot of time and frustration. - also the tutorials in iPhoto Help will be helpful - while iPhoto is easy and intuitive it does have a learning curve and it will save you time and pain if you spend a few minutes learning the basics
as to organization - events are generally time based and are the basic automatic organization - you can merge and split them to make them work better for you but they are not a good way to do detailed organization - best to leave them time based
albums are logical things that contain photos and are just pointers to the photo in the event so they take no extra space and all changes to a photo anywhere are reflected everywhere
Smart albums are the same except they are automatically filled based on the criteria you set when you create them
Folders are containers that you create and a folder can contain albums, smart albums or other folders so they are a big help in organization - like a vacation folder that holds folders for France, USA, China with each of thos folders holding albums of photos from the country
LN
Maybe you are looking for
-
Deficit of BA stock in Quality Inspection
Hi All, I have a situation that's a bit complicated. I hope I don't confuse anyone. I'm trying to do a UD for an item, but I'm getting a Deficit of BA stock in quality inspection. We purchased 200,000 of an item and a GR was done. This was done d
-
Hi, I need to zoom the image during the each button click.I have done 1 program ,but i coulnt able to change the parameter block's value each time.Take this program and just change the pic's path and run it ll show the pic,smaller than its actual siz
-
Include a html page in another html page
How do I include a html page in another html page? I have 7 separate page making up a website. I made a separate page for the bottom navigation which I want to include for each page. Instead of making up a separate nav bar for each page. Thanks for y
-
My Kindle software won't open on MacBook Pro with Mountain Lion
My Kindle software won't open on MacBook Pro with Mountain Lion. Any suggestions? Thank you. Joe
-
I am having problem using Variant and TVariant in BCB5.00