Show/Hide sensor in sensor mapping express VI
Hi all,
I'm using and modifing Sensor mapping express VI to develop my application.
I tried to hide/show sensors but without success.
Is there a property node or invoke node to show/hide 3d scene objects?
Hi Fourier,
I don't think there is the possibility to hide/show sensor in Express Sensor Mapping.
While you configure your express VI you need to select sensor in order to map to a model, and reconfigure the Express VI again non in Run-time in order to add/remove sensor.
I'll try to look for a solution, and if I'll find it, I'll forward it to you. But I didn't find any helpful informationsyet .
Best Regards.
Claudio
NI ITALY
AE Dept.
Similar Messages
-
Sensor Mapping Express VI's performanc​e degrades over time
I was attempting to do a 3d visualization of some sensor data. I made a model and managed to use it with the 3d Picture Tool Sensor Mapping Express VI. Initially, it appeared to work flawlessly and I began to augment the scene with further objects to enhance the user experience. Unfortunately, I believe I am doing something wrong at this stage. When I add the sensor map object to the other objects, something like a memory leak occurs. I begin to encounter performance degradation almost immediately.
I am not sure how I should add to best add in the Sensor Map Object reference to the scene as an object. Normally, I establish these child relationships first, before doing anything to the objects, beyond creating, moving, and anchoring them. Since the Sensor Map output reference is only available AFTER the express vi run. My compromise solution, presently, is to have a case statement of controlled by the"First Call" constant. So far, performace seems to be much better.
Does anyone have a better solution? Am I even handling these objects the way the community does it?
EDIT: Included the vi and the stl files.
Message Edited by Sean-user on 10-28-2009 04:12 PM
Message Edited by Sean-user on 10-28-2009 04:12 PM
Message Edited by Sean-user on 10-28-2009 04:16 PM
Solved!
Go to Solution.
Attachments:
test for forum.vi 105 KB
chamber.zip 97 KBI agree with Hunter, your current solution is simple and effective, and I can't really visualize a much better way to accomplish the same task.
Just as a side-note, the easiest and simplest way to force execution order is to use the error terminals on the functions and VIs in your block diagram. Here'a VI snippet with an example of that based on the VI you posted. (If you paste the image into your block diagram, you can make edits to the code)
Since you expressed some interest in documentation related to 3D picture controls, I did some searching and found a few articles you might be interested in. There's nothing terribly complex, but these should be a good starting point. The first link is a URL to the search thread, so you can get an idea of where/what I'm searching.You'll get more hits if you search from ni.com rather than ni.com/support.
http://search.ni.com/nisearch/app/main/p/q/3d%20picture/
Creating a 3D Scene with the 3D Picture Control
Configuring a 3D Scene Window
Using the 3D Picture Control 'Create Height Field VI' to convert a 2D image into a 3D textured heigh...
Using Lighting and Fog Effects in 3d Picture Control
3D Picture Control - Create a Moving Texture Using a Series of Images
Changing Set Rotation and Background of 3D Picture Control
Caleb Harris
National Instruments | Mechanical Engineer | http://www.ni.com/support -
How can I view the color ramp in LV 8.6 sensor-mapping express vi during run-time?
Hi All,
I've been using the sensor mapping express VI that is new in LV 8.6. When I place the express vi in my block diagram of my main vi I get the normal 'express' style configuration dialog. As a part of the configuration there is a really nice 'color-ramp' control where I can configure ranges; max; min; out -of-range colors and so on.
What I would like to do is have the color-ramp control appear as a control on my main vi's front panel. After I convert the express VI to a regular VI I can't seem to find the connection to this control. Although I have found the sub-vi that the expressvi uses in an .llb here:
C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\express\express 3d picture\SensorConfig.llb
Can anyone point me in the right direction to do this? I get so deep into all the sub-vi's I end up getting lost-haha!
Thanks - PaulThe characteristics of the color ramp (max, min, colors) are all part of a "colorrampstuff" cluster that is inside the Sensor Mapping express VI. In order to change those values for the express VI, you will need to create a custom express VI that provides you with inputs to this cluster. This is done similarly to creating a subVI. Then you can use a variety of methods to write to the elements in this cluster and change them while the program is running.
It may be easier to place numeric controls on the front panel that write directly to the elements in the cluster than to use a color ramp as a control.
Will
Certified LabVIEW Architect, Certified Professional Instructor
Choose Movement Consulting
choose-mc.com -
LabVIEW crashed while loading Sensor Mapping Express VI
Dear all,
I've just installed LV8.6 evaluation with all the toolkits available in the DVD. I have two problems now, one major and one minor:
1. Whenever I tried to use the Sensor Mapping Express VI, LabVIEW crashed with the pop-up window saying that "LabVIEW 8.6 Development System has stopped working". When I expanded Window's error pop-up, the message as can be found below. The same error occurs whenever I tried to load the sensor mapping demo I downloaded from the Developer Zone. I'm using Dell Inspiron 640m, by the way. When I tried with another Dell laptop (Dell Vostro), everything was alright.What I've done so far is to uninstall all NI's softwares inside this laptop, defrag, clean the registry and then reinstall LV 8.6 again but to no avail.
Error message:
Problem signature:
Problem Event Name: APPCRASH
Application Name: LabVIEW.exe
Application Version: 8.6.0.4001
Application Timestamp: 4862fd60
Fault Module Name: ig4dev32.dll
Fault Module Version: 7.14.10.1147
Fault Module Timestamp: 457ef11c
Exception Code: c0000005
Exception Offset: 000063b2
OS Version: 6.0.6001.2.1.0.768.2
Locale ID: 17417
Additional Information 1: da97
Additional Information 2: 7a880e72b9f1636f81b04947e06e5c6a
Additional Information 3: 09b4
Additional Information 4: 56e138085db0c350e7bf46ba31a7691f
My computer specs are:
OS: Windows Vista Home Basic
RAM: 1.5 Gb
Harddisk: 10Gb free (after LV is installed)
Processor speed: 1.6 GHz Dual Core
Anti Virus: Kaspersky Internet Security
2. This is minor but still an annoyance. Whenever I tried to load my newly installed LabVIEW 8.6, it takes about 10-15 minutes before I got the Getting Started window. This includes the 5 minutes waiting period before I got the window stating how many days left for evaluation. This wasn't the case when I used LabVIEW 8.5.1 (even when every toolkits and modules are installed). Why so long?
I've asked the local NI engineers but they are also clueless.Hi Lan,
Thanks for your post and I hope your well today.
1) You specs seem okay.
Minimum
Recommended
Processor
Pentium III/Celeron 866 MHz or equivalent
Pentium 4/M or equivalent
RAM
256 MB
1 GB
Screen Resolution
1024 x 768 pixels
1024 x 768 pixels
Operating System
Windows Vista/XP/2000
Windows Vista/XP
Disk Space
1.6 GB
1.6 GB (Note -- Includes default drivers from NI Device Drivers CD)
There has been some record of issues with the Sensor Mapping Express VI.
Does it crash when you place it down on the block diagram? Or when you click to move it? Or when you run it? Does this happen when you load a model into it?
However, as it seems to be an instance of your Dell Inspiron 640m, Im not sure what we can suggest - except to ask how the specs compare between the two machines?
Some advice for Dells,
#) So that LabVIEW can function properly with the video hardware, it is
occasionally necessary to reduce the video acceleration. You can do
this on Windows 2000 by right clicking on your desktop » Properties » Settings » Advanced » Troubleshooting.
Start with the second setting from the right, "Disable bitmap and
cursor acceleration.", and work your way left if the problem persists.
#) Number of other issues with versions of Dell video drivers.. upgrade?
2) If this is a new installation that is slow then you may be having issues with specs, however there are a few things to try:
a) Defrag Drive
b) VLM licensing? If so, there is a timeout of a view minutes... is your version licensed currently?
c) Clean your registry
d) Check LabVIEW ini file to make sure the tasks are all necessary and the paths are local.
e) Repair LabVIEW finally
Hope this helps make some progress,
Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! -
Image map rollover show/hide layer
My client needs a map of the US which has image maps on specific states. I need to trigger rollovers to change the state's color and view info (layer?). I'm having difficulty triggering the rollover with show/hide action on a layer, or even to change the state color, as I can't create odd shaped slices. Am I making this harder than it needs to be? Some smaller states will use offset names as triggers.
In article <[email protected]>,
[email protected] wrote:
> My client needs a map of the US which has image maps on specific states. I
> need to trigger rollovers to change the state's color and view info (layer?).
> I'm having difficulty triggering the rollover with show/hide action on a
> layer, or even to change the state color, as I can't create odd shaped
> slices.
You can do that with an image map and a whole bunch of images; no layers
required.
The only image that will be swapped out is a map covering the entire
area, however you'd need to create different versions of the map, each
with just one state hi-lighted.
Then create image map shapes with the polygon tool approximating the
shape of the states. Assign a Set Image URL to each polygon to swap out
the image for the one with that particular state hi-lighted.
A sample can be seen here:
Cheers Martin -
Show/Hide conditional text at a book level
I am using TCS2 on Windows XP.
FM 9.0 p250
I have several files as part of a large FM book. Each file has the same text conditional tags. Can I, at a book level, set my conditions to show/hide, etc. and then update the book? So far, I only know how to open each file, set the SHOW/HIDE CONDITIONAL TEXT as I need it (not to show conditiona indicators and according to my built expression) and then save and close each file.
Is there a way to do all my files at once? Note- I want them all set the same way... so that might make it easier..
Thanks,
Adrianaadrianaharper wrote:
I am using TCS2 on Windows XP.
FM 9.0 p250
I have several files as part of a large FM book. Each file has the same text conditional tags. Can I, at a book level, set my conditions to show/hide, etc. and then update the book? So far, I only know how to open each file, set the SHOW/HIDE CONDITIONAL TEXT as I need it (not to show conditiona indicators and according to my built expression) and then save and close each file.
Is there a way to do all my files at once? Note- I want them all set the same way... so that might make it easier..
Thanks,
Adriana
I don't have FrameMaker available right now, so I'm working from memory, using the traditional FrameMaker menus, rather than the FM 9 tools.
Select all the files in the book window. With the book window active, open the View menu and look for Conditional Text. Your settings here apply to all selected files in the book window, so it's possible to set conditions on all or some files files. Ctrl+Click to select non-contiguous files; Shift+Click to select a range of contiguous files.
HTH
Regards,
Peter
Peter Gold
KnowHow ProServices -
Dynamically show/hide pages in a workset for special users at runtime
Hi all,
I want to create a workset that contains pages for different countries. The portal users should only be able to see the countries where they do business. I also would like masterdata from R/3 to drive the display of content on the portal.
- Is there a way how I could dynamically show/hide certain pages of the workset for the specific users?
- Would this showing/hiding of pages affect the workset for all users or only the instance for the specific user?
- Would there be a difference when I want to dynamically show/hide iviews in a page instead of showing/hiding pages in a workset?
Thanks a lot in advance.Hi Timo,
Check out the article located at:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/portal_content/filtering role and workset content.htm
It talks to exactly what you're trying to do. I'd imagine you could extend this simplistic example to have the service pull the users country from his/her master record in R/3 and set their filtering expression accordingly.
Hope this helps,
Marty -
FM9 crash during show/hide of conditional text
I'm having a vexing problem with two of my chapters: whenever I attempt to show/hide the conditions, FM9 crashes with "Internal Error 9004, 6921852, 9677150, 0. Framemaker has detected a serious problem and must quit".
A few things I've tried (as culled from posts on here):
Updating to FrameMaker p250 from p237
Saving as .mif, then opening and saving as .fm
Changing the conditions on all chapters with the book open
It's somewhat unpredictable. Saving as a .mif, then opening and saving as .fm worked once, but after performing an edit to the doc, it crashed again when toggling the conditions. Similarly, changing the conditions to all chapters with the book open seemed to avoid a crash, but trying it again crashed when it reached the problem chapter.
It's definietly something in the file, as my co-worker will occasionally get the crashes with the the same chapters when showing/hiding conditions, but not always.
Other details:
My XP installation is up to date with all the Microsoft updates
I'm using FM9 (unstructured)
The docs in question are not "fresh" per se, but have been upgraded from FM8 to FM9
Also:
Our documents have conditions A, B, C, and D.
In previous versions of Frame, we had been using the shuttle box interface for showing/hiding conditions: show A and B, hide C and D.
Starting with FM8, we started using equivalent logical expressions: NOT "C" AND NOT "D".
The crashing appears *not* to occur if I use the shuttle box interface. However, I'm told that we have use the logical expressions for some reason.
Any ideas are appreciated. Thanks!SOLVED
Here's my fix for Internal Error: 9004, 6921852, 9677150, 0 when saving as PDF, printing PDF, or printing to PS from FrameMaker 9 using Acrobat 9. YMMV.
I could not reproduce this Internal Error: 9004, 6921852, 9677150,0 when using conditions, so I do not know if this solution fixes the condition-provoked instance of Internal Error: 9004, 6921852, 9677150, 0.
Anyway, I uninstalled FM, rebooted, searched for leftover files, deleted them, rebooted, uninstalled Acrobat Pro Extended 9, searched for leftover files and registry entries, deleted them (probably missed a few), rebooted, removed the Xerox Phaser PS printer driver for my local printer (because it was PostScript, figured I should), rebooted, installed the Xerox Phaser PS driver, rebooted, installed FrameMaker, rebooted, installed Acrobat Pro Extended 9, rebooted, installed each patch for FrameMaker and Acrobat Pro Extended 9, rebooted, installed the MS Hotfix discussed here (http://blogs.adobe.com/techcomm/2008/07/hotfix_for_framemaker_1.html), and rebooted.
All is now well for making PDFs.
Sean -
We have used the show hide layer behavior on this image map
and it works on most browsers except IE7. Can anyone tell me if we
can make it work on IE7. If you click on the little yellow marker
on the bottom of the page a graph will open. The students will be
making better visual marker later. I just would like this to work
in IE7 if possible.
<
http://www.msad54.org/sahs/socialstudies/feeney/climate/websiteworldmap2.htm
>
Thanks,
NancySee this demo. View source to see the code.
http://alt-web.com/DEMOS/Show-Hide-Layers.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/ -
Layers show hide in Firefox/Netscape
Uploaded new page to server with layers hide / show for
rollovers. Works great in IE the rollovers are excessible. However
!! The are not working in Firefox or Netscape. The appear when
rolling over but do not stay showing for me to click on the image
maps. I am sure there is one little peice of code that needs
tweeking but cannot find it.
Please help I have the pages LIVE!!!
Thanksmainplus wrote:
> I want to show a specific image in a table when I
roll-over a navigation button
> image.
> The navigation button images have been set up with swap
image restore
> behaviours and I want to also display a related image
elsewhere on the page as
> well as just changing the button image.
> The obvious solution would seem to be to use layers for
each of the images I
> want to display and then show/hide them as appropriate
on rollover. The
> problem is that I am running foul of problem of the
layers being absolute and
> therefore changing position if the browser window is
resized etc. I thought of
> nesting the layers but the site uses a template which is
preventing me from
> setting up an overall layer to position within.
> If I try to use relative layer positioning I get a
problem getting the layers
> to "overlay each other" they also disappear from the
list of layers that
> Dereamweaver shows as available in the show/hide
behaviour list.
> I haven't attached any code as I am really looking for a
bit of advice as to
> the best way of approaching the problem as I am hoping
that there is a far more
> straight forward way to do this.
> thanks in advance
>
Rather than use layers and as your site appears to be table
based - you
could try this tut........
http://www.dwfaq.com/tutorials/basics/disjointed.asp
you might find other tuts - just google 'disjointed
rollovers'
HTH
chin chin
Sinclair -
Dynamic action - show/hide region based on LOV which returns ID
Hi folks,
this should be simple, so someone who works with dynamic actions.
I have a LOV which is based on below query:
select OBJECT_ID, KOD
from x_data x;
retuns:
ID KOD
492961 BMW
492964 VOLVO
492960 MERCEDES
492963 VOLKSWAGEN
492959 SKODAItem :P200_KOD is based on LOV which displays KOD and returns ID.
On my page I have also 1 region called TEST_REGION.
I would like to set up a dynamic action shich will SHOW/HIDE a TEST_REGION based on selected value in item :P200_KOD (LOV). Region should be showed if displayed (KOD) value of selected ID starts with 'V%'
By other words, if below query returns any record, then SHOW, else HIDE:
select *
from x_data x
where x.kod like 'V%'
and x.object_id = :P200_KOD;How should I define a triggering condition for dynamic action, for item :P200_KOD?
Thanks,
TomasHi,
One way:
Create advanced dynamic action.
Name : Hide region
Event : Change
Selection Type : Item(s)
Items(s) : P200_KOD
Condition : JavaScript Expression
Value :
$(this.triggeringElement).children("option:selected").html().substring(0,1) !== "V"Action : Hide
Fire On Page Load : True
Hide all page items on the same line : No
False Action : Show
Fire On Page Load : True
Show all page items on the same line : No
Selection Type : Region
Region : TEST_REGION
Regards,
Jari
http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0 -
Show/ Hide Tables in SSRS based on Multiple Parameters
Hi
Is it possible to show/ hide multiple different tables based on a multivalued parameter? I have 6 tables and I want 1 or 6 displayed dependent on what is selected from the multivalued parameter.
When I add the IN operator and select multivalues, I get the following error:
I have an expression set in the Visibility tab in the tablix to:
=IIf(Parameters!Name.Value =
"Name",
false,
true)
and in the filters tab, I have a filter on the name so the data is filtered only by that name so it can display the different categories in the different tablix.
Can anyone advise on how to achieve it so I can use the multivalued parameter option to display 1 or more tables?
thanks!Hi
Is it possible to show/ hide multiple different tables based on a multivalued parameter? I have 6 tables and I want 1 or 6 displayed dependent on what is selected from the multivalued parameter.
When I add the IN operator and select multivalues, I get the following error:
I have an expression set in the Visibility tab in the tablix to:
"Name",
false,
true)
and in the filters tab, I have a filter on the name so the data is filtered only by that name so it can display the different categories in the different tablix.
Can anyone advise on how to achieve it so I can use the multivalued parameter option to display 1 or more tables?
thanks!
=IIf(Parameters!Name.Value =
Hi,
Use Join function in the RDL and hide them for whatever values you want to.
=Join(Parameter!paramname.value,",")
Thanks,
FunBI -
Show Hide Layers - Can't do "onmouseout"
I'm trying to do a show/hide layers on an image map hot spot.
I select the <area> tag from the hotspot, and can set the
show layer "onmouseover" but it won't let me set the hide layer for
"onmouseout". In fact when I try to set the "onmouseout", dw justs
makes another "onmouseover" behavior just like the one I already
have. ??? Thanks for any help.Can you go to the behaviors panel and edit the second
"onmouseover" to
change it to an "onmouseout" ?
"lutherheggs" <[email protected]> wrote in
message
news:e5r3u1$nid$[email protected]..
> I'm trying to do a show/hide layers on an image map hot
spot. I select the
> <area> tag from the hotspot, and can set the show
layer "onmouseover" but
> it
> won't let me set the hide layer for "onmouseout". In
fact when I try to
> set the
> "onmouseout", dw justs makes another "onmouseover"
behavior just like the
> one I
> already have. ??? Thanks for any help.
> -
Is it possible to show/hide dynamically columns in RDLC form?
We need to show/hide dynamically columns in our Report RDLC form based by the user desire needs.
We need by the predefined checkboxes to set which columns should be seen and which should be hidden.
Is it possible in RDLC form to make it "show/hide columns dynamically" with any way?Depends on what you mean dynamically, you still need to press the view report button.
What you can do is right click on the column you want to be able to hide/display in design mode,
click "Column visibilty", choose "show or hide based on an expression" then in your expression base your true or false on a boolean parameter for each column -
Jheadstart 10.1.3.2 : Hide/Display Column using El/Expression
Hi,
I have a table with a column which should be displayed if the value in another column is a certain value.
for example the dependent column is called OldValue and the independent column is called GrpCode which is numerical with values 1,2 or 3.
I tried to use the following el expression in the display in table feature in jheadstart for the dependent column
#(row.Grpcode==1}
When the page is run, the el expression seems to be ineffective and the column fails to display when the condition is met.
Regards,
AliAli,
The rendered expression is applied to the whole column, so it would result in strange behavior if you have a row-specific rendered expression, because the column disappears for all rows.
If you only want to show/hide the item itself within the column, depending on another row value, you need to make a custom template and move the #ITEM_RENDERED_IN_TABLE() from the <af:column> element to the actual item element (e.g af:textInput).
Steven Davelaar,
JHeadstart Team.
Maybe you are looking for
-
Hard Drive warning when upgrading to Mountain Lion. 2nd try and I was able to upgrade. Software update for IPhoto, had problems restarting. Do I need my hard drive checked
-
How do I reset Documents on iCloud?
I've read that this can solve my problem of contacts not syncing between devices. How do I do it? Thanks!
-
Hi there! I have added a new account (IMAP) and successfully configured it with an automatic installer provided by the hosting service. I can see the new account only in the inbox folder, but not in the other folders (Sent, Trash, Junk, Drafts). How
-
What is the best export setting for video on blogger
What is the best export setting for video from premeire to blogger.com or blogspot.com
-
Facing problem in JavaStoredProc being called from plsql pass JPublisher
I'm facing problems in calling java stored procedure from a plsql procedure. 1) I have a plsql types create or replace type wwpro_api_portlet_instance as object portlet_inst_guid varchar2(60), provider_id number(38), portlet_id number(38), ref_path v