Jump to content

gammalight

Members
  • Posts

    18
  • Joined

  • Last visited

    Never

Everything posted by gammalight

  1. Hello, I hope my question is quick and painless to answer. I will add that I am new to using cRIO devices and FPGA programming. I have cRIO-9004 device that I am configuring in MAX. The 9004 is connected to the host computer via USB ethernet adapter and crossover cable. The IP address is 169.254.92.15 and the subnet mask ID is 255.255.0.0. When I start MAX the device shows up under "Remote Systems" with an IP adress of 0.0.0.0, which is a good thing. I then try to set my network settings, with an IP address of 169.254.0.2, which times out when I ping which means nothing is using this address already, and the same subnet mask ID, 255.255.0.0. I then type a name in the name field under the identification section. But when I hit the apply button I get a message that says: "The subnet mask you entered places the target and the gateway in two different subnets, which may make this partially unconfigurable." I can click okay, and it appears to let me proceed, but this doesn't seem right. Can anyone help me out, am I doing something wrong here? There is also a VISA error under the "Device and Interfaces" section. I am simply just fiddiling with the device, this is not for a project for school or a project for work, just for curiosity sake.
  2. Well after a couple of hours of debugging I finally figured out the problem. It was not Secure Desktop afterall, it turns out that the report writing routine does not like the 2007 version of MS Excel. I was running the 2003 version with the software and it worked fine, but I get a few error messages when the software is run with 2007. I am alittle wiser now after all of this!
  3. QUOTE(Michael_Aivaliotis @ Dec 6 2007, 03:54 PM) Yeah, I thought the same thing as well. I called the support for Secure Desktop and they said the way I had it set up was fine. I am not actually calling any files from any folders, but I am creating report files (excel and pdf) that are being placed in folders. The whole configuration is going against my intuition on how I would think this program should work, but the support person I talked to was one of the programmers of this software and basically said it is not Secure Desktop that is the problem. That is why I am looking for someone who has used Secure Desktop before and is familiar with it.
  4. Hello, to explain my situation relatively quickly, I have helped write software using Labview 8.2 which basically collects data and writes an excel report and then converts that file to a pdf. The software, when installed on the computer, runs fine, no errors. The computer that the software is on is required to have a program called Secure Desktop (Visual Automation) so the operator of the computer can only access the Labview executable. With Secure Desktop configured and running, I suddenly get an error during my report writing routine saying "file is open" in one of my sub vi's. Has anyone ever used Secure Desktop that has had this problem before or can help me resolve this issue?
  5. The first two look similar to an arctan type function, multiplied by some quartic. I agree with jpdrolet the second two look Gaussian or Lorentzian in shape, but also look like the sinc function with quickly decaying ripples trailing off each tail.
  6. AHHHH, I have finally figured it out (about 2 hours ago), I will post the solution for you to see tomorrow!
  7. Why doesn't this work, I tried setting it up so when I press the load button it prompts me to load the desired files. I then use the ring to select the file I want to display, but when I go to use the ring again to select another file it crashes? Labview is starting to make my head spin! Download File:post-6424-1162329728.vi
  8. So the only way to get the data out is when I stop the while loop? I don't want to stop the procedure to get the data because I then have to start it back up and select the files again, so that would defeat the whole purpose of me trying to do this. I have been passing other data in and out of while loops with local variables, but it is not working here. I am trying to be able to load multiple files so that I may look at them one at a time and everytime I look at a different file it displays the data . I already have the procedure to display the data and it works fine when I load one file, but I can not seem to read multiple files and display each data set on command. I have tried a couple of things, but I can not get everything to work together.
  9. Hey crelf, I have a question about the code you helped me with. I am trying to pass the array values outside the while loop so I can use them in another while loop. I can not get it to work, I tried a couple of things but I attached the more simple version here. Thanks Kevin Download File:post-6424-1162316575.vi
  10. Hey Crelf, Thanks for the help, your version is much simpler than mine. I will have to sit down and try it out and learn from what you did! Thank You Kevin
  11. Hey folks! I am trying to figure out how to load a user specified numbr of files, say 1 - 5, so that the user can look at one of the files at a click of a button. I want to load five files at once but only look at the data from one file at a time. I tried using a for loop to load in the files specified, then have a case structure sort the data accordingly depending on how many files were loaded, then I used an event structure to specify which file to display at a click of a button. Of course it doesnt work thats why I am posting but I will load my code if you want to take a look at it. Download File:post-6424-1161888523.vi
  12. Thanks for the feedback guys, I am glad I asked before I started doing some hardcore modification. I am most concerned about speed. I think I will leave the wires, but use locals where things get cluttered. Where I am passing constant values I will use the locals, for my arrays I will leave the wires. Thanks for the advice about making sub vi's Michael, I have already used this approach for many of the routines I am working with and find this a great way to keep things less cluttered.
  13. I am trying to clean up my program by reducing the number of wires and I was wondering is there any advantage to using property nodes (value) vs local variables. I just want to pass values from one function to another with out having the clutter of wires everywhere. Is one way faster then the other, are there situations where I don't want to use one of the ways. Please tell me if there is something I can read, or if you can give me any advice off the top of your head.
  14. Thanks a lot you are awesome, this will help me tremendously. I have to get more familiar using the event structure.
  15. With this task I am venturing into uncharted territory in terms of my labview knowledge. I am attempting to store points that are defined by the user that can be used later. Basically after the user has found two points on a graph (with help of the cursor) and the depth from the two points has been calculated I would like to be able to have the ability to select out those points and the depth that I find by the press of a button. I need to be able to accumulate points and depths, so I can get a running average later. I believe I need to use the event structure with a create user event vi, but I do not know how to put it all together. I have very limited resources on these topics and I have read through some of the examples. Can someone give me a few hints as to how to approach this type of problem. I am not looking for someone to do it for me, I just need a few hints to get me going in the right direction. Thanks!!
  16. Over the weekend I read someone else's post that was having a very similar problem to mine, where the cursor did not display the correct x value on a plot. It was suggested that he try changing the "lock to plot" property on the cursor to the "free plot" property, I tried this as soon as I started working on my program and it worked very nicely. I can now calculate the proper depth's! Labview is neat if you can figure out its quirks.
  17. Hey, I'll try zooming in first and setting the cursor, although it would be very convenient to not have to do that. Sometimes the cursor is quite far out of positon, I then use two cursors to scroll to two peaks and use the points to calculate a distance, so the two incorrect cursor positions compounds in error. I might try using the values right from the array of peaks. I would get a correct result, but it is just so much easier getting those values using the property node! I would post some code but I don't have it with me right now, I might try this later. Could you guys refer me to a good book to learn labview better? I would like to learn to make nice GUI's, how to generate reports, make executables out of my vi's and do some data acquisition. I mean I want to become a pro labview developer, are there short mini session classes I can take? Thanks everyone!
  18. Hi everyone! I just wanted to introduce myself to the forum and say that I think it is awesome there is a forum for people to talk about labview. I have used labview on and off for about 2 years and everything I know I have learned on my own. I like using labview more than traditional programming languages but find it hard to do some tasks. I have one particular problem that does not make sense to me, but I was hoping one of you may have the answer. First off alittle backround about the program, I used the peak detector vi to find the max's and min's on a graph. I then used the property node to display the cursor at those peaks as I selected through the list. But I have noticed on the cursor display that the cursor is not on the right x corrdinate, but when I zoom in on the point, the cursor jumps to the the point that the peak detector found. I thought it may have something to do with the interpolation of the line b/t the points but i tried every option in the property menu. If you need to know anymore about the set up of the program, please ask me because it is bugging me so bad. Thank you so much in advance!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.