Losting the Control Reference
I have a jpf and web service using a Tuxedo control. In some situations, the reference
to var
of the tuxedo control is set tu null in the JPF . The reference to the same control
in the WS is working OK.
Any help will be welcome
You have a control on your front panel named "reference" which is connected to the connector pane on the wrong side.
The "^[Rr]ef" means that LabVIEW looked for any control starting with "ref", or "Ref". The (UL) means Upper Left. Just look at the Analyzer setup under "Terminal Connections" or something like that.
Richard
Similar Messages
-
I've lost the control of Apple ID.
Hello,
Firstly please be indulgent with my english if he isn't correct
I come here because I've a probleme since some months.
I've lost the control of my apple, so I lost my gamecenter, my purchases, my apps, my mail account, etc.
I created a new for the moment, but I would really like to retrieve old.
But when I wan't to use Apple ID iForgot, I'm really scared because I realize that my date of birth has been changed, and I can guess the same thing for my personal questions...
If I use the service "reset your apple id by mail", i don't receive any mail on my mail account that I had set. So I guess that my mail account for backup/rescue is changed.
So I would like to contact Apple and explain my problem. Is it possible to provide some infos like the serial number of some devices I used with this account ?
For example I can give the S/N of 2 iphone 5, one iphone 5s, a Macbookpro, and iPad 2
Or give some invoice of purchases ? (if I can find them...)
Thanks !Go to https://getsupport.apple.com ; click 'See all products and services', then 'More Products and Services, then 'Apple ID', then 'Other Apple ID Topics' then 'Apple ID account Security'.
-
I have created a video with a control bar in Flash 8. When I run the .swf file by itself (in Flash player or IE) the control bar is there but when I add it to my web page the control bar is missing. Can anyone help please?
My embedding code is:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="492" height="360" title="Samaritans">
<param name="movie" value="docs/video1.swf" />
<param name="quality" value="high" />
<embed src="docs/video1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="492" height="360"></embed>
</object>That is old-style embedding code which might not work for all browsers. So if you want to address that aspect then you should consider looking into making use of swfObject embedding which is available thru the following link...
http://code.google.com/p/swfobject/
Aside from that, since you are loading the swf from a different folder than where the html page is, that could be the source of your problem if you have not coded the swf to work in that file structure. When you embed an swf into an html page, the html page becomes the reference basis for any files that the swf tries to load. So if you have not done so, your swf needs to target any files it loads as if it is sitting in the same folder as the html page... it does not have to be in that folder, but it does have to act like it is since when it is loaded into that html page it is as good as living there anyways. -
My daughter seems to have changed my iTunes...I no longer have the controls...to play, pause and alter the volume...I can't seem to see how to change it back to the typical default settings...
Any advice?Sorry I'm not trying to be rude here, but are you purposely trying to be as nondescript as possible? Perhaps you can just post a screen shot, so it doesn't take 10 posts to find out what were actually looking at. cmdshift3 = take a screenshot (at any time) of the entire screen.
-
I have lost the control panel for adjust shadows/highlights in PSE 7.0
When I select Enchance-> Adjust Lightning -> highlight/shadow I do not get the ordinary control panel. Instead I get an eydropper and if I click the image the program stucks. Does anyone know how I can fix this?
/Hans BrodinTry resetting the Editor's preferences:
http://www.johnrellis.com/psedbtool/photoshopelements-6-7-faq.htm#Delete_the_Editors_prefe rences -
LSO 300 - Flash file we lost the control button
Hi ,
The E-course has the Flash commands play, pause, ... we the course is played in the AE we can see the commands , when the course is played in the Learning Portal (Content Player) the commands are no more displayed ? Any idea .
Regard'sHi
Check out that correct flash Plugin and Java version is installed on the server. Sometimes when required Java Version for LSO is not used , these kind of problems occurs while playing a course on the portal.
Regards
Waz -
Cluster of control references: want to access the control value
I want to be able to save and set control values that are saved (XML). I have my controls on about 5 sub vi's. So I thought it'd be a good idea
to put all the control references in a cluster from the several sub vi's and save and read from one point.
I can get the cluster values (i.e. the references to the controls), but how to proceed from here? If somebody has a better idea it is very welcome.
I have also read Ben's nugget here, but it deals with references to controls in a cluster, not references to a reference of a control in a clusterThank you for reading that Nugget!
I use a GUI Controller in many apps so I can grab refs in sub-VI's.
Here are some screen shots of them in use.
The first "GUI Cnt" is a wrapper around the AE and invokes the action "Set Analysis mode" then another call let me get a cluster of the refs so I can choose based on the name.
This image shows what that action does.
THis is what happens when going into collection mode.
That is a small set of what you will find in my image gallery Feel free to browse (yes I know there is a lot of Olivia in there ) and ask if anything catches your interest.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Why needs the first reference much more time to close than all others?
Hi all,
I am facing a strange problem with closing an array of references.
A few words to my environment:
I can load dynamically VIs into a subpanel sitting on my main VI but if I unload and reload Visa I need to close my Visa properly, not just by stopping.
Therefore I wrote a closingVI which is attached. In this VI I look for a "Stop" button and send a true by signaling.
The problem now is that the very first reference in the "Control[]" needs around 40seconds to close, all following refs just need <1ms! By the way, the array size is just about 24 and it is independent which ref comes first.
In addition to that the problem just occurs when the VI runs longer than 10 minutes, which doesn't makes any sense to me.
Do you have any suggestions?
Stay Hungry, Stay Foolish
Attachments:
Capture.PNG 15 KBBenjamin_ wrote:
The problem now is that the very first reference in the "Control[]" needs around 40seconds to close, all following refs just need <1ms!
I don't know what you are referring to here. You are closing all of the Control references in a single node. Are you saying it takes that long for the Close Reference for the entire array?
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Difference control refnum and control reference
Hi guys.
I am new on labview reference, can you explain difference between control refnum and control reference.
Gary WangAre you sure you don't mean "refnum control"? That is a front panel control that can be selected as a reference to any one of several data types such as application, VI (including strictly typed), control or indicator. Whereas the "control reference" is a block diagram object that points to a specific control on your front panel (it can also be "linked" to other objects so it is similar to a "refnum control" in that respect).
“A child of five could understand this. Send someone to fetch a child of five.”
― Groucho Marx -
Main VI stops when using control references.
Hi, This is my first question on this forum. I've created an engine simulation VI which uses control references. The main VI has a data acquistion loop and control references. The control references link to another VI that runs an equation loop which continuously calculates engine speed base on data collected in the main VI. The control references work but the main VI data is collected and updated only once when the main VI starts. If I remove the control references from the main VI the daq loop runs fine. Thanks in advance for your help.
MikeJoe,
Thanks for the response. I do not load the subvi dynamically. I have attached a similar vi to show what I'm trying to accomplish. The DAQ vi reads the input and calculates the power. The power is sent to the "engine momentum sub" vi where the speed, as a function of time, is generated and sent back to the DAQ vi. I created the sub vi to clean up and isolate the DAQ vi from the subvi. I wanted the sub vi to run at a certain speed (by adjusting the wait time)and not affect the DAQ vi. If you input a value of 10 into the DAQ vi and then start it you will see the speed ramp up to 100. While the DAQ vi is running, I need to be able to change the input which would cause the power to change and in turn change the speed. I thought the control r
eferences were the way to go. In my real DAQ vi, I have many more inputs, all which do not update after the first reading. I considered putting the DAQ functions in another subvi and reading the outputs through control references but that seemed too cumbersome.
Thanks again,
Mike
Attachments:
DAQ.vi 27 KB
Engine_Momentum_Sub.vi 33 KB -
Control references and XY graph
hi there,
I was wondering if somebody can help me with passing data to a " XY graph
" not waveform graph [ in a main VI ]
from a sub vI using the concept of a control reference..
p.s: I dont intend to flatten data .
It works fine with waveform graph but there is nothing to show ( even
examples ) me how to do it with XY
graph.
thanks.
ananthIn the example, why is the control reference outside the case statement, since the graph
is only updated when plot=true the ref belongs inside or did I miss something?.
ananth wrote:
> thanks
> and you said it right. that was the problem.
>
> "John Lum" wrote:
> >>>I was wondering if somebody can help me>>with passing data to a " XY
> graph" not>>waveform graph [ in a main VI ] >>from a sub vI using the concept
> of a>>control reference.. >>I don't see any problems here using LabVIEW 6.0,
> and I'm wondering if you're>having trouble with a Variant input or something.>>Here's
> an example of a subVI that spits data into a main VI's XY Graph by>way of
> a control reference>ftp://ftp.ni.com/incoming/xy.zip>>Regards,>John Lum>Na
tional
> Instruments -
Determine if a control reference is a strict type definition
If a VI is passed a control reference it can determine the VI Server Class using the ClassName property but how can it determine if the control reference is from a control which is based on a strict type definition?
That a pretty neat little VI you've found, Darren. Kudos!
The solution that Darren presents, however, will not tell the difference between a typedef and a strict typedef (unless I'm missing something). If you have VI Scripting enabled (see attachment for where to enable this in the Options menu), you can expose the Is Typedef? property.
This returns an enum with the following values (as pictured)
not a typedef
typedef
strict typedef
class private data
Although this property is not settable in a VI at run-time, it should be readable.
Below is a picture of the Options menu where you can enable VI scripting
Mitch
Attachments:
VIScripting.PNG 33 KB -
Getting control references which are in tabs
Hello,
In a labview vi, we can successfully get all the control references, including references to tab controls. We would also like to get at the control references of controls which are contained within the tabs. We've been hunting around the methods/properties of the vi pane references (where we found the controls[]) reference, and can't seem to find how to access the control references within tabs. Does anyone know the method/property to do this?
Thanks
David JenkinsonThe Pages property will return a 1D array of references to each page. Then you can autoindex this to get the controls for each page reference:
-
Using control reference with a Sub-vi over a TCP VI Server connection
I tried to use a Call by Reference Node to run a sub-vi on a remote PC through a TCP VI Server. An output of the sub-vi is connected to an indicator in the main vi using a control reference.
The sub-vi started on the remote PC, but the information from the sub-vi was not passed to the control reference in the main vi. However, if I change the client name to the host PC, ie. running the server and client vi on the same machine, the code works as planned. I wonder if control reference is not suppose to work over a TCP VI Server connection?
Any suggestion would be very much appreciated.
Regards,
Calvin Tsang
Attachments:
main_vi.vi 29 KB
sub_vi.vi 20 KBThank Jean-Pierre for pointing out that Refnums are local to an application and so control reference doesn't work between different applications on separate machines.
In addition to the method shown in Jean-Pierre's example vi, I found that the use of "invoke method: GET control value" and "invoke method: SET control value" can produce similar results. See the attached files for an example. In this example, the indicator on the local vi is used to monitor the progress of the remote vi and the local control is used to stop the remote vi. So the data synchronisation between the two vi is not important here.
However, you may notice the indicator "current counter" in main1_vi.vi doesn't properly interpret the binary string from "invoke method: GET control
value", can someone shed some light on this, please?
Calv
Attachments:
main1_vi.vi 48 KB
sub1_vi.vi 13 KB -
Closing control[] reference
If I have a main VI that calls sub-VI's, and I pass the control[] refereces of the controls in the main VI to the sub-VI. Should I use a for loop to close the control[] reference? And should I close the control[] referece in the main VI or the sub-VI?
My understanding of what you are doing is building an array of the control references in the main vi to pass to the sub-vis. Is this correct? If so, why not bundle the references instead? This way you could easily pull out the required reference by name.
Aside from that, if you are passing references to the front panel objects you shouldn't need to close them at all. The following links should be useful in helping you to understand when to close references:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000834C0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=closing+references&USEARCHCONTEXT_QUESTION_S=0
http://www.ni.com/devzone/lvzone/dr_vi_archived4.htm
Hope that helps.
John
Maybe you are looking for
-
After installing the XSQL servlet I cannot get the demos to work properly. This is the message I get in the "Airportcode validation": Response from HTTP Request for airport.xsql?airport=got - <xsql:query xmlns:xsql="urn:oracle-xsql" connection="demo"
-
Declare variables in an MDX query
Is it possible to declare variables in an MDX query like transact sql? something like this: DECLARE @date1 date DECLARE @month1 int set @date1 = '12-12-2012' set @month1=DATEPART(m, @date1)-1 select @date1 as dt1, @mesreferencia as mt1
-
Hi everyone, there is something weird in my mbp. Recently I opened the appstore and there was an update but when i tried to update the app a window told me that update are available for this account. The problem is that i'm the only user of this mach
-
Adobe Premiere Pro CS6 Video Playback Problem/Bug
I have been editing a video for the past few weeks, but recently, after I have been editing for a few minutes, all of a sudden my video won't play in the playback window. When I hit the play button (or the space bar) it does nothing - just sits there
-
Vector Mask won't link to Smart Object
When I apply a vector layer mask to a Smart Object the mask won't link to the SO layer. Is there a way to force it to link? I can't resize or move them at the same time, which is driving me crazy.