Jump to content

jg69

Members
  • Posts

    42
  • Joined

  • Last visited

Posts posted by jg69

  1. Don't forget "make coffee" and "get donuts"

    Yes, yes! Make coffee! I want that too :yes:

    That was only the start...

    post-7450-124900202237_thumb.png

    Attached what it was created with.

    No description, no comments, no even icons - I warned you.

    Beautiful! Awesome! :worshippy:

  2. 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

  3. ZITAT(oskarbosch @ May 31 2009, 08:05 PM)

    I basically got as far as customize control. Did not think to select the scale legend and then select customize control again.

    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

  4. 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

  5. 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

  6. 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

  7. @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

  8. 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

  9. 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".

    post-8741-1233993627.png?width=400

    post-8741-1233993635.png?width=400

    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

  10. ZITAT(dirkop @ Jan 30 2009, 04:09 PM)

    <br />Hi Shane,<br /><br />my problem is that I am not able to change the Caption.Text at runtime!<br />When I create a PropertyNode for Caption.Text I get an error without error details.<br />Maybe the property is not supported in the PDA module yet?<br /><br />Dirk<br />

    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

  11. 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.