How to access Properties in Custom Crawler
[Plumtree 5.0.2 / .NET]
Hi,
Where in the source code for the NT File Crawler does the accessor (in this case the html accessor) pick up the metadata from the document and input the values into the Plumtree Cards?
To explain - we are developing a custom crawler that will crawl html formatted files containing metadata about the documents to be indexed, and not crawling the original documents themselves. (I can explain the reasons for this in more detail if relevant)
One of the values included in this metadata is the location of the original file which I need the crawler to make the ClickThroughURL.
Rather than parsing the html document myself, I figured the HTML Accessor is already doing the job for me. The field is mapped as a property in the document type for this crawler and I just need to work out how to to access that to replace:
data.ClickThroughURL = CurrentFile.FullName;
with:
data.ClickThroughURL = MY_VALUE_FROM_PROPERTIES;
I'm struggling a bit through lack of doco but I thought if I could find the section of the code where the crawler sets the properties for each document I'd be able to see how I can access the collection - I'd thought it would be in IDocument.GetMetaData, but I can't spot it.
I hope this makes sense to someone out there....
thanksAni
Hi Clinton,
I checked PTSpy and it appears to be looking at the right URL, but receiving a 404. PTSpy records the following, (I've changed the server name but it was correct):
Entering Function CPTUserCookieDatabase::AddHeadersToCookies: parameters: lpctstrDomain = APP_SERVER_WHERE_CRAWLER_LOCATED.hosting.companyname.net; lpctstrObject = /ANITA/DJCustomCrawlerWS/XUIService.asmx; lpctstrHeaders = HTTP/1.1 404 Not FoundServer: Microsoft-IIS/5.0Date: Wed, 02 Mar 2005 03:12:54 GMTX-Powered-By: ASP.NETX-AspNet-Version: 1.1.4322Cache-Control: privateContent-Type: text/html; charset=utf-8Content-Length: 1530; lCookieSegment = -1;
I wondered if it's trying to look for "/ANITA/DJCustomCrawlerWS/XUIService.asmx" in the portal server or whether it's looking in the lpctstrDomain where the file actually exists. Would you expect to see a fully qualified URL for lpctstrObject? Either way, as I said there is no 404s recorded in the IIS logs on either servers.
==================================
Back to the question of getting a customized property value from the Crawler. Can you explain a little more about "CrawlerConstants.TAG_PROPERTIES" and what I'm looking for please? I can see that this is getting its value from the web.config key "UseRemoteProperties" which in my instance had the value of "0" i.e. USE_LOCAL.
The custom property I want to get the value of is called "FileLocation" and when i go to the knowledge directory and check the properties page of the documents I'm crawling the value is right there in the "Customized Properties" exactly as expected whether I've got "UseRemoteProperties" set to 0 or 1 (and it's refreshed any time I change it and re-run the crawl).
In Document.cs (GetMetaData()) the DocumentMetaData() object is instantiated and the method Put() is used to populate some of the document's property values, and there is the comment that they are overwritten by the accessor depending on the "proper setting in the web.config file" which is the CrawlerConstants.TAG_PROPERTIES that you spoke of.
So where does the accessor do this? Somewhere, something (the accessor presumably) is writing all the other custom properties to the card. I've tried to use the Get() method for DocumentMetaData:
data.Get("FileLocation");
to retrieve the value for the one I'm after but when I write this out to the log it's always blank, the value hasn't been set yet. Where and how can I retrieve this value to update the clickThroughURL with it?
Thank you again. Please shout if I haven't explained this very well, I'm wondering whether my lack of understanding is making it hard for me to phrase my questions, but I'm getting desperate, I've spent far to much time and money on this.
Ani
Similar Messages
-
How to access properties of running workflow 2013 instances?
Hi there,
I am trying to figure out how I can access properties of a running workflow instance. I have created the following PowerShell:
Add-PSSnapin microsoft.sharepoint.powershell
$web = Get-SPWeb http://app-72b5c37f94da1d.apps.sharepoint2013.local/sites/appdev/SharePointWorkflowApp
$wfm = New-object Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager($web)
$list= ($web.lists|where Title -eq "List1")
$sub = $wfm.GetWorkflowSubscriptionService()
$subscriptions = $sub.EnumerateSubscriptionsByList($list.ID)
$inst = $wfm.GetWorkflowInstanceService()
$instances= $inst.Enumerate($subscriptions[0])
$instance= $instances[0]
$instance.Status
$instance.UserStatus
$instance.Properties
I am not able to retrieve the arguments or variables via this route. Only UserStatus is a valid working option at this point.
The variables and arguments of the sequence which I have configured via Visual Studio 2013's Workflow Designer, resulted in the following xaml:
<x:Members>
<x:Property Name="EenArg" Type="InArgument(x:String)" />
<x:Property Name="argument1" Type="x:String" />
<x:Property Name="argument2" Type="InOutArgument(x:String)" />
<x:Property Name="strArg" Type="InOutArgument(x:String)" />
<x:Property Name="intArg" Type="InOutArgument(x:String)" />
<x:Property Name="dateTimeArg" Type="InOutArgument(x:String)" />
</x:Members>
None of which are propagated via de Properties collection.
What am I missing here?Hi,
To access the properties of a workflow instance, here is a blog with code demos for your reference:
http://ranaictiu-technicalblog.blogspot.com/2013/05/sharepoint-2013-workflow.html
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Patrick Liang
TechNet Community Support -
How to access properties of swf created with pdf2swf
Hi all-
I am new to flex, I have been using pdf2swf to convert
multi-page pdfs to swf files and then load them in adobe flex. I am
able to load the files correctly with SWFLoader but not access the
properties to advance the frames (play, stop). I have been scouring
the internet for a way to do this that I understand.
I have tried doing something like:
var mymovie:MovieClip = MovieClip(myloader.content);
and then using
mymovie.play();
which I can't seem to get to work.
Has anyone here done this successfully. If so, could you give
me an example of how this is done?
Thanks,
Cameron BrackenAdobe Newsbot hopes that the following resources helps you.
NewsBot is experimental and any feedback (reply to this post) on
its utility will be appreciated:
Flex 3 - Embedding asset types:
You can embed Button and MovieClip symbols in a Flex
application, but you cannot embed ... Alternatively, if you use the
SWFLoader control to load the Flex
Link:
http://livedocs.adobe.com/flex/3/html/embed_4.html
BrideL.OrG Blog Archive Importing a SWF into Flex with AS3:
Jul 4, 2006 ... Just to say thanks for posting the SWFLoader
example, the ONLY one on the ... controlling frames using the
movieclip details via SWFLoader.
Link:
http://www.bridel.org/?p=9
All Classes (Flex 3):
mx.skins.halo, The skin for the border of a SWFLoader or
Image component when ..... mx.core, FlexMovieClip is a subclass of
the Player's MovieClip class.
Link:
http://livedocs.adobe.com/flex/3/langref/class-summary.html
Cannot load the SWFLoader content in a movieclip - Flex
India:
May 17, 2007 ... implementation of movieClip class in as2 is
different from as3. ... Im just trying to load a .swf in flex. Im
using SWFLoader
Link:
http://groups.google.com/group/flex_india/msg/85ec872c7d94851a
S (Flex 3):
SWFLoader. A flag that indicates whether to scale the content
to fit the ..... for the content in the browser, such as
'www.adobe.com' or 'www.example.org'.
Link:
http://livedocs.adobe.com/flex/3/langref/all-index-S.html
SWFLoader gotoAndStop [Archive] - ActionScript.org Forums:
Jun 27, 2006 ... [Archive] SWFLoader gotoAndStop Flex 2 &
3. ... Is there any way that it is possible to cast the movieclip
to flash 9 movieclip?
Link:
http://www.actionscript.org/forums/archive/index.php3/t-109586.html
Disclaimer: This response is generated automatically by the
Adobe NewsBot based on Adobe
Community
Engine. -
How to access properties of symbols in loaded SWF?
I'm making the migration from Flash to Flex, but I'm running
into a dead end on one particular area: accessing and manipulating
properties of symbols in a loaded SWF.
The SWF is actually a simple library of a detailed parts
illustration. I would like to load the entire SWF in position, and
be able to change the attributes (i.e. colors) of individual
symbols (or parts of the illustration). I can load, display and
manipulate each symbol separately, but I need the parts to remain
in place.
The original art was created in Illustrator and exported as
SWF using the symbols palette.
I can always go back to Flash, but I'm forcing myself to move
forward and do this project in Flex (baptism by fire!!).
Is there some sort of dot notation to access the symbols from
within the SWF, without loading them all separately?
Let me put this another way: it appears that I can load an
SWF and then instantiate each symbol in that SWF, and then load
each symbol to the 'stage' (or whatever it's called in Flex)
separately.
I can certainly instantiate each symbol separately, and then
align it on stage, but it seems to me to be bass-ackward to do it
that way, expecially since I created the original SWF with
everything in position.
Is there no way to access the attributes of the individual
symbols within an SWF without separately instantiating them?
I'm just having trouble getting my head around this. Any help
is greatly appreciated.Okay, I took a look at this info and it's what I was already
doing.
Here's a simplified example of what I'm trying to do, using
the example in the swf9.pdf file.
Let's assume I've created a SWF with a "BlueSquare" movieclip
(in the symbols panel in Flash, exported for AS). In that clip,
there is another symbol called "Star". I import the SWF and
BlueSquare symbols in with the following code:
<mx:Script>
<![CDATA[
[Embed(source=”../assets/circlesquare.swf”)]
[Bindable]
public var LogoCls:Class;
[Embed(source=”../assets/circlesquare.swf”,
symbol=”BlueSquare”)]
[Bindable]
public var LogoClsBlueSquare:Class;
</mx:Script>
If I instantiate the BlueSquare on stage, it includes the
Star symbol when previewed, but I can't figure out how to get at
the Star symbol to change color. If I apply a color change to the
symbol, it changes the entire BlueSquare symbol.
If I instantiate the Star symbol separately, I can then
position it on the stage and make changes, but that requires
positioning it with actionscript. I'm trying to not have to
position a sub-element of my actual artwork because of it's
complexity.
I'd like to display the main movieclip (or sprite) with the
ability to access the attributes of a sub-movieclip or
sprite. -
How to access properties from portallapp.xml in jsp file
<b>portalapp.xml</b>
<property name="SupportUrl" value="http://sapdp1ci.zrh.swissre.com:53000/irj/portal?navigationtarget=navurl://8f7e974723098424468c8ae903228c0e">
<property name="personalization" value="dialog"/>
<property name="plainDescription" value="Support Desk Link URL"/>
<property name="category" value="Navigation"/>
</property>
<b>jsp code</b>
private String getSupportUrl(IPortalComponentRequest request)
IPortalComponentContext myContext = request.getComponentContext();
IPortalComponentProfile profile = myContext.getProfile();
String supportDeskLocation = profile.getProperty("SupportUrl");
//String supportDeskLocation = (String)request.getNode().getValue(SUPPORT_URL);
return supportDeskLocation;
but supportDeskLocation is coming as null.
Please help me in solving the issue.
Points will be awarded
thanks
balaHi Michal,
How are you?
I´m trying to access a property from portalapp.xml and I have in the right place according to your post and here is my code to retrieve it:
String value = (String)request.getNode().getValue("MyLogoffUrl");
Did you activated something or did something else so your property could be reached by the JSP?
It is just returning null in my case.
Thanx in Advanced!
Kind Regards,
Gerardo j -
Accessing properties of some other iView through PAR
Hello Everybody!
Can anybody tell me how to access properties of other iViews in my PAR code?
Suppose i have created a PAR file and i want to access some properties of an iView which are made out of some other PAR or may be out of the box. I want to use the other iViews properties in my current new iView. may be i will have to give the PCD Id of the iView and the property name which i want to access..
Can this be done? if yes then how?
Urgent help will he appreciated
Regards
GauravHi Prakash,
I had tried to change the property by using
iprofile.setAttributeValue("TCode","VA01");
iprofile.store();
but it is not getting reflected in the iview,the iview is running the same TCode described during its creation.
any other things to be made.
my requirment is not to change for ever the property .change has to reflect only to the particular user for his session.
thanks,
-Krishna -
How to access custom properties in .vm file
Hi,
I have created custom property for screen using File -> Project Properties.
This property apply to one of my screen.
If I want to access the value of the custom property in .vm.
How to access that value. I tried using screen.getTest() but it doesn't return anything for me.Hi Peter,
I followed the steps.
1)created custom property
2)assign that custom property using right click on screen and assign some value
eg. custom property name - Test
and value as "abc"
i need abc in vm file.following my vm file
it's not working
<input type="text" id="a1" name="a1" value="${screen.getProperties().get("Test")}" tabindex="6" size="30" >
#set ( $value = $screen.getProperties().get("Test") )
<input type="text" id="a1" name="a1" value="$value" tabindex="6" size="30" >
#if( ${control.isVisible()})
#if( ${control.getButtonClass().equals("submit")} )
<input class="btn" type="button" value="Back" tabindex="#tabIndex()" onclick="javascript:back()">
#end
#if( ${screen.getProperties().get("Test").equals("mahesh")} )
<input class="submit" id="submit" name="submit" type="submit" value="Submit" alt="Submit" tabindex="12">
#else
<input class="${control.getButtonClass()}" id="${control.getEncodedID()}" name="${control.getId()}" type="submit" value="${control.getText()}" alt="${control.getText()}" tabindex="#tabIndex()">
#end
#end
#if( ${control.getButtonClass().equals("submit")} )
</div>
#end
Edited by: 848231 on May 18, 2011 3:00 AM -
How to access custom property for attribute and control in .vm file?
Hi,
I have created custom properties in OPM for attribute and apply also that properties to attribute.
But if how to access that value in .vm file?
I accessed using
$attribute.getProperty("ScreenProp", "default value")
but it's not working but same is worked for screen custom property$control.getProperties().get("PropertyName") works for custom properties on a control
If you output $control and $control.getProperties() to the html you can lookup the API for the used classes.
I can't give an example of the html because it's stripped in this forum
Edited by: Peter van de Riet on 20-mei-2011 14:18 -
how do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the online photoshop, and I really want to create my own customized url and post photos to my gallery and share them with the world, family, and friends, but i need help because i can't figure how to do any of this, would really appreciate feedback and assistance, thanks, - claire conlon
To add to sig's reply, "calibrating" does not calibrate Lithiu-Ion batteries, it calibrates the charge reporting circuitry. If you look at the effect of deep discharging Lithium-Ion batteries in the data from the independent test group, Battery University, you will see that doing so shortens the life of the battery significantly. It looks like an optimum balance between use and life is at a discharge level of 50%.
-
Why can't I access properties nor add to the tags in picture properties when in photo viewer or at all?
Not sure why you didn't get it when the other guys did, it seems you want to be sure to point out how stupid my question is instead of trying to make sense of it. I'll reply to clear things up also in hopes you might be a bit more corteous when replying to something you are obviously missing, as two separate individuals have already posted clear answers.
-Why would you preview in the store if the item is in your library?
Because there is no preview option in the library, thus my question
-Find the album, select the first song then press Play.
As I said in my question, I want a preview from the middle. More often than not it will take time to get to the point where the song actually starts/drops
-When you decide you like it or not, rate it/add to a playlist then skip to the next song.
-Preview All is the same as skipping thru all songs on an album.
No, Preview All is automatically scanning through each song one by one playing an excerpt, it completely different.
-Something comes up? Run to your Mac?
I can understand your confusion on this bit - when a song plays that I like, I can return my focus to my mac and rate or add that particular song. You must understand that people listen to music while doing other things, and given the MBP has speakers, it is safe to say I may not be tethered to it with headphones while listening. -
How to access custom attribute value on the timecard at runtime
I have created 2 attributes; Project and Task.
Once a employee selects the Project from the Projects custom LOV I want the Task LOV to display only the tasks related to that particular project.
How to access the PROJECT_ID during runtime which the user selects from Projects LOV?Hi
I have added the below text in the ldt file.
But its not working? Any suggestions?
What may be going wrong?
# CSR Project List
BEGIN HXC_LAYOUT_COMPONENTS "XXCSR1 Payroll Timecard Layout - Project"
OWNER = "CUSTOM"
COMPONENT_VALUE = "XXCSRPROJECT"
REGION_CODE = "HXC_CUI_TIMECARD"
REGION_CODE_APP_SHORT_NAME = "HXC"
ATTRIBUTE_CODE = "XXCSR_HXC_TIMECARD_PROJECT"
ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
SEQUENCE = "211"
COMPONENT_DEFINITION = "CHOICE_LIST"
RENDER_TYPE = "WEB"
PARENT_COMPONENT =
"XXCSR1 Payroll Timecard Layout - Day Scope Building blocks for worker timecard matrix"
BEGIN HXC_LAYOUT_COMP_QUALIFIERS "XXCSR1 Payroll Timecard Layout - Project"
OWNER = "CUSTOM"
QUALIFIER_ATTRIBUTE_CATEGORY = "CHOICE_LIST"
QUALIFIER_ATTRIBUTE1 = "Custom1VO"
QUALIFIER_ATTRIBUTE4 = "N"
QUALIFIER_ATTRIBUTE5 = "15"
QUALIFIER_ATTRIBUTE6 =
"XxcsrProjectId|Projects List|RESULT|N"
QUALIFIER_ATTRIBUTE10 =
"oracle.apps.hxc.selfservice.timecard.server.Custom1VO"
QUALIFIER_ATTRIBUTE20 = "N"
QUALIFIER_ATTRIBUTE21 = "Y"
QUALIFIER_ATTRIBUTE22 = "L"
QUALIFIER_ATTRIBUTE25 = "FLEX"
QUALIFIER_ATTRIBUTE26 = "Projects List"
QUALIFIER_ATTRIBUTE27 = "Attribute1"
QUALIFIER_ATTRIBUTE28 = "Projects List"
END HXC_LAYOUT_COMP_QUALIFIERS
END HXC_LAYOUT_COMPONENTS
# CSR Project List
# CSR Task List
BEGIN HXC_LAYOUT_COMPONENTS "XXCSR1 Payroll Timecard Layout - Task"
OWNER = "CUSTOM"
COMPONENT_VALUE = "XXCSRTASK"
REGION_CODE = "HXC_CUI_TIMECARD"
REGION_CODE_APP_SHORT_NAME = "HXC"
ATTRIBUTE_CODE = "XXCSR_HXC_TIMECARD_TASK"
ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
SEQUENCE = "212"
COMPONENT_DEFINITION = "CHOICE_LIST"
RENDER_TYPE = "WEB"
PARENT_COMPONENT =
"XXCSR1 Payroll Timecard Layout - Day Scope Building blocks for worker timecard matrix"
BEGIN HXC_LAYOUT_COMP_QUALIFIERS "XXCSR1 Payroll Timecard Layout - Task"
OWNER = "CUSTOM"
QUALIFIER_ATTRIBUTE_CATEGORY = "CHOICE_LIST"
QUALIFIER_ATTRIBUTE1 = "Custom2VO"
QUALIFIER_ATTRIBUTE4 = "N"
QUALIFIER_ATTRIBUTE5 = "15"
QUALIFIER_ATTRIBUTE10 =
"oracle.apps.hxc.selfservice.timecard.server.Custom2VO"
QUALIFIER_ATTRIBUTE14 =
"HxcCuiTaskProjectId|PROJECT|Y"
QUALIFIER_ATTRIBUTE15 =
"pro_id = ::XxcsrProjectId"
QUALIFIER_ATTRIBUTE20 = "N"
QUALIFIER_ATTRIBUTE21 = "Y"
QUALIFIER_ATTRIBUTE22 = "L"
QUALIFIER_ATTRIBUTE25 = "FLEX"
QUALIFIER_ATTRIBUTE26 = "Projects List"
QUALIFIER_ATTRIBUTE27 = "Attribute2"
QUALIFIER_ATTRIBUTE28 = "Task List"
END HXC_LAYOUT_COMP_QUALIFIERS
END HXC_LAYOUT_COMPONENTS
# CSR Task List
########################################################### -
PLEASE HELP. How do you access properties files in WEB-INF and classes directory
We have a war file that needs to access properties files that are in the WEB-INF directory
of the war file. We also need to load one of the properties files from the classpath.
However, when we deploy the application ( an ear which inlcludes an ejbjar and a
war and the libraries both the ejbjar (with a manifest setting the classpath ) and
war need ) the properties don't get extracted.
In some of our servlets we are trying to access those files with the path "WEB-INF/foo.properties"
and we get a FileNotFoundException. Then we check and see that NO properties files
have been extracted into their appropriate places ( not even those we throw into
the WEB-INF/classes directory ).
PLEASE HELP,
Christian HargravesThe file doesn't have to be extracted from the war. For example, you can place
test.properties into your app WEB-INF and write a simple JSP to see how it
works:
<%
InputStream in = application.getResourceAsStream("/WEB-INF/test.properties");
%>
It will return you a zip inputstream if you deployed your application as a .war.
Christian Hargraves <[email protected]> wrote:
I try this, but I get a NullPointerException. The file never actually gets extracted
from the war. Under tomcat and resin this works great ( that's why I am having all
of the trouble i am having ), but there are absolutely no properties files in the
extracted directories for WebLogic deploys. only:
WEB-INF/some_tmp_dir/WEB-INF/lib
and then some dynamically generated jor file with all of the classes that would normally
go in WEB-INF/classes ( all except the properties, of course, which are no where
to be found. ).
There has to be some kind of setting I am missing. Please don't make me seperate
these properties files from the war/ear and then put the path to these properties
files in the CLASSPATH, changing one step to three steps to deploy!!
I have found a documented bug where you can't even put the properties files in a
jar file and that bug will never be fixed for WebLogic 6.1.
"Dimitri I. Rakitine" <[email protected]> wrote:
To access files in WEB-INF you can use ServletContext.getResourceXXX("/WEB-INF/filename")
Christian Hargraves <[email protected]> wrote:
We have a war file that needs to access properties files that are in theWEB-INF directory
of the war file. We also need to load one of the properties files fromthe classpath.
However, when we deploy the application ( an ear which inlcludes an ejbjarand a
war and the libraries both the ejbjar (with a manifest setting the classpath) and
war need ) the properties don't get extracted.
In some of our servlets we are trying to access those files with the path"WEB-INF/foo.properties"
and we get a FileNotFoundException. Then we check and see that NO propertiesfiles
have been extracted into their appropriate places ( not even those wethrow into
the WEB-INF/classes directory ).
PLEASE HELP,
Christian Hargraves--
Dimitri
Dimitri -
How can i access properties from APP server through JNLP with ot using JAR
Hello
i want to retrive a Properties file from WL-7 app installed location like :bea/home/externalized.properties
now i want to use this properties file throgh out the application. if any property is changed in "externalized.properties" that could be reflect dynamically in my code.
So my requirement is :
The current implementaion is using the JNLP down load the required code which contains the properties in .jar files, i have around 500 properties which are embedded in differnet .jar files with differnt property name. So i want to make all 500 properties to get out side from the jar files. and keep that consolidated properties in a single location and access it dynamically after deployed my ear file in wl7 app server.
my application is implemented in SWING and EJB now i want to create an ear file which can be deployed any instance or cluster of WL7 app server.
My Q:
1. How can i access properties file through JNLP? (not a single property, want to access all properties in externalized.properties)
2. is thare any known issue with SUN to load properties file through JNLP?
your help is highly appreciated.
-SivaHey Thanks for your response,
My question is Still not answered,
see infact i have different type of environments to launch my application.
infact my weblogic is deployed at remote location whihch is installed in linux,
code is exist in our local system.
At the time of code build for my local system i'm not able to get the properties from remote WL server,
so at the time of code compilation and making the EAR file i'm not having this externalized properties file in newly generated EAR file.
so once i copied my EAR in to WL7 cluster and i'm running the application using startAdminserver.sh, in this script file i'm defining the
java -DexternalizedProperty=$WL_HOME/externalizedProperty.properties so now i'm able to get this properties to 'externalizedProperty"
But when i download my application required jars, at this time i does not having the property file in my downloaded JAR files.
So i want to access the remote properties file in suh sistuation.
now i'm runnig the application at my local side to launch and Server side as well.
So i have 2 runtimes 1 is my local and another is my server. In this case using "-DexternalizedProperty" i'm able to get this in server side,
once control is come to local system it is not able to find this "-DexternalizedProperty" [externalizedProperty].
Hope now u get my scenario..
Thanks, -
How to access the Custom Data type variable given in Expression edit control To and From LabVIEW
Hello, I would like to know how to access the custom data type variable given in the Espression Edit Control from LabVIEW and vice-versa
Say, the FileGlobals.Reference_Handle (Custom Data Type Variable) contains the
VISA I/O session (Which in turn contains VISA_DeviceName: String, Session: Number),
Channel1: Number and
Channel2: Number
I am expecting the user to give FileGlobals.Reference_Handle as the input at the ExpressionEdit Control in the edit screen of the VI Call.
I would like to know how to get the values of this custom data type to LabVIEW?
Say, if I have the Cluster in LabVIEW like VISA I/O session (Deive Name and Session Number), Channel1 and Channel2
how do i need to set this cluster to the Custom Data type variable in TestStand?
Thanks and Regards
PrakashHi,
TestStand to LabVIEW: i didnt understand what you r trying to achieve. But if you are using references, Use Property nodes and Invoke nodes to achieve what you want in LabVIEW.
LabVIEW to TestStand: check the image below: You need to click the button next to 'container'. I have used a cluster output in the VI.
Hope this helps
.......^___________________^
....../ '---_BOT ____________ ]
...../_==O;;;;;;;;_______.:/
Attachments:
1.JPG 187 KB -
How to access the Document Options dialog box to select display properties?
How to access the Document Options dialog box to select display properties (e.g. smartcut ) for a selected document to
be viewed in the Workspace.
regardsPreferences --> General --> Reset all warnings.
Mylenium
Maybe you are looking for
-
COPA Re-alignment fro new value field
Hi, I would like to know if the COPA realignment would popolate the values for a new value field for the past transactions. Regards Venkata Devaraj
-
Profit Center in Customer and Vendor Line item
Hello Guru i have one doubt we have activated the new GL in one of client for profit center level. while posting through any of financial transaction particularly customer and vendor there is no filed for input parameters for profit center. while boo
-
Attachments will not open on iPad 2
I cannot open attachments that are embedded in emails nor attachments on web pages. I can open the same attachments on my iPhone 4. Is there a fix for the iPad?
-
Complex JDOQL expression does not work. Or maybe I'm doing something stupid?
Hi! I have several related objects: Customer, Contract and AccessKey. Each Customer has 1-to-many relationship with Contracts (so it can have several contracts) and each Contract has 1-to-many relationship with AccessKeys (so that contract can have s
-
Iphoto '14 and 10.8.5
Hello, I have an old iMac from mid 2007 that I use for media storage and it is running 10.8.5 and will not let me upgrade to 10.9. However, it let me update to iPhoto '14 and iWorks '14 and now none of them work as they are only compatible with 10.9