Jump to content

Neville D

Members
  • Posts

    752
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Neville D

  1. True, the specs seem to point out that the device should work fine in terms of speed, but I've heard from others that sometimes in long term tests, MAX or the software appears to "lose track" of the device somehow, and the only way to bring it back is to unplug and replug the device back. Just to be safe, I would use a PCI device for a neater solution (no external power brick required). N.
  2. Do you have to change the colors everytime? If you do it once during development mode, and save the VI, it remembers those colors. N.
  3. QUOTE (Dan Bookwalter @ Oct 23 2008, 06:15 AM) I'm not trying to be negative here, but what's the motivation behind trying essentially a research-level project without the right set of tools? With IMAQ you could probably threshold the images to highlight colors of interest (maybe bright colored clothes that a person might be wearing) and then try the Diff of the images. Or split the image into regions and try diff'ing just the regions. Vision applications are usually quite complex however simple they may seem to (since everyone has eyes, and even a 1-year old can tell when someone's in the room) to the outside observer. The jpeg file may not be the best for image processing. Try a non-lossy file format like png for better results. Neville.
  4. In the past where I had a very complicated GUI (20+plots, a few hundred Buttons and indicators) and the application ran on a laptop with a lower resolution monitor, and in the lab with a hi-res display, I actually made up two front panels, with identical code, except for the painfully adjusted layouts for the different resolutions. At startup, queried the monitor resolution, and called up the appropriate code using VI-Server. For "in-between" values of resolution, I selected the front panel that fit the closest (generally the low-res VI). But for maintenance its a bit of a pain, since you have to maintain essentially two (or more) top-level VI's. Neville.
  5. QUOTE (Phil Duncan @ Oct 23 2008, 08:37 AM) You could use a voltage divider to step down 0-14V to 0-10V. N.
  6. QUOTE (David Wisti @ Oct 21 2008, 01:04 PM) There is no action to delete the device under the Device Manager. It simply shows up as "USB Composite Device". I can only disable it. I think the problem is that this DELL has a memory card reader connected via USB internally and that might be interfering with the drive letters F, G, H, I, so the utility fails when trying to load software to the appropriate drive. Anyway, it worked with the laptop. N.
  7. Which specific VI was it? If its a Vision related VI, goto Add-Remove programs and "repair" the NI Vision/NI IMAQ install. So you don't have to re-install everything all over again. Alternately, if you have another installation with the same version of everything, copy over the VI from the good installation. Neville.
  8. QUOTE (LV_FPGA_SE @ Oct 21 2008, 11:05 AM) Hey that was a good hint! I tried my laptop and it worked! I guess there are a lot of things connected internally via USB in my DELL desktop. Thanks! N. Maybe a note should be added to the http://digital.ni.com/public.nsf/websearch/9209361E17708D548625744A007FF353?OpenDocument' target="_blank">NI link about this.
  9. Also take a look at the Resample ExpressVI. Neville.
  10. Do you have the IMAQ or vision package installed? I don't think you would be able to save the images unless you have them. There is a VI Under Vision Utilities>Files>IMAQ write File. It is polymorphic and can save images as jpg, png, bmp, tiff and jpg2000. Neville.
  11. QUOTE (LV_FPGA_SE @ Oct 21 2008, 07:27 AM) Hi Christian, I tried exactly that yesterday from looking at the links. It seemed to run without error, but nothing was generated on the USB stick. I tried 8.5.1 and 8.6. Is there any way to specify the drive letter in the command line? Neville.
  12. QUOTE (crelf @ Oct 20 2008, 12:08 PM) Hi Chris, Sorry, having internet troubles at work. I was trying to test whether my desktop could be used as an RT target. Following the http://digital.ni.com/public.nsf/websearch/9209361E17708D548625744A007FF353?OpenDocument' target="_blank">instructions, I wasn't able to create the USB stick-based utility to test it out. Using the command from NI-MAX>Tools>RT Disk Utilities>Create Desktop PC Utility USB Drive fails with "USB device not found". I can also try building a floppy disk with the utility according to the link, but I have neither a floppy drive nor a floppy, and it seems crazy to try to hunt all that down and try to make it work with a modern quad-core Dell. Your link was somewhat helpful, but I am still at sea. N.
  13. QUOTE (TobyD @ Oct 20 2008, 11:28 AM) I tried the HP utility but MAX still can't find the USB drive. Aargh! Thanks Toby. N.
  14. I am trying to create a desktop PC Utility on a USB memory stick in order to test requirements for turning a desktop into an RT target. But the darn MAX utility simply refuses to recognize a perfectly good USB memory stick that has been correctly formatted as FAT32. I tried two different USB sticks, and different USB ports. Any ideas? Neville.
  15. QUOTE (MasonJar @ Oct 17 2008, 04:46 PM) I checked the NI catalog... it doesn't mention anything about TC mmt with E-series; it does mention signal range of measurement 50mV to 10V for the E-6071, with only 12bits resolution, absolute accuracy of the range of only 15mv!! No wonder your TC's are "jumpy". However, another solution is to get the SCC hardware and the SCC-TC series hardware to add-on to your E-Series card. Again, the chassis (SCC carrier) and modules are all separate giving you lots of flexibility for cost that is less than SCXI, but probably an additional $1000. Or you could get M-Series Hardware. Basically, all recommendations hinge on the #of TC channs. What are your requirements? N. PS I have never used Dasylab.
  16. QUOTE (MasonJar @ Oct 17 2008, 02:07 PM) Yes, therein lies the problem. The SCXI adds a pre-amp stage gain of atleast 500 to 1000, that can be then multiplied by the DAQ card's gain. The SCXI channels are all multiplexed into a single channel on the DAQ card so essentially you need both. But this is a very expensive option. Depending on #channels it can work out affordable if you have a lot of different channels with different (and widely differing) gain requirements. You can use an SCXI chassis + card with any NI DAQ card that has AI channels as far as I can remember. You will need a chassis, the relevant SCXI card, cable, and breakout board. QUOTE (MasonJar @ Oct 17 2008, 02:07 PM) I have tried mmt ranges of 0 - 100 and even 20 - 30 degrees C to see if it helps....and no good. I have switched the cold junction to manual and entered 25 (ambient in the shop is about 27) and still no good. Yes, it probably won't make a difference, the problem is the gain is too low. QUOTE (MasonJar @ Oct 17 2008, 02:07 PM) By the time the 6071E, the 100 pin cable, and the SCB-100 was paid for....it was not all that cheap. Every flyer, ad, manual, and/or brochure that NI has about the 6071E states that it easily accepts TC's and at a stable reading. Not to mention that things really get confusing when I go into the MAX/NI-DAQmx calibration and using my Omega calibrator I can run the span of the TC and everything is "rock solid" at +/- .002 app. Deg C. I just keep thinking that if the calibration can do it....why can't I??? True, maybe a call to NI support is in order? Two other options are: 1 If you have the odd TC channel here or there, get an Omega Temperature reader (about $130 if I remember right), connect the TC to those, and these usually have a 0-5V out or 0-10V output proportional to the temperature and read those in with the DAQ. Again depends how many channels you have. This also gives you a nice digital panel display of the temperature and have all kinds of fancy alarms changing the color of the temperature etc. (programming these is a major pain, but thats another issue). I have used these in the past and have worked very well. 2 Check with NI support and get a more expensive M-Series or S-Series (I'm not sure which will work better for you) with larger gain, maybe you can swap your E-Series for one of those if 30days are not up? Pick one that uses similar cable/breakout board and you can re-use all of that. N.
  17. QUOTE (Louis Manfredi @ Oct 17 2008, 11:48 AM) True, the old-style documentation is a lot more thorough, and carefully walks you through steps of making different types of measurements. Some of those pdf's don't even ship with Labview any more :thumbdown: . NI seems to rely more and more on clunky "help" files that are no help. That said, the DAQmx API is indeed fast, multi-threaded and very powerful. N.
  18. What if you set the CJC manually to approx room temperature 25degC? I remember there was an option in MAX to do that. I suspect your problems are because you have specified too wide a range of temperatures to be measured with your thermocouple. That sets the gain to make sure the whole mmt range is covered, which means none of the range is covered very well. Also the cheaper cards like the 6071 or the USB units have a courser gain selection (or the gain doesn't go high enough), so if you fall between the ranges, and the more conservative range is selected the SNR will be degraded. The TC outputs are in the microvolts range as you probably know. Try setting temp mmt range to say 0-100deg and see if it helps. In the past I had problems with thermocouples and PCI daq cards, so we switched over to SCXI and the temp mmts were great with the additional pre-amp gains added by the SCXI modules. Sorry I haven't played with DAQ in a few years but thats what I remember. N.
  19. Having more memory onboard means you have to query the card less often when reading the data off of it. Also try to get a card that supports DMA (and the more DMA channels the better). This helps with simultaneous AI and AO if you need it. But really the biggest advantage with using NI is the seamless support with Labview/Daqmx. You won't get that with any non-NI cards, and for that reason alone I would stay away from them. Obviously, if you need a specialized function that is not available on an NI product then you would be forced to deal with all the integration issues of getting the non-NI product to work well with the rest of your LV code. Neville.
  20. Do you have anything "known good" to compare with? Controller? Chassis? software version? Start with that and swap things out till it fails. N.
  21. Getting any errors? I notice that an error won't necessarily stop your code, but keep running (from what little I can see of the attached jpeg). Have you tried running a simpler counter example ? Check the counter settings to see if they exactly match the ones that are working in MAX. N.
  22. QUOTE (Yossi @ Oct 14 2008, 06:55 AM) Bad ground? Do you see the spikes with an oscilloscope as well? Does the card you are using have isolated channels? I find the best way NOT to have noise issues is to use isolated channels, but this can get expensive pretty quickly. N.
  23. QUOTE (Götz Becker @ Oct 7 2008, 04:51 AM) True. QUOTE (Götz Becker @ Oct 7 2008, 04:51 AM) To get rid of the conditional disable structures would mean a major rewrite and reorganization of the codebase, another thing we can´t risk at the moment. I meant just duplicate your current project, throw out all the conditional disable's and see if that speeds things up. Just as a test. That way you can narrow down the problem to Perforce or NI. N.
  24. QUOTE (Götz Becker @ Oct 6 2008, 01:56 AM) I use Source Safe. I just check out the VI's, work on them and check them back in. No llb's. Have you tried a project without the conditional disable's to see if thats causing the slowdown? Might be worth investigating. 10-20mins seems like a lot of time wasted for a build. I have heard that NI uses Perforce too, and I'm sure they would have found a workaround to slow builds if they faced the problem, so maybe it is not related to Perforce or else you are using it in a different way thats causing the slowdown. Maybe you can investigate Tortoise SVN. Lots of people on LAVA have good things to say about it; also its free. N.
  25. QUOTE (sahara agrasen @ Oct 2 2008, 08:28 PM) ?? Did you even try? They are all PDF documents that can be downloaded. There are a couple of presentations describing applications (I don't remember off the top of my head, but look at the TOCAMAC reactor one, it uses PXI if I remember correctly). Even with slow internet connection that should be possible to download. N.
×
×
  • Create New...

Important Information

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