Jump to content

LAVA 1.0 Content

Members
  • Posts

    2,739
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by LAVA 1.0 Content

  1. You might try contacting Peter Blume at Bloomy Controls; I remembered seeing (and double-checked) Testand Corp. and Kenneth's name in the Acknowledgements section of Peter's book "The LabVIEW Style Book".
  2. QUOTE(Val Brown @ May 7 2007, 06:29 AM) If I understand you correctly, I think all you need to do is set the number on the right side of the scale to zero and the number on the left side to your desired scale. Drop a default fill control and double click on the 10 value, and type '0'. The left side number should change to 10. As long as the right side value is less than the left side, the values you pass in don't require negating, and the scales should be settable by the operator. If you need to prevent the operator from reversing the direction, you might need to make an XControl. http://forums.lavag.org/index.php?act=attach&type=post&id=5747http://forums.lavag.org/index.php?act=attach&type=post&id=5748 (LV 8.0)
  3. Hello, I'm wondering if anyone has ever used WDSL in LabVIEW for linux and windows to communicate with webservices. WDSL is a protocol based on XML and it uses SOAP binding. (WDSL Specification) I'm looking for a LabVIEW implementation (G), or a shared library that is available in windows (.dll) and linux (.so). A link in the right direction would be very appreciated. Kind regards, André Buurman Carya Automatisering The Netherlands.
  4. I am working with Dave on this issue, and I know he doesn't read the fourm in the evening, so to help expedite things I will try to answer the questions. QUOTE(xtaldaz @ May 3 2007, 07:27 PM) This is the error "Error -2147467259 occurred at Cmd Execute.vi->testdata.vi" and there is nothing under possible reasons. QUOTE(xtaldaz @ May 3 2007, 07:27 PM) Does the non-parameterized version of that query work for PostgreSQL? Yes, several typical date formats work with single quotes. QUOTE(xtaldaz @ May 3 2007, 07:27 PM) Does the problem always occur with a date/time field or with any datatype? If the column in the database table is defined as a Date time field the error occurs. It doesn't matter if you define the datatype in the parameters field as a string or date time, it fails. Only columns defined as date have a problem. The same code works in Access using the Micrsoft Jet 4.0 OLE DB Provider and in Sybase using the Sybase ASE OLE DB provider. Any help would be greatly appreciated. Thanks, Todd
  5. I recently did my upgrade to LV 8.2.1 which included an upgrade to MAX 4.2, I immediately noticed one major change, no test panels. Instead of a floating display window when you hit the "Test" button, it is a split pane view with configuration in the bottom view and control or display information above. While in some respects this may be desirable, to me they have taken away functionality. It would appear that I can only display the data as a graph, before I had the option to view the data as a chart, graph or value. If you have a task measuring DC levels on 32 channels, several of the values being identical, it is near impossible to get meaningful information in a graphical view. Also, I often would have several test panels open at once, maybe toggle a couple of relays and view a couple of voltage channels, with the test panels now embedded in the upper pane of MAX this seems no longer possible. I hope I am missing something, I called NI, they are getting back to me, I found nothing in the MAX help addressing this. I hope somebody has found a way to duplicate the functionality that existed in earlier versions, or if anybody can address why the change, I would like to hear from you.
  6. QUOTE(Tomi Maila @ May 3 2007, 09:35 AM) Note that you don't have to USE (connect) the error to anything inside the second loop. Just connecting it to the second loop defines the execution order. This is called creating an http://zone.ni.com/reference/en-XX/help/371361B-01/lvconcepts/block_diagram_data_flow/' target="_blank">artificial data dependancy and is a very useful technique. :thumbup:
  7. Do User Events run in the UI thread? Naive question, but I've always associated User Events with the UI thread (because of the name). I've been using almost the same pattern, with notifier functions in place of the user event functions.
  8. Sawadee krop, and welcome nipon! Very nice, cleanly written and responsive :thumbup: Now I must look for my Carabao MP3s to test this further. Maybe you should have included at least part of "Made In Thailand" with the ZIP file (Note: For others who download this, I loaded player with LabVIEW 8.2 and would crash when running the top level vi. I noticed that nipon's primary LabVIEW version is 7.1 and used that; it worked fine.)
  9. CITATION(Ben @ Feb 28 2006, 05:12 PM) I totally agree with Ben. If for 100 posts a member get only 1 or 2 good rating then it mean he is not really bringing usefull knowledge with his posts. The lack of positive is, IMO, worse than a negative rating.
  10. QUOTE(NadavC @ May 1 2007, 11:37 AM) Are you running multiple instances of the same exe, or are these different exes? If App1 contains a brutal error that you can't register or handle, you're gonna have to modify that code somehow, so why not try to identify and fix the bug(s)? If this is a legacy app that you can't touch (regulated or source is incomplete), then the suggestions (TCP/IP, Shared Variables, VI Server) are not viable; these require changing the App1 code. Your only choice seems to be forensic methods such OS calls (CPU load, memory usage) or file monitoring (data log file stops growing, exclusive lock on file). If you can make small changes to App1 (but aren't prepared to find the root cause of the crash) then the various suggestions should work, but you might need to install and configure the Shared Variable or Data Socket Runtime engines. If you're deployed on multiple machines, this may require more administration and/or documentation.
  11. CITATION(lkranker @ May 2 2007, 12:45 PM) From 0 to 4095, this is 12bit resolution, if you check the NI camera advisor, you'll see that you can't get more than 12 bit resolution (http://sine.ni.com/apps/we/nipc.specs?action=view_specs&asid=1102&pid=6843&tier=3) CITATION(lkranker @ May 2 2007, 12:45 PM) I have now discovered that if I export to PNG instead of TIF, the contrast is perfect (exactly as in the streaming image). Does that help with understanding my problem? Unfortunately, PNG is one of the few image types that my post-processing software won't open. I know I can convert it from PNG to TIF using other software (ex MATLAB), but I would rather just export to something besides PNG in the first place. This is surprising... I never noticed such issue. I'll try to test this and let you know... at least now you have a work-around. Edit : Hmmm, after having a closer look to your images, my best guess is that the issue is a byte inversion (little endian / big endian) I bet that the "save TIFF image" function has a setting for this !
  12. QUOTE(crelf @ May 1 2007, 05:21 PM) But I only have two best friends; and they both exist in my mind
  13. QUOTE(Eugen Graf @ Mar 19 2007, 11:40 AM) The problem is, that in LabVIEW 8.20, the picture control works with a "new" Indicator, which is not backward kompatible...
  14. CITATION(lkranker @ May 2 2007, 05:47 AM) Hi, What do you mean by "extremely low contrast" ? Could you post an image ? Before trying to enhance you image through the soft, maybe you could try to put some more light on the object you taking pictures of. Also, if the image is too dark you can increase the exposure time. By the way, what camera are you using an d how did you set it up ? You can also check that you images are really 16bit using the IMAQ histogram, depending on the camera file (*.icd) you are using (you can select it in MAX) you could be saving an 8bit image into 16bit TIFF... Hope these thoughts will help.
  15. QUOTE(NadavC @ May 1 2007, 10:22 AM) When I want the front panel to close on my exe vesions, I add this bit of code in my top level vi. I wire an error out to the outside of the sequence structure to keep from exiting prematurely. This has the advantage of NOT closing automatically if I'm in the development environment. I've had this for so long that I can't recall if someone gave it to me or if I recreated it from an example elsewhere. It uses the Quit LabVIEW function, which states that it stops all running VIs and ends the current instance of LabVIEW. Separate runtime exes should have their own app instance, so "app2.exe" in your case should continue to run... http://forums.lavag.org/index.php?act=attach&type=post&id=5681http://forums.lavag.org/index.php?act=attach&type=post&id=5680
  16. QUOTE(JFM @ Apr 27 2007, 02:23 PM) Are you sure that they are not just april fools??
  17. JP, Were you shocked that the batteries were not included?? LOL!
  18. QUOTE(Eugen Graf @ Apr 25 2007, 02:41 AM) Yes, you can replace the string constant with a variant control (see attached). Wire the desired queue type to the input, and LabVIEW will coerce to this. Note that the queue will now be of type variant. That means that when you dequeue you will need to know the data type of the queue in order to use the Variant to Data function. http://forums.lavag.org/index.php?act=attach&type=post&id=5629http://forums.lavag.org/index.php?act=attach&type=post&id=5630
  19. QUOTE(Submeg @ Apr 25 2007, 07:34 AM) you can try it with the event structure... have a look at LabVIEW examples...
  20. The detailed help also points 2 example applications : Examples\Vision\3. Applications\Battery Clamp Inspection Example.vi Examples\Vision\2. Functions\Calibration\Simple Calibration Example.llb They demonstates the way to use these metadata which, apparently, can only be "overlay information, pattern matching template information, and calibration information" Hope this helps
  21. CITATION(Aitor Solar @ Apr 23 2007, 11:15 AM) I've just tested your VI with my LV7.1.1 and I get same behaviour as with LV8.20. No crash, no error...
  22. CITATION(Aitor Solar @ Apr 23 2007, 10:15 AM) Nice and simple solution Aitor ! What is you LV version ? Because with LV 8.20 the is no crash with "http://www.google.com", I just get no result and no answer... but no crash !
  23. QUOTE(crelf @ Apr 14 2007, 01:18 PM) I knew I would use this technology some day... Yahoo!Pipes to the rescue! My custom feed is here. It's published and you can use it... http://pipes.yahoo.com/pipes/pipe.run?_id=...amp;_render=rss
  24. I experimented with my desktop PC, a Dell Optiplex GX280. It has PXE support, and a PDF file from the Dell web site explained that the client only needs to enable the PXE boot in the BIOS, then set the boot device order with the Ethernet first to have it get an image from a tftp server. The rest of the setup is on the dhcp/tftp server. I set my PC to boot to ethernet first, then HDD, then CDROM then floppy. We use DHCP for our office network addressing, and the PC got an IP, but there was no bootp service running to tell the PC where to look for the tftp server. The PC timed out and finally booted to hard disk. If the "factory defaults" don't include the PXE and a boot order that include the ethernet, then this probably won't work for you. Maybe you could load your temporary OS and apps on CF and then boot the system the way it would be booted in the field. You would prove that your CF interface is working, and that your BIOS is set up to work when the SBC is deployed... If the SBC has a floppy drive, you could look at using something I found today called "PXE on Disk". Unfortunately, they tie the bootable floppy to the MAC address of your ethernet. You would need to get a site license ($500) but these are renewable on an annual basis :thumbdown: Maybe give them a call and see what they can suggest... The last choice would be to install an expansion card that would connect a CDROM or IDE disk drive to your SBC. I used one of these in a VMIC setup, but had to install a P2 connector across the backplane to complete the connection :thumbdown: This solution SUCKED and did not work in one of our VME chassis. It took WEEKS to get this piece of cr@p to work... Best of luck, and if you get something working, keep us up to date. I've developed a recent interest in (re)learning about linux and how it applies to LabVIEW.
  25. CITATION(Nullllll @ Apr 20 2007, 11:14 AM) Hi, I don't know what version of LabVIEW you have, but in LV 7.1 function palette, you have a subpalette for SMTP email, see screnshot below : I hope this helps
×
×
  • Create New...

Important Information

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