Jump to content

viSci

Members
  • Posts

    466
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by viSci

  1. Thanks to everyone who has tried to help. Here is the version of a batch file that finally worked: cd c:\Program Files\Ecg Stairstep regsvr32.exe """c:\program files\ecg stairstep\anigif.ocx""" "c:\program files\ecg stairstep\vrmixr\setup.exe" Lessons learned: The cd command does not have any effect when this batch file is called from the installer. The following snippet does not work even though anigif.ocx is located at c:\Program Files\Ecg Stairstep - cd c:\Program Files\Ecg Stairstep regsvr32.exe anigif.ocx The complete absolute path always needs to be provided. The use of triple quotes is required to create a literal path string that contains quotes. The last line will not work without quotes since there are spaces in the pathname. Maybe Vista Powershell will finally extricate us from DOS hell.
  2. Unfortunately, in LV8.2.1 you can only run executables that are .exe or .bat not .vbs
  3. I am trying to run a batch file called register.bat after the installation is complete. It gets installed in the program files directory with all the other installation files. The installer seems to be invoking this batch file but none of the intended actions go off. If I go to the installation directory and launch the batch file manually it goes off without a hitch. I have tried calling it from the run window and it also works fine. BTW, the batch file calls a VBscript which runs a regsrv32 and it also runs another setup.exe Here is the register.bat file contents: register.vbs Here is the register.vbs file contents: option explicit dim ws set ws = CreateObject("WScript.Shell") ws.exec "C:\Program Files\ECG Stairstep\vrmixr\setup.exe" ws.run "regsvr32.exe anigif.ocx" set ws = nothing Thanks, Mike Sachs Intelligent Systems
  4. I have found that network shared variables also make it very easy to connect your PC GUI with your cRIO app. This route gives you tighter control over cpu and network bandwidth. Shared variables can also be customized to be any LV data type or custom control. Mike Sachs Intelligent Systems
  5. I think this question was asked awhile ago but I am checking to see if anyone has yet to find an efficient way of appending image frames to an existing avi file. I am currently using the NI Vision tools but would be willing to switch for this one feature. Thanks,
  6. You will need the NI TDMS Excel add-on plugin http://zone.ni.com/devzone/cda/epd/p/id/2944
  7. For a couple of months, in my spare time, I have been thinking about how to create this visualization. I first tried animated GIF's, but you cannot really control them. I tried converting the GIF frames to a picture ring and that worked but it seemed like there should be an easier and better way. I finally realized that you could do this by modifying a 3 needle meter control. I was wondering if there is any technical reason why LV could not offer more control of a animated GIF image. Like frame rate control and frame direction. Test it out by running the vi continously and watching the pump rotor follow the control dial. In my application this will be driven by reading the actual servo motor position. Servo to Rotor Position.vi
  8. Think of the intriguing possibilities... Actually, my interest is in creating encapsulated graphic simulations using xcontrols. I am wondering if it is possible to have an xcontrol execute periodically, perhaps with events from a 10ms timer or self regenerated events? Ideally, all the code would reside within the xcontrol.
  9. I am using the ACBR and have noticed that if the UI thread of the parent vi is held up (like with a ring control showing its menu items)then the ABCR will not complete. I presume this is the result of the Set Control Value Method. Is there a way to decouple the threads to avoid this problem. Thanks, Mike Sachs
  10. viSci

    MP3player_Sample

    Hi Nipon, Thanks for the nice mp3 player, good example of clean LV coding style. BTW, pohm cow jai pasa thai nit noy kup. P.S. Carabao is a great group, I saw them 2 years ago at a outdoor restaurant courtyard in Chang Mai.
  11. QUOTE(Aristos Queue @ May 2 2007, 08:28 PM) Ok AQ, thanks for pointing that out. As an aside to this topic I was wondering why the new queues and notifiers do not have an option to return the original reference, thus greatly simplifying things like the msgqueue libraries which internally have to keep track of which previous refnum's have been generated.
  12. I was wondering if there is any plan to update the MsgQueue libraries so that they do not depend on the classic notifiers which one day may become deprecated.
  13. I think we would have seen some pretty outrageous results if google adsense could parse media files for contents keywords? (They probably can already, but have not put it online yet.)
  14. I had a similiar problem and constructed a mechansim using variant attributes to automatically convert cluster variables to named TDMS properties. Here is my example vi. Mike Sachs Intelligent Systems
  15. I am posting a very basic remote debugger for the LuaVIEW scripting environment. I would like to hear some ideas on how to improve this so that it could be embedded in the LuaVIEW core.http://forums.lavag.org/index.php?act=attach&type=post&id=5399
  16. I have some questions: 1. Can you have multiple instances running at the same time? 2. How do you call a LabVIEW vi from the script? Thanks
  17. I just noticed that you can use the Scan from String vi to cast a string to an Enum. The vi will automatically adapt to the enum data type when the output is connected to a enum control. If connecting to a vi input that is an enum, you will need to have a local enum indicator to coerse the data type. Please excuse the post if this was obvious to everyone already.
  18. I encountered the same problem on my machine (Dell Dell Dimension E510) and was not able to fix the problem despite trying for several days. I have never seen an error like this before and would like to know why the IVISION software is sensitive to the DEP mechanism.
  19. viSci

    Reactable

    The place to see this kind of cool interactive stuff (without the kids) is at: http://www.siggraph.org/s2007/ This year is going to be in San Diego, see you all there...
  20. viSci

    TestStand Lite

    I also would put my hope in a 3rd party offering, but I would not so completely rule out an open source effort. Anyhow I think a dialog about what a 'OSTE' would be like might be fruitful in itself. I myself have puzzled over whether it would make sense to use an existing scripting engine like Lua or IronPython and add TE api features for managing test specifications, results and reporting as well as common UI components to support intelligent editing, vi template parameter generation, test sequence displays, report display, etc. I would also be interested to explore alternate scripting interfaces that present the user with clickable parameter selections as opposed to text editing. You could still write text based scripts but many use cases could be addressed with a simplified tree like script presentation.
  21. viSci

    TestStand Lite

    Here is a little snipit from an old thread on LabVIEW sequencing mechanisms: crelf wrote: I know I'm chiming in late on this, but I can't agree more - I could sooooooooooo use something like this! I can't count how many times I've seen LabVIEW developers create their own "TestStand Lite" to do simple sequencing, only to fall on their faces when they need to do anything remotely complex or really reusable. I think that a real NI-produced "TestStand Lite" would be an excellent conduit to get current LabVIEW programmers into TestStand! :thumbup: Anyone from NI like to comment? Pleeeeeeeeeeeeeeease?!? My recent reply: Teststand Lite, that would be an excellent idea. It also makes me wonder what happened to the promising OSTE that was abandoned on SourceForge. I myself use a rewritten Table based version of the original NI Test Executive for basic sequencing and a 'Test Manager' API for managing excel based test specifications, results and report generation. I am looking into creating a new version that would have a better test sequencing API with extended features such as subtests, vi template based parameter editing, script variables and conditional looping. Personally I would rather just buy a 'TestStand Lite' if it was under $1000 with free run-times if using NI hardware.
  22. Teststand Lite, that would be an excellent idea. It also makes me wonder what happened to the promising OSTE that was abandoned on SourceForge. I myself use a rewritten Table based version of the original NI Test Executive for basic sequencing and a 'Test Manager' API for managing excel based test specifications, results and report generation. I am looking into creating a new version that would have a better test sequencing API with extended features such as subtests, vi template based parameter editing, script variables and conditional looping. Personally I would rather just buy a 'TestStand Lite' if it was under $1000 with free run-times if using NI hardware.
  23. I have a LV7.1 application that record ECG signals and produces a visual and auditory display of your heartbeat. I produce the heartbeat sound by playing 2 waveforms for the contraction and release sounds and these are sync'd to the ecg signal. In LV7.1 I can load and start one waveform and then at any point in time after (even if the waveform has not completed) I can load and play the release sound. In LV8.2 the sound vi's have changed and there is no longer a separate waveform load capability. It appears that you must do a simultaneous load and play and it is not tolerant of buffer overwriting, in other words the first buffer must complete before you can write again. The only way I can release the buffer is to do a 'Sound Output Clear' which then requires a Sound Output Config to start things up again. I think it would make more sense if you could just do a Sound Output Stop and then a rewrite.
  24. I have been using the tdms excel plugin and it works well. I was wondering if anyone has constructed a vi that does this same conversion.
  25. I am finding that none of the proposed methods will work in my case. The screen saver in question is apparently network administered and designed not to be foiled. It's purpose is to force a login prompt if the computer is not used for 1800 seconds. The screen saver settings appear to be locked. I have even tried some registry hacks but they do not stick. I had assume there would be some way to fake user activity but ordinary mouse and keyboard events do not work.
×
×
  • Create New...

Important Information

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