-
Posts
1,991 -
Joined
-
Last visited
-
Days Won
38
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by Ton Plomp
-
How to configure timed loop?
Ton Plomp replied to Johan Svensson's topic in Application Design & Architecture
The problem is that the conersion from dynamic data into string removes all but one value! You should use the 1D dbl format and a 'array to spreadsheet string' function. Ton -
How to configure timed loop?
Ton Plomp replied to Johan Svensson's topic in Application Design & Architecture
It is supplied on the frontpanel (why this method Johan) But why do you have 2 event structures in one loop? The time-out will make sure the loop will finish but there will be a pile up of events (eg. one event loop gets every 5 ms. an event but must wait 10 ms on the other event case) And the right-event case looks like a set off radio-buttons, use the native form of this. Or use an array, have a value change event and XOR the old and new value and write this a value property (NOT signalling) The same goes for the left. For a quick start start the task before the while loop! Now in continious mode the number of samples means almost nothing, it is used for setting the buffer size (see DAQmx help). Every run 10 samples are written. Could you show the text file created? Ton -
search?/find?/Add it to favorites? But what would be nice: A full blown .mnu editor!!!! Ton
-
Manipulate an event refnum?
Ton Plomp replied to Aitor Solar's topic in Application Design & Architecture
I don't think you will pay a speed penalty for 'empty' events. And you should create a Type Def control for the event registration. If you do that you'll only have to edit the TD Ton -
Change color of cluster elements on limit checking question
Ton Plomp replied to peteski's topic in User Interface
Well if you have LV 8.x you have the property browser/searcher (ctrl-shift-B on windows) This is searchable per structure so you could have found it there. What I normally do is just browse the properties of the structure I want to change, be aware that in the case of clusters you need to get the clustere elements (like Ben showed), in the case of arrays you need to the element type, but be aware that anything you do on the element type will infect the whole array. Ton -
Manipulate an event refnum?
Ton Plomp replied to Aitor Solar's topic in Application Design & Architecture
I don't really understand what you want to do, but I take the snippet is a 'little sample' If you have an event registration refnum, you can expand it by just dragging down. But if you pass it around between VI's you will get problems. The best to do in that case is create a td. control containing the event registration refnum. Now the event registration refnum is just a container with specific events for specific control types. You have to fill it with control references to get the event node react on! Look at the following snippet: I first created the two event registration node, boolean and boolean ref. Then connected the two event registration nodes. Created a boolean typedef constant, connected it and set an event. Connected the boolean ref to the second node. Now the moment I add something to first node the second will follow. If I don't give an input to the second node, the container will hold the values from the first event node. Hope this helps Ton -
Could you show the code you have? Sorry, my eyes must be glued together. What value do you put into the CJC field? Maybe you have to wire
-
First of all I don't knwo the 6122. But for this kind of acquisition (1 analog and 2 digital) I'd use a 'normal' M-series daq card (6221 too slow, 6251 will do) Set the clock timing source of the digital input (on port 0 for timed input) to 'Analog sample clock' rising edge. For the analog input set the trigger start to a PFI-line which has the digital trigger. Make sure you start all the tasks before the digital trigger arrives. Now when the trigger arrives the sample clock of the Analog input will start, and thus will start the digital input! Show your code! Ton
-
I have seen this where removing a shift register (it was not usefull anymore) sped up (is that proper english)? the for-loop with a lot (10 x times faster or so). Should have :camera: it. I got the the idea that all cases (or several) were executed at the same moment!!!! But I am a little afraid in trying to reproduce this, because it sounds too good to be true... :laugh: Ton
-
I am using FF2 for a week or so, the problem is that it is NOT backwards compatible , some of my favourite add-ons were disabled.... One mayor problem is that occasionally I look at orther fora (as in plural of forums) say forums.ni.com, if I download a vi in FF2 it will not give me the option to open it right away (maybe that is a very good security tactic because not everything from over there is save to open)! But on LAVA I can just open everything right away into LV :laugh: Ton My favourite add-ons are: wizz-rss IE-tab (a new IE-window will open as a IE tab in FF in my case) for my local intranet
-
Hi Peteski, what about this: I love these OpenG thingies more every day!!! Ton
-
Eaolson, What are your stop conditions (could you set a log when a FP close? happens) Ton
-
I thought this would be better for the Knowledge Base? Ton
-
using your own Icon Editor in LV8
Ton Plomp replied to Mark Balla's topic in Development Environment (IDE)
Hi David, look here Ton -
If I recall correctly will closing the FP terminate the executable if it is the main VI. Ton
-
As I said, maybe I'm not that fast No I thougt to go up to the root palette really fast by holding down the mouse and then
-
I use VSS 2005 with LV, but have some issues with them: when you loose you netwerk connection the SCC is not available resulting in a lock down of LV The level of control inside LV is limited (check in/check out) Sometimes the working folder deep down is wrong and you have broken links inside VI's (that might be a problem that is personal related) I don't know where to get a trial version.. Ton
-
It took you 1000 posts to learn this? Maybe you are just too quick with the mouse?
-
Ideas for Implementing a better codding challenge.
Ton Plomp replied to Mark Balla's topic in Site Feedback & Support
Mike, A devsuite with RT and PDA? No, to less for the time spend... But, if you did something like this, what would NI pay to you (if you had it correctly licensed)? Ton -
Gary, if you have opened the right palette, click on the 'up' arrow and hold the mouse down. This will show a drop down menu with the path of the palette: Ton
-
I think we all sometimes mess around with INI files we shouldn't Ton
-
But what happens, are the first or the last elements removed? As long as from version 4 (maybe earlier) there is room in the array type descriptor for a fixed size array. Currently this is set to -1, I wonder what happens when you set this to another negative number Ton
-
Shared Variables (LV 8.20) problem
Ton Plomp replied to i2dx's topic in Remote Control, Monitoring and the Internet