HSB <---> RGB in LabVIEW ?
Hallo, I'm looking for some vonversion VIs or function to convert RGB color values into HSB color values and vice versa. Can LabVIEW do this by default or does anyone know if anybody has written anywhere in the world something like a "Color toolbox". I'm running LV7 Express Thank you Oliver Friedrich
Re: LV 7.0 crashes
Nancy <[EMAIL PROTECTED]> wrote in news:506500050009840100-107939520 @exchange.ni.com: > Seems like there is an infinite loop when LV tries to load this new > palette. This usually happens when the new .mnu file and LV's existing > mnu file recursively link to each other. > > Maybe you can try this: > 1. Remove the new .mnu file from where it is now. > 2. Put it in "\instr.lib" directory. > 3. Launch LV, and "Instrument Drivers" subpalette will be > automatically updated to have the new VIs. > > If this doesn't fix your problem, I'll need more information on your > mnu files. > Hallo again, after reinstalling LabVIEW (including deleting the folders) the whole thing works now. But just install didn't do it, so I suspect one of the modified .mnu files which are stored in the Instr.lib directory. Thanks anyway Oliver Friedrich
LV 7.0 crashes
Hallo, I've installed some instrument driver libraries on our network to make it available to several developpers. After I tried to make these drivers visible in the function palette by Tools/Advanced/Edit palette and New SubMenu Point to.mnu file, LabVIEW is crashing all the time. No matter what I'm doing after starting LabVIEW it takes a couple of seconds and and it dissapears from the screen, even if I don't do anything, start start the first menu (New.../Open VI). Any ideas ? I'm running LV70 on XP Pro Regards Oliver Friedrich
Instrument drivers required
Hallo, I couldn't find any LabVIEW VISA drivers for the following instruments. Keithley 480 Picoammeter HP4142B DC Source HP8703A Lightwave Component Analyzer Could anyone help me out with one of these devices. I've searched the instrument database at www.ni.com and also googled for these drivers, with no success. Best regards Oliver Friedrich
Comments in Config files
Hallo, The Configuration File VI's create a text based file which I can also edit with an text editor. I want to insert comment lines into such a file manually. Can I do this? If yes, how can I mark them as comment lines (maybe like /*This is a comment*/ as in C) Thank you Oliver Friedrich
Menus and EventStructures
Hallo, I have a rather strange behaviour. I've made a runtime menu with a couple of entries (all are type UserItem). Now I have an EventStructure which handles the event MenuSelection (User). Inside the EventStructure I get information on the selected item by reading ItemTag which is wired to a CaseSelector. The funny thing is: If I click let's say the item "Create new profile" this event seems to be produced twice. The first occurence is handled by EventStructure A. EventStructure B which is called after EventStructureA is also configured to handle Menu Selection (User) and it triggers immidiately returning the same ItemTag than StructureA. I can't accept this behaviour. 1. Do I have to "consume" the first event that it won't be handled a second time by another EventStructure. How could this be done? 2. Maybe there are two events produced. The first when I press the mouse button on the menu entry, the second on releasing. Is this correct. 3. What exactly is "MenuTracking" and "Block menu" ? Thanks for your help Oliver Friedrich
Auto indexing and wrap around
Hallo, when I enable AutoIndexing on a While-Loop, the node returns nothing when the loop reads beyond the end of the array. Is there a way to change this behaviour so, that the array wraps around and the WhileLoop reads the array again and again and... I could do it with a ForLoop nested within a WhileLoop but I love elegant solutions ;-) Regards Oliver Friedrich
Conditional breakpoints and trace
Hallo, is there a way to place a kind of conditional breakpoint on a certain probe or control and break on appearance of certain data. Afterwards doing a trace to discover which part of the software caused the data, that would be fine! Any possibilities to do this in LV7? Thanks in advance Oliver Friedrich
Ring AutoUpdate buggy ?
Hallo, I have an Enum template as strictly type def. Editing the template auto updates all the instanies in the block diagram, wonderful! Now I have a ring constant as strictly type (also tried as type def). AutoUpdate doesn't work at all. I think there can be two reasons. Either there's a deeper sense in that behaviour or it's simply a bug ! Which one is it and how can I circumvent this. I can't use an Enum in this case because I mustn't start at 0. Regards Oliver By the way, it's LV7Express
Data type "Everything"
Hallo, lots and lots of very advanced LabVIEW questions. Here the next one: How can I realize the data type "everything"? which is used e.g in the type input of the unflatten function. I want to use this function in a SubVI and wired the input to a SubVI control. Doing this, I get a fixed data type on the control and no "everything" control anymore. The same story with the indicators. Don't come with Polymorphic VI. This is not a solution to me. If I make a Polymorphic VI with dozens of data types, it still remains a finite set to choose from and it won't ever become a genuine "everythin" input. Thanks for your help!! Oliver Friedrich
Controls[] question
Hallo, say I have a VI with some controls and indicators. If I get the VI's panel refnum and then the Controls[] property I get the array of references. But which array element belongs to which control/indicator of the referenced VI. Is there a way to retrieve an array or cluster with names information, or do I have to scan the references for the name of the referenced control/indicator? That would be some cumbersome. Thanks Oliver Friedrich
Use default if unwired buggy?
Hallo, I have case structure with several outputs (clusters, refnum,...). Since there are cases where I don't want to have these wired I've checked the "Use default if unwired". But still LV tells me that the VI has "Tunnel: missing assignment to tunnel" errors. What's the problem ? Thank you Oliver Friedrich
Shift register or Local Any differences in performance?
Hallo, I have a state machine where one state needs to pass and receive from/to other states. Should I use a shift register to interchange data or should I take a local variable? Both work of course but what would you prefer considering 1) Memory usage 2) Performance 3) Readability of source code 4) Good programming style Thanks for your suggestions Oliver Friedrich
ValueChanged event programmatically ?
Hallo newsgroup, desperately I must know this. A control generates a ValueChanged event if I enter a new value. No I have tried this: I have a control in VI1. In VI2 I open a VI reference to VI1, PropertyNode Panelrefnum PropertyNode Controls[] PropertyNode WriteValue to the refnum of the control. This works fine, I can write a value to control in VI1, it changes obviously but it doesn't generate a ValueChanged event. Is this a bug or a feature? How can I do this? Oliver Friedrich
User event
Hallo, I have VI1 which can generate UserEvent1 and UserEvent2 with the CreateUserEvent and GenerateUserEvent VIs. Now I want VI2 to be registered to these UserEvents. How can I do that? 1) I used a CreateUserEvent in VI2 and created an event with the same name on the data type than that one in VI1. But it didn't work. So it seems Event1 in VI1 is not the same as Event1 in VI2? 2) Do I have to pass all the UserEvent refnums from VI1 to VI2 to register in VI2? 3) Generally, are these events queued up, if the next event is generated before the event structure handled one event. Can I loose events? Thank you for your help Oliver Friedrich
Control events
Hallo community, if a value of a control gets changed it generates an event which can be handled by an event structure. I have a file path control and a button. Usually these controls are operated via mouse. Do they also generate an event if their values are changed by VI Server? Thank you Oliver Friedrich