Listing existing properties and refnums for a control
I'm relatively new to LabView programming and this is probably a basic question. I need to list the existing properties and corresponding refnums for a custom control that was created before I started maintaining an existing application. I would like the information in a form I could print if possible. Thanks for any help.
Mel
Solved!
Go to Solution.
Hi Hootowl,
ok, it's a cluster of several subitems. So you can use standard property nodes to get the properties of each sub-item programmatically.
Otherwise you can list the properies of the (standard) sub-items as they are listed in the LabVIEW help...
Or what else do you need? What's the goal of listing all the properties? (As said before, the cluster contains standard elements and all their properties are listed in the LV help...)
Message Edited by GerdW on 07-09-2009 09:08 PM
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Attachments:
Untitled 1.vi 27 KB
Similar Messages
-
Importing a pkg with rely on server storage and roles for access control
Hi we run std 2008 r2. I'm reading documentation on prot levels during pkg import to catalog at
https://msdn.microsoft.com/en-us/library/ms141747(v=sql.105).aspx but unfortunately the definition of prot level "rely on server storage and roles for access control"
isn't clear. They used the prot level name to define it which didn't help me.
This option looks appealing but it isn't clear why I need to enter a pswd when choosing this option. Will my peers need to know that pswd when they export? Will the sql agent job need to present that pswd when running? If I just keep current
prot level "encrypt with user" will the agent job be able to run it? I'm sure it (agent) isn't running with my creds now. Also, how can I tell what prot level it was deployed with last? I rt clicked on the pkg in the catalog
and don't see anything obvious about that. I already understand that on export prot level is changed to encrypt with user.
I'm going to look at the sql agen job right now to see what creds it runs with.First thing to understand is that protection level is used for determining how package (dtsx) file have to be protected. Once package is deployed in server and executed from agent, the conventional way is to use method of configurations or parameters if
2012 to get required connection etc values and execute using it. It never uses the values that were set during the design time. So it doesnt matter what protection level was so far as its based on config
However if you're planning to export existing package to your system and do modification thats where protection level comes to play. If its set to any of ENcryptSensitive... type value then you'll to provide the value (either a passowrd or your userkey which
it takes automatically from login info) to see the sensitive info (connection info,passwords etc) The package will still open and so far as you manually type in missing values you will be able to execute the package. If protection level is set to one of ENcrptAll
then you will have no way to open package itself unless you provide password/ have correct userkey.
The rely on server storage option uses sql server security context itself ie it doesnt do any encryption within package by itself but will assume values based on sqlserver security. This is used when you store package itself in SQLServer itself (MSDB)
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Creating Properties and Methods for an exe built in LabVIEW
Hi all,
How do we create properties and methods for an executable built in LabVIEW.
I know when building an exe, the "Enable ActiveX server" option in advanced has to be enabled.
But after that how do we create Properties and methods for the activeX component.
Your help is greatly appreciated.
Regards,
Muthuraman S
Regards,
MuthuramanYou cannot build your own COM specific properties and methods for the ActiveX interface in LabVIEW, the only thing exposed are the normal VI server properties and methods.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
Following situation. In SCCM we have one Standalone Primray Site Server and two Site Server. The two site server are also SMS Provider. MDT 2012 was installed on all three Servers and the Config Manager Integration was run. When starting the Console
on any of this server and editing an MDT Task Sequence, it occasionally pops up an error "An error occured when loading the task sequence". TaskSequenceProvider.log File throws a lot of errors:
[PID: 2824] Invoking method SMS_TaskSequence.LoadFromXml TaskSequenceProvider 20.06.2012 10:28:50 4916 (0x1334)
Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence. 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:28:50 4916 (0x1334)
Failed to load node Use Toolkit Package from XML into WMI 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:28:50 4916 (0x1334)
Failed to load children steps for node "Applikation" from XML 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:28:50 4916 (0x1334)
Failed to load children steps for node "" from XML 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:28:50 4916 (0x1334)
Failed to load XML for the task sequence into WMI 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:28:50 4916 (0x1334)
[PID: 2824] Done with method SMS_TaskSequence.LoadFromXml TaskSequenceProvider 20.06.2012 10:28:50 4916 (0x1334)
Tried removing the integration on all SMS Provider Machines and readded them. It does not make a differenence. Does anyone know if MDT supports the use of multiple SMS Providers? When I only use one Provider and deinstall the other two, it works ok.Some more info from the log files:
TaskSequenceProvider.log
[1680680 PID:5228] Initializing provider for namespace root\sms\site_P01 TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
[1680680 PID:5228] Initialization of provider for namespace root\sms\site_P01 succeeded TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
[PID: 5228] Invoking method SMS_TaskSequence.ExportXml TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence. 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
Failed to export task sequence to XML 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
[PID: 5228] Done with method SMS_TaskSequence.ExportXml TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
Setting status complete: status code = 0x80041002; Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence. TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
[PID: 5228] Invoking method SMS_TaskSequence.LoadFromXml TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence. 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
Failed to load node Use Toolkit Package from XML into WMI 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
Failed to load children steps for node "Applikation" from XML 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
Failed to load children steps for node "" from XML 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
Failed to load XML for the task sequence into WMI 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
[PID: 5228] Done with method SMS_TaskSequence.LoadFromXml TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
Setting status complete: status code = 0x80041002; Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence. TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
SMS Provider logs the following:
CExtUserContext::EnterThread : User=A2\trth1 Sid=0x0105000000000005150000001BB949E9D7F6AADBC3309AA56BAB0000 Caching IWbemContextPtr=0000000005777900 in Process 0x9f8 (2552) SMS Provider 20.06.2012 10:51:47 3008
(0x0BC0)
Context: SMSAppName=SMS Administrator Console SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
Context: MachineName=vswlieca2146.A2.loc SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
Context: UserName=A2\trth1 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
Context: ObjectLockContext=fdf8ab87-cf50-43bd-a48a-d5bb99c8034f SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
Context: ApplicationName=Microsoft.ConfigurationManagement.exe SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
Context: ApplicationVersion=5.0.0.0 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
Context: LocaleID=MS\0x409 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
Context: __ProviderArchitecture=32 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
Context: __RequiredArchitecture=0 (Bool) SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
Context: __ClientPreferredLanguages=en-US,en SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
Context: __GroupOperationId=590802 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
Context: __WBEM_CLIENT_AUTHENTICATION_LEVEL=6 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
CExtUserContext : Set ThreadLocaleID OK to: 1033 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
CSspClassManager::PreCallAction, dbname=CM_P01 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
ExecMethodAsync : SMS_ObjectLock::ReleaseLocks SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
Requested class =SMS_ObjectLock SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
Requested num keys =0 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
CExtProviderClassObject::DoExecuteMethod ReleaseLocks SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
CSspSEDO::ReleaseLocks: ********** Releasing SEDO Lock for object SMS_TaskSequencePackage.PackageID="P010013A" for user A2\trth1. ********** SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
CExtUserContext::LeaveThread : Releasing IWbemContextPtr=91715840 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0) -
Forgotten administrator name and password for parental controls
hi. I've forgotten my administrator name and password for parental controls on my childs school macbook air. it has latest update and operating systems.
You are the administrator, so you should look at the name associated with your /Users/user_name/ folder or Home folder.
Forgot Your Account Password
For Lion, Mountain Lion, or Mavericks
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
When the menubar appears select Terminal from the Utilities menu.
Enter resetpassword at the prompt and press RETURN. Follow
instructions in the dialog window that will appear.
Or see:
Reset a Mac OS X 10.7 Lion Password
OS X Mountain Lion- Reset a login password,
OS X Mavericks- Solve password problems,
OS X Lion- Apple ID can be used to reset your user account password.
For Snow Leopard and earlier with installer DVD
Mac OS X 10.6- If you forget your administrator password,
OS X- Changing or resetting an account password (Snow Leopard and earlier).
For Snow Leopard and earlier without installer DVD
How to reset your Mac OS X password without an installer disc | MacYourself
Reset OS X Password Without an OS X CD — Tech News and Analysis
How To Create A New Administrator Account - Hack Mac -
I just set an administrators name (my full name) and password for parental controls (using the one I always use) and now after restarting and trying to make changes to aprental controls it does not recognize my password
Hello, do you have another admin account to log into for a test?
-
Forgot User Name and Password for Parental Controls
I apparently have forgotten the user name and password for the parental control feature in itunes. How do I recover the information or unlock the controls?
I tried entering the same information as my computer user name and password and it does not work for locking Parental controls. What is weird is I can Log on to Itunes and my computer but it will not lock parental controls. What I am trying to do is keep anyone from changing the settings. Again I enter the same information as my computer but it DOES NOT WORK!!!!
-
Standard script and code for output control ticket in IW32
Hi,
I am working on a output control ticket which gets printed using transaction IW32.
I have to create Z driver program and z form and attach it to shop paper.
I just wanted to make sure that RIPRCT00 and PM_COMMON are the standard program and form for this output control ticket.
Because even though if I keep a break point in the program RIPRCT00 to see the data its fetching, when I do the print preview after going in IW32 I don't go inside the standard program RIPRCT00.
So I am wondering if RIPRCT00 and PM_COMMON are the standard prohgram and form attcahed with output control ticket ?You must enter something in the form. The reason for this is because in the program when it is going to execute the print of the papers, it is call the subroutine(form) of the print program. It gets these values from your configuration in SPRO. It is doing something like this.
perform print_paper in program zriprct00.
Of course, "print_paper" and "zriprct00" are variables retrieved from the configuration.
So, in summary, In SPRO, configure the output type to use the PRINT_PAPER form of program "ZRIPRCT00" and the sapscript form ZPM_COMMON.
If you are developing a completely new "Z" print program, you must have an entry point in which the program is executed. You will have to have a subroutine(form) very simular to PRINT_PAPER, or you can just copy and paste that code into your new program.
Make sense?
Regards,
Rich Heilman -
List of indexes and columns for a database.
Hi
Do you know the SQL command to get the list of indexes and associated columns for all tables for a given database ?
The following only shows me the table and index name but I would also like to get the colums for each index
SELECT o.name, i.name FROM sysobjects o JOIN sysindexes i ON (o.id = i.id)
Can you pls help
Thanks
H.There isn't a single command that will do that.
There is the sp_helpindex stored procedure which will give you the information on indexes one table at a time, you could call it in a loop, but there is other information in there as well, so the output would be messy.
You can look at the source code for sp_helpindex to find out how it decodes the key column names.
use sybsystemprocs
go
sp_helptext sp_helpindex
go
The core of it is this loop, which builds up a list of the column names in @keys, a varchar(1024) declared earlier.
** First we'll figure out what the keys are.
declare @i int
declare @thiskey varchar(255)
declare @sorder char(4)
declare @lastindid int
declare @indname varchar(255)
select @keys = "", @i = 1
set nocount on
while @i <= 31
begin
select @thiskey = index_col(@objname, @indid , @i)
if (@thiskey is NULL)
begin
goto keysdone
end
if @i > 1
begin
select @keys = @keys + ", "
end
/*select @keys = @keys + index_col(@objname, @indid, @i)*/
select @keys = @keys + @thiskey
** Get the sort order of the column using index_colorder()
** This support is added for handling descending keys.
select @sorder = index_colorder(@objname, @indid, @i)
if (@sorder = "DESC")
select @keys = @keys + " " + @sorder
** Increment @i so it will check for the next key.
select @i = @i + 1
end
** When we get here we now have all the keys.
keysdone:
set nocount off
-bret -
List of issues and fixes for procure to pay process and order to cash process for a trading company
Dear All Gurus
Kindly tell me where I can find the list of all issues arising in procure to pay process
and order to cash process and there fixes for a trading company in support project
Thanking You
Abdul BaseerHi Abdul,
There are no standard list to provide, you should identify the issue through regression testing and raise an SR or create a thread accordingly we can help you.
Note:- Issues are vary to instance to instance, version to version, installation to upgrade etc.. -
Drag and Drop For String Control
Hello all,
I attached a example program, where I did not see event for String Drag Starting?.
Is it normal.
I placed a break point and I tried to start draging, but I hvn't seen the event.
Please let me know, if this is normal.
Thanks,
Attachments:
Drag and Drop -String.vi 45 KBExtract from the LV help for this event :
Generated when you start a drag
from a listbox control. Use this event to signal
when a drag and drop operation begins from a specific control. This
event is generated only when LabVIEW begins a drag and drop operation on
a listbox control. You can use the Start Drag method to begin a drag from other controls. -
WANTED! - List of IRQs and Hardware for K8N Diamond Plus?
Hi there!
I'm trying to find out what hardware shares IRQs on the MSI K8N Diamond Plus motherboard.
I want to use an X-Fi card in the bottom (orange) PCI slot, and 2x 7800GTX cards in the PCI-Express x16 slots and would like to know if any of the devices will share IRQ's with onboard hardware.
You can list your IRQs by running msinfo32 - start, run, msinfo32 [enter], then click expand the following item in the tree System Summary -> Hardware Resources -> IRQs.
You can export the IRQ's in msinfo32, make sure the IRQ list is displayed, then click file/export, then save to a text file. Open the text file with notepad and copy and paste your results to your reply below.
I'm trying to find out whether an MSI K8N Diamond Plus will have less conflicts or less important conflicts than a ASUS A8N32-SLI.There are 4 PCI IRQs called INTA#, INTB#, INTC# and INTD#.
These INTx# are interrupts and are level sensitive, this means that the electrical singnaling allows for them to be shared among all PCI cards. All single device/ function PCI cards that use only 1 interrupt must use INTA# as this is one of the rules in the PCI spec. If there are additional devices within a chip or on-board a card then these additional devices can use INTB#~INTD#, since there are very few multifubtion PCI boards (none that I know of right off my head) this means that most or all devices will use INTA#.
With that said; you do not really need to worry about hard wired INTA#~INTD# at board level.
If you are using Win XP I would not even worry about IRQs as Windows uses "Virtual IRQ routing" which simply means Windows XP will assing IRQ to each device and XP handles this extremly well. -
Where is the list of categories and keys for calling AVAppGetPref?
I want to obtain parameters in Preferences window by using AVAppGetPrefString() function,
but I could not find the list of words that is usable for its parameters.
For example, in order to acquire the value that placed on [Identity]-[Name] in Preference dialog, it should be written as follows?
AVAppGetPrefString("Identity","Name")Conspicuously not documented. Settings appear on WIndows to be stored under HKCU\Software\ADOBE\Adobe Acrobat\version. Try setting a specific name then search that registry hive for it.
It appears that we find things like
AVAppGetPrefInt ( ... "AVDisplay" , "OverprintPreview" ) stored in
HKCU\Software\ADOBE\Adobe Acrobat\10.0\AVDisplay, key iOverprintPreview
Do not take this as documentation or authoritative, just the results of 10 minutes poking around. -
I am trying to use Active X in labview 7 to create an excel graph and the HasMajorGridlines property for charts is not in my menu. Where can I get this property and others that appear to be missing and what is a good resource (looking for anything, especially books) for for using activeX/Labview/excel together?
I am not sure if there is a book or tutorial how to use excel with LabView. I ncluded a Vi which gives you access to the HasMajorGridlines property. I hope it gives you the clou how to work with excel obejcts...
Chris
Attachments:
excel_example.vi 24 KB -
Export list of users and passwords for migration to new domain
Hello,
i am in the planning phases of moving a SBS2008 domain to Windows Server 2012 AD domain. i have looked into ADMT but it refuses to install on SBS2008 (error: not a valid win32 application). is there another avenue i can look into that will help
me export all SBS domain users and their passwords, and import them into my 2012 domain?
cheers,
Jonathan HorneHi,
Regarding your request, if you want to migrate SBS 2008 to Windows Server 2012 Standard, please refer to the following article.
Transition from Small Business Server to Standard Windows Server
http://blogs.technet.com/b/infratalks/archive/2012/09/07/transition-from-small-business-server-to-standard-windows-server.aspx
As it mentioned, you could first join the Windows Server 2012 Standard server to the current SBS domain and promote it as an additional DC, then it will have the user objects on it.
Hope it helps.
Best Regards,
Andy Qi
TechNet Subscriber Support
If you are
TechNet Subscription user and have any feedback on our support quality, please send your feedback
here.
Andy Qi
TechNet Community Support
Maybe you are looking for
-
Code to set and destroy session variables in Java Server Pages(JSP)
code to set and destroy session variables in Java Server Pages(JSP) we have use following statement to set session variable session.setAttribute("userClient",id); we have use following statement to destroy session variable session.setAttribute("userC
-
Unable to open the "role" workset in User Administration
Hi, I have installed Enterprise Portal 6.0 SP9 on Web AS 6.40. But when I goto the "role" workset of User Administration I get "page cannot be displayed". So help required. Regards.
-
Reference a field from master query in detail query
Hi, Please tell me how do I reference a field say incident_no in my master query to a detail query. like detail.incident_no != master.incident_no I am joining both the queries using a link. But still I need to reference another field from the first q
-
Unable to execute a command in MySQL in a jdbc prog..
I have a program that needs to execute an SQL insert sentence: stmt.executeUpdate( "INSERT INTO myDates(date_val,time_val,string_val)"+ "VALUES(one,two,three)"); where myDates is a table i have created in my DB and one two three are string values tha
-
How do you cure my terrible stuff-up?
I have just downloaded and installed Adobe Photoshop Lightroom to use as the software with my Leica D-Lux 6 compact digital camera. The following happened: 1. After installing it in my Applications file on my Apple MacBook Air I was told there was in