![](https://lavag.org/uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
jg69
-
Posts
42 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by jg69
-
-
-
-
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
-
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
-
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
-
-
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
-
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
-
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
-
-
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
-
@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
-
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
-
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
-
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
-
-
ZITAT(mic_k86 @ Feb 7 2009, 03:49 AM)
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.5Just 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
-
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
-
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
-
-
-
-
-
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
Generate a analogue Signal with the HBM MX 878
in LabVIEW General
Posted
Cross-posted on labviewforum.de, too: http://www.labviewforum.de/Thread-LabVIEW-Test-VI-fuer-HBM-MX878