Jump to content

jg69

Members
  • Posts

    42
  • Joined

  • Last visited

Everything posted by jg69

  1. Cross-posted on labviewforum.de, too: http://www.labviewforum.de/Thread-LabVIEW-Test-VI-fuer-HBM-MX878
  2. Here's a code fragment, that gets the frontpanel of a VI. You can save this to a file (PNG, JPG, BMP) Jens
  3. Yes, yes! Make coffee! I want that too Beautiful! Awesome!
  4. Yes, it is possible. Set the property node "KeyFocus" to "True" and the Control gets a black frame indicating that it has the key focus. Jens
  5. To my knowledge, there's no way to suppress. Such a ini-File is currently always created - if it does not exist - by starting a LabVIEW-exe for the first time. To the contrary I think it is extremly useful. You can set the same settings for your application as for your LabVIEW-Development environment. One possibility e.g.: Set fonts for your application. I myself predefined in one application the history of colors so that the user gets some "default" colors then working with an graph. There are further possibilities and I would not miss them. If you need further options beyond that that you want to set in another ini-file I'd say just do so. Jens
  6. Well, the VI is not runnning, so no source code is executed at all, so "System Exec" will not be executed, at least not from the VI, it is placed in... Regards, Jens
  7. Crosspost: http://www.labviewforum.de/index.php?s=&am...ost&p=73995
  8. ZITAT(oskarbosch @ May 31 2009, 08:05 PM) If I remember correctly, i detected this possibility by chance. Or was it a tutorial about a customization of the legend. I don't know anymore. But it is really annoying, that this has become so difficult, it was so much easier in earlier versions of LabVIEW. Jens
  9. Well, there is still another way: 1. Create Graph, goto "Customize Control" 2. Then in Customize Control Window, switch to "Change to Edit Mode". 3. Select the Scale Legend Array, and then select from Pull Down Menu "Edit -> Customize Control" 4. Now you have opened another Customize Control Window, but just with the Scale Legend Array. Here you can right-click the scale-string and select to hide that string. 5. now go back, close the Customize Control Window of the scale legend, select to replace the scale legend, and voila: scale string is still hidden, just what you wanted. If you still have access to (I think) LabVIEW 8.2, there it was possible to right-click on the scale-legend and select "Create->Reference". You then have a refnum to the scale-legend-array and now can switch on/off the visibility of the scale string during run-time. If you save a VI in 8.2 with that functionality and upgrade it to 8.6, it should still work (afaik). I remember to have discussions and complains with my german representative why this feature was removed with the release of (I think) 8.5 (or was it 8.6? Not sure at the moment). Anyway, still angry with NI, that you cannot do it in an easy way anymore. Jens
  10. What kind of DAQ-hardware are you using? (Always good to know). What kind of signals did you connect to your analog-inputs? The difference does not seem to be very large. Perhaps your inputs are drifting... Also, you explicitly chose RSE for DAQmx, but not for your Trad-DAQ example. Regards, Jens
  11. ZITAT(BBOLGER @ May 6 2009, 10:23 AM) Even on a local PC shared variables are transmitted via tcpip. The shared variables engine should be running and should not be disturbed by your firewall.
  12. I would include the following changes. 1. As already said, update Frequency AND duty cycle at the same time. From my experience, it won't work, if you only write one property... 2. I'd stop both tasks in Stop-Case. 3. I included a case-structure which tests if you can already write a new dutycycle value. You can only set a new parameter if at least one cycle with the previous values has been generated. Download File:post-8741-1238518481.vi Perhaps still not perfect, but it should work. Jens
  13. @JustinReina: I don't want to generate a PWM Signal, that's jmtj6009... @jmtj6009: Oh, you want to control 4 motors. Then perhaps my suggestion is not the best one. You need 1 counter to control 1 motor, and a M-Series card has 2 counters. So you would need 2 M-series cards. Perhaps JustinReina's idea with the IC is also a good one. BTW, for code, there is another current thread: http://forums.lavag.org/Gen-2-Pulses-Conti...cle-t13672.html Jens
  14. My experience is that you have to write both properties (Duty Cycle & Frequency) within the same property node, also you want to change only one. For reasons unknown to me, the duty cycle will not change, if you do not write frequency at the same time. Jens
  15. I would not recommend to use a 6008/6009 to create a stable PWM-signal. You would have to do everything by software, which limits you to a theoretical resolution of 1 ms, but even that is not stable. You never know what Windows is doing besides. I recommend to use any M-series DAQ-card, and then create the PWM-signal with the counter of that card. Very easy to do, very stable. You can find code as a starting point within the NI-Examplefinder, look for examples about continous pulse train. Jens
  16. Here's a link to the homepage: http://www.miniatur-wunderland.com/ Sometimes, you have to switch to the german site. I recommend tp have a look at the photo that are posted there. Jens
  17. jg69

    Simple Maths

    Have a look here: Jens
  18. ZITAT(mic_k86 @ Feb 7 2009, 03:49 AM) ton gave you an answer to this. Open the context menu (right mouse button) of the numeric, select "Display format", and then choose "relative time". ZITAT(mic_k86 @ Feb 7 2009, 03:49 AM) one more question, i cant find the dbl icon as in the image you post. as you can see from my image my dbl icon has different shape and no arrow. how to find the type you display? i am using labview 8.5 Just open the context menu on the numeric in the BD and select "View as icon". You can change this in the options of LabVIEW (Menu Tools->Options, Category Block Diagram). Jens
  19. Perhaps it helps to first call the "DOS-Command-Box". Change the Command line that you send to the System Exec to something like: cmd.exe "CalConversionDNC.exe "C:\test" "C:\test\test.ini" 1" Jens
  20. ZITAT(dirkop @ Jan 30 2009, 04:09 PM) I don't know about the PDA-Toolkit, but in "standard-LabVIEW" the caption for a control has to be visible in order to change set by a property node. Just to be sure, did you set the caption to visible or is this not possible for PDA? Jens
  21. Crosspost: http://www.labviewforum.de/index.php?showtopic=11820
  22. Crossposted here: http://www.labviewforum.de/Trigger-mit-1-k...hmen-t9084.html and here: http ://forums.ni.com/ni/board/message?boar...d.id=38930
  23. So, transposing an array could look like this: Also, do the wires for waveform-clusters change? :laugh: :laugh:
  24. jg69

    Simulated devices

    Hi what you've heard about "simulated devices" is only possible with the DAQmx driver, however, that driver is not working with LV6.1. You have to have at least LV7.0 in order to get access to DAQmx. Jens
×
×
  • Create New...

Important Information

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