Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by aart-jan

  1. I need to write an application that handles data from an IBM Websphere MQ server. Although apparently there are several client applications available for Websphere MQ, I have no idea yet how I can get the data out of the client and into Labview. OMQ seems a client/server library in itself, not as an api for any messaging middleware based on a certain standard such as AMQP, MQTT, STOMP etc.
  2. Just e-mail directly with the developer. They are very helpful. Aart-Jan QUOTE (searchInfo @ May 13 2008, 11:48 AM)
  3. Hi all, I am building an application that accumulates lots of data. There are also some microphones involved to add some context to the measurement while postprocessing. The measurement will run autonomously and therefore I need to save disk space where ever I can. I am saving the sound information as WAV files, and I would like to compress them as much as I can. I will use a frugal format of 11025 kHz single channel 16 bit data. I experimented a bit with compressing to zip, rar, OGG and MP3. A file size of 948 KB compressed as to the following sizes: original 948 KB zip 719 KB :thumbdown: rar 577 KB OGG 178 KB mp3PRO 133 KB (86% compression!) :thumbup: The difference between OGG and mp3PRO is circumstantial, since I tried hard to optimize the settings of the mp3 codec. The sound quality is not an issue and I really couldn't even hear the difference anyway. Obviously I would like to encode the data to mp3, and there lies my challange: what utility to use to programmatically encode data to mp3? Normally I would look for a tool with a good command line interface. But it would be awsome if I could somehow do inline encoding. Maybe via a pipe? Suggestions are very welcome. Also I have this issue with the system exec.vi I normally use to make command line calls: The VI will only run the command correctly if I make the flag "run until completion" true. This is a real issue, because I really do not want to lock up my code while encoding wav files. Your suggestions are much appreciated!
  4. QUOTE(Jeffrey Habets @ Dec 28 2007, 03:20 PM) indeed, I am using class provider EndevoGoop300. Unfortunately, I really did mean the class name. I do use the object name as well and have no issues retrieving that.
  5. Hi all, I am using LV8.5 and the recently released Endevo Goop toolkit 2.0 When I use the classname.GetObjectStatus.vi to retrieve object information, there is a connector pane output named "class name" as well. For some reason this string is always empty, though. Can somebody tell me how to remedy this?
  6. I have built and run several websites including forms running on the internet toolkit G web server. Unfortunately this is a real antiquated http server with some major limitations and bugs. :headbang: Still, I know of a couple of projects I would really like to outfit with a web interface. I would love to run labview VI, dll or exe files in CGI of another web server (such as Apache or even IIS). Does anyone know of any Perl script or something to make other web servers talk to Labview CGI code? Or maybe someone has an awsome alternative? Aart-Jan
  7. The server called VI's simply miss some subVI's. without looking too much into your own explanation, please be aware of the following: VI server calls do not count as dependencies while building your executable. The simplest solution is to set the llb's to be always included in your build specificaion. If you want to be more modular than that, you need to build the libraries independently as a source distribution, and include all vi.lib and user.lib references in your build specification. Good luck!
  8. Hi all, Ik get the problem in re-entrant VIs that I can only use the menu once: after clicking one item in the menu, it becomes "locked" in that particular instance . Every next time I click the menu, the computer will just beep at me as if saying: can't go here . The other re-entrant instances also all get one shot at it, and that's it. Anyone know of this problem? I would really like to know how to get around this. BTW. I have only tried this with a static menu (an rtm file) so far. Maybe a programmatic menu solves the issue? Aart-Jan
  9. QUOTE(tcplomp @ Mar 28 2007, 03:22 PM) Wat is dit, Ton? Draag je LAVA op U3 met je mee? Ik wil geen posts van je zien als je op vakantie bent, hoor! Tenzij het over Nieuw Zeeland gaat!
  10. Ow, that's a wierd one! Create a new file in windows XP, say a new empty text file, and change the extension to tdms. Watch what happens... Sometimes the file will miraculously disappear. Other times, even more jaw dropping, it will spontaneously grow an index file! We have a very active background process running here! I believe this is immediatly also one of TDMS's great strengths, because when using TDMS functions seem to execute without any delay (even defragmenting(?)). It seems to me, all these functions do, is handing over the processing load to the background process, releasing Labview from the CPU queue. Writing and reading...and writing. Simultaneous access is the part that rocks indeed: I allready made software that simultaneously acquires lots of data, writes it to file, just to be read again for further analysis, with the results written back to THE SAME TDMS again! Throw in all possible configuration data, fail pass info... Bring it to the office: have diadem automatically indexing the data while I sleep! Being an early adopter is simple economics and fun this time..
  11. It doesn't stop there: a primitive such as file refnum to path doesn't work either: it actually breaks the wire! I noticed when using probes that the refnums have very low numbers: 1, 2 etc. The workaround will have to be to cast the refnum to i16 (? not sure) and check whether you have a non-zer number. Still, TDMS rules!
  12. NI has a new utility that can determine whether your PC of choice is fit to run LabVIEW real-time. More details about hardware can be found here. It mentions that it currently doesn't support multiple cores.
  13. True. She is a graphic designer and will not sleep until a gift or something looks absolutely stunning. It can get pretty tedious in the holiday season
  14. Yes! my favorite subject (see my personal icon). The moon was made by my girlfriend
  15. Hi all, I have made an application that comes up with a set number of elements every second. I decided to log this data binary, starting with a u32 timestamp. Each entry has a set number of bytes, as follows: U32, DBL, DBL, DBL, I16, DBL, DBL, DBL, DBL, I8, I8. A total of 64 bytes an entry. Each binary file can have an arbitrary number of entries. I want to have Diadem 10 read this binary file and convert it to Diadem channels. I think I have to build my own parser via file>dat file>import via header, but I am not sure how to fill in these dialogs. Does anyone know of a good example, application note or have a good explanation on how to make this binary parser? Thanks! I create the binary files with Labview. Maybe it makes more sense having labview parse the files and save them as TDM data. Unfortunately I am not sure how to configure these express VIs either.
  16. Haven't tried. Definitely will. Thanks! BTW. While running in the same run time instance, I assume that the executables will provide name space protection..?
  17. I run the VI's/executables making a weakly typed vi server call to the topVI inside the executable. There I set the value of a control which enables communication between called and caller VIs using user events. That all workes really nice and enables a very nice feature: the called executable can offer synchronous as well as asynchronous responses to the caller executable. For example: you can instruct an e-mail checker executable to respond every time an e-mail from a certain address arrives. The caller executable will then receive a user event with a new mail message. I would like it very much if the executables could really run independently and still send messages using such things as queues and events
  18. That's not really true. There's pretty good data plans available in the US, too. Service may be spottier at times. Also, bandwidth of many services is at least as good as GPRS. Operators can be a pain, disabling certain BT profiles for example. It's been announced that Nokia plans to gain its US market share. I have my doubts until they bring every phone they carry in CDMA also. Another issue is that US GSM carriers T-Mobile and Cingular still push bulk deal cheap phones instead of Nokia smart phones, which make them less money.
  19. Here's the low down: Remember those pictures from NI with "future: LV on a sensor?" If they want to target smaller targets, the symbian smartphone should definitly be of the targets to shoot for next. BTW. Labview embedded may just make it possible already. Fact is that Nokia smartphones dominate the world market with an over 50% market share. The devices are incredibly capable and make obvious strides to the next big thing: web based/centric services and applications. I have a nokia 9300 myself and I haven't touched my PocketPC since. I have, say, 30-40 applications installed on it, most of which use the internet. They are written in script, java or C(++). I would be extremely exited to see Labview added to this list. Symbian was bought by Nokia from Psion a couple of years ago. Psion was (and is) a venerable maker of palmtop computers and its Symbian OS is known for great quality and usability. Although currently the major OS for (smart)phones, it is a full blown OS with a solid background and, in my opinion, more sophisticated than WindowsMobile or CE. Here's the trouble: -The US have few Nokia smartphones due to CDMA, chip licensing cost disputes with Qualcomm and operator plan strategies. US customers are the victims here. Therefore, even some US technology watchers (and people in Austin?) have the notion that symbian (smart)phones are a marginal market. The US seems big, but in numbers of mobiles, it really isn't. -The lack of IO. Being phones and all, these devices simply have no hardwareIO to get minimal size. Seems plenty of reason for NI to drop the case for a while. I believe this is a poor reason, though. The devices make up for it in many other departments. Hardware will become available and NI would be smart to start making some herself. -It really must be pretty costly for NI to port (and support) LV runtime, as they are not even supporting professional OSes such as QNX. my 2 cents..
  20. Hi all, I have deviced a way to have multiple executables communicate with each other and tried to use it in an application. I have one application make a weakly typed call to another vi inside another executable. While calling this vi, it passes user event refnums that are used for communication between the executables. It works! After quite a bit of development, all of a sudden I got errors calling another executable. The executable runs fine on its own, but breaks if called by another executable. It has something to do with a compile time error.. So here's my fear: I guess I am really not launching another executable, and hence the vi that I run from inside the executable does not provide any namespace protection. When it needs referenced vi's inside the called executable that have the same name as in the calling executable, it will load those in stead! At least, that's what I fear. I am looking for solution for this issue. I could put all the VI's in a library, but that seems a little silly. I could give all vi's a unique name, but that's not very useful when using all kinds of common libraries. I could launch the application using the "Open application reference" function, but I have not yet tested whether it will still be able to communicate between executables using user event or queues. Looking forward to your thoughts. Aart-Jan
  21. Hi all, I noticed that functions such as "File/Directory Info" and "get file size" can stall seriously if a network path (e.g. \\\share\file.txt) does not exist, because that particular machine is down. Does someone know of a faster way of determining if a remote machine is up, other than pinging with system exec? Thanks! Aart-Jan
  22. Jim, I only looked at project 3, and I like it. One of the great features of storing by queue reference is the ability to cut loose from the dataflow paradigm. Therefore I added a modified example to project 3 to emphasize the different nature of ReferenceClass.lvclass: its value is static and there doesn't require dataflow. The thick green wire suggests a real object, but it doesn't require dataflow wiring like ordinary objects do. One does need to be careful to prevent race conditions, though. My 2 cents.. Aart-JanDownload File:post-1175-1156077738.zip
  23. Okay, but what is your point? My suggestion in this thread is to have a notifier/occurence structure or a way to make an event structure act in stead of the wait on occurence function. Since they have a global scope, I do believe it is possible. Does this suggestion make any sense?
  24. I myself purchased my license from a third party with the help of NI. NI confirmed to me that the license I wanted was valid and transferable. They tell you to download a transfer form that needs to be signed by the selling party and information on both parties. The selling party needs to submit the transfer form to NI, NI verifies it and that will complete the transfer.
  25. I know that NI prefers notifiers, but that is irrelevant to my posting. Can you add a link to the document you are referring to?
  • Create New...

Important Information

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